juju: github.com/juju/juju/api/firewallrules Index | Files

package firewallrules

import "github.com/juju/juju/api/firewallrules"

Index

Package Files

client.go

type Client Uses

type Client struct {
    base.ClientFacade
    // contains filtered or unexported fields
}

Client allows access to the firewall rules API end point.

func NewClient Uses

func NewClient(st base.APICallCloser) *Client

NewClient creates a new client for accessing the firewall rules api.

func (*Client) ListFirewallRules Uses

func (c *Client) ListFirewallRules() ([]params.FirewallRule, error)

ListFirewallRules returns all the firewall rules.

func (*Client) SetFirewallRule Uses

func (c *Client) SetFirewallRule(service string, whiteListCidrs []string) error

SetFirewallRule creates or updates a firewall rule.

Package firewallrules imports 3 packages (graph) and is imported by 3 packages. Updated 2017-10-18. Refresh now. Tools for package owners.