Class: ResourceQuota
Extends
any
Constructors
new ResourceQuota()
new ResourceQuota(json: KubeResourceQuota): ResourceQuota
Parameters
Parameter | Type |
---|---|
json | KubeResourceQuota |
Returns
Inherited from
makeKubeObject<KubeResourceQuota>('resourceQuota').constructor
Defined in
Properties
Property | Modifier | Type | Inherited from | Defined in |
---|---|---|---|---|
apiEndpoint | static | ApiWithNamespaceClient <KubeObjectInterface > | - | src/lib/k8s/resourceQuota.ts:34 |
apiList | static | (onList : (arg : any []) => void , onError ?: (err : ApiError ) => void , opts ?: ApiListSingleNamespaceOptions ) => any | makeKubeObject<KubeResourceQuota>('resourceQuota').apiList | src/lib/k8s/cluster.ts:311 |
className | static | string | makeKubeObject<KubeResourceQuota>('resourceQuota').className | src/lib/k8s/cluster.ts:338 |
getAuthorization? | static | (arg : string , resourceAttrs ?: AuthRequestResourceAttrs ) => any | makeKubeObject<KubeResourceQuota>('resourceQuota').getAuthorization | src/lib/k8s/cluster.ts:340 |
getErrorMessage | static | (err ?: null | ApiError ) => null | string | makeKubeObject<KubeResourceQuota>('resourceQuota').getErrorMessage | src/lib/k8s/cluster.ts:336 |
useApiGet | static | (onGet : (...args : any ) => void , name : string , namespace ?: string , onError ?: (err : ApiError ) => void ) => void | makeKubeObject<KubeResourceQuota>('resourceQuota').useApiGet | src/lib/k8s/cluster.ts:321 |
useApiList | static | (onList : (arg : any []) => void , onError ?: (err : ApiError ) => void , opts ?: ApiListOptions ) => any | makeKubeObject<KubeResourceQuota>('resourceQuota').useApiList | src/lib/k8s/cluster.ts:316 |
useGet | static | (name : string , namespace ?: string , opts ?: object ) => [any , null | ApiError ] & QueryResponse <any , ApiError > | makeKubeObject<KubeResourceQuota>('resourceQuota').useGet | src/lib/k8s/cluster.ts:328 |
Accessors
limits
get limits(): string[]
Returns
string
[]
Defined in
src/lib/k8s/resourceQuota.ts:60
requests
get requests(): string[]
Returns
string
[]
Defined in
src/lib/k8s/resourceQuota.ts:44
resourceStats
get resourceStats(): object[]
Returns
object
[]
Defined in
src/lib/k8s/resourceQuota.ts:76
spec
get spec(): spec
Returns
spec
Defined in
src/lib/k8s/resourceQuota.ts:36
status
get status(): status
Returns
status
Defined in
src/lib/k8s/resourceQuota.ts:40
Methods
useList()
static useList(options?: ApiListOptions): [null | any[], null | ApiError] & QueryListResponse<KubeList<any>, any, ApiError>
Parameters
Parameter | Type |
---|---|
options ? | ApiListOptions |
Returns
[null
| any
[], null
| ApiError
] & QueryListResponse
<KubeList
<any
>, any
, ApiError
>
Inherited from
makeKubeObject<KubeResourceQuota>('resourceQuota').useList