Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateNode ¶
UpdateNode updates the new node in the nodes' map with the given identity.
Types ¶
type Address ¶
type Address struct {
AddressType v1.NodeAddressType
IP net.IP
}
Address is a node address which contains an IP and the address type.
type Identity ¶
type Identity struct {
Name string
}
Identity represents the node identity of a node.
type Node ¶
type Node struct {
Name string
IPAddresses []Address
// IPv4AllocCIDR if set, is the IPv4 address pool out of which the node
// allocates IPs for local endpoints from
IPv4AllocCIDR *net.IPNet
// IPv6AllocCIDR if set, is the IPv6 address pool out of which the node
// allocates IPs for local endpoints from
IPv6AllocCIDR *net.IPNet
}
Node contains the nodes name, the list of addresses to this address
Click to show internal directories.
Click to hide internal directories.