Skip to main content

Class: ServiceAccount

Extends

  • any

Constructors

new ServiceAccount()

new ServiceAccount(json: KubeServiceAccount): ServiceAccount

Parameters

ParameterType
jsonKubeServiceAccount

Returns

ServiceAccount

Inherited from

makeKubeObject<KubeServiceAccount>('serviceAccount').constructor

Defined in

src/lib/k8s/cluster.ts:337

Properties

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

Accessors

secrets

get secrets(): object[]

Returns

object[]

Defined in

src/lib/k8s/serviceAccount.ts:18

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<KubeServiceAccount>('serviceAccount').useList

Defined in

src/lib/k8s/cluster.ts:327