Versions in this module Expand all Collapse all v1 v1.0.2 May 5, 2022 Changes in this version + const END_OF_TRANSMISSION + func CreateAttachHandler(path string) http.Handler + func WaitForTerminal(k8sClient kubernetes.Interface, cfg *rest.Config, request *gin.Context, ...) + type PtyHandler interface + type SessionMap struct + Lock sync.RWMutex + Sessions map[string]TerminalSession + func (sm *SessionMap) Close(sessionId string, status uint32, reason string) + func (sm *SessionMap) Get(sessionId string) TerminalSession + func (sm *SessionMap) Set(sessionId string, session TerminalSession) + type TerminalMessage struct + Cols uint16 + Data string + Op string + Rows uint16 + SessionID string + type TerminalSession struct + func (t TerminalSession) Next() *remotecommand.TerminalSize + func (t TerminalSession) Read(p []byte) (int, error) + func (t TerminalSession) Toast(p string) error + func (t TerminalSession) Write(p []byte) (int, error)