/** * @module storage.k8s.io/v1beta1 * @internal */ import { DeleteOptions as _DeleteOptions_3 } from "./../meta/v1"; import { ListMeta as _ListMeta_2 } from "./../meta/v1"; import { ObjectMeta as _ObjectMeta_1 } from "./../meta/v1"; import { WatchEvent as _WatchEvent_4 } from "./../meta/v1"; /** * StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. * * StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. */ export declare interface StorageClass { /** * AllowVolumeExpansion shows whether the storage class allow volume expand */ allowVolumeExpansion?: boolean; /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources */ apiVersion: "storage.k8s.io/v1beta1"; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds */ kind: "StorageClass"; /** * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata */ metadata?: _ObjectMeta_1; /** * Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. */ mountOptions?: Iterable; /** * Parameters holds the parameters for the provisioner that should create volumes of this storage class. */ parameters?: { [key: string]: string; }; /** * Provisioner indicates the type of the provisioner. */ provisioner: string; /** * Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. */ reclaimPolicy?: string; } /** * StorageClassList is a collection of storage classes. */ export declare interface StorageClassList { /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources */ apiVersion: "storage.k8s.io/v1beta1"; /** * Items is the list of StorageClasses */ items: Iterable; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds */ kind: "StorageClassList"; /** * Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata */ metadata?: _ListMeta_2; } export declare type DeleteOptions = _DeleteOptions_3; export declare type WatchEvent = _WatchEvent_4;