- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for volumeLifecycleMode (0.24 sec)
-
pkg/volume/csi/csi_plugin_test.go
} if err != nil { t.Fatal(err) } if csiMounter.volumeLifecycleMode != test.volumeLifecycleMode { t.Error("unexpected driver mode:", csiMounter.volumeLifecycleMode) } }) } } func TestPluginNewMounterWithInline(t *testing.T) { bothModes := []storage.VolumeLifecycleMode{ storage.VolumeLifecycleEphemeral, storage.VolumeLifecyclePersistent, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.8K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter.go
switch { case csiDriver == nil && c.volumeLifecycleMode == storage.VolumeLifecyclePersistent: // No information, but that's okay for persistent volumes (and only those). return nil case csiDriver == nil: return fmt.Errorf("volume mode %q not supported by driver %s (no CSIDriver object)", c.volumeLifecycleMode, driver) case containsVolumeMode(csiDriver.Spec.VolumeLifecycleModes, c.volumeLifecycleMode): // Explicitly listed. return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 30 10:47:59 UTC 2024 - 21K bytes - Viewed (1) -
pkg/registry/storage/csidriver/strategy_test.go
}, } resultPersistent := []storage.VolumeLifecycleMode{storage.VolumeLifecyclePersistent} tests := []struct { name string old, update *storage.CSIDriver seLinuxMountReadWriteOncePodEnabled bool wantCapacity *bool wantModes []storage.VolumeLifecycleMode
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
plugin: p, k8s: k8s, spec: spec, pod: pod, podUID: pod.UID, driverName: csiDriverName(driverName), volumeLifecycleMode: volumeLifecycleMode, volumeID: volumeHandle, specVolumeID: spec.Name(), readOnly: readOnly, kubeVolHost: kvh, }
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_test.go
}, driverSpec: &storage.CSIDriverSpec{ // Required for the driver to be accepted for the persistent volume. VolumeLifecycleModes: []storage.VolumeLifecycleMode{storage.VolumeLifecyclePersistent}, FSGroupPolicy: &defaultFSGroupPolicy, }, }, { name: "PersistentVolume with wrong mode in driver info", specName: "pv2",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 15:55:13 UTC 2022 - 21.1K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1beta1/types.go
// these operations. NoneFSGroupPolicy FSGroupPolicy = "None" ) // VolumeLifecycleMode is an enumeration of possible usage modes for a volume // provided by a CSI driver. More modes may be added in the future. type VolumeLifecycleMode string // TokenRequest contains parameters of a service account token. type TokenRequest struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:32 UTC 2023 - 33.1K bytes - Viewed (0) -
pkg/apis/storage/types.go
// to root-squash settings on a NFS volume. NoneFSGroupPolicy FSGroupPolicy = "None" ) // VolumeLifecycleMode specifies how a CSI volume is used in Kubernetes. // More modes may be added in the future. type VolumeLifecycleMode string // TokenRequest contains parameters of a service account token. type TokenRequest struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 20:24:57 UTC 2023 - 29.4K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1/types.go
// to root-squash settings on a NFS volume. NoneFSGroupPolicy FSGroupPolicy = "None" ) // VolumeLifecycleMode is an enumeration of possible usage modes for a volume // provided by a CSI driver. More modes may be added in the future. type VolumeLifecycleMode string // TokenRequest contains parameters of a service account token. type TokenRequest struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 32K bytes - Viewed (0) -
pkg/volume/csi/csi_block.go
} volumeLifecycleMode, err := m.plugin.getVolumeLifecycleMode(m.spec) if err != nil { return "", errors.New(log("blockMapper.publishVolumeForBlock failed to get VolumeLifecycleMode: %v", err)) } if podInfoEnabled { volAttribs = mergeMap(volAttribs, getPodInfoAttrs(m.pod, volumeLifecycleMode)) } nodePublishSecrets := map[string]string{}
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/apis/storage/v1/zz_generated.conversion.go
out.AttachRequired = (*bool)(unsafe.Pointer(in.AttachRequired)) out.PodInfoOnMount = (*bool)(unsafe.Pointer(in.PodInfoOnMount)) out.VolumeLifecycleModes = *(*[]storage.VolumeLifecycleMode)(unsafe.Pointer(&in.VolumeLifecycleModes)) out.StorageCapacity = (*bool)(unsafe.Pointer(in.StorageCapacity)) out.FSGroupPolicy = (*storage.FSGroupPolicy)(unsafe.Pointer(in.FSGroupPolicy))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 04 08:51:01 UTC 2022 - 39.2K bytes - Viewed (0)