Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for volumeLifecycleModes (0.39 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/volume/csi/csi_mounter.go

    	case containsVolumeMode(csiDriver.Spec.VolumeLifecycleModes, c.volumeLifecycleMode):
    		// Explicitly listed.
    		return nil
    	default:
    		return fmt.Errorf("volume mode %q not supported by driver %s (only supports %q)", c.volumeLifecycleMode, driver, csiDriver.Spec.VolumeLifecycleModes)
    	}
    }
    
    // containsVolumeMode checks whether the given volume mode is listed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (1)
  7. pkg/apis/storage/types.go

    	// via a command line parameter of the driver.
    	//
    	// This field was immutable in Kubernetes < 1.29 and now is mutable.
    	//
    	// +optional
    	PodInfoOnMount *bool
    
    	// VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports.
    	// The default if the list is empty is "Persistent", which is the usage
    	// defined by the CSI specification and implemented in Kubernetes via the usual
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 20:24:57 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1/types_swagger_doc_generated.go

    	"volumeLifecycleModes": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.\n\nThe...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 07:07:45 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1/generated.proto

      // via a command line parameter of the driver.
      //
      // This field was immutable in Kubernetes < 1.29 and now is mutable.
      //
      // +optional
      optional bool podInfoOnMount = 2;
    
      // volumeLifecycleModes defines what kind of volumes this CSI volume driver supports.
      // The default if the list is empty is "Persistent", which is the usage defined by the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1beta1/generated.proto

      // via a command line parameter of the driver.
      //
      // This field is immutable.
      //
      // +optional
      optional bool podInfoOnMount = 2;
    
      // volumeLifecycleModes defines what kind of volumes this CSI volume driver supports.
      // The default if the list is empty is "Persistent", which is the usage defined by the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top