Expand description
What the streaming protocols of Kubernetes share between exec, attach and port forwarding, whatever the transport.
Structsยง
- Client
Bytes ๐ - Bytes of a client for the logs, like
ClientStr. - Client
Str ๐ - A string of a client for the logs: quoted and escaped, so that it cannot
add lines to the log, and cut off after
MAX_LOGGED_LENcharacters.
Constantsยง
- MAX_
LOGGED_ ๐LEN - How much of what a client sent a log shows.
- STREAM_
CREATION_ ๐TIMEOUT - How long a Kubernetes client may take to open the streams which belong together, the default of the kubelet and CRI-O.
- STREAM_
TYPE_ ๐HEADER - The header which tells what a stream of a Kubernetes client is for.
Functionsยง
- first_
supported ๐ - The first of the protocols a client requested which the server supports, in the order of the client, with its name.