- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for carlet (0.3 sec)
-
cni/pkg/plugin/plugin_test.go
ns.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient} testCmdAddExpectFail(t, cniConf, pod, ns) wasCalled := serverClose() // server called, but errored assert.Equal(t, wasCalled, true) } func TestCmdAddPodWithProxySidecarAmbientEnabledNS(t *testing.T) { url, serverClose := setupCNIEventClientWithMockServer(false)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
loggingOptions.JSONEncoding = true if udsAddress != "" { loggingOptions.WithTeeToUDS(udsAddress, constants.UDSLogPath) } return loggingOptions } // CmdAdd is called for ADD requests func CmdAdd(args *skel.CmdArgs) (err error) { // Defer a panic recover, so that in case if panic we can still return // a proper error to the runtime. defer func() { if e := recover(); e != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0)