Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "InstanceMutater"
VERSION: number = 2
_transport: Transport
NAME: string = "InstanceMutater"
VERSION: number = 2

Methods

  • CharmProfilingInfo returns info to update lxd profiles on the machine. If the machine is not provisioned, no profile change info will be returned, nor will an error.

    Parameters

    Returns Promise<CharmProfilingInfoResult>

  • Life returns the life status of every supplied entity, where available.

    Parameters

    Returns Promise<LifeResults>

  • SetModificationStatus updates the instance whilst changes are occurring. This is different from SetStatus and SetInstanceStatus, by the fact this holds information about the ongoing changes that are happening to instances. Consider LXD Profile updates that can modify a instance, but may not cause the instance to be placed into a error state. This modification status serves the purpose of highlighting that to the operator. Only machine tags are accepted.

    Parameters

    Returns Promise<ErrorResults>

  • WatchContainers starts a watcher to track Containers on a given machine.

    Parameters

    Returns Promise<StringsWatchResult>

  • WatchLXDProfileVerificationNeeded starts a watcher to track Applications with LXD Profiles.

    Parameters

    Returns Promise<NotifyWatchResults>

  • WatchMachines starts a watcher to track machines. WatchMachines does not consume the initial event of the watch response, as that returns the initial set of machines that are currently available.

    Parameters

    • params: any

    Returns Promise<StringsWatchResult>

Generated using TypeDoc