Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { base.ClientFacade // contains filtered or unexported fields }
Client provides access to the networks api facade.
func NewClient ¶
func NewClient(caller base.APICallCloser) *Client
NewClient creates a new client-side Networks facade.
func (*Client) IngressSubnetsForRelation ¶
func (c *Client) IngressSubnetsForRelation(remoteRelationId params.RemoteEntityId) (*params.IngressSubnetInfo, error)
IngressSubnetsForRelation returns any CIDRs for which ingress is required to allow the specified relation to properly function.
func (*Client) WatchSubnets ¶
func (c *Client) WatchSubnets() (watcher.StringsWatcher, error)
WatchSubnets returns a strings watcher that notifies of the addition, removal, and lifecycle changes of subnets in the model.
Click to show internal directories.
Click to hide internal directories.