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:

Source

Summary

from_map(machine_map)
reachable?(machine, port \\ 7002)

Checks if this machine is responding to requests by attempting to access the API discovery endpoint of the Fleet API

Types

t :: %FleetApi.Machine{id: term, metadata: term, primaryIP: term}

Functions

from_map(machine_map)

Specs:

Source
reachable?(machine, port \\ 7002)

Specs:

Checks if this machine is responding to requests by attempting to access the API discovery endpoint of the Fleet API.

Source