Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectPrompt ¶
func NewKernelServiceHandler ¶
func NewKernelServiceHandler(logger *zap.Logger) kernelv1connect.KernelServiceHandler
func NewKernelServiceServer ¶
func NewKernelServiceServer(logger *zap.Logger) kernelv1.KernelServiceServer
Types ¶
type ShellSession ¶
type ShellSession struct {
// contains filtered or unexported fields
}
func NewShellSession ¶
func NewShellSession(command, prompt string) (*ShellSession, error)
func (*ShellSession) Close ¶
func (s *ShellSession) Close() error
func (*ShellSession) Done ¶
func (s *ShellSession) Done() <-chan struct{}
func (*ShellSession) Err ¶
func (s *ShellSession) Err() error
func (*ShellSession) ID ¶
func (s *ShellSession) ID() string
func (*ShellSession) Send ¶
func (s *ShellSession) Send(data []byte) error
Click to show internal directories.
Click to hide internal directories.