Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for CSIDriverSpec (0.43 sec)

  1. pkg/registry/storage/csidriver/strategy_test.go

    		},
    		Spec: storage.CSIDriverSpec{
    			FSGroupPolicy: &fileFSGroupPolicy,
    		},
    	}
    	driverWithCapacityEnabled := &storage.CSIDriver{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "foo",
    		},
    		Spec: storage.CSIDriverSpec{
    			StorageCapacity: &enabled,
    		},
    	}
    	driverWithCapacityDisabled := &storage.CSIDriver{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "foo",
    		},
    		Spec: storage.CSIDriverSpec{
    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/v1/defaults_test.go

    		desc     string
    		field    string
    		wantSpec *storagev1.CSIDriverSpec
    	}{
    		{
    			desc:     "AttachRequired default to true",
    			field:    "AttachRequired",
    			wantSpec: &storagev1.CSIDriverSpec{AttachRequired: &enabled},
    		},
    		{
    			desc:     "PodInfoOnMount default to false",
    			field:    "PodInfoOnMount",
    			wantSpec: &storagev1.CSIDriverSpec{PodInfoOnMount: &disabled},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. pkg/apis/storage/validation/validation_test.go

    		Spec: storage.CSIDriverSpec{
    			AttachRequired:    &attachRequired,
    			PodInfoOnMount:    &notPodInfoOnMount,
    			RequiresRepublish: &notRequiresRepublish,
    			StorageCapacity:   &storageCapacity,
    			SELinuxMount:      &seLinuxMount,
    		},
    	}, {
    		// driver name: numbers
    		ObjectMeta: metav1.ObjectMeta{Name: "1csi2driver3"},
    		Spec: storage.CSIDriverSpec{
    			AttachRequired:    &attachRequired,
    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/v1beta1/defaults_test.go

    		desc     string
    		field    string
    		wantSpec *storagev1beta1.CSIDriverSpec
    	}{
    		{
    			desc:     "AttachRequired default to true",
    			field:    "AttachRequired",
    			wantSpec: &storagev1beta1.CSIDriverSpec{AttachRequired: &enabled},
    		},
    		{
    			desc:     "PodInfoOnMount default to false",
    			field:    "PodInfoOnMount",
    			wantSpec: &storagev1beta1.CSIDriverSpec{PodInfoOnMount: &disabled},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1/types.go

    	// items is the list of CSIDriver
    	Items []CSIDriver `json:"items" protobuf:"bytes,2,rep,name=items"`
    }
    
    // CSIDriverSpec is the specification of a CSIDriver.
    type CSIDriverSpec struct {
    	// attachRequired indicates this CSI volume driver requires an attach
    	// operation (because it implements the CSI ControllerPublishVolume()
    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_test.go

    				ObjectMeta: meta.ObjectMeta{
    					Name: testDriver,
    				},
    				Spec: storage.CSIDriverSpec{},
    			},
    			wantVolumeContext: nil,
    		},
    		{
    			desc: "one token with empty string as audience",
    			driver: &storage.CSIDriver{
    				ObjectMeta: meta.ObjectMeta{
    					Name: testDriver,
    				},
    				Spec: storage.CSIDriverSpec{
    					TokenRequests: []storage.TokenRequest{
    						{
    							Audience: "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers.go

    		{Name: "AttachRequired", Type: "boolean", Description: storagev1.CSIDriverSpec{}.SwaggerDoc()["attachRequired"]},
    		{Name: "PodInfoOnMount", Type: "boolean", Description: storagev1.CSIDriverSpec{}.SwaggerDoc()["podInfoOnMount"]},
    		{Name: "StorageCapacity", Type: "boolean", Description: storagev1.CSIDriverSpec{}.SwaggerDoc()["storageCapacity"]},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		},
    	}
    }
    
    func makeCSIDriver(name string, storageCapacity bool) *storagev1.CSIDriver {
    	return &storagev1.CSIDriver{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    		},
    		Spec: storagev1.CSIDriverSpec{
    			StorageCapacity: &storageCapacity,
    		},
    	}
    }
    
    func makeCapacity(name, storageClassName string, node *v1.Node, capacityStr, maximumVolumeSizeStr string) *storagev1.CSIStorageCapacity {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  9. pkg/generated/openapi/zz_generated.openapi.go

    							Default:     map[string]interface{}{},
    							Ref:         ref("k8s.io/api/storage/v1.CSIDriverSpec"),
    						},
    					},
    				},
    				Required: []string{"spec"},
    			},
    		},
    		Dependencies: []string{
    			"k8s.io/api/storage/v1.CSIDriverSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  10. api/openapi-spec/swagger.json

            {
              "group": "storage.k8s.io",
              "kind": "CSIDriverList",
              "version": "v1"
            }
          ]
        },
        "io.k8s.api.storage.v1.CSIDriverSpec": {
          "description": "CSIDriverSpec is the specification of a CSIDriver.",
          "properties": {
            "attachRequired": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top