- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Cannon (0.18 sec)
-
cni/pkg/log/uds_test.go
log.FindScope("default").SetOutputLevel(log.DebugLevel) log.Debug("debug log") log.Info("info log") log.Warn("warn log") log.Error("error log") // This will error because stdout cannot sync, but the UDS part should sync // Ideally we would fail if the UDS part fails but the error library makes it kind of tricky _ = log.Sync() // Restore os stdout. os.Stdout = stdout
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/repair/netns.go
// /var/run/netns/<name>. However, this pattern is not ubiquitous. Some platforms bind mount to other places. As we run // in a pod, we cannot just access any arbitrary file they happen to bind mount in, as we don't know ahead of time where // it might be. // // Instead, we rely directly on the procfs. // This rules out two possible methods:
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
return "", err } return string(prettyJSON), nil } func profileDump(args []string, pdArgs *profileDumpArgs, l clog.Logger) error { if len(args) == 1 && pdArgs.inFilenames != nil { return fmt.Errorf("cannot specify both profile name and filename flag") } if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil { return err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
}, }, }, }, namespaces: corev1.NamespaceList{}, outputMatches: []string{}, skipConfirmation: true, error: "cannot remove tag \"sample\"", }, { name: "TestDeleteTagWithDependentNamespace", tag: "match", webhooksBefore: admitv1.MutatingWebhookConfigurationList{ Items: []admitv1.MutatingWebhookConfiguration{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener.go
return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err) } // Attempt to create the folder in case it doesn't exist if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil { // If we cannot create it, just warn here - we will fail later if there is a real error log.Warnf("Failed to create directory for %v: %v", path, err) } var err error listener, err := net.Listen("unix", path) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard_test.go
WantException: true, }, { // case 12 Args: strings.Split("envoy --browser=false --selector app=example pod-123456-7890", " "), ExpectedRegexp: regexp.MustCompile(".*Error: name cannot be provided when a selector is specified"), WantException: true, }, { // case 13 Args: strings.Split("--browser=false controlz --selector app=example", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Nov 21 01:17:24 GMT 2023 - 4.3K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
"--meshConfigFile testdata/mesh-config.yaml"+ " --injectConfigFile testdata/inject-config.yaml -f testdata/deployment/hello-with-proxyconfig-anno.yaml"+ " --valuesFile testdata/inject-values.yaml", " "), GoldenFilename: "testdata/deployment/hello-with-proxyconfig-anno.yaml.injected", }, } kubeInject := InjectCommand(cli.NewFakeContext(nil)) for i, c := range cases {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 3.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
if err != nil { log.Fatalf("Cannot read generated IPTables rule file: %v", err) } generatedRules := getRules(generated) refreshGoldens(t, tt.golden, generatedRules) // Compare generated iptables rule with golden files. golden, err := os.ReadFile(tt.golden) if err != nil { log.Fatalf("Cannot read golden rule file: %v", err) } goldenRules := getRules(golden)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
operator/cmd/mesh/shared.go
var installerScope = log.RegisterScope("installer", "installer") func init() { // adding to remove message about the controller-runtime logs not getting displayed // We cannot do this in the `log` package since it would place a runtime dependency on controller-runtime for all binaries. scope := log.RegisterScope("controlleruntime", "scope for controller runtime")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 5.1K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
{ name: "has rev annotation", pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Annotations: map[string]string{ annotation.SidecarStatus.Name: `{"revision": "test-anno"}`, }, }, }, expectedRevision: "test-anno", }, { name: "has both rev label and annotation, use label", pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 2.9K bytes - Viewed (0)