API represents the controller model operator facade.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "CAASModelOperator"
VERSION: number = 1
_transport: Transport
NAME: string = "CAASModelOperator"
VERSION: number = 1

Methods

  • APIAddresses returns the list of addresses used to connect to the API.

    Parameters

    • params: any

    Returns Promise<StringsResult>

  • APIHostPorts returns the API server addresses.

    Parameters

    • params: any

    Returns Promise<APIHostPortsResult>

  • ModelOperatorProvisioningInfo returns the information needed for provisioning a new model operator into a caas cluster.

    Parameters

    • params: any

    Returns Promise<ModelOperatorInfo>

  • ModelUUID returns the model UUID that this facade is used to operate. It is implemented here directly as a result of removing it from embedded APIAddresser without bumping the facade version. It should be blanked when this facade version is next incremented.

    Parameters

    • params: any

    Returns Promise<StringResult>

  • SetPasswords sets the given password for each supplied entity, if possible.

    Parameters

    Returns Promise<ErrorResults>

  • WatchAPIHostPorts watches the API server addresses.

    Parameters

    • params: any

    Returns Promise<NotifyWatchResult>

  • WatchModelOperatorProvisioningInfo provides a watcher for changes that affect the information returned by ModelOperatorProvisioningInfo.

    Parameters

    • params: any

    Returns Promise<NotifyWatchResult>

Generated using TypeDoc