-
-
Notifications
You must be signed in to change notification settings - Fork 83
Kathara.manager.kubernetes.terminal.session.KubernetesWSTerminalSession
Tommaso Caiazzi edited this page Mar 19, 2026
·
1 revision
- RESIZE_CHANNEL
__init__(handler: Any, client: Any = None) → Noneclose() → NoneClose the session and release resources.
Returns: None
fileno() → Optional[int]Return an OS-level file descriptor for the session, if available.
Returns:
-
Optional[int]: The file descriptor, or None if the session cannot be polled via fd-based readiness APIs.
read(n: int = 4096) → bytesRead up to n bytes from the session output stream.
Args:
-
n(int): Maximum number of bytes to read.
Returns:
-
bytes: Data read from the session.
resize(cols: int, rows: int) → NoneResize the session terminal dimensions.
Args:
-
cols(int): Terminal width in columns. -
rows(int): Terminal height in rows.
Returns: None
write(data: bytes) → NoneWrite bytes to the session input stream.
Args:
-
data(bytes): Data to send to the session.
Returns: None
This file was automatically generated via lazydocs.
Website: kathara.org
Contact us: contact@kathara.org