Skip to main content

Class: Deployment

Extends

  • any

Constructors

new Deployment()

new Deployment(json: KubeDeployment): Deployment

Parameters

ParameterType
jsonKubeDeployment

Returns

Deployment

Inherited from

makeKubeObject<KubeDeployment>('Deployment').constructor

Defined in

src/lib/k8s/cluster.ts:337

Properties

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

Accessors

spec

get spec(): any

Returns

any

Defined in

src/lib/k8s/deployment.ts:32


status

get status(): any

Returns

any

Defined in

src/lib/k8s/deployment.ts:36

Methods

getContainers()

getContainers(): KubeContainer[]

Returns

KubeContainer[]

Defined in

src/lib/k8s/deployment.ts:40


getMatchLabelsList()

getMatchLabelsList(): string[]

Returns

string[]

Defined in

src/lib/k8s/deployment.ts:44


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<KubeDeployment>('Deployment').useList

Defined in

src/lib/k8s/cluster.ts:327