Documentation
¶
Index ¶
- Variables
- func GetDockerV4Network(ctx context.Context) (net.IPNet, error)
- func NextAvailableLBNetwork(ctx context.Context, c client.Client) (net.IPNet, error)
- func SubnetFromCluster(c *v1alpha1.Cluster) (*net.IPNet, error)
- type ConfigFrom
- type Container
- type IPAM
- type IPAMConfig
- type Network
- type Provider
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AnnotationAssignedSubnet = v1alpha1.GroupVersion.Group + "/assigned-subnet"
)
Functions ¶
func NextAvailableLBNetwork ¶
Types ¶
type ConfigFrom ¶
type ConfigFrom struct {
Network string `json:"Network"`
}
ConfigFrom represents the source network for configuration data.
type Container ¶
type Container struct {
Name string `json:"Name"`
EndpointID string `json:"EndpointID"`
MacAddress string `json:"MacAddress"`
IPv4Address string `json:"IPv4Address"`
IPv6Address string `json:"IPv6Address"`
}
Container represents a container within the network.
type IPAM ¶
type IPAM struct {
Driver string `json:"Driver"`
Options map[string]string `json:"Options"`
Config []IPAMConfig `json:"Config"`
}
IPAM represents IP address management configuration.
type IPAMConfig ¶
IPAMConfig represents individual configurations within the IPAMConfig array.
type Network ¶
type Network struct {
Name string `json:"Name"`
Id string `json:"Id"`
Created string `json:"Created"`
Scope string `json:"Scope"`
Driver string `json:"Driver"`
EnableIPv6 bool `json:"EnableIPv6"`
IPAM IPAM `json:"IPAM"`
Internal bool `json:"Internal"`
Attachable bool `json:"Attachable"`
Ingress bool `json:"Ingress"`
ConfigFrom ConfigFrom `json:"ConfigFrom"`
ConfigOnly bool `json:"ConfigOnly"`
Containers map[string]Container `json:"Containers"`
Options map[string]string `json:"Options"`
Labels map[string]string `json:"Labels"`
}
Network represents the network configuration struct.
Click to show internal directories.
Click to hide internal directories.