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) ChainExists(table, chain string) (bool, error)
- func (i *IPTables) ClearChain(table, chain string) error
- func (i *IPTables) Delete(table, chain string, rulespec ...string) error
- func (i *IPTables) DeleteChain(table, chain 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 ¶
type IPTables struct {
// contains filtered or unexported fields
}
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) ChainExists ¶ added in v0.12.1
func (*IPTables) ClearChain ¶
func (*IPTables) DeleteChain ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.