cmd

package
v0.0.0-...-3112392 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteRule

func DeleteRule(ext dep.Dependencies, iptV *dep.IptablesVersion, table string, chain string, rulespec ...string)

func GetCommand

func GetCommand(logOpts *log.Options) *cobra.Command

func NewDependencies

func NewDependencies(cfg *config.Config) dep.Dependencies

Types

type IptablesCleaner

type IptablesCleaner struct {
	// contains filtered or unexported fields
}

func NewIptablesCleaner

func NewIptablesCleaner(cfg *config.Config, iptV, ipt6V *dep.IptablesVersion, ext dep.Dependencies) *IptablesCleaner

func (*IptablesCleaner) Run

func (c *IptablesCleaner) Run()

Jump to

Keyboard shortcuts

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