Skip to content
Effect Days 2026 Get your ticket

K8sHttpClient

6 exports Added in v1.0.0 Source

Constructors

Signature

declare const makeCreatePod: Effect<(...args: [spec: Pod]) => Effect, unknown, unknown>

makeGetPods

Added in v1.0.0 Source

Signature

declare const makeGetPods: (options?: {
readonly labelSelector?: string;
readonly namespace?: string;
}) => Effect.Effect<Effect.Effect<Map<string, Pod>, HttpClientError.HttpClientError | ParseResult.ParseError, never>, never, K8sHttpClient>

Layers

layer

Added in v1.0.0 Source

Signature

declare const layer: Layer.Layer<K8sHttpClient, never, HttpClient.HttpClient | FileSystem.FileSystem>

Schemas

Pod

Added in v1.0.0 Source

Signature

declare class Pod extends {
readonly status: PodStatus;
} {
constructor(...args: [props: {
readonly status: PodStatus;
}, options?: MakeOptions]);
isReady: boolean;
isReadyOrInitializing: boolean;
}

PodStatus

Added in v1.0.0 Source

Signature

declare class PodStatus extends {
readonly conditions: readonly Array<{
readonly lastTransitionTime: string | null;
readonly status: string;
readonly type: string;
}>;
readonly hostIP: string;
readonly phase: string;
readonly podIP: string;
} {
constructor(...args: [props: {
readonly conditions: readonly Array<{
readonly lastTransitionTime: string | null;
readonly status: string;
readonly type: string;
}>;
readonly hostIP: string;
readonly phase: string;
readonly podIP: string;
}, options?: MakeOptions]);
}

Tags

Signature

declare class K8sHttpClient extends any {
constructor();
}