fake

package
v0.12.0-m0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPTables

type IPTables struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New() *IPTables

func (*IPTables) AddChainsFor

func (i *IPTables) AddChainsFor(table string, chains ...string)

func (*IPTables) AddFailOnAppendRuleMatcher added in v0.10.1

func (i *IPTables) AddFailOnAppendRuleMatcher(stringOrMatcher interface{})

func (*IPTables) AddFailOnDeleteRuleMatcher added in v0.10.1

func (i *IPTables) AddFailOnDeleteRuleMatcher(stringOrMatcher interface{})

func (*IPTables) Append

func (i *IPTables) Append(table, chain string, rulespec ...string) error

func (*IPTables) AppendUnique

func (i *IPTables) AppendUnique(table, chain string, rulespec ...string) error

func (*IPTables) AwaitChain

func (i *IPTables) AwaitChain(table string, stringOrMatcher interface{})

func (*IPTables) AwaitNoChain

func (i *IPTables) AwaitNoChain(table string, stringOrMatcher interface{})

func (*IPTables) AwaitNoRule

func (i *IPTables) AwaitNoRule(table, chain string, stringOrMatcher interface{})

func (*IPTables) AwaitRule

func (i *IPTables) AwaitRule(table, chain string, stringOrMatcher interface{})

func (*IPTables) ClearChain

func (i *IPTables) ClearChain(table, chain string) error

func (*IPTables) Delete

func (i *IPTables) Delete(table, chain string, rulespec ...string) error

func (*IPTables) Insert

func (i *IPTables) Insert(table, chain string, pos int, rulespec ...string) error

func (*IPTables) List

func (i *IPTables) List(table, chain string) ([]string, error)

func (*IPTables) ListChains

func (i *IPTables) ListChains(table string) ([]string, error)

func (*IPTables) NewChain

func (i *IPTables) NewChain(table, chain string) error

Jump to

Keyboard shortcuts

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