Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewListFirewallRulesCommand

func NewListFirewallRulesCommand() cmd.Command

NewListFirewallRulesCommand returns a command to list firewall rules.

func NewSetFirewallRuleCommand

func NewSetFirewallRuleCommand() cmd.Command

NewSetFirewallRuleCommand returns a command to set firewall rules.

Types

type ListFirewallRulesAPI

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

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

type SetFirewallRuleAPI

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

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