Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for Case (0.14 sec)

  1. istioctl/pkg/writer/pilot/status.go

    	for _, config := range configs {
    		cfgType := config.GetTypeUrl()
    		switch cfgType {
    		case xdsresource.ListenerType:
    			lds = formatStatus(config)
    		case xdsresource.ClusterType:
    			cds = formatStatus(config)
    		case xdsresource.RouteType:
    			rds = formatStatus(config)
    		case xdsresource.EndpointType:
    			eds = formatStatus(config)
    		case xdsresource.ExtensionConfigurationType:
    			ecds = formatStatus(config)
    		default:
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cni/pkg/log/uds.go

    	for _, m := range messages {
    		// There is no fatal log from CNI plugin
    		switch m.Level {
    		case "debug":
    			pluginLog.LogWithTime(log.DebugLevel, m.Msg, m.Time)
    		case "info":
    			pluginLog.LogWithTime(log.InfoLevel, m.Msg, m.Time)
    		case "warn":
    			pluginLog.LogWithTime(log.WarnLevel, m.Msg, m.Time)
    		case "error":
    			pluginLog.LogWithTime(log.ErrorLevel, m.Msg, m.Time)
    		}
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    	ret := make(chan updateResponse, 1)
    	req := updateRequest{
    		Update: data,
    		Fd:     fd,
    		Resp:   ret,
    	}
    	select {
    	case z.Updates <- req:
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    
    	select {
    	case r := <-ret:
    		return r.resp, r.err
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. manifests/charts/default/templates/mutatingwebhook.yaml

        matchExpressions:
        - key: sidecar.istio.io/inject
          operator: NotIn
          values:
          - "false"
        - key: istio.io/rev
          operator: In
          values:
          - "default"
    
    {{- /* Case 1: Namespace selector enabled, and object selector is not injected */}}
    {{- include "core" (mergeOverwrite (deepCopy $whv) (dict "Prefix" "namespace.") ) }}
      namespaceSelector:
        matchExpressions:
        - key: istio-injection
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. istioctl/pkg/util/ambient/util.go

    func InAmbient(obj metav1.Object) bool {
    	if obj == nil {
    		return false
    	}
    	switch t := obj.(type) {
    	case *corev1.Pod:
    		return t.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    	case *corev1.Namespace:
    		if t.GetLabels()["istio-injection"] == "enabled" {
    			return false
    		}
    		if v, ok := t.GetLabels()[label.IoIstioRev.Name]; ok && v != "" {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. cni/pkg/install/cniconfig.go

    func getDefaultCNINetwork(confDir string) (string, error) {
    	files, err := libcni.ConfFiles(confDir, []string{".conf", ".conflist"})
    	switch {
    	case err != nil:
    		return "", err
    	case len(files) == 0:
    		return "", fmt.Errorf("no networks found in %s", confDir)
    	}
    
    	sort.Strings(files)
    	for _, confFile := range files {
    		var confList *libcni.NetworkConfigList
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. istioctl/pkg/install/k8sversion/version_test.go

    		},
    		{
    			version: versionInvalid2,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid2.GitVersion),
    			isValid: false,
    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) {
    			got, err := extractKubernetesVersion(c.version)
    			if c.errMsg != err && c.isValid {
    				t.Fatalf("\nwanted: %v \nbut found: %v", c.errMsg, err)
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. cni/pkg/pluginlistener/listener.go

    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err)
    	}
    
    	// Attempt to create the folder in case it doesn't exist
    	if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil {
    		// If we cannot create it, just warn here - we will fail later if there is a real error
    		log.Warnf("Failed to create directory for %v: %v", path, err)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. cni/pkg/install/kubeconfig_test.go

    				SkipTLSVerify:      c.skipTLSVerify,
    			}
    			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 {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

    // to a cluster can read ClusterTrustBundles by impersonating a serviceaccount
    // that they have access to.
    //
    // It can be optionally associated with a particular assigner, in which case it
    // contains one valid set of trust anchors for that signer. Signers may have
    // multiple associated ClusterTrustBundles; each is an independent set of trust
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top