firewall

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

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