Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainNamer ¶
type ChainNamer struct {
MaxLength int
}
func (*ChainNamer) Prefix ¶
func (n *ChainNamer) Prefix(prefix, body string) string
type IpTablesFullChain ¶ added in v0.3.0
type IpTablesFullChain struct {
Table string
ParentChain string
ChainName string
JumpConditions []rules.IPTablesRule
Rules []rules.IPTablesRule
}
type NetIn ¶
type NetIn struct {
ChainNamer chainNamer
IPTables rules.IPTablesAdapter
IngressTag string
HostInterfaceNames []string
}
func (*NetIn) Initialize ¶
type NetOut ¶
type NetOut struct {
ChainNamer chainNamer
IPTables rules.IPTablesAdapter
Converter netOutRuleConverter
ASGLogging bool
C2CLogging bool
IngressTag string
VTEPName string
HostInterfaceNames []string
DeniedLogsPerSec int
AcceptedUDPLogsPerSec int
ContainerHandle string
ContainerIP string
HostTCPServices []string
DNSServers []string
}
func (*NetOut) BulkInsertRules ¶
func (m *NetOut) BulkInsertRules(netOutRules []garden.NetOutRule) error
func (*NetOut) Initialize ¶
type NetOutRuleConverter ¶
func (*NetOutRuleConverter) BulkConvert ¶
func (c *NetOutRuleConverter) BulkConvert(netOutRules []garden.NetOutRule, logChainName string, globalLogging bool) []rules.IPTablesRule
func (*NetOutRuleConverter) Convert ¶
func (c *NetOutRuleConverter) Convert(rule garden.NetOutRule, logChainName string, globalLogging bool) []rules.IPTablesRule
Click to show internal directories.
Click to hide internal directories.