Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for volumeattributesclass (0.36 sec)

  1. pkg/apis/storage/register.go

    		&StorageClassList{},
    		&VolumeAttachment{},
    		&VolumeAttachmentList{},
    		&CSINode{},
    		&CSINodeList{},
    		&CSIDriver{},
    		&CSIDriverList{},
    		&CSIStorageCapacity{},
    		&CSIStorageCapacityList{},
    		&VolumeAttributesClass{},
    		&VolumeAttributesClassList{},
    	)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. pkg/apis/storage/util/helpers.go

    // AlphaIsDefaultVolumeAttributesClassAnnotation is the alpha version of IsDefaultVolumeAttributesClassAnnotation.
    const AlphaIsDefaultVolumeAttributesClassAnnotation = "volumeattributesclass.alpha.kubernetes.io/is-default-class"
    
    // IsDefaultAnnotation returns a boolean if
    // the annotation is set
    // TODO: remove Beta when no longer needed
    func IsDefaultAnnotation(obj metav1.ObjectMeta) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. pkg/apis/storage/validation/validation_test.go

    	cases := map[string]struct {
    		oldClass      *storage.VolumeAttributesClass
    		newClass      *storage.VolumeAttributesClass
    		shouldSucceed bool
    	}{
    		"invalid driverName update": {
    			oldClass: &storage.VolumeAttributesClass{
    				DriverName: "kubernetes.io/foo",
    			},
    			newClass: &storage.VolumeAttributesClass{
    				DriverName: "kubernetes.io/bar",
    			},
    			shouldSucceed: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  4. pkg/apis/storage/types.go

    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // VolumeAttributesClass represents a specification of mutable volume attributes
    // defined by the CSI driver. The class can be specified during dynamic provisioning
    // of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
    type VolumeAttributesClass struct {
    	metav1.TypeMeta
    
    	// Standard object's metadata.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 20:24:57 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  5. pkg/registry/storage/rest/storage_storage.go

    	storage := map[string]rest.Storage{}
    
    	// register volumeattributesclasses
    	if resource := "volumeattributesclasses"; apiResourceConfigSource.ResourceEnabled(storageapiv1alpha1.SchemeGroupVersion.WithResource(resource)) {
    		volumeAttributesClassStorage, err := volumeattributesclassstore.NewREST(restOptionsGetter)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 12:51:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. pkg/api/persistentvolume/util.go

    func DropDisabledSpecFields(pvSpec *api.PersistentVolumeSpec, oldPVSpec *api.PersistentVolumeSpec) {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.VolumeAttributesClass) {
    		if oldPVSpec == nil || oldPVSpec.VolumeAttributesClassName == nil {
    			pvSpec.VolumeAttributesClassName = nil
    		}
    	}
    }
    
    // DropDisabledStatusFields removes disabled fields from the pv status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 09:50:37 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. api/discovery/aggregated_v2beta1.json

            },
            {
              "freshness": "Current",
              "resources": [
                {
                  "resource": "volumeattributesclasses",
                  "responseKind": {
                    "group": "",
                    "kind": "VolumeAttributesClass",
                    "version": ""
                  },
                  "scope": "Cluster",
                  "shortNames": [
                    "vac"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. api/discovery/aggregated_v2.json

            },
            {
              "freshness": "Current",
              "resources": [
                {
                  "resource": "volumeattributesclasses",
                  "responseKind": {
                    "group": "",
                    "kind": "VolumeAttributesClass",
                    "version": ""
                  },
                  "scope": "Cluster",
                  "shortNames": [
                    "vac"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:29:14 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. pkg/api/persistentvolume/util_test.go

    			expectOldSpec: specWithVACName(nil),
    		},
    	}
    
    	for name, tc := range tests {
    		t.Run(name, func(t *testing.T) {
    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.VolumeAttributesClass, tc.vacEnabled)
    
    			DropDisabledSpecFields(tc.newSpec, tc.oldSpec)
    			if !reflect.DeepEqual(tc.newSpec, tc.expectNewSpec) {
    				t.Error(cmp.Diff(tc.newSpec, tc.expectNewSpec))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. pkg/apis/core/types.go

    	// currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
    	// When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
    	// This is an alpha field and requires enabling VolumeAttributesClass feature.
    	// +featureGate=VolumeAttributesClass
    	// +optional
    	CurrentVolumeAttributesClassName *string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
Back to top