Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for item (0.2 sec)

  1. cmd/global-heal.go

    	// Heal all buckets with all objects
    	for _, bucket := range healBuckets {
    		if tracker.isHealed(bucket) {
    			continue
    		}
    		var forwardTo string
    		// If we resume to the same bucket, forward to last known item.
    		if b := tracker.getBucket(); b != "" {
    			if b == bucket {
    				forwardTo = tracker.getObject()
    			} else {
    				// Reset to where last bucket ended if resuming.
    				tracker.resume()
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. cmd/admin-handlers.go

    	type healResp struct {
    		respBytes []byte
    		apiErr    APIError
    		errBody   string
    	}
    
    	// Define a closure to start sending whitespace to client
    	// after 10s unless a response item comes in
    	keepConnLive := func(w http.ResponseWriter, r *http.Request, respCh chan healResp) {
    		ticker := time.NewTicker(time.Second * 10)
    		defer ticker.Stop()
    		started := false
    	forLoop:
    		for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  3. istioctl/pkg/admin/istiodconfig.go

    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    					log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", istiodLabelSelector, pl.Items[0].Name)
    				}
    
    				// only use the first pod in the list
    				podName = pl.Items[0].Name
    				ns = pl.Items[0].Namespace
    			} else if len(args) == 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)
  4. istioctl/pkg/kubeinject/kubeinject.go

    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return nil, err
    	}
    	pods := make([]*corev1.Pod, 0, len(podList.Items))
    	for i := range podList.Items {
    		pod := podList.Items[i]
    		pods = append(pods, &pod)
    	}
    	if len(pods) > 0 {
    		sort.Sort(sortBy(pods))
    		return pods[0], nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    	}
    
    	foundIngresses := []*ingressInfo{}
    	for _, ns := range ingressNss.UnsortedList() {
    		// Currently no support for non-standard gateways selecting non ingressgateway pods
    		serviceList, err := kubeClient.CoreV1().Services(ns).List(context.TODO(), metav1.ListOptions{})
    		if err == nil {
    			for i, s := range serviceList.Items {
    				iInfo := &ingressInfo{
    					service: serviceList.Items[i].DeepCopy(),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. istioctl/pkg/metrics/metrics.go

    	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]
    	fw, err := client.NewPortForwarder(promPod.Name, ctx.IstioNamespace(), "", 0, 9090)
    	if err != nil {
    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)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    	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)
    	}
    	ns = pl.Items[0].Namespace
    	return podNames, ns, nil
    }
    
    func ecdsConfigCmd(ctx cli.Context) *cobra.Command {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common.go

    			// consider the offline disks as consistent.
    			continue
    		}
    		if !meta.Deleted {
    			if len(meta.Erasure.Distribution) != len(onlineDisks) {
    				// Erasure distribution seems to have lesser
    				// number of items than number of online disks.
    				inconsistent++
    				continue
    			}
    			if meta.Erasure.Distribution[i] != meta.Erasure.Index {
    				// Mismatch indexes with distribution order
    				inconsistent++
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    	scope := pkg.Scope()
    	for _, name := range scope.Names() {
    		if token.IsExported(name) {
    			w.emitObj(scope.Lookup(name))
    		}
    	}
    	pop()
    }
    
    func set(items []string) map[string]bool {
    	s := make(map[string]bool)
    	for _, v := range items {
    		s[v] = true
    	}
    	return s
    }
    
    var spaceParensRx = regexp.MustCompile(` \(\S+?\)`)
    
    func featureWithoutContext(f string) string {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    	if err != nil {
    		return err
    	}
    	// If there is no default webhook but a revisioned default webhook exists,
    	// and we are installing a new IOP with default semantics, the default webhook shifts.
    	if exists && len(mwhs.Items) == 0 && iop.Spec.GetRevision() == "" {
    		p.Println("This installation will make default injection and validation pointing to the default revision, and " +
    			"originally it was pointing to the revisioned one.")
    	}
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top