Documentation ¶
Index ¶
- type ChainNamer
- type NetIn
- type NetOut
- func (m *NetOut) BulkInsertRules(containerHandle string, netOutRules []garden.NetOutRule) error
- func (m *NetOut) Cleanup(containerHandle, containerIP string) error
- func (m *NetOut) Initialize(containerHandle string, containerIP net.IP, dnsServers []string) error
- func (m *NetOut) InsertRule(containerHandle string, rule garden.NetOutRule) 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 HostInterfaceName string DeniedLogsPerSec int AcceptedUDPLogsPerSec int }
func (*NetOut) BulkInsertRules ¶
func (m *NetOut) BulkInsertRules(containerHandle string, netOutRules []garden.NetOutRule) error
func (*NetOut) Initialize ¶
func (*NetOut) InsertRule ¶
func (m *NetOut) InsertRule(containerHandle string, rule garden.NetOutRule) error
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.