istio: istio.io/istio/cni/test Index | Files

package install

import "istio.io/istio/cni/test"

Index

Package Files

install_cni.go

func RunInstallCNITest Uses

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.

Package install imports 18 packages (graph). Updated 2020-11-22. Refresh now. Tools for package owners.