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 LastIp(network *net.IPNet) uint
- 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 ¶ added in v0.2.0
func AllocateGlobalCIDR(globalnetInfo *GlobalnetInfo) (string, error)
func AssignGlobalnetIPs ¶ added in v0.3.1
func AssignGlobalnetIPs(globalnetInfo *GlobalnetInfo, netconfig Config) (string, error)
func CheckOverlappingCidrs ¶ added in v0.5.0
func CheckOverlappingCidrs(globalnetInfo *GlobalnetInfo, netconfig Config) error
func GetValidClusterSize ¶ added in v0.3.0
func ValidateGlobalnetConfiguration ¶ added in v0.3.1
func ValidateGlobalnetConfiguration(globalnetInfo *GlobalnetInfo, netconfig Config) (string, error)
Types ¶
type GlobalCIDR ¶ added in v0.2.0
type GlobalCIDR struct {
// contains filtered or unexported fields
}
type GlobalNetwork ¶
type GlobalnetInfo ¶ added in v0.5.0
type GlobalnetInfo struct { GlobalnetEnabled bool GlobalnetCidrRange string GlobalnetClusterSize uint GlobalCidrInfo map[string]*GlobalNetwork }
func GetGlobalNetworks ¶ added in v0.3.1
func GetGlobalNetworks(k8sClientset *kubernetes.Clientset, brokerNamespace string) (*GlobalnetInfo, *v1.ConfigMap, error)
Click to show internal directories.
Click to hide internal directories.