Documentation ¶
Index ¶
- type IPTables
- func (i *IPTables) AddChainsFor(table string, chains ...string)
- func (i *IPTables) AddFailOnAppendRuleMatcher(stringOrMatcher interface{})
- func (i *IPTables) AddFailOnDeleteRuleMatcher(stringOrMatcher interface{})
- func (i *IPTables) Append(table, chain string, rulespec ...string) error
- func (i *IPTables) AppendUnique(table, chain string, rulespec ...string) error
- func (i *IPTables) AwaitChain(table string, stringOrMatcher interface{})
- func (i *IPTables) AwaitNoChain(table string, stringOrMatcher interface{})
- func (i *IPTables) AwaitNoRule(table, chain string, stringOrMatcher interface{})
- func (i *IPTables) AwaitRule(table, chain string, stringOrMatcher interface{})
- func (i *IPTables) ClearChain(table, chain string) error
- func (i *IPTables) Delete(table, chain string, rulespec ...string) error
- func (i *IPTables) Insert(table, chain string, pos int, rulespec ...string) error
- func (i *IPTables) List(table, chain string) ([]string, error)
- func (i *IPTables) ListChains(table string) ([]string, error)
- func (i *IPTables) NewChain(table, chain string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPTables ¶
func (*IPTables) AddChainsFor ¶
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) AppendUnique ¶
func (*IPTables) AwaitChain ¶
func (*IPTables) AwaitNoChain ¶
func (*IPTables) AwaitNoRule ¶
func (*IPTables) ClearChain ¶
Click to show internal directories.
Click to hide internal directories.