Skip to main content

Module spdy

Module spdy 

Source
Expand description

Exec and attach over SPDY: the protocol versions, the streams of a session and the input of the client.

Structsยง

ExpectedStreams ๐Ÿ”’
The streams a session expects from a SPDY client. A resize stream is optional, see SpdyInput.
ResizeEvents ๐Ÿ”’
The events of the resize stream of a SPDY client, which carries JSON objects back to back. Only the latest one matters, the earlier sizes are gone already, so a client sending many at once does not queue them.
SpdyInput ๐Ÿ”’
The input of a SPDY client: the stdin stream, whose end closes stdin, and the resize stream, which carries consecutive JSON objects. Clients open a resize stream only with a terminal, which the server does not know for an attach, so it may also come after the session started. Both get read together: once the stdin which the process does not read fills PENDING_STDIN_MAX_BYTES of the session, the resizes wait as well.
SpdyOutput ๐Ÿ”’
The sending sides of a SPDY session.
SpdyStreams ๐Ÿ”’
The streams of a SPDY session, which the client opened until the session started.

Enumsยง

SpdyEvent ๐Ÿ”’
What a SPDY client sent.
StreamType ๐Ÿ”’
The type of a stream of a session, by its header.

Constantsยง

MAX_RESIZE_BUFFER ๐Ÿ”’
The most resize events a SPDY client may send without completing one.
SPDY_PROTOCOLS ๐Ÿ”’
The SPDY protocols, the kubelet and client-go prefer the first one.
STREAM_TYPE_RESIZE ๐Ÿ”’
The stream type of the resize stream.

Functionsยง

close_sending_side ๐Ÿ”’
Close the sending side of a stream. A late stream gets it in a task of its own, without waiting for the queue of the connection.
or_pending ๐Ÿ”’
The output of f for the value, pending without one, like for a stream which ended.
receiver ๐Ÿ”’
The receiving side of a stream, whose sending side the server does not need.