Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for items (0.12 sec)

  1. cmd/admin-heal-ops.go

    	// the last result index sent to client
    	lastSentResultIndex int64
    
    	// Number of total items scanned against item type
    	scannedItemsMap map[madmin.HealItemType]int64
    
    	// Number of total items healed against item type
    	healedItemsMap map[madmin.HealItemType]int64
    
    	// Number of total items where healing failed against endpoint and drive state
    	healFailedItemsMap map[string]int64
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  2. operator/cmd/mesh/manifest-diff.go

    	// The format of each list item is :: and the items are comma separated. The * character represents wildcard selection.
    	// e.g.
    	// Deployment:istio-system:* - compare all deployments in istio-system namespace
    	// Service:*:istio-pilot - compare Services called "istio-pilot" in all namespaces.
    	selectResources string
    	// ignoreResources ignores all listed items during comparison. It uses the same list format as selectResources.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. internal/store/batch.go

    type Batch[K key, T any] struct {
    	keys  []K
    	items map[K]T
    	limit uint32
    
    	sync.Mutex
    }
    
    // Add adds the item to the batch
    func (b *Batch[K, T]) Add(key K, item T) error {
    	b.Lock()
    	defer b.Unlock()
    
    	if b.isFull() {
    		return ErrBatchFull
    	}
    
    	if _, ok := b.items[key]; !ok {
    		b.keys = append(b.keys, key)
    	}
    	b.items[key] = item
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag_test.go

    			webhooksAfter, _ := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(context.Background(), metav1.ListOptions{})
    			if len(webhooksAfter.Items) != len(tc.webhooksAfter.Items) {
    				t.Fatalf("expected %d after running, got %d", len(tc.webhooksAfter.Items), len(webhooksAfter.Items))
    			}
    		})
    	}
    }
    
    func TestSetTagErrors(t *testing.T) {
    	tcs := []struct {
    		name           string
    		tag            string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  5. istioctl/pkg/dashboard/dashboard.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", labelSelector, pl.Items[0].Name)
    				}
    
    				// only use the first pod in the list
    				podName = pl.Items[0].Name
    				ns = pl.Items[0].Namespace
    			} else {
    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)
  6. istioctl/pkg/completion/completion.go

    	podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	var podsName []string
    	for _, pod := range podList.Items {
    		if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) {
    			podsName = append(podsName, pod.Name)
    		}
    	}
    
    	return podsName, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	VersionID string `xml:"VersionId"`
    }
    
    // Metadata metadata items implemented to ensure XML marshaling works.
    type Metadata struct {
    	Items []struct {
    		Key   string
    		Value string
    	}
    }
    
    // Set add items, duplicate items get replaced.
    func (s *Metadata) Set(k, v string) {
    	for i, item := range s.Items {
    		if item.Key == k {
    			s.Items[i] = struct {
    				Key   string
    				Value string
    			}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  8. istioctl/pkg/util/handlers/handlers.go

    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return []string{}, "", err
    	}
    	pods := []string{}
    	for i := range podList.Items {
    		pods = append(pods, podList.Items[i].Name)
    	}
    
    	return pods, namespace, nil
    }
    
    func getClientForResource(resname, ns string, factory cmdutil.Factory) (*corev1client.CoreV1Client, string, string, string, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. istioctl/pkg/injector/injector-list.go

    			}
    
    			hooksList, err := client.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(context.Background(), metav1.ListOptions{})
    			if err != nil {
    				return err
    			}
    			hooks := hooksList.Items
    			pods, err := getPods(context.Background(), client)
    			if err != nil {
    				return err
    			}
    			err = printNS(cmd.OutOrStdout(), nslist, hooks, pods)
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    	ses, err := cli.Istio().NetworkingV1alpha3().ServiceEntries(metav1.NamespaceAll).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return err
    	}
    	for _, se := range ses.Items {
    		if se.Spec.Resolution != networking.ServiceEntry_NONE {
    			continue
    		}
    		changed := false
    		for _, p := range se.Spec.Ports {
    			if p.TargetPort != 0 && p.Number != p.TargetPort {
    				changed = true
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top