Documentation ¶
Index ¶
- func AllocateGlobalCIDR(globalNetworks map[string]*GlobalNetwork, subctlData *datafile.SubctlData) (string, error)
- func AssignGlobalnetIPs(subctlData *datafile.SubctlData, globalNetworks map[string]*GlobalNetwork, ...) (string, error)
- func CheckForOverlappingCIDRs(globalNetworks map[string]*GlobalNetwork, netconfig Config) error
- func CheckOverlappingCidr(networks map[string]*GlobalNetwork, overlappingFor overlapType, ...) error
- func Discover(client *submarinerClientset.Clientset, namespace string) (map[string]*GlobalNetwork, error)
- func GetGlobalNetworks(subctlData *datafile.SubctlData) (map[string]*GlobalNetwork, error)
- func GetValidClusterSize(cidrRange string, clusterSize uint) (uint, error)
- func LastIp(network *net.IPNet) uint
- func ShowNetworks(networks map[string]*GlobalNetwork)
- func ValidateGlobalnetConfiguration(subctlData *datafile.SubctlData, netconfig Config) (error, string, uint)
- type CIDR
- type Config
- type GlobalCIDR
- type GlobalNetwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocateGlobalCIDR ¶ added in v0.2.0
func AllocateGlobalCIDR(globalNetworks map[string]*GlobalNetwork, subctlData *datafile.SubctlData) (string, error)
func AssignGlobalnetIPs ¶ added in v0.3.1
func AssignGlobalnetIPs(subctlData *datafile.SubctlData, globalNetworks map[string]*GlobalNetwork, netconfig Config) (string, error)
func CheckForOverlappingCIDRs ¶ added in v0.3.1
func CheckForOverlappingCIDRs(globalNetworks map[string]*GlobalNetwork, netconfig Config) error
func CheckOverlappingCidr ¶ added in v0.3.1
func CheckOverlappingCidr(networks map[string]*GlobalNetwork, overlappingFor overlapType, netconfig Config) error
func Discover ¶
func Discover(client *submarinerClientset.Clientset, namespace string) (map[string]*GlobalNetwork, error)
func GetGlobalNetworks ¶ added in v0.3.1
func GetGlobalNetworks(subctlData *datafile.SubctlData) (map[string]*GlobalNetwork, error)
func GetValidClusterSize ¶ added in v0.3.0
func ShowNetworks ¶
func ShowNetworks(networks map[string]*GlobalNetwork)
func ValidateGlobalnetConfiguration ¶ added in v0.3.1
Types ¶
type GlobalCIDR ¶ added in v0.2.0
type GlobalCIDR struct {
// contains filtered or unexported fields
}
type GlobalNetwork ¶
type GlobalNetwork struct { GlobalCIDRs []string ServiceCIDRs []string ClusterCIDRs []string ClusterId string }
func (*GlobalNetwork) Show ¶
func (gn *GlobalNetwork) Show()
Click to show internal directories.
Click to hide internal directories.