Skip to main content

Class: Endpoints

Extends

  • any

Constructors

new Endpoints()

new Endpoints(json: KubeEndpoint): Endpoints

Parameters

ParameterType
jsonKubeEndpoint

Returns

Endpoints

Inherited from

makeKubeObject<KubeEndpoint>('endpoint').constructor

Defined in

src/lib/k8s/cluster.ts:337

Properties

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

Accessors

spec

get spec(): any

Returns

any

Defined in

src/lib/k8s/endpoints.ts:34


status

get status(): any

Returns

any

Defined in

src/lib/k8s/endpoints.ts:38


subsets

get subsets(): any

Returns

any

Defined in

src/lib/k8s/endpoints.ts:42

Methods

getAddresses()

getAddresses(): string[]

Returns

string[]

Defined in

src/lib/k8s/endpoints.ts:50


getAddressesText()

getAddressesText(): string

Returns

string

Defined in

src/lib/k8s/endpoints.ts:46


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<KubeEndpoint>('endpoint').useList

Defined in

src/lib/k8s/cluster.ts:327