Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for volumeLifecycleModes (0.56 sec)

  1. pkg/volume/csi/csi_test.go

    			mounterArgs.FsGroup = fsGroup
    			err = csiMounter.SetUp(mounterArgs)
    			if test.isInline && (test.driverSpec == nil || !containsVolumeMode(test.driverSpec.VolumeLifecycleModes, storage.VolumeLifecycleEphemeral)) {
    				// This *must* fail because a CSIDriver.Spec.VolumeLifecycleModes entry "ephemeral"
    				// is required.
    				if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  2. pkg/registry/storage/csidriver/strategy_test.go

    			Name: "foo",
    		},
    	}
    	driverWithPersistent := &storage.CSIDriver{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "foo",
    		},
    		Spec: storage.CSIDriverSpec{
    			AttachRequired: &attachRequired,
    			VolumeLifecycleModes: []storage.VolumeLifecycleMode{
    				storage.VolumeLifecyclePersistent,
    			},
    		},
    	}
    	enabled := true
    	disabled := false
    	gcp := "gcp"
    	noneFsGroupPolicy := storage.NoneFSGroupPolicy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. pkg/apis/storage/validation/validation.go

    	allErrs = append(allErrs, apimachineryvalidation.ValidateImmutableField(new.Spec.VolumeLifecycleModes, old.Spec.VolumeLifecycleModes, field.NewPath("spec", "volumeLifecycleModes"))...)
    
    	return allErrs
    }
    
    // ValidateCSIDriverSpec tests that the specified CSIDriverSpec
    // has valid data.
    func validateCSIDriverSpec(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 00:47:13 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/storage/v1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.PodInfoOnMount != nil {
    		in, out := &in.PodInfoOnMount, &out.PodInfoOnMount
    		*out = new(bool)
    		**out = **in
    	}
    	if in.VolumeLifecycleModes != nil {
    		in, out := &in.VolumeLifecycleModes, &out.VolumeLifecycleModes
    		*out = make([]VolumeLifecycleMode, len(*in))
    		copy(*out, *in)
    	}
    	if in.StorageCapacity != nil {
    		in, out := &in.StorageCapacity, &out.StorageCapacity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1beta1/types.go

    	// more modes may be added in the future.
    	//
    	// This field is immutable.
    	//
    	// +optional
    	// +listType=atomic
    	VolumeLifecycleModes []VolumeLifecycleMode `json:"volumeLifecycleModes,omitempty" protobuf:"bytes,3,opt,name=volumeLifecycleModes"`
    
    	// storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage
    	// capacity that the driver deployment will report by creating
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:32 UTC 2023
    - 33.1K bytes
    - Viewed (0)
  6. pkg/apis/storage/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.PodInfoOnMount != nil {
    		in, out := &in.PodInfoOnMount, &out.PodInfoOnMount
    		*out = new(bool)
    		**out = **in
    	}
    	if in.VolumeLifecycleModes != nil {
    		in, out := &in.VolumeLifecycleModes, &out.VolumeLifecycleModes
    		*out = make([]VolumeLifecycleMode, len(*in))
    		copy(*out, *in)
    	}
    	if in.StorageCapacity != nil {
    		in, out := &in.StorageCapacity, &out.StorageCapacity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.PodInfoOnMount != nil {
    		in, out := &in.PodInfoOnMount, &out.PodInfoOnMount
    		*out = new(bool)
    		**out = **in
    	}
    	if in.VolumeLifecycleModes != nil {
    		in, out := &in.VolumeLifecycleModes, &out.VolumeLifecycleModes
    		*out = make([]VolumeLifecycleMode, len(*in))
    		copy(*out, *in)
    	}
    	if in.StorageCapacity != nil {
    		in, out := &in.StorageCapacity, &out.StorageCapacity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1/types.go

    	//
    	// This field is beta.
    	// This field is immutable.
    	//
    	// +optional
    	// +listType=set
    	VolumeLifecycleModes []VolumeLifecycleMode `json:"volumeLifecycleModes,omitempty" protobuf:"bytes,3,opt,name=volumeLifecycleModes"`
    
    	// storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage
    	// capacity that the driver deployment will report by creating
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. 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)
  10. pkg/apis/storage/v1beta1/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
    - 41K bytes
    - Viewed (0)
Back to top