Documentation ¶
Index ¶
- type ChainNamer
- type NetIn
- type NetOut
- func (m *NetOut) BulkInsertRules(containerHandle string, netOutRules []garden.NetOutRule, containerIP string) error
- func (m *NetOut) Cleanup(containerHandle string) error
- func (m *NetOut) Initialize(containerHandle string, containerIP net.IP, dnsServers []string) error
- func (m *NetOut) InsertRule(containerHandle string, rule garden.NetOutRule, containerIP string) error
- type NetOutRuleConverter
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 NetIn ¶
type NetIn struct { ChainNamer chainNamer IPTables rules.IPTablesAdapter IngressTag string HostInterfaceName string }
func (*NetIn) Initialize ¶
type NetOut ¶
type NetOut struct { ChainNamer chainNamer IPTables rules.IPTablesAdapter Converter netOutRuleConverter ASGLogging bool C2CLogging bool IngressTag string VTEPName string }
func (*NetOut) BulkInsertRules ¶
func (*NetOut) Initialize ¶
func (*NetOut) InsertRule ¶
type NetOutRuleConverter ¶
func (*NetOutRuleConverter) BulkConvert ¶
func (c *NetOutRuleConverter) BulkConvert(netOutRules []garden.NetOutRule, containerIP, logChainName string, globalLogging bool) []rules.IPTablesRule
func (*NetOutRuleConverter) Convert ¶
func (c *NetOutRuleConverter) Convert(rule garden.NetOutRule, containerIP, logChainName string, globalLogging bool) []rules.IPTablesRule
Click to show internal directories.
Click to hide internal directories.