ipam

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

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

View Source
const (

	// TODO: currently these constants are duplicated, move to a shared place
	AntreaIPAMAnnotationKey       = "ipam.antrea.io/ippools"
	AntreaIPAMAnnotationDelimiter = ","
)

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 IP address cleanup for StatefulSet objects. In future, it will also be responsible for pre-allocation of continuous IP range for StatefulSets that do not have dedicated IP Pool annotation.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL