package
3.22.0-0.dev+incompatible
Repository: https://github.com/projectcalico/cni-plugin.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CheckSysctlValue is a utility function to assert sysctl value is set to what is expected.
No description provided by the author
No description provided by the author
No description provided by the author
Create container with the giving containerId when containerId is not empty.
Create veth pair on host.
Executes the Calico CNI plugin and return the error code of the command.
No description provided by the author
No description provided by the author
No description provided by the author
GetResultForCurrent takes the output with cniVersion and returns the Result in current.Result format.
MustCreateNewIPPool creates a new Calico IPAM IP Pool.
MustCreateNewIPPoolBlockSize creates a new Calico IPAM IP Pool with support for setting the block size.
No description provided by the author
RunCNIPluginWithId calls CNI plugin with a containerID and targetNs passed to it.
RunIPAMPlugin sets ENV vars required then calls the IPAM plugin specified in the config and returns the result and exitCode.
Delete everything under /calico from etcd.
# Constants
No description provided by the author
No description provided by the author