package
1.11.8-cni-plugin
Repository: https://github.com/iot-admin/calico2.git
Documentation: pkg.go.dev
# Functions
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
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
GetResultForCurrent takes the session output with cniVersion and returns the Result in current.Result format.
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.
Delete all K8s pods from the "test" namespace.
# Constants
No description provided by the author