APIv6 provides the Charms API facade for version 6. It removes the AddCharmWithAuthorization function, as we no longer support macaroons.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "Charms"
VERSION: number = 6
_transport: Transport
NAME: string = "Charms"
VERSION: number = 6

Methods

  • AddCharm adds the given charm URL (which must include revision) to the environment, if it does not exist yet. Local charms are not supported, only charm store and charm hub URLs. See also AddLocalCharm().

    Parameters

    Returns Promise<CharmOriginResult>

  • CharmInfo returns information about the requested charm.

    Parameters

    Returns Promise<Charm>

  • List returns a list of charm URLs currently in the state. If supplied parameter contains any names, the result will be filtered to return only the charms with supplied names.

    Parameters

    Returns Promise<CharmsListResult>

Generated using TypeDoc