- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for FAILURE (0.17 sec)
-
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) -
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) -
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/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) -
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) -
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/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) -
istioctl/pkg/multicluster/remote_secret_test.go
if err := writeEncodedObject(w, s); err == nil { t.Error("want error on local write failure") } w = &fakeOutputWriter{failAfter: 1, injectError: errors.New("error")} if err := writeEncodedObject(w, s); err == nil { t.Error("want error on remote write failure") } w = &fakeOutputWriter{failAfter: 2, injectError: errors.New("error")} if err := writeEncodedObject(w, s); err == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
analyzeTargetAsString(), parseErrors, fileOrFiles, ) } } // Return code is based on the unfiltered validation message list/parse errors // We're intentionally keeping failure threshold and output threshold decoupled for now var returnError error if msgOutputFormat == formatting.LogFormat { returnError = errorIfMessagesExceedThreshold(result.Messages)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0)