Static
NAMEStatic
VERSIONAddCharm 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().
AddCharmWithAuthorization 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().
The authorization macaroon, args.CharmStoreMacaroon, may be omitted, in which case this call is equivalent to AddCharm.
CheckCharmPlacement checks if a charm is allowed to be placed with in a given application.
GetDownloadInfos attempts to get the bundle corresponding to the charm url and origin.
IsMetered returns whether or not the charm is metered.
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.
ListCharmResources returns a series of resources for a given charm.
ResolveCharms resolves the given charm URLs with an optionally specified preferred channel. Channel provided via CharmOrigin.
Generated using TypeDoc
API implements the charms interface and is the concrete implementation of the API end point.