- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for geturl (0.15 sec)
-
cni/pkg/nodeagent/ztunnelserver.go
log.Debug("ztunnel EOF") return nil } return err case err == nil: log.Warn("ztunnel protocol error, unexpected message") return fmt.Errorf("ztunnel protocol error, unexpected message") default: // we get here if error is deadline exceeded, which means ztunnel is alive. } case <-ctx.Done(): return nil } } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } name, namespace, err := inferPodMeta(ctx, client, "app.kubernetes.io/name=prometheus") if err != nil { return err } return portForward(name, namespace, "Prometheus", "http://%s", bindAddress, promPort, client, cmd.OutOrStdout(), browser) }, } return cmd }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
if err != nil { return nil, err } installLog.Infof("Using CNI config template from %s", template.cniNetworkConfigFile) return cniConfig, nil } if len(template.cniNetworkConfig) > 0 { installLog.Infof("Using CNI config template from CNI_NETWORK_CONFIG environment variable.") return []byte(template.cniNetworkConfig), nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
ipProto, podUID, true, ).Return(nil) fixture.ipsetDeps.On("addIP", "foo-v4", netip.MustParseAddr("2.2.2.2"), ipProto, podUID, true, ).Return(nil) // List should return one IP not in our "pod snapshot", which means we prune fixture.ipsetDeps.On("listEntriesByIP", "foo-v4", ).Return([]netip.Addr{ netip.MustParseAddr("2.2.2.2"),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/test/install_cni.go
if err != nil { return fmt.Errorf("couldn't read result: %v", err) } expectedFile, err := os.ReadFile(expected) if err != nil { return fmt.Errorf("couldn't read expected: %v", err) } if !bytes.Equal(resultFile, expectedFile) { return fmt.Errorf("expected != result. Diff: %v", cmp.Diff(string(expectedFile), string(resultFile))) } return nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
if err := cfg.addLoopbackRoute(); err != nil { return err } if err := cfg.addInpodMarkIPRule(); err != nil { return err } log.Debug("Adding iptables rules") if err := cfg.executeCommands(builder); err != nil { log.Errorf("failed to restore iptables rules: %v", err) return err } return nil }
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) -
cni/pkg/plugin/plugin_test.go
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", Args: fmt.Sprintf("K8S_POD_NAMESPACE=%s;K8S_POD_NAME=%s", podNamespace, podName), Path: "/tmp",
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/nodeagent/informers_test.go
wg, waitForMockCalls := NewWaitForNCalls(t, 1) fs := &fakeServer{testWG: wg} fs.On("AddPodToMesh", ctx, pod, util.GetPodIPsIfPresent(pod), "", ).Return(nil) server := &meshDataplane{ kubeClient: client.Kube(), netServer: fs, } handlers := setupHandlers(ctx, client, server, "istio-system") client.RunAndWait(ctx.Done()) go handlers.Start()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
switch logLevel { case "debug": return log.DebugLevel case "warn": return log.WarnLevel case "error": return log.ErrorLevel case "info": return log.InfoLevel } return log.InfoLevel } func GetLoggingOptions(udsAddress string) *log.Options { loggingOptions := log.DefaultOptions() loggingOptions.OutputPaths = []string{"stderr"} loggingOptions.JSONEncoding = true if udsAddress != "" {
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) -
cni/pkg/install/install.go
return nil } } return fmt.Errorf("istio-cni CNI config removed from CNI config file: %s", cniConfigFilepath) } // Verify that Istio CNI config exists as a standalone plugin cniConfigMap, err := util.ReadCNIConfigMap(cniConfigFilepath) if err != nil { return err } if cniConfigMap["type"] != "istio-cni" { return fmt.Errorf("istio-cni CNI config file modified: %s", cniConfigFilepath) } return nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 10.8K bytes - Viewed (0)