Static
NAMEStatic
VERSIONAPIAddresses returns the list of addresses used to connect to the API.
APIHostPorts returns the API server addresses.
EnsureDead calls EnsureDead on each given entity from state. It will fail if the entity is not present. If it's Alive, nothing will happen (see state/EnsureDead() for units or machines).
Jobs returns the jobs assigned to the given entities.
Life returns the life status of every supplied entity, where available.
RecordAgentStartInformation syncs the machine model with information reported by a machine agent when it starts.
RecordAgentStartTime updates the agent start time field in the machine doc.
SetObservedNetworkConfig reads the network config for the machine identified by the input args. This config is merged with the new network config supplied in the same args and updated if it has changed.
SetStatus sets the status of each given entity.
Watch starts an NotifyWatcher for each given entity.
WatchAPIHostPorts watches the API server addresses.
Generated using TypeDoc
MachinerAPI implements the API used by the machiner worker.