Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkPolicyController ¶
type NetworkPolicyController struct {
// contains filtered or unexported fields
}
NetworkPolicyController is responsible for synchronizing the Namespaces and Pods affected by a Network Policy.
func NewNetworkPolicyController ¶
func NewNetworkPolicyController(kubeClient clientset.Interface, podInformer coreinformers.PodInformer, namespaceInformer coreinformers.NamespaceInformer, networkPolicyInformer networkinginformers.NetworkPolicyInformer, addressGroupStore storage.Interface, appliedToGroupStore storage.Interface, internalNetworkPolicyStore storage.Interface) *NetworkPolicyController
NewNetworkPolicyController returns a new *NetworkPolicyController.
func (*NetworkPolicyController) Run ¶
func (n *NetworkPolicyController) Run(stopCh <-chan struct{})
Run begins watching and syncing of a NetworkPolicyController.
Click to show internal directories.
Click to hide internal directories.