Documentation ¶
Overview ¶
Package networkpolicy provides AntreaIPAMController implementation to manage and synchronize the GroupMembers and Namespaces affected by Network Policies and enforce their rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateIPPool ¶
func ValidateIPPool(review *admv1.AdmissionReview) *admv1.AdmissionResponse
Types ¶
type AntreaIPAMController ¶ added in v1.5.0
type AntreaIPAMController struct {
// contains filtered or unexported fields
}
AntreaIPAMController is responsible for: * reserving continuous IP address space for StatefulSet (if available) * periodical cleanup of IP Pools in case stale addresses are present
func NewAntreaIPAMController ¶ added in v1.5.0
func NewAntreaIPAMController(crdClient versioned.Interface, informerFactory informers.SharedInformerFactory, crdInformerFactory externalversions.SharedInformerFactory) *AntreaIPAMController
func (*AntreaIPAMController) Run ¶ added in v1.5.0
func (c *AntreaIPAMController) Run(stopCh <-chan struct{})
Run begins watching and syncing of a AntreaIPAMController.
Click to show internal directories.
Click to hide internal directories.