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