- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 203 for vols (0.07 sec)
-
pkg/volume/util/subpath/subpath_linux_test.go
}, }, { name: "subpath-mount-multiple-vols", prepare: func(base string) ([]mount.MountPoint, error) { path := filepath.Join(base, containerSubPathDirectoryName, testVol, "container1", "0") path2 := filepath.Join(base, containerSubPathDirectoryName, "vol2", "container1", "1") if err := os.MkdirAll(path, defaultPerm); err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0) -
pkg/kubelet/server/stats/volume_stat_calculator_test.go
inodesTotal = int64(2000) inodesFree = int64(1000) vol0 = "vol0" vol1 = "vol1" vol2 = "vol2" vol3 = "vol3" pvcClaimName0 = "pvc-fake0" pvcClaimName1 = "pvc-fake1" ) var ( ErrorWatchTimeout = errors.New("watch event timeout") // Create pod spec to test against podVolumes = []k8sv1.Volume{ { Name: vol0, VolumeSource: k8sv1.VolumeSource{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/xl-storage_test.go
if err = xlStorage.MakeVol(context.Background(), "success-vol"); err != nil { t.Fatalf("Unable to create volume, %s", err) } // TestXLStorage failure cases. vol := slashpath.Join(path, "nonempty-vol") if err = os.Mkdir(vol, 0o777); err != nil { t.Fatalf("Unable to create directory, %s", err) } if err = os.WriteFile(slashpath.Join(vol, "test-file"), []byte{}, os.ModePerm); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 17:45:28 UTC 2024 - 66.7K bytes - Viewed (0) -
pkg/volume/util/util_test.go
{ Name: "vol4", }, }, }, }, Volumes: []v1.Volume{ { Name: "vol1", }, { Name: "vol2", }, { Name: "vol3", }, { Name: "vol4", }, }, }, }, expectedMounts: sets.New[string]("vol1", "vol3"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
if errs := ValidateVolumeDevices(successCase, GetVolumeMountMap(goodVolumeMounts), vols, field.NewPath("field")); len(errs) != 0 { t.Errorf("expected success: %v", errs) } // Error Cases: // Validate normal error cases - only PVC volumeSource for k, v := range errorCases { if errs := ValidateVolumeDevices(v, GetVolumeMountMap(badVolumeMounts), vols, field.NewPath("field")); len(errs) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
name: "attach and detach", attachedSpecs: []attachedSpec{ {"vol0", volume.NewSpecFromPersistentVolume(makeTestPV("pv0", 10, testDriver, "vol0"), false), true}, {"vol1", volume.NewSpecFromPersistentVolume(makeTestPV("pv1", 20, testDriver, "vol1"), false), true}, {"vol2", volume.NewSpecFromPersistentVolume(makeTestPV("pv2", 10, testDriver, "vol2"), false), false},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
pkg/volume/util/nested_volumes_test.go
{MountPath: "/ignore2", Name: "vol5"}, {MountPath: "/dir", Name: "vol1"}, {MountPath: "/dir/nested-vol", Name: "vol6"}, {MountPath: "/dir/nested.vol", Name: "vol7"}, {MountPath: "/dir/nested2/double", Name: "vol8"}, {MountPath: "/dir/nested2", Name: "vol3"}, }, }, }, }, }, }, { name: "Multiple vol1 mounts Pod",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
if podMeta != nil && podMeta.Name != "" { for _, vol := range volumes { if vol.VolumeSource.Ephemeral != nil { allCreatedPVCs.Insert(podMeta.Name + "-" + vol.Name) } } } vols := make(map[string]core.VolumeSource) for i, vol := range volumes { idxPath := fldPath.Index(i) namePath := idxPath.Child("name") el := validateVolumeSource(&vol.VolumeSource, idxPath, vol.Name, podMeta, opts) if len(vol.Name) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes_test.go
{ Name: "container1", VolumeMounts: []v1.VolumeMount{ { Name: "vol1", MountPath: "/mnt/vol1", }, { Name: "vol2", MountPath: "/mnt/vol2", }, }, }, }, Volumes: []v1.Volume{ { Name: "vol1", VolumeSource: v1.VolumeSource{ GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 17 16:53:28 UTC 2023 - 20.4K bytes - Viewed (0)