- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for true (0.14 sec)
-
cni/pkg/plugin/plugin_test.go
url, serverClose := setupCNIEventClientWithMockServer(true) cniConf := buildMockConf(true, url) pod, ns := buildFakePodAndNSForClient() 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) }
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/iptables/iptables.go
RedirectDNS: c.RedirectDNS, } } func NewIptablesConfigurator(cfg *Config, ext dep.Dependencies, nlDeps NetlinkDependencies) (*IptablesConfigurator, error) { if cfg == nil { cfg = &Config{ RestoreFormat: true, } } configurator := &IptablesConfigurator{ ext: ext, nlDeps: nlDeps, cfg: cfg, } // By detecting iptables versions *here* once-for-all we are
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
} return log.InfoLevel } func GetLoggingOptions(udsAddress string) *log.Options { loggingOptions := log.DefaultOptions() loggingOptions.OutputPaths = []string{"stderr"} 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) {
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)