Documentation ¶
Index ¶
- Variables
- func LookupExtInterface(iface *net.Interface, netMode int) (*backend.ExternalInterface, error)
- func ReadCIDRFromSubnetFile(path string, CIDRKey string) ip.IP4Net
- func ReadCIDRsFromSubnetFile(path string, CIDRKey string) []ip.IP4Net
- func ReadIP6CIDRFromSubnetFile(path string, CIDRKey string) ip.IP6Net
- func ReadIP6CIDRsFromSubnetFile(path string, CIDRKey string) []ip.IP6Net
- func Run(ctx context.Context, smrCtx *smrContext.Context, ...) error
- func WriteSubnetFile(path string, nw ip.IP4Net, nwv6 ip.IP6Net, ipMasq bool, bn backend.Network, ...) error
- type Subnet
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlannelBaseAnnotation = "flannel.alpha.coreos.com" FlannelExternalIPv4Annotation = FlannelBaseAnnotation + "/public-ip-overwrite" FlannelExternalIPv6Annotation = FlannelBaseAnnotation + "/public-ipv6-overwrite" )
Functions ¶
func LookupExtInterface ¶
func ReadCIDRFromSubnetFile ¶
ReadCIDRFromSubnetFile reads the flannel subnet file and extracts the value of IPv4 network CIDRKey
func ReadCIDRsFromSubnetFile ¶
func ReadIP6CIDRFromSubnetFile ¶
ReadIP6CIDRFromSubnetFile reads the flannel subnet file and extracts the value of IPv6 network CIDRKey
func Run ¶
func Run(ctx context.Context, smrCtx *smrContext.Context, config *configuration.Configuration, agent string) error
Types ¶
Click to show internal directories.
Click to hide internal directories.