package
0.12.0
Repository: https://github.com/raybejjani/cilium.git
Documentation: pkg.go.dev

# Functions

AutoComplete completes the parts of addressing that can be auto derived.
GetExternalIPv4 returns the external IPv4 node address.
GetHostMasqueradeIPv4 returns the IPv4 address to be used for masquerading any traffic that is being forwarded from the host into the Cilium cluster.
GetInternalIPv4 returns the internal IPv4 node address.
GetIPv4AllocRange returns the IPv4 allocation prefix of this node.
GetIPv4ClusterRange returns the IPv4 prefix of the cluster.
GetIPv4NodeRoute returns a route pointing to the IPv4 node address.
GetIPv6 returns the IPv6 address of the node.
GetIPv6AllocRange returns the IPv6 allocation prefix of this node.
GetIPv6ClusterRange returns the IPv6 prefix of the clustr.
GetIPv6NodeRange returns the IPv6 allocation prefix of this node.
GetIPv6NodeRoute returns a route pointing to the IPv6 node address.
GetIPv6NoZeroComp is similar to String but without generating zero compression in the address dump.
GetIPv6Router returns the IPv6 address of the node.
GetName returns the name of the local node.
GetNode returns the identity and node spec for the local node.
InitDefaultPrefix initializes the node address and allocation prefixes with default values derived from the system.
IsHostIPv4 returns true if the IP specified is a host IP.
IsHostIPv6 returns true if the IP specified is a host IP.
SetExternalIPv4 sets the external IPv4 node address.
SetInternalIPv4 sets the internal IPv4 node address, it is allocated from the node prefix.
SetIPv4AllocRange sets the IPv4 address pool to use when allocating addresses for local endpoints.
SetIPv4ClusterCidrMaskSize sets the size of the mask of the IPv4 cluster prefix.
SetIPv6 sets the IPv6 address of the node.
SetIPv6NodeRange sets the IPv6 address pool to be used on this node.
SetIPv6Router returns the IPv6 address of the node.
SetName sets the name of the local node.
UseNodeAddresses sets the local ipv4-node and ipv6-node values from the addresses defined in the given node.
UseNodeCIDR sets the ipv4-range and ipv6-range values values from the addresses defined in the given node.
ValidatePostInit validates the entire addressing setup and completes it as required.

# Constants

DefaultIPv4ClusterPrefixLen is the IPv4 prefix length of the entire cluster.
DefaultIPv4Prefix is the prefix for all the IPv4 addresses.
DefaultIPv4PrefixLen is the length used to allocate container IPv4 addresses from.
DefaultIPv6ClusterPrefixLen is the IPv6 prefix length of the entire cluster.
DefaultIPv6Prefix is the prefix for all the IPv6 addresses.
DefaultNAT46Prefix is the IPv6 prefix to represent NATed IPv4 addresses.
IPv6NodeAllocPrefixLen is the length of the prefix used for allocation per node.
IPv6NodePrefixLen is the length used to allocate container IPv6 addresses from.

# Variables

ClusterIPv6Mask represents the CIDR Mask for an entire cluster.
ContainerIPv4Mask is the IPv4 prefix length for address assigned to container.
ContainerIPv6Mask is the IPv6 prefix length for address assigned to container.
EnableIPv4 can be set to false to disable Ipv4.
IPv4DefaultRoute is the default IPv4 route.
IPv6DefaultRoute is the default IPv6 route.
NodeIPv6Mask represents the CIDR Mask for the cilium node.
StateIPv6Mask represents the CIDR Mask for the state position.