Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 123 for Case (0.13 sec)

  1. cni/pkg/nodeagent/informers.go

    			})
    		}
    	}
    }
    
    func (s *InformerHandlers) reconcile(input any) error {
    	event := input.(controllers.Event)
    	switch event.Latest().(type) {
    	case *corev1.Namespace:
    		return s.reconcileNamespace(input)
    	case *corev1.Pod:
    		return s.reconcilePod(input)
    	default:
    		return fmt.Errorf("unexpected event type: %+v", input)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    				FQDN:      host.Name(fqdn),
    				Port:      port,
    				Subset:    subset,
    				Direction: model.TrafficDirection(direction),
    			}
    			switch outputFormat {
    			case summaryOutput:
    				return configWriter.PrintClusterSummary(filter)
    			case jsonOutput, yamlOutput:
    				return configWriter.PrintClusterDump(filter, outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", outputFormat)
    			}
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest_shared_test.go

    		log.Infof("\nRunning test command using %s\n", cmd)
    		switch cmd {
    		case cmdApply, cmdController:
    			if err := cleanTestCluster(); err != nil {
    				return nil, err
    			}
    			if err := fakeApplyExtraResources(inFile); err != nil {
    				return nil, err
    			}
    		default:
    		}
    
    		var objs *ObjectSet
    		var err error
    		switch cmd {
    		case cmdGenerate:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  4. istioctl/pkg/internaldebug/internal-debug.go

    			switch {
    			case strings.Contains(eString, "You must provide a proxyID in the query string"):
    				return nil, fmt.Errorf(" You must provide a proxyID in the query string, e.g. [%s]",
    					"edsz?proxyID=istio-ingressgateway")
    
    			case strings.Contains(eString, "404 page not found"):
    				return HandlerForRetrieveDebugList(kubeClient, *centralOpts, writer, istioNamespace)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/server_test.go

    	wg := &WaitGroup{
    		done: make(chan struct{}),
    	}
    
    	wg.Add(n)
    	return wg, func() {
    		select {
    		case <-wg.C():
    			return
    		case <-time.After(time.Second):
    			t.Fatal("Wait group timed out!\n")
    		}
    	}
    }
    
    func (wg *WaitGroup) Add(i int32) {
    	select {
    	case <-wg.done:
    		panic("use of an already closed WaitGroup")
    	default:
    	}
    	atomic.AddInt32(&wg.count, i)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      optional string requestSubResource = 15;
    
      // Name is the name of the object as presented in the request.  On a CREATE operation, the client may omit name and
      // rely on the server to generate the name.  If that is the case, this field will contain an empty string.
      // +optional
      optional string name = 5;
    
      // Namespace is the namespace associated with the request (if any).
      // +optional
      optional string namespace = 6;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. operator/cmd/mesh/profile-diff_test.go

    		},
    		{
    			args:           fmt.Sprintf("profile diff openshift openshift --manifests %s", snapshotCharts),
    			expectedString: "Profiles are identical",
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) {
    			output, fErr := runCommand(c.args)
    			verifyProfileDiffCommandCaseOutput(t, c, output, fErr)
    		})
    	}
    }
    
    func TestProfileDiffDirect(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  8. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/checkinject.go

    			}
    		} else if nsMatched {
    			for _, me := range wh.ObjectSelector.MatchExpressions {
    				switch me.Operator {
    				case metav1.LabelSelectorOpDoesNotExist:
    					v, ok := podLabels[me.Key]
    					if ok {
    						return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false
    					}
    				case metav1.LabelSelectorOpNotIn:
    					v, ok := podLabels[me.Key]
    					if !ok {
    						continue
    					}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. manifests/charts/README.md

    CRDs in place and not have Istio modify them. In this case, it is necessary to apply CRD files individually.
    
    ```bash
    kubectl apply -k github.com/istio/installer/base
    ```
    
    or
    
    ```bash
    kubectl apply -f base/files
    ```
    
    ### Install Istio-CNI
    
    This is an optional step - CNI must run in a dedicated namespace, it is a 'singleton' and extremely
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top