Skip to main content

Class: StatefulSet

Extends

  • any

Constructors

new StatefulSet()

new StatefulSet(json: KubeStatefulSet): StatefulSet

Parameters

ParameterType
jsonKubeStatefulSet

Returns

StatefulSet

Inherited from

makeKubeObject<KubeStatefulSet>('StatefulSet').constructor

Defined in

src/lib/k8s/cluster.ts:337

Properties

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

Accessors

spec

get spec(): any

Returns

any

Defined in

src/lib/k8s/statefulSet.ts:34


status

get status(): any

Returns

any

Defined in

src/lib/k8s/statefulSet.ts:38

Methods

getContainers()

getContainers(): KubeContainer[]

Returns

KubeContainer[]

Defined in

src/lib/k8s/statefulSet.ts:42


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<KubeStatefulSet>('StatefulSet').useList

Defined in

src/lib/k8s/cluster.ts:327