Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for volumeattributesclass (0.71 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/apis/storage/v1alpha1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1alpha1.VolumeAttributesClass)(nil), (*storage.VolumeAttributesClass)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1alpha1_VolumeAttributesClass_To_storage_VolumeAttributesClass(a.(*v1alpha1.VolumeAttributesClass), b.(*storage.VolumeAttributesClass), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__storage.k8s.io__v1alpha1_openapi.json

            "x-kubernetes-group-version-kind": {
              "group": "storage.k8s.io",
              "kind": "VolumeAttributesClass",
              "version": "v1alpha1"
            }
          }
        },
        "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": {
          "delete": {
            "description": "delete a VolumeAttributesClass",
            "operationId": "deleteStorageV1alpha1VolumeAttributesClass",
            "parameters": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 117.5K bytes
    - Viewed (0)
Back to top