Documentation ¶
Index ¶
- func AllocateGlobalCIDR(globalNetworks map[string]*GlobalNetwork, subctlData *datafile.SubctlData) (string, error)
- func Discover(client *submarinerClientset.Clientset, namespace string) (map[string]*GlobalNetwork, error)
- func IsOverlappingCIDR(cidrList []string, cidr string) (bool, error)
- func LastIp(network *net.IPNet) uint
- func ShowNetworks(networks map[string]*GlobalNetwork)
- type CIDR
- 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 Discover ¶
func Discover(client *submarinerClientset.Clientset, namespace string) (map[string]*GlobalNetwork, error)
func ShowNetworks ¶
func ShowNetworks(networks map[string]*GlobalNetwork)
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.