helper

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IPFamilyDefault is default value of ipFamily in v1alpha1 ippool
	IPFamilyDefault = "ipv4"
	// IPFamilyDefaultV2 is default value of ipFamily in v1alpha2 ippool
	IPFamilyDefaultV2 = "IPv4"
	// PrefixLengthDefault is default value of prefixLength
	PrefixLengthDefault = 24
)
View Source
const (
	// DefaultResyncTime is the default period for ippool informer to do re-sync
	DefaultResyncTime time.Duration = time.Minute * 1
)

Variables

This section is empty.

Functions

func IppoolNameFromClusterName

func IppoolNameFromClusterName(clusterName string) string

IppoolNameFromClusterName returns the ippool name constructed using the cluster name

Types

type NSXIPPool

type NSXIPPool interface{}

NSXIPPool defines an interface that is used to represent different versions nsx.vmware.com ipppol

Jump to

Keyboard shortcuts

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