Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunInstallCNITest ¶
func RunInstallCNITest(t *testing.T, chainedCNIPlugin bool, preConfFile, resultFileName, delayedConfFile, expectedOutputFile, expectedPostCleanFile string, cniConfDirOrderedFiles []string, )
RunInstallCNITest sets up temporary directories and runs the test.
Doing a go test install_cni.go by itself will not execute the test as the file doesn't have a _test.go suffix, and this func doesn't start with a Test prefix. This func is only meant to be invoked programmatically. A separate install_cni_test.go file exists for executing this test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.