Documentation ¶
Index ¶
- type Instance
- func (i *Instance) CleanAllSynAckPacketCaptures() error
- func (i *Instance) CleanCaptureSynAckPackets(networks []string) error
- func (i *Instance) ConfigureRules(version int, contextID string, containerInfo *policy.PUInfo) error
- func (i *Instance) DeleteRules(version int, contextID string, ipAddresses *policy.IPMap, port string, ...) error
- func (i *Instance) SetTargetNetworks(current, networks []string) error
- func (i *Instance) Start() error
- func (i *Instance) Stop() error
- func (i *Instance) UpdateRules(version int, contextID string, containerInfo *policy.PUInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance is the structure holding all information about a implementation
func NewInstance ¶
NewInstance creates a new iptables controller instance
func (*Instance) CleanAllSynAckPacketCaptures ¶
CleanAllSynAckPacketCaptures cleans the capture rules for SynAck packets irrespective of NFQUEUE
func (*Instance) CleanCaptureSynAckPackets ¶
CleanCaptureSynAckPackets cleans the capture rules for SynAck packets
func (*Instance) ConfigureRules ¶
func (i *Instance) ConfigureRules(version int, contextID string, containerInfo *policy.PUInfo) error
ConfigureRules implmenets the ConfigureRules interface
func (*Instance) DeleteRules ¶
func (i *Instance) DeleteRules(version int, contextID string, ipAddresses *policy.IPMap, port string, mark string) error
DeleteRules implements the DeleteRules interface
func (*Instance) SetTargetNetworks ¶
SetTargetNetworks updates ths target networks for SynAck packets
Click to show internal directories.
Click to hide internal directories.