Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for volumeattributesclasses (0.45 sec)

  1. staging/src/k8s.io/api/storage/v1alpha1/register.go

    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&VolumeAttachment{},
    		&VolumeAttachmentList{},
    		&CSIStorageCapacity{},
    		&CSIStorageCapacityList{},
    		&VolumeAttributesClass{},
    		&VolumeAttributesClassList{},
    	)
    
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1alpha1.VolumeAttributesClass.pb

    carlory <******@****.***> 1698718384 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 467 bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1alpha1.VolumeAttributesClass.pb

    SataQiu <******@****.***> 1713430345 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 467 bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1alpha1.VolumeAttributesClass.pb

    SataQiu <******@****.***> 1702613527 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 467 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top