Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 113 for true (0.2 sec)

  1. cni/pkg/repair/repair_test.go

    				InitExitCode:      126,
    			},
    			brokenPodWaiting,
    			true,
    		},
    		{
    			"Testing broken pod (in terminating state) with only ExitCode check",
    			config.RepairConfig{
    				SidecarAnnotation: "sidecar.istio.io/status",
    				InitContainerName: constants.ValidationContainerName,
    				InitExitCode:      126,
    			},
    			brokenPodTerminating,
    			true,
    		},
    		{
    			"Testing broken pod with wrong ExitCode",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_dryrun_test.go

    			golden:      filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/dns.txt.golden"),
    		},
    		{
    			name:        "invalid-drop",
    			annotations: map[string]string{annotation.SidecarStatus.Name: "true"},
    			proxyEnv:    []corev1.EnvVar{{Name: cmd.InvalidDropByIptables, Value: "true"}},
    			golden:      filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/invalid-drop.txt.golden"),
    		},
    		{
    			name:        "custom-uid",
    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)
  3. cni/pkg/nodeagent/healthServer_test.go

    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    	makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusServiceUnavailable)
    
    	installReady.Store(true)
    	watchReady.Store(true)
    	assert.Equal(t, installReady.Load(), true)
    	assert.Equal(t, watchReady.Load(), true)
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    	makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusOK)
    
    	watchReady.Store(false)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-diff.go

    	a, _, err := manifest.GenIOPFromProfile(profileA, "", setFlags, true, true, nil, l)
    	if err != nil {
    		return false, fmt.Errorf("could not read %q: %v", profileA, err)
    	}
    
    	b, _, err := manifest.GenIOPFromProfile(profileB, "", setFlags, true, true, nil, l)
    	if err != nil {
    		return false, fmt.Errorf("could not read %q: %v", profileB, err)
    	}
    
    	diff := util.YAMLDiff(a, b)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/sds/writer_test.go

    			items: []SecretItem{
    				{
    					Name:        "olinger",
    					Data:        "certdata",
    					Source:      "source",
    					Destination: "destination",
    					SecretMeta: SecretMeta{
    						Valid:        true,
    						SerialNumber: "serial_number",
    						NotAfter:     "expires",
    						NotBefore:    "valid",
    						Type:         "type",
    					},
    				},
    			},
    			expected: append(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  6. operator/cmd/mesh/shared.go

    	_, _ = fmt.Fprintln(w.writer, str)
    }
    
    func refreshGoldenFiles() bool {
    	ev := os.Getenv("REFRESH_GOLDEN")
    	return ev == "true" || ev == "1"
    }
    
    func kubeBuilderInstalled() bool {
    	ev := os.Getenv("KUBEBUILDER")
    	return ev == "true" || ev == "1"
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    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)
  7. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVarP(&useKube, "use-kube", "k", true,
    		"Use live Kubernetes cluster for analysis. Set --use-kube=false to analyze files only.")
    	analysisCmd.PersistentFlags().BoolVar(&colorize, "color", formatting.IstioctlColorDefault(analysisCmd.OutOrStdout()),
    		"Default true.  Disable with '=false' or set $TERM to dumb")
    	analysisCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. cni/pkg/install/binaries_test.go

    				assert.Equal(t, contents, expectedContents)
    
    				wasCopied := false
    				for _, bin := range binariesCopied.UnsortedList() {
    					if bin == filename {
    						wasCopied = true
    					}
    				}
    				assert.Equal(t, wasCopied, true)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 20 18:34:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	Address string
    	Port    uint32
    	Cluster string
    	Status  string
    }
    
    // Verify returns true if the passed host matches the filter fields
    func (e *EndpointFilter) Verify(ep *endpoint.LbEndpoint, cluster string) bool {
    	if e.Address == "" && e.Port == 0 && e.Cluster == "" && e.Status == "" {
    		return true
    	}
    	if e.Address != "" && !strings.EqualFold(retrieveEndpointAddress(ep), e.Address) {
    		return false
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig_test.go

    			dir:             "/inexistent/directory",
    			expectedFailure: true,
    		},
    		{
    			name:            "empty directory",
    			dir:             tempDir,
    			expectedFailure: true,
    		},
    		{
    			// Only .conf and .conflist files are detectable
    			name:            "undetectable file",
    			dir:             tempDir,
    			expectedFailure: true,
    			inFilename:      "undetectable.file",
    			fileContents: `
    {
    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