- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for skipAttach (0.13 sec)
-
pkg/volume/csi/csi_plugin.go
} pvSrc, err := getCSISourceFromSpec(spec) if err != nil { return false, err } driverName := pvSrc.Driver skipAttach, err := p.skipAttach(driverName) if err != nil { return false, err } return !skipAttach, nil } // CanDeviceMount returns true if the spec supports device mount func (p *csiPlugin) CanDeviceMount(spec *volume.Spec) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/volume/csi/csi_block.go
if err != nil { return "", errors.New(log("blockMapper.SetUpDevice failed to get CSI persistent source: %v", err)) } driverName := csiSource.Driver skip, err := m.plugin.skipAttach(driverName) if err != nil { return "", errors.New(log("blockMapper.SetupDevice failed to check CSIDriver for %s: %v", driverName, err)) } var attachment *storage.VolumeAttachment if !skip {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher.go
klog.Error(log("attacher.VolumesAreAttached failed to get CSIPersistentVolumeSource: %v", err)) continue } driverName := pvSrc.Driver volumeHandle := pvSrc.VolumeHandle skip, err := c.plugin.skipAttach(driverName) if err != nil { klog.Error(log("Failed to check CSIDriver for %s: %s", driverName, err)) } else { if skip { // This volume is not attachable, pretend it's attached
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 03 07:38:14 UTC 2023 - 25.9K bytes - Viewed (0)