FacadeV2 is the V2 facade of the caas agent

Hierarchy

  • default

Implements

Constructors

Properties

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

Methods

  • ControllerConfig returns the controller's configuration.

    Parameters

    • params: any

    Returns Promise<ControllerConfigResult>

  • GetCloudSpec constructs the CloudSpec for a validated and authorized model.

    Parameters

    Returns Promise<CloudSpecResult>

  • ModelConfig returns the current model's configuration.

    Parameters

    • params: any

    Returns Promise<ModelConfigResult>

  • WatchForModelConfigChanges returns a NotifyWatcher that observes changes to the model configuration. Note that although the NotifyWatchResult contains an Error field, it's not used because we are only returning a single watcher, so we use the regular error return.

    Parameters

    • params: any

    Returns Promise<NotifyWatchResult>

Generated using TypeDoc