Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for index (0.05 sec)

  1. cmd/bucket-replication.go

    	// Make sure only one node running resync on the cluster.
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	for index := range buckets {
    		bucket := buckets[index].Name
    
    		meta, err := loadBucketResyncMetadata(ctx, bucket, objAPI)
    		if err != nil {
    			if !errors.Is(err, errVolumeNotFound) {
    				replLogIf(ctx, err)
    			}
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/helpers_test.go

    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			sort.Sort(byEvictionPriority(tc.thresholds))
    			for i := range tc.expected {
    				if tc.thresholds[i].Signal != tc.expected[i].Signal {
    					t.Errorf("At index %d, expected threshold with signal %s, but got %s", i, tc.expected[i].Signal, tc.thresholds[i].Signal)
    				}
    			}
    
    		})
    	}
    }
    
    type fakeSummaryProvider struct {
    	result *statsapi.Summary
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    		apiStatus := kubelet.generateAPIPodStatus(pod, status, false)
    		for i, c := range apiStatus.ContainerStatuses {
    			if expectedOrder[i] != c.Name {
    				t.Fatalf("Container status not sorted, expected %v at index %d, but found %v", expectedOrder[i], i, c.Name)
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. pkg/proxy/nftables/proxier_test.go

    	itf := net.Interface{Index: 0, MTU: 0, Name: "lo", HardwareAddr: nil, Flags: 0}
    	addrs := []net.Addr{
    		&net.IPNet{IP: netutils.ParseIPSloppy("127.0.0.1"), Mask: net.CIDRMask(8, 32)},
    		&net.IPNet{IP: netutils.ParseIPSloppy("::1/128"), Mask: net.CIDRMask(128, 128)},
    	}
    	networkInterfacer.AddInterfaceAddr(&itf, addrs)
    	itf1 := net.Interface{Index: 1, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_generator.go

    	// when calling MarkVolumeAsDetached
    	volumeSpecMap := make(map[*volume.Spec]v1.UniqueVolumeName)
    
    	// Iterate each volume spec and put them into a map index by the pluginName
    	for _, volumeAttached := range attachedVolumes {
    		if volumeAttached.VolumeSpec == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
Back to top