Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Locati (0.16 sec)

  1. istioctl/pkg/dashboard/dashboard.go

    			var podName, ns string
    			if labelSelector != "" {
    				pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    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. cmd/encryption-v1.go

    	//
    	// 2. the (decrypted) start offset `off` and (decrypted)
    	//    length to read `length`
    	//
    	// These are the inputs to the rest of the algorithm below.
    
    	// Locate the part containing the start of the required range
    	var partEnd int
    	var cumulativeSum, encCumulativeSum int64
    	for i, size := range sizes {
    		if off < cumulativeSum+size {
    			partStart = i
    			break
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  3. istioctl/pkg/metrics/metrics.go

    	}
    
    	pl, err := client.PodsForSelector(context.TODO(), ctx.IstioNamespace(), "app.kubernetes.io/name=prometheus")
    	if err != nil {
    		return fmt.Errorf("not able to locate Prometheus pod: %v", err)
    	}
    
    	if len(pl.Items) < 1 {
    		return errors.New("no Prometheus pods found")
    	}
    
    	// only use the first pod in the list
    	promPod := pl.Items[0]
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig.go

    				}
    				pl, err := client.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.IstioNamespace()), istiodLabelSelector)
    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", istiodLabelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

    		podNames []string
    		ns       string
    	)
    	pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    	if err != nil {
    		return nil, "", fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err)
    	}
    	if len(pl.Items) < 1 {
    		return nil, "", errors.New("no pods found")
    	}
    	for _, pod := range pl.Items {
    		podNames = append(podNames, pod.Name)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top