FleetApi.Machine
Defines a FleetApi.Machine
struct, representing a host in the Fleet
cluster. It uses the host’s machine-id
as a unique identifier.
The following fields are public:
id
- unique identifier of Machine entity.primaryIP
- IP address that should be used to communicate with this host.metadata
- dictionary of key-value data published by the machine.
Summary↑
from_map(machine_map) |
Types ↑
t :: %FleetApi.Machine{id: term, metadata: term, primaryIP: term}
Functions
Specs:
- from_map(%{String.t => any}) :: FleetApi.Machine.t