Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MasqueradeConfigSet = Set{ false, "Masquerade", nil, }
View Source
var PolicyRoutingConfigSet = Set{ false, "PolicyRouting", nil, }
Functions ¶
This section is empty.
Types ¶
type IPRouteConfig ¶
func (IPRouteConfig) Ensure ¶
func (r IPRouteConfig) Ensure(enabled bool) error
type IPRuleConfig ¶
func (IPRuleConfig) Ensure ¶
func (r IPRuleConfig) Ensure(enabled bool) error
type IPTablesChainSpec ¶ added in v0.1.2
type IPTablesRuleConfig ¶
type IPTablesRuleConfig struct {
Spec IPTablesChainSpec
RuleSpecs []IPTablesRuleSpec
}
func (IPTablesRuleConfig) Ensure ¶
func (r IPTablesRuleConfig) Ensure(enabled bool) error
type IPTablesRuleSpec ¶ added in v0.1.2
type IPTablesRuleSpec []string
type SysctlConfig ¶
type SysctlConfig struct {
Key, Value, DefaultValue string
}
func (SysctlConfig) Ensure ¶
func (s SysctlConfig) Ensure(enabled bool) error
Click to show internal directories.
Click to hide internal directories.