package
3.1.3+incompatible
Repository: https://github.com/containerum/cni-plugin.git
Documentation: pkg.go.dev
# Functions
AddIgnoreUnknownArgs appends the 'IgnoreUnknown=1' option to CNI_ARGS before calling the IPAM plugin.
CleanUpIPAM calls IPAM plugin to release the IP address.
CleanUpNamespace deletes the devices in the network namespace.
Set up logging for both Calico and libcalico using the provided log level,.
No description provided by the author
CreateOrUpdate creates the WorkloadEndpoint if ResourceVersion is not specified, or Update if it's specified.
CreateResultFromEndpoint takes a WorkloadEndpoint, extracts IP information and populates that into a CNI Result.
DetermineNodename gets the node name, in order of priority: 1.
DoNetworking performs the networking for the given config and IPAM result.
No description provided by the author
GetIdentifiers takes CNI command arguments, and extracts identifiers i.e.
No description provided by the author
Takes as array of IPv4 or IPv6 pools and parses them into an array of IPnet's.
PopulateEndpointNets takes a WorkloadEndpoint and a CNI Result, extracts IP address and mask and populates that information into the WorkloadEndpoint.
ReleaseIPAllocation is called to cleanup IPAM allocations if something goes wrong during CNI ADD execution.
SanitizeMesosLabel converts a string from a valid mesos label to a valid Calico label.
SetupRoutes sets up the routes for the host side of the veth pair.
ValidateNetworkName checks that the network name meets felix's expectations.
# Structs
No description provided by the author