ippoolmanager

package
v1.31.1-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPPoolManager

type IPPoolManager interface {
	GetIPPoolListerSynced() cache.InformerSynced
	GetIPPoolInformer() cache.SharedIndexInformer
	StartIPPoolInformers(stopCh <-chan struct{})

	GetIPPool(clusterNS, clusterName string) (helper.NSXIPPool, error)
	GetIPPoolFromIndexer(key string) (helper.NSXIPPool, error)
	CreateIPPool(clusterNS, clusterName string, ownerRef *metav1.OwnerReference) (helper.NSXIPPool, error)

	GetIPPoolSubnets(ippool helper.NSXIPPool) (map[string]string, error)
	AddSubnetToIPPool(node *corev1.Node, ippool helper.NSXIPPool, ownerRef *metav1.OwnerReference) error
	DeleteSubnetFromIPPool(subnetName string, ippool helper.NSXIPPool) error
	DiffIPPoolSubnets(old, cur helper.NSXIPPool) bool
}

IPPoolManager defines an interface that can interact with nsx.vmware.com.ippool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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