Skip to main content

Class: StorageClass

Extends

  • any

Constructors

new StorageClass()

new StorageClass(json: KubeStorageClass): StorageClass

Parameters

ParameterType
jsonKubeStorageClass

Returns

StorageClass

Inherited from

makeKubeObject<KubeStorageClass>('storageClass').constructor

Defined in

src/lib/k8s/cluster.ts:337

Properties

PropertyModifierTypeInherited fromDefined in
apiEndpointstaticApiClient<KubeObjectInterface>-src/lib/k8s/storageClass.ts:11
apiListstatic(onList: (arg: any[]) => void, onError?: (err: ApiError) => void, opts?: ApiListSingleNamespaceOptions) => anymakeKubeObject<KubeStorageClass>('storageClass').apiListsrc/lib/k8s/cluster.ts:311
classNamestaticstringmakeKubeObject<KubeStorageClass>('storageClass').classNamesrc/lib/k8s/cluster.ts:338
getAuthorization?static(arg: string, resourceAttrs?: AuthRequestResourceAttrs) => anymakeKubeObject<KubeStorageClass>('storageClass').getAuthorizationsrc/lib/k8s/cluster.ts:340
getErrorMessagestatic(err?: null | ApiError) => null | stringmakeKubeObject<KubeStorageClass>('storageClass').getErrorMessagesrc/lib/k8s/cluster.ts:336
useApiGetstatic(onGet: (...args: any) => void, name: string, namespace?: string, onError?: (err: ApiError) => void) => voidmakeKubeObject<KubeStorageClass>('storageClass').useApiGetsrc/lib/k8s/cluster.ts:321
useApiListstatic(onList: (arg: any[]) => void, onError?: (err: ApiError) => void, opts?: ApiListOptions) => anymakeKubeObject<KubeStorageClass>('storageClass').useApiListsrc/lib/k8s/cluster.ts:316
useGetstatic(name: string, namespace?: string, opts?: object) => [any, null | ApiError] & QueryResponse<any, ApiError>makeKubeObject<KubeStorageClass>('storageClass').useGetsrc/lib/k8s/cluster.ts:328

Accessors

provisioner

get provisioner(): any

Returns

any

Defined in

src/lib/k8s/storageClass.ts:13


reclaimPolicy

get reclaimPolicy(): any

Returns

any

Defined in

src/lib/k8s/storageClass.ts:17


volumeBindingMode

get volumeBindingMode(): any

Returns

any

Defined in

src/lib/k8s/storageClass.ts:21


listRoute

get static listRoute(): string

Returns

string

Defined in

src/lib/k8s/storageClass.ts:25


pluralName

get static pluralName(): string

Returns

string

Defined in

src/lib/k8s/storageClass.ts:29

Methods

useList()

static useList(options?: ApiListOptions): [null | any[], null | ApiError] & QueryListResponse<KubeList<any>, any, ApiError>

Parameters

ParameterType
options?ApiListOptions

Returns

[null | any[], null | ApiError] & QueryListResponse<KubeList<any>, any, ApiError>

Inherited from

makeKubeObject<KubeStorageClass>('storageClass').useList

Defined in

src/lib/k8s/cluster.ts:327