Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "ct-nat-map-gc", "Garbage collection of CT and NAT maps", cell.Provide( func(gc *GC) Enabler { return gc }, ), cell.ProvidePrivate( New, newSignalHandler, func(mgr endpointmanager.EndpointManager) EndpointManager { return mgr }, ), )
Functions ¶
This section is empty.
Types ¶
type Enabler ¶
type EndpointManager ¶
EndpointManager is any type which returns the list of Endpoints which are globally exposed on the current node.
type GC ¶
type GC struct {
// contains filtered or unexported fields
}
type SignalData ¶
type SignalData uint32
SignalData holds the IP address family type BPF program sent along with the SignalNatFillUp and SignalCTFillUp signals.
const ( // SignalProtoV4 denotes IPv4 protocol SignalProtoV4 SignalData = iota // SignalProtoV6 denotes IPv6 protocol SignalProtoV6 SignalProtoMax )
func (SignalData) String ¶
func (d SignalData) String() string
String implements fmt.Stringer for SignalData
type SignalHandler ¶
type SignalHandler struct {
// contains filtered or unexported fields
}
func (*SignalHandler) MuteSignals ¶
func (sh *SignalHandler) MuteSignals() error
func (*SignalHandler) Signals ¶
func (sh *SignalHandler) Signals() <-chan SignalData
func (*SignalHandler) UnmuteSignals ¶
func (sh *SignalHandler) UnmuteSignals() error
Click to show internal directories.
Click to hide internal directories.