Interface: ExecOptions
lib/k8s/pod .ExecOptions
Hierarchy
-
↳
ExecOptions
Properties
additionalProtocols
• Optional
additionalProtocols: string
[]
Additional WebSocket protocols to use when connecting.
Inherited from
StreamArgs . additionalProtocols
Defined in
command
• Optional
command: string
[]
Defined in
isJson
• Optional
isJson: boolean
Whether the stream is expected to receive JSON data.
Inherited from
Defined in
reconnectOnFailure
• Optional
reconnectOnFailure: boolean
Whether to attempt to reconnect the WebSocket connection if it fails.
Inherited from
StreamArgs . reconnectOnFailure
Defined in
stderr
• Optional
stderr: boolean
Inherited from
Defined in
stdin
• Optional
stdin: boolean
Inherited from
Defined in
stdout
• Optional
stdout: boolean
Inherited from
Defined in
tty
• Optional
tty: boolean
Inherited from
Defined in
Methods
connectCb
▸ Optional
connectCb(): void
A callback function to execute when the WebSocket connection is established.
Returns
void
Inherited from
Defined in
failCb
▸ Optional
failCb(): void
A callback function to execute when the WebSocket connection fails.
Returns
void