Documentation ¶
Index ¶
- func AllocateGlobalCIDR(globalnetInfo *GlobalnetInfo) (string, error)
- func AssignGlobalnetIPs(globalnetInfo *GlobalnetInfo, netconfig Config) (string, error)
- func CheckOverlappingCidrs(globalnetInfo *GlobalnetInfo, netconfig Config) error
- func GetValidClusterSize(cidrRange string, clusterSize uint) (uint, error)
- func IsValidCIDR(cidr string) error
- func LastIP(network *net.IPNet) uint
- func ValidateExistingGlobalNetworks(reader client.Reader, namespace string) error
- func ValidateGlobalnetConfiguration(globalnetInfo *GlobalnetInfo, netconfig Config) (string, error)
- type CIDR
- type Config
- type GlobalCIDR
- type GlobalNetwork
- type GlobalnetInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocateGlobalCIDR ¶
func AllocateGlobalCIDR(globalnetInfo *GlobalnetInfo) (string, error)
func AssignGlobalnetIPs ¶
func AssignGlobalnetIPs(globalnetInfo *GlobalnetInfo, netconfig Config) (string, error)
func CheckOverlappingCidrs ¶
func CheckOverlappingCidrs(globalnetInfo *GlobalnetInfo, netconfig Config) error
func GetValidClusterSize ¶
func IsValidCIDR ¶
func ValidateGlobalnetConfiguration ¶
func ValidateGlobalnetConfiguration(globalnetInfo *GlobalnetInfo, netconfig Config) (string, error)
Types ¶
type GlobalCIDR ¶
type GlobalCIDR struct {
// contains filtered or unexported fields
}
type GlobalNetwork ¶
type GlobalnetInfo ¶
type GlobalnetInfo struct { GlobalnetEnabled bool GlobalnetCidrRange string GlobalnetClusterSize uint GlobalCidrInfo map[string]*GlobalNetwork }
func GetGlobalNetworks ¶
Click to show internal directories.
Click to hide internal directories.