- Sort Score
- Result 10 results
- Languages All
Results 31 - 33 of 33 for NewSpecFromVolume (0.17 sec)
-
pkg/volume/iscsi/iscsi.go
mountContext, err = hu.GetSELinuxMountContext(mountPath) if err != nil { return volume.ReconstructedVolume{}, err } } return volume.ReconstructedVolume{ Spec: volume.NewSpecFromVolume(iscsiVolume), SELinuxMountContext: mountContext, }, nil } func (plugin *iscsiPlugin) ConstructBlockVolumeSpec(podUID types.UID, volumeName, mapPath string) (*volume.Spec, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 23.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go
} return pvc, volumeSpec, volumeGidValue, nil } // Do not return the original volume object, since the source could mutate it clonedPodVolume := podVolume.DeepCopy() spec := volume.NewSpecFromVolume(clonedPodVolume) migratable, err := dswp.csiMigratedPluginManager.IsMigratable(spec) if err != nil { return nil, nil, "", err } if migratable {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 23.8K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
vol := &api.Volume{ Name: volSpecName, VolumeSource: api.VolumeSource{ CSI: &api.CSIVolumeSource{ Driver: driverName, }, }, } return volume.NewSpecFromVolume(vol) } // constructPVSourceSpec constructs volume.Spec with CSIPersistentVolumeSource func (p *csiPlugin) constructPVSourceSpec(volSpecName, driverName, volumeHandle string) *volume.Spec {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0)