firewall

package
v0.0.0-...-0b47d81 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 15 Imported by: 1

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
	ModelGet() (map[string]interface{}, error)
}

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

type SetFirewallRuleAPI

type SetFirewallRuleAPI interface {
	Close() error
	ModelSet(config map[string]interface{}) 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