- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for localVolumeSource (0.32 sec)
-
pkg/controller/volume/persistentvolume/index_test.go
Spec: v1.PersistentVolumeSpec{ Capacity: v1.ResourceList{ v1.ResourceName(v1.ResourceStorage): resource.MustParse("200E"), }, PersistentVolumeSource: v1.PersistentVolumeSource{ Local: &v1.LocalVolumeSource{}, }, AccessModes: []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, v1.ReadOnlyMany, v1.ReadWriteMany, }, StorageClassName: classLarge, VolumeMode: &fs,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 44K bytes - Viewed (0) -
pkg/volume/local/local_test.go
pv := &v1.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{ Name: testPVName, }, Spec: v1.PersistentVolumeSpec{ PersistentVolumeSource: v1.PersistentVolumeSource{ Local: &v1.LocalVolumeSource{ Path: path, }, }, MountOptions: mountOptions, }, } if isBlock { blockMode := v1.PersistentVolumeBlock pv.Spec.VolumeMode = &blockMode } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 10:53:39 UTC 2023 - 22.5K bytes - Viewed (0) -
pkg/volume/local/local.go
return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, } } func getVolumeSource(spec *volume.Spec) (*v1.LocalVolumeSource, bool, error) { if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.Local != nil { return spec.PersistentVolume.Spec.Local, spec.ReadOnly, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0)