Skip to main content

Interface: ExecOptions

Configure a stream with... StreamArgs.

Extends​

Properties​

additionalProtocols?​

optional additionalProtocols: string[];

Additional WebSocket protocols to use when connecting.

Inherited from​

StreamArgs.additionalProtocols

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:251


cluster?​

optional cluster: string;

Inherited from​

StreamArgs.cluster

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:262


command?​

optional command: string[];

Defined in​

src/lib/k8s/pod.ts:47


connectCb()?​

optional connectCb: () => void;

A callback function to execute when the WebSocket connection is established.

Returns​

void

Inherited from​

StreamArgs.connectCb

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:253


failCb()?​

optional failCb: () => void;

A callback function to execute when the WebSocket connection fails.

Returns​

void

Inherited from​

StreamArgs.failCb

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:257


isJson?​

optional isJson: boolean;

Whether the stream is expected to receive JSON data.

Inherited from​

StreamArgs.isJson

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:249


reconnectOnFailure?​

optional reconnectOnFailure: boolean;

Whether to attempt to reconnect the WebSocket connection if it fails.

Inherited from​

StreamArgs.reconnectOnFailure

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:255


stderr?​

optional stderr: boolean;

Inherited from​

StreamArgs.stderr

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:261


stdin?​

optional stdin: boolean;

Inherited from​

StreamArgs.stdin

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:259


stdout?​

optional stdout: boolean;

Inherited from​

StreamArgs.stdout

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:260


tty?​

optional tty: boolean;

Inherited from​

StreamArgs.tty

Defined in​

src/lib/k8s/api/v1/streamingApi.ts:258