Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCorrupted = fmt.Errorf("packet corrupted")
View Source
var ErrorTooShort = fmt.Errorf("packet too short")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { FailOpen bool // allow traffic if the controller is not available AdminNetworkPolicy bool BaselineAdminNetworkPolicy bool QueueID int NodeName string NetfilterBug1766Fix bool NFTableName string // if other projects use this controllers they need to be able to use their own table name }
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages selector-based networkpolicy endpoints.
func NewController ¶
func NewController(client clientset.Interface, networkpolicyInformer networkinginformers.NetworkPolicyInformer, namespaceInformer coreinformers.NamespaceInformer, podInformer coreinformers.PodInformer, nodeInformer coreinformers.NodeInformer, npaClient npaclient.Interface, adminNetworkPolicyInformer policyinformers.AdminNetworkPolicyInformer, baselineAdminNetworkPolicyInformer policyinformers.BaselineAdminNetworkPolicyInformer, config Config, ) (*Controller, error)
NewController returns a new *Controller.
Click to show internal directories.
Click to hide internal directories.