Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FAILURE (0.4 sec)

  1. 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)
  2. 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)
  3. 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)
  4. istioctl/pkg/tag/generate_test.go

    			webhook:        revisionCanonicalWebhookRemote,
    			whURL:          remoteValidationURL,
    			whSVC:          "",
    			whCA:           "ca",
    		},
    		{
    			name:           "webhook-process-failure-policy",
    			istioNamespace: "istio-system",
    			webhook:        revisionCanonicalWebhook,
    			whURL:          "",
    			whSVC:          "istiod-revision",
    			whCA:           "ca",
    			userManaged:    true,
    		},
    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)
  5. 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)
  6. 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)
  7. istioctl/pkg/tag/generate.go

    	Revision       string
    	URL            string
    	Path           string
    	CABundle       string
    	IstioNamespace string
    	Labels         map[string]string
    	Annotations    map[string]string
    	// FailurePolicy records the failure policy to use for the webhook.
    	FailurePolicy map[string]*admitv1.FailurePolicyType
    }
    
    // GenerateOptions is the group of options needed to generate a tag webhook.
    type GenerateOptions struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. cni/pkg/install/cniconfig_test.go

    				if err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			result, err := getDefaultCNINetwork(c.dir)
    			if (c.expectedFailure && err == nil) || (!c.expectedFailure && err != nil) {
    				t.Fatalf("expected failure: %t, got %v", c.expectedFailure, err)
    			}
    
    			if c.fileContents != "" {
    				if c.outFilename != result {
    					t.Fatalf("expected %s, got %s", c.outFilename, result)
    				}
    			}
    		})
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
Back to top