ipam

package
v1.8.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 28 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

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.

Jump to

Keyboard shortcuts

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