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() 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
func GetIPPoolManager ¶
func GetIPPoolManager(vpcModeEnabled bool, scCfg *rest.Config, clusterNS string, podIPPoolType string) (IPPoolManager, error)
GetIPPoolManager gets an IPPoolManager
Click to show internal directories.
Click to hide internal directories.