juju: github.com/juju/juju/cmd/juju/firewall Index | Files

package firewall

import "github.com/juju/juju/cmd/juju/firewall"

Index

Package Files

listformatter.go listrules.go setrule.go

func NewListFirewallRulesCommand Uses

func NewListFirewallRulesCommand() cmd.Command

NewListFirewallRulesCommand returns a command to list firewall rules.

func NewSetFirewallRuleCommand Uses

func NewSetFirewallRuleCommand() cmd.Command

NewSetFirewallRuleCommand returns a command to set firewall rules.

type ListFirewallRulesAPI Uses

type ListFirewallRulesAPI interface {
    Close() error
    ListFirewallRules() ([]params.FirewallRule, error)
}

ListFirewallRulesAPI defines the API methods that the list firewall rules command uses.

type SetFirewallRuleAPI Uses

type SetFirewallRuleAPI interface {
    Close() error
    SetFirewallRule(service string, whiteListCidrs []string) error
}

SetFirewallRuleAPI defines the API methods that the set firewall rules command uses.

Package firewall imports 14 packages (graph) and is imported by 3 packages. Updated 2018-12-21. Refresh now. Tools for package owners.