remotefirewaller

package
v0.0.0-...-a0d7459 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2017 License: AGPL-3.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL