Class: Deployment
Extends
any
Constructors
new Deployment()
new Deployment(json: KubeDeployment): Deployment
Parameters
Parameter | Type |
---|---|
json | KubeDeployment |
Returns
Inherited from
makeKubeObject<KubeDeployment>('Deployment').constructor
Defined in
Properties
Property | Modifier | Type | Inherited from | Defined in |
---|---|---|---|---|
apiEndpoint | static | ApiWithNamespaceClient <KubeObjectInterface > | - | src/lib/k8s/deployment.ts:30 |
apiList | static | (onList : (arg : any []) => void , onError ?: (err : ApiError ) => void , opts ?: ApiListSingleNamespaceOptions ) => any | makeKubeObject<KubeDeployment>('Deployment').apiList | src/lib/k8s/cluster.ts:311 |
className | static | string | makeKubeObject<KubeDeployment>('Deployment').className | src/lib/k8s/cluster.ts:338 |
getAuthorization? | static | (arg : string , resourceAttrs ?: AuthRequestResourceAttrs ) => any | makeKubeObject<KubeDeployment>('Deployment').getAuthorization | src/lib/k8s/cluster.ts:340 |
getErrorMessage | static | (err ?: null | ApiError ) => null | string | makeKubeObject<KubeDeployment>('Deployment').getErrorMessage | src/lib/k8s/cluster.ts:336 |
useApiGet | static | (onGet : (...args : any ) => void , name : string , namespace ?: string , onError ?: (err : ApiError ) => void ) => void | makeKubeObject<KubeDeployment>('Deployment').useApiGet | src/lib/k8s/cluster.ts:321 |
useApiList | static | (onList : (arg : any []) => void , onError ?: (err : ApiError ) => void , opts ?: ApiListOptions ) => any | makeKubeObject<KubeDeployment>('Deployment').useApiList | src/lib/k8s/cluster.ts:316 |
useGet | static | (name : string , namespace ?: string , opts ?: object ) => [any , null | ApiError ] & QueryResponse <any , ApiError > | makeKubeObject<KubeDeployment>('Deployment').useGet | src/lib/k8s/cluster.ts:328 |
Accessors
spec
get spec(): any
Returns
any
Defined in
status
get status(): any
Returns
any
Defined in
Methods
getContainers()
getContainers(): KubeContainer[]
Returns
Defined in
getMatchLabelsList()
getMatchLabelsList(): string[]
Returns
string
[]
Defined in
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<KubeDeployment>('Deployment').useList