Static
NAMEStatic
VERSIONAreManuallyProvisioned returns whether each given entity is manually provisioned or not. Only machine tags are accepted.
CloudSpec returns the model's cloud spec.
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
ControllerConfig returns the controller's configuration.
GetAssignedMachine returns the assigned machine tag (if any) for each given unit.
GetCloudSpec constructs the CloudSpec for a validated and authorized model.
GetExposeInfo returns the expose flag and per-endpoint expose settings for the specified applications.
InstanceId returns the provider specific instance id for each given machine or an CodeNotProvisioned error, if not set.
Life returns the life status of every supplied entity, where available.
MacaroonForRelations returns the macaroon for the specified relations.
ModelConfig returns the current model's configuration.
ModelFirewallRules returns the firewall rules that this model is configured to open
OpenedMachinePortRanges returns a list of the opened port ranges for the specified machines where each result is broken down by unit. The list of opened ports for each unit is further grouped by endpoint name and includes the subnet CIDRs that belong to the space that each endpoint is bound to.
SetRelationsStatus sets the status for the specified relations.
SpaceInfos returns a comprehensive representation of either all spaces or a filtered subset of the known spaces and their associated subnet details.
Watch starts an NotifyWatcher for each given entity.
WatchCloudSpecsChanges returns a watcher for cloud spec changes.
WatchEgressAddressesForRelations creates a watcher that notifies when addresses, from which connections will originate for the relation, change. Each event contains the entire set of addresses which are required for ingress for the relation.
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.
WatchIngressAddressesForRelations creates a watcher that returns the ingress networks that have been recorded against the specified relations.
WatchModelFirewallRules returns a NotifyWatcher that notifies of potential changes to a model's configured firewall rules
WatchModelMachineStartTimes watches the non-container machines in the model for changes to the Life or AgentStartTime fields and reports them as a batch.
WatchModelMachines returns a StringsWatcher that notifies of changes to the life cycles of the top level machines in the current model.
WatchOpenedPorts returns a new StringsWatcher for each given model tag.
WatchSubnets returns a new StringsWatcher that watches the specified subnet tags or all tags if no entities are specified.
WatchUnits starts a StringsWatcher to watch all units belonging to to any entity (machine or service) passed in args.
Generated using TypeDoc
FirewallerAPI provides access to the Firewaller API facade.