Skip to main content

Class: Secret

Extends

  • any

Constructors

new Secret()

new Secret(json: KubeSecret): Secret

Parameters

ParameterType
jsonKubeSecret

Returns

Secret

Inherited from

makeKubeObject<KubeSecret>('secret').constructor

Defined in

src/lib/k8s/cluster.ts:337

Properties

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

Accessors

data

get data(): any

Returns

any

Defined in

src/lib/k8s/secret.ts:12


type

get type(): any

Returns

any

Defined in

src/lib/k8s/secret.ts:16

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<KubeSecret>('secret').useList

Defined in

src/lib/k8s/cluster.ts:327