- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for volumeattributesclass (0.35 sec)
-
pkg/volume/util/volumeattributesclass_test.go
testCases := []struct { name string class *storagev1alpha1.VolumeAttributesClass expect bool }{ { name: "no annotation", class: &storagev1alpha1.VolumeAttributesClass{}, expect: false, }, { name: "annotation is not boolean", class: &storagev1alpha1.VolumeAttributesClass{ ObjectMeta: metav1.ObjectMeta{ Annotations: map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/registry/storage/volumeattributesclass/storage/storage.go
NewFunc: func() runtime.Object { return &storageapi.VolumeAttributesClass{} }, NewListFunc: func() runtime.Object { return &storageapi.VolumeAttributesClassList{} }, DefaultQualifiedResource: storageapi.Resource("volumeattributesclasses"), SingularQualifiedResource: storageapi.Resource("volumeattributesclass"), CreateStrategy: volumeattributesclass.Strategy, UpdateStrategy: volumeattributesclass.Strategy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 2.4K bytes - Viewed (0) -
pkg/registry/storage/volumeattributesclass/storage/storage_test.go
defer storage.Store.DestroyFunc() test := genericregistrytest.New(t, storage.Store).ClusterScope() volumeAttributesClass := validNewVolumeAttributesClass("foo") volumeAttributesClass.ObjectMeta = metav1.ObjectMeta{GenerateName: "foo"} test.TestCreate( // valid volumeAttributesClass, // invalid &storageapi.VolumeAttributesClass{ ObjectMeta: metav1.ObjectMeta{Name: "*BadName!"}, Parameters: map[string]string{"foo": "bar"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 4.3K bytes - Viewed (0) -
api/discovery/apis__storage.k8s.io__v1alpha1.json
"groupVersion": "storage.k8s.io/v1alpha1", "kind": "APIResourceList", "resources": [ { "kind": "VolumeAttributesClass", "name": "volumeattributesclasses", "namespaced": false, "shortNames": [ "vac" ], "singularName": "volumeattributesclass", "storageVersionHash": "HPC8kMG1ukQ=", "verbs": [ "create", "delete", "deletecollection",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 547 bytes - Viewed (0) -
pkg/registry/storage/volumeattributesclass/strategy.go
} func (volumeAttributesClassStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { volumeAttributesClass := obj.(*storage.VolumeAttributesClass) return validation.ValidateVolumeAttributesClass(volumeAttributesClass) } // WarningsOnCreate returns warnings for the creation of the given object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 3K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1alpha1/zz_generated.deepcopy.go
func (in *VolumeAttributesClass) DeepCopy() *VolumeAttributesClass { if in == nil { return nil } out := new(VolumeAttributesClass) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *VolumeAttributesClass) DeepCopyObject() runtime.Object {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 9.3K bytes - Viewed (0) -
pkg/registry/storage/volumeattributesclass/strategy_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package volumeattributesclass import ( "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" genericapirequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/kubernetes/pkg/apis/storage" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/registry/storage/volumeattributesclass/doc.go
See the License for the specific language governing permissions and limitations under the License. */ // Package volumeattributesclass provides Registry interface and its REST // implementation for storing volumeattributesclass api objects.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 740 bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1alpha1/zz_generated.prerelease-lifecycle.go
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *VolumeAttributesClass) APILifecycleIntroduced() (major, minor int) { return 1, 29 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 9.3K bytes - Viewed (0) -
pkg/api/persistentvolumeclaim/util.go
func DropDisabledFields(pvcSpec, oldPVCSpec *core.PersistentVolumeClaimSpec) { // Drop the contents of the volumeAttributesClassName if the VolumeAttributesClass // feature gate is disabled. if !utilfeature.DefaultFeatureGate.Enabled(features.VolumeAttributesClass) { if oldPVCSpec == nil || oldPVCSpec.VolumeAttributesClassName == nil { pvcSpec.VolumeAttributesClassName = nil } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 8.3K bytes - Viewed (0)