- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for buildCmdArgs (0.1 sec)
-
cni/pkg/plugin/plugin_test.go
} res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) })) return testServer.URL, func() bool { testServer.Close() return cniAddServerCalled } } func buildCmdArgs(stdinData, podName, podNamespace string) *skel.CmdArgs { return &skel.CmdArgs{ ContainerID: "testContainerID", Netns: testSandboxDirectory, IfName: "eth0",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
} diff.RefreshGoldenFile(t, []byte(goldenFileContent), goldenFileName) } func testdoAddRunWithIptablesIntercept(t *testing.T, stdinData, testPodName, testNSName string, objects ...runtime.Object) { args := buildCmdArgs(stdinData, testPodName, testNSName) conf, err := parseConfig(args.StdinData) if err != nil { t.Fatalf("config parse failed with error: %v", err) } // Create a kube client
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 8.4K bytes - Viewed (0)