ws

package
v0.0.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodLogSession

type PodLogSession struct {
	// contains filtered or unexported fields
}

func NewPodLogSession

func NewPodLogSession(w http.ResponseWriter, r *http.Request) (*PodLogSession, error)

func (*PodLogSession) Close

func (p *PodLogSession) Close() error

func (*PodLogSession) Done

func (p *PodLogSession) Done() chan struct{}

func (*PodLogSession) Read

func (p *PodLogSession) Read()

func (*PodLogSession) SetReaderCloser

func (p *PodLogSession) SetReaderCloser(readCloser io.ReadCloser)

func (*PodLogSession) Write

func (p *PodLogSession) Write() error

type TerminalMessage

type TerminalMessage struct {
	Operation string `json:"operation"`
	Data      string `json:"data"`
	Rows      uint16 `json:"rows"`
	Cols      uint16 `json:"cols"`
}

type TerminalSession

type TerminalSession struct {
	// contains filtered or unexported fields
}

func NewTerminalSession

func NewTerminalSession(w http.ResponseWriter, r *http.Request) (*TerminalSession, error)

func (*TerminalSession) Close

func (t *TerminalSession) Close() error

func (*TerminalSession) Done

func (t *TerminalSession) Done()

func (*TerminalSession) Next

func (*TerminalSession) Read

func (t *TerminalSession) Read(p []byte) (int, error)

func (*TerminalSession) Write

func (t *TerminalSession) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL