Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for selectCar (0.36 sec)

  1. istioctl/pkg/dashboard/dashboard.go

    	envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    	envoy.PersistentFlags().IntVar(&proxyAdminPort, "ui-port", util.DefaultProxyAdminPort, "The component dashboard UI port.")
    	dashboardCmd.AddCommand(envoy)
    
    	proxy := proxyDashCmd(cliContext)
    	proxy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    		// Make sure default and revisions do not cross
    		mustNotSelect(t, mustGetLabels(t, serviceRev, "spec.selector"), podLabels)
    		mustNotSelect(t, mustGetLabels(t, service, "spec.selector"), podLabelsRev)
    		mustNotSelect(t, mustGetLabels(t, pdbRev, "spec.selector.matchLabels"), podLabels)
    		mustNotSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabelsRev)
    
    		// Make sure the scaleTargetRef points to the correct Deployment
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  3. operator/cmd/mesh/test-util_test.go

    }
    
    func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if !kselector.Matches(labels2.Set(labels)) {
    		t.Fatalf("%v does not select %v", selector, labels)
    	}
    }
    
    func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	if err != nil {
    		return types.NamespacedName{}, err
    	}
    	selector := ds.Spec.Selector
    	if selector == nil {
    		return types.NamespacedName{}, fmt.Errorf("selector is required")
    	}
    
    	sel := selector.MatchLabels
    	kv := []string{}
    	for k, v := range sel {
    		kv = append(kv, k+"="+v)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    		abistr := p.get(scanner.Ident).String()
    		if !p.allowABI {
    			if issueError {
    				p.errorf("ABI selector only permitted when compiling runtime, reference was to %q", name)
    			}
    		} else {
    			theabi, valid := obj.ParseABI(abistr)
    			if !valid {
    				if issueError {
    					p.errorf("malformed ABI selector %q in reference to %q",
    						abistr, name)
    				}
    			} else {
    				abi = theabi
    			}
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. istioctl/pkg/util/handlers/handlers.go

    	}
    	pod, _, err := getFirstPodFunc(client, namespace, selector, timeout, sortBy)
    	if err != nil {
    		return "", "", fmt.Errorf("no pods match %q", resname)
    	}
    	return pod.Name, namespace, nil
    }
    
    // SelectorsForObject is a fork of upstream function to add additional Istio type support
    func SelectorsForObject(object runtime.Object) (namespace string, selector labels.Selector, err error) {
    	switch t := object.(type) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/admin.go

    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	istiodLog := istiodLogCmd(ctx)
    	adminCmd.AddCommand(istiodLog)
    	adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector")
    
    	return adminCmd
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    // GetFirstPod returns a pod matching the namespace and label selector
    // and the number of all pods that match the label selector.
    // This is forked from  polymorphichelpers.GetFirstPod to not watch and instead return an error if no pods are found
    func GetFirstPod(client v1.CoreV1Interface, namespace string, selector string) (*corev1.Pod, error) {
    	options := metav1.ListOptions{LabelSelector: selector}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/checkinject.go

    		nsMatchedLabels := make([]string, 0)
    		podMatchedLabels := make([]string, 0)
    		extractMatchLabels := func(selector *metav1.LabelSelector) []string {
    			if selector == nil {
    				return nil
    			}
    			labels := make([]string, 0)
    			for _, me := range selector.MatchExpressions {
    				if me.Operator != metav1.LabelSelectorOpIn {
    					continue
    				}
    				for _, v := range me.Values {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    			if err != nil {
    				return err
    			}
    
    			matchingServices := make([]corev1.Service, 0, len(svcs.Items))
    			for _, svc := range svcs.Items {
    				if len(svc.Spec.Selector) > 0 {
    					svcSelector := klabels.SelectorFromSet(svc.Spec.Selector)
    					if svcSelector.Matches(podLabels) {
    						matchingServices = append(matchingServices, svc)
    					}
    				}
    			}
    			// Validate Istio's "Service association" requirement
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top