Interface: StreamArgs

    lib/k8s/apiProxy .StreamArgs

    Configure a stream with… StreamArgs.

    Hierarchy

    Properties

    additionalProtocols

    Optional additionalProtocols: string[]

    Additional WebSocket protocols to use when connecting.

    Defined in

    lib/k8s/apiProxy.ts:808


    isJson

    Optional isJson: boolean

    Whether the stream is expected to receive JSON data.

    Defined in

    lib/k8s/apiProxy.ts:806


    reconnectOnFailure

    Optional reconnectOnFailure: boolean

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

    Defined in

    lib/k8s/apiProxy.ts:812


    stderr

    Optional stderr: boolean

    Defined in

    lib/k8s/apiProxy.ts:818


    stdin

    Optional stdin: boolean

    Defined in

    lib/k8s/apiProxy.ts:816


    stdout

    Optional stdout: boolean

    Defined in

    lib/k8s/apiProxy.ts:817


    tty

    Optional tty: boolean

    Defined in

    lib/k8s/apiProxy.ts:815

    Methods

    connectCb

    Optional connectCb(): void

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

    Returns

    void

    Defined in

    lib/k8s/apiProxy.ts:810


    failCb

    Optional failCb(): void

    A callback function to execute when the WebSocket connection fails.

    Returns

    void

    Defined in

    lib/k8s/apiProxy.ts:814