package
0.0.0-20240808032337-b123131f0cd9
Repository: https://github.com/clusteroperator/kubepi.git
Documentation: pkg.go.dev

# Functions

CreateAttachHandler is called from main for /api/sockjs.
No description provided by the author
WaitForTerminal is called from apihandler.handleAttach as a goroutine Waits for the SockJS connection to be opened by the client the session to be Bound in handleTerminalSession.

# Constants

No description provided by the author
session timeout (minute).

# Variables

No description provided by the author

# Structs

SessionMap stores a map of all TerminalSession objects and a lock to avoid concurrent conflict.
TerminalMessage is the messaging protocol between ShellController and TerminalSession.
TerminalSession implements PtyHandler (using a SockJS connection).

# Interfaces

PtyHandler is what remotecommand expects from a pty.