Expand description
Exec and attach over SPDY: the protocol versions, the streams of a session and the input of the client.
Structsยง
- Expected
Streams ๐ - The streams a session expects from a SPDY client. A resize stream is
optional, see
SpdyInput. - Resize
Events ๐ - 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.
- Spdy
Input ๐ - 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_BYTESof the session, the resizes wait as well. - Spdy
Output ๐ - The sending sides of a SPDY session.
- Spdy
Streams ๐ - The streams of a SPDY session, which the client opened until the session started.
Enumsยง
- Spdy
Event ๐ - What a SPDY client sent.
- Stream
Type ๐ - 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
ffor 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.