Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 121 for volName (0.25 sec)

  1. pkg/kubelet/stats/cri_stats_provider_test.go

    	containerLogStats []*volume.Metrics,
    	podLogStats *volume.Metrics) {
    	var totalUsed, inodesUsed uint64
    	for _, container := range containers {
    		totalUsed = totalUsed + container.WritableLayer.UsedBytes.Value
    		inodesUsed = inodesUsed + container.WritableLayer.InodesUsed.Value
    	}
    
    	for _, volume := range volumes {
    		totalUsed = totalUsed + *volume.FsStats.UsedBytes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		if err != nil {
    			t.Errorf("GetPVC %q returned error: %v", pvcKey, err)
    			continue
    		}
    		if pvc.Annotations[volume.AnnSelectedNode] != nodeLabelValue {
    			t.Errorf("expected volume.AnnSelectedNode of pvc %q to be %q, but got %q", pvcKey, nodeLabelValue, pvc.Annotations[volume.AnnSelectedNode])
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    func (j *xlMetaV2Version) ToFileInfo(volume, path string, allParts bool) (fi FileInfo, err error) {
    	if j == nil {
    		return fi, errFileNotFound
    	}
    	switch j.Type {
    	case ObjectType:
    		fi, err = j.ObjectV2.ToFileInfo(volume, path, allParts)
    	case DeleteType:
    		fi, err = j.DeleteMarker.ToFileInfo(volume, path)
    	case LegacyType:
    		fi, err = j.ObjectV1.ToFileInfo(volume, path)
    	default:
    		return fi, errFileNotFound
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_utils_test.go

    	claim := v1.PersistentVolumeClaim{}
    	claim.Name = "volume-my-set-2"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-2" {
    		t.Errorf("Expected my-set-2 found %s", pod)
    	}
    	claim.Name = "long-volume-my-set-20"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-20" {
    		t.Errorf("Expected my-set-20 found %s", pod)
    	}
    	claim.Name = "volume-2-my-set"
    	if pod := getClaimPodName(&set, &claim); pod != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults_test.go

    	}{
    		{
    			name:               "volume mode nil",
    			volumeMode:         nil,
    			expectedVolumeMode: v1.PersistentVolumeFilesystem,
    		},
    		{
    			name:               "volume mode filesystem",
    			volumeMode:         &fsMode,
    			expectedVolumeMode: v1.PersistentVolumeFilesystem,
    		},
    		{
    			name:               "volume mode block",
    			volumeMode:         &blockMode,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/options/options_test.go

    	attachdetachconfig "k8s.io/kubernetes/pkg/controller/volume/attachdetach/config"
    	ephemeralvolumeconfig "k8s.io/kubernetes/pkg/controller/volume/ephemeral/config"
    	persistentvolumeconfig "k8s.io/kubernetes/pkg/controller/volume/persistentvolume/config"
    )
    
    var args = []string{
    	"--allocate-node-cidrs=true",
    	"--attach-detach-reconcile-sync-period=30s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. pkg/apis/storage/validation/validation_test.go

    				PersistentVolumeName: &volumeName,
    			},
    		},
    	}, {
    		// No volume name
    		ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    		Spec: storage.VolumeAttachmentSpec{
    			Attacher: "myattacher",
    			NodeName: "node",
    			Source: storage.VolumeAttachmentSource{
    				PersistentVolumeName: nil,
    			},
    		},
    	}, {
    		// Empty volume name
    		ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  8. pkg/kubelet/server/server_test.go

    func (fk *fakeKubelet) ListVolumesForPod(podUID types.UID) (map[string]volume.Volume, bool) {
    	return map[string]volume.Volume{}, true
    }
    func (*fakeKubelet) ListBlockVolumesForPod(podUID types.UID) (map[string]volume.BlockVolume, bool) {
    	return map[string]volume.BlockVolume{}, true
    }
    func (*fakeKubelet) RootFsStats() (*statsapi.FsStats, error)                     { return nil, nil }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  9. pkg/kubelet/eviction/helpers.go

    func localVolumeNames(pod *v1.Pod) []string {
    	result := []string{}
    	for _, volume := range pod.Spec.Volumes {
    		if volume.HostPath != nil ||
    			volumeutils.IsLocalEphemeralVolume(volume) {
    			result = append(result, volume.Name)
    		}
    	}
    	return result
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  10. operator/cmd/mesh/testdata/manifest-generate/output/sidecar_template.golden.yaml

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 86.9K bytes
    - Viewed (0)
Back to top