Documentation ¶
Index ¶
- func ClusterConfiguration(existing, update clusterconfig.Interface) error
- func KubernetesSubnets(podNet, serviceNet *net.IPNet, podSubnetSize int) (err error)
- func KubernetesSubnetsFromStrings(podCIDR, serviceCIDR, podSubnetSize string) error
- func NetworkOverlap(ipAddr, subnetCIDR, errMsg string) error
- func NormalizeSubnet(subnet string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterConfiguration ¶
func ClusterConfiguration(existing, update clusterconfig.Interface) error
ClusterConfiguration validates that `update` can update `existing` without invalidating consistency.
func KubernetesSubnets ¶
KubernetesSubnets makes sure that the provided CIDR ranges can be used as pod/service Kubernetes subnets
func KubernetesSubnetsFromStrings ¶
KubernetesSubnetsFromStrings makes sure that the provided CIDR ranges are valid and can be used as pod/service Kubernetes subnets
func NetworkOverlap ¶
NetworkOverlap verifies that ipAddr is not in the range of the subnetCIDR
func NormalizeSubnet ¶
NormalizeSubnet returns the text representation of the given subnet as the IP masked with the network mask
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.