- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for figure (0.16 sec)
-
cni/pkg/nodeagent/net_test.go
defer cancel() setupLogging() fixture := getTestFixure(ctx) netServer := fixture.netServer ztunnelServer := fixture.ztunnelServer podMeta := metav1.ObjectMeta{ Name: "foo", Namespace: "bar", UID: "123", } podIP := netip.MustParseAddr("99.9.9.9") podIPs := []netip.Addr{podIP} fixture.ipsetDeps.On("addIP", "foo-v4", netip.MustParseAddr("99.9.9.9"),
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/pkg/install/kubeconfig_test.go
} result, err := createKubeConfig(cfg) if err != nil { if !c.expectedFailure { t.Fatalf("did not expect failure: %v", err) } // Successful test case expecting failure return } else if c.expectedFailure { t.Fatalf("expected failure") } goldenFilepath := "testdata/kubeconfig-tls" if c.skipTLSVerify { goldenFilepath = "testdata/kubeconfig-skip-tls" }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 03:52:24 GMT 2024 - 5.1K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
openBrowser(fmt.Sprintf(urlFormat, fw.Address()), writer, browser) // Wait for stop fw.WaitForStop() return nil } return fmt.Errorf("failure running port forward process: %v", err) } func ClosePortForwarderOnInterrupt(fw kube.PortForwarder) { go func() { signals := make(chan os.Signal, 1) signal.Notify(signals, os.Interrupt)
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/nodeagent/ztunnelserver_test.go
ztunnelKeepAliveCheckInterval = time.Second / 10 mt := monitortest.New(t) setupLogging() ctx, cancel := context.WithCancel(context.Background()) defer cancel() fixture := connect(ctx) ztunClient := fixture.ztunClient uid := fixture.uid m, fds := readRequest(t, ztunClient) // we got am essage from ztun, so it should have observed us being connected mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
cni/pkg/install/monitoring.go
var ( resultLabel = monitoring.CreateLabel("result") resultSuccess = "SUCCESS" resultCopyBinariesFailure = "COPY_BINARIES_FAILURE" resultCreateKubeConfigFailure = "CREATE_KUBECONFIG_FAILURE" resultCreateCNIConfigFailure = "CREATE_CNI_CONFIG_FAILURE" cniInstalls = monitoring.NewSum( "istio_cni_installs_total", "Total number of CNI plugins installed by the Istio CNI installer", )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jul 17 20:25:52 GMT 2023 - 1.2K bytes - Viewed (0) -
cni/pkg/install/install_test.go
} err := checkValidCNIConfig(cfg, filepath.Join(tempDir, c.cniConfigFilename)) if (c.expectedFailure && err == nil) || (!c.expectedFailure && err != nil) { t.Fatalf("expected failure: %t, got %v", c.expectedFailure, err) } }) } } func TestSleepCheckInstall(t *testing.T) { cases := []struct { name string chainedCNIPlugin bool
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
continue } // For safety, check the containers *current* status. If the container // successfully exited, we NEVER want to identify this pod as broken. // If the pod is going to fail, the failure state will show up in // LastTerminationState eventually. if state := container.State.Terminated; state != nil { if state.Reason == "Completed" || state.ExitCode == 0 { continue } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
if err != nil { return fmt.Errorf("could not build port forwarder for prometheus: %v", err) } if err = fw.Start(); err != nil { return fmt.Errorf("failure running port forward process: %v", err) } // Close the forwarder either when we exit or when an this processes is interrupted. defer fw.Close() dashboard.ClosePortForwarderOnInterrupt(fw)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 8.4K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze_test.go
), } err := errorIfMessagesExceedThreshold(msgs) g.Expect(err).To(BeNil()) } func TestSkipPodsInFiles(t *testing.T) { c := testutil.TestCase{ Args: strings.Split( "-A --use-kube=false --failure-threshold ERROR testdata/analyze-file/public-gateway.yaml", " "), WantException: false, } analyze := Analyze(cli.NewFakeContext(nil)) testutil.VerifyOutput(t, analyze, c)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 1.8K bytes - Viewed (0)