Facade implements the API required by the sshclient worker.

Hierarchy

  • default

Implements

Constructors

Properties

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

Methods

  • AllAddresses reports all addresses that might have SSH listening for each given entity in args. Machines and units are supported as entity types. TODO(wpk): 2017-05-17 This is a temporary solution, we should not fetch environ here but get the addresses from state. We will be changing it since we want to have space-aware SSH settings.

    Parameters

    Returns Promise<SSHAddressesResults>

  • PrivateAddress reports the preferred private network address for one or more entities. Machines and units are supported.

    Parameters

    Returns Promise<SSHAddressResults>

  • Proxy returns whether SSH connections should be proxied through the controller hosts for the model associated with the API connection.

    Parameters

    • params: any

    Returns Promise<SSHProxyResult>

  • PublicAddress reports the preferred public network address for one or more entities. Machines and units are supported.

    Parameters

    Returns Promise<SSHAddressResults>

Generated using TypeDoc