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

package firewallrules

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


Package Files


type Client Uses

type Client struct {
    // 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). Updated 2020-08-06. Refresh now. Tools for package owners.