Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for csistoragecapacity (0.21 sec)

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

    	"k8s.io/kubernetes/pkg/apis/storage"
    )
    
    // getValidCSIStorageCapacity returns a fully-populated CSIStorageCapacity.
    func getValidCSIStorageCapacity(name string, capacityStr string) *storage.CSIStorageCapacity {
    	mib := resource.MustParse("1Mi")
    	c := &storage.CSIStorageCapacity{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            name,
    			Namespace:       metav1.NamespaceDefault,
    			ResourceVersion: "1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/apis/storage/v1alpha1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1alpha1.CSIStorageCapacity)(nil), (*storage.CSIStorageCapacity)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1alpha1_CSIStorageCapacity_To_storage_CSIStorageCapacity(a.(*v1alpha1.CSIStorageCapacity), b.(*storage.CSIStorageCapacity), 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)
  3. pkg/registry/storage/csistoragecapacity/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package csistoragecapacity provides Registry interface and its REST
    // implementation for storing csistoragecapacity api objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 03 19:54:14 UTC 2020
    - 731 bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/storage/v1alpha1/zz_generated.deepcopy.go

    func (in *CSIStorageCapacity) DeepCopy() *CSIStorageCapacity {
    	if in == nil {
    		return nil
    	}
    	out := new(CSIStorageCapacity)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *CSIStorageCapacity) 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)
  5. pkg/api/storage/util_test.go

    }
    
    func TestCSIStorageCapacityWarnings(t *testing.T) {
    	testcases := []struct {
    		name     string
    		template *storage.CSIStorageCapacity
    		expected []string
    	}{
    		{
    			name:     "null",
    			template: nil,
    			expected: nil,
    		},
    		{
    			name: "no warning",
    			template: &storage.CSIStorageCapacity{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "foo",
    				},
    			},
    			expected: nil,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. api/discovery/apis__storage.k8s.io__v1.json

            "get",
            "list",
            "patch",
            "update",
            "watch"
          ]
        },
        {
          "kind": "CSIStorageCapacity",
          "name": "csistoragecapacities",
          "namespaced": true,
          "singularName": "csistoragecapacity",
          "storageVersionHash": "xeVl+2Ly1kE=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. pkg/apis/storage/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.CSIStorageCapacity)(nil), (*storage.CSIStorageCapacity)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_CSIStorageCapacity_To_storage_CSIStorageCapacity(a.(*v1.CSIStorageCapacity), b.(*storage.CSIStorageCapacity), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 39.2K bytes
    - Viewed (0)
  8. pkg/apis/storage/v1beta1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1beta1.CSIStorageCapacity)(nil), (*storage.CSIStorageCapacity)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_CSIStorageCapacity_To_storage_CSIStorageCapacity(a.(*v1beta1.CSIStorageCapacity), b.(*storage.CSIStorageCapacity), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 41K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

    }
    
    // CSIStorageCapacityList is a collection of CSIStorageCapacity objects.
    message CSIStorageCapacityList {
      // Standard list metadata
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // items is the list of CSIStorageCapacity objects.
      // +listType=map
      // +listMapKey=name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1alpha1/types.go

    // +k8s:prerelease-lifecycle-gen:introduced=1.19
    // +k8s:prerelease-lifecycle-gen:deprecated=1.21
    // +k8s:prerelease-lifecycle-gen:replacement=storage.k8s.io,v1beta1,CSIStorageCapacity
    
    // CSIStorageCapacity stores the result of one CSI GetCapacity call.
    // For a given StorageClass, this describes the available capacity in a
    // particular topology segment.  This can be used when considering where to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:32 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top