webshellv1

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_console_webshell_v1_webshell_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetCWDMessage

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

GetCWDMessage is sent by the client to request the current working directory of the terminal session.

func (*GetCWDMessage) Descriptor deprecated

func (*GetCWDMessage) Descriptor() ([]byte, []int)

Deprecated: Use GetCWDMessage.ProtoReflect.Descriptor instead.

func (*GetCWDMessage) ProtoMessage

func (*GetCWDMessage) ProtoMessage()

func (*GetCWDMessage) ProtoReflect

func (x *GetCWDMessage) ProtoReflect() protoreflect.Message

func (*GetCWDMessage) Reset

func (x *GetCWDMessage) Reset()

func (*GetCWDMessage) String

func (x *GetCWDMessage) String() string

type GetCWDResponse

type GetCWDResponse struct {
	Path  string  `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`         // Current working directory path
	Error *string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"` // Error message if the request failed, empty if successful
	// contains filtered or unexported fields
}

GetCWDResponse is sent by the server in response to a GetCWDMessage, containing the current working directory path.

func (*GetCWDResponse) Descriptor deprecated

func (*GetCWDResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCWDResponse.ProtoReflect.Descriptor instead.

func (*GetCWDResponse) GetError

func (x *GetCWDResponse) GetError() string

func (*GetCWDResponse) GetPath

func (x *GetCWDResponse) GetPath() string

func (*GetCWDResponse) ProtoMessage

func (*GetCWDResponse) ProtoMessage()

func (*GetCWDResponse) ProtoReflect

func (x *GetCWDResponse) ProtoReflect() protoreflect.Message

func (*GetCWDResponse) Reset

func (x *GetCWDResponse) Reset()

func (*GetCWDResponse) String

func (x *GetCWDResponse) String() string

type PingMessage

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

PingMessage is sent by the client to keep the connection alive

func (*PingMessage) Descriptor deprecated

func (*PingMessage) Descriptor() ([]byte, []int)

Deprecated: Use PingMessage.ProtoReflect.Descriptor instead.

func (*PingMessage) ProtoMessage

func (*PingMessage) ProtoMessage()

func (*PingMessage) ProtoReflect

func (x *PingMessage) ProtoReflect() protoreflect.Message

func (*PingMessage) Reset

func (x *PingMessage) Reset()

func (*PingMessage) String

func (x *PingMessage) String() string

type PongMessage

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

PongMessage is sent by the server in response to a PingMessage

func (*PongMessage) Descriptor deprecated

func (*PongMessage) Descriptor() ([]byte, []int)

Deprecated: Use PongMessage.ProtoReflect.Descriptor instead.

func (*PongMessage) ProtoMessage

func (*PongMessage) ProtoMessage()

func (*PongMessage) ProtoReflect

func (x *PongMessage) ProtoReflect() protoreflect.Message

func (*PongMessage) Reset

func (x *PongMessage) Reset()

func (*PongMessage) String

func (x *PongMessage) String() string

type TerminalErrorMessage

type TerminalErrorMessage struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

TerminalErrorMessage is sent by the server to the client when there is an error in the terminal

func (*TerminalErrorMessage) Descriptor deprecated

func (*TerminalErrorMessage) Descriptor() ([]byte, []int)

Deprecated: Use TerminalErrorMessage.ProtoReflect.Descriptor instead.

func (*TerminalErrorMessage) GetData

func (x *TerminalErrorMessage) GetData() string

func (*TerminalErrorMessage) ProtoMessage

func (*TerminalErrorMessage) ProtoMessage()

func (*TerminalErrorMessage) ProtoReflect

func (x *TerminalErrorMessage) ProtoReflect() protoreflect.Message

func (*TerminalErrorMessage) Reset

func (x *TerminalErrorMessage) Reset()

func (*TerminalErrorMessage) String

func (x *TerminalErrorMessage) String() string

type TerminalInputMessage

type TerminalInputMessage struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

TerminalInputMessage is sent by the client when the user types in the terminal

func (*TerminalInputMessage) Descriptor deprecated

func (*TerminalInputMessage) Descriptor() ([]byte, []int)

Deprecated: Use TerminalInputMessage.ProtoReflect.Descriptor instead.

func (*TerminalInputMessage) GetData

func (x *TerminalInputMessage) GetData() string

func (*TerminalInputMessage) ProtoMessage

func (*TerminalInputMessage) ProtoMessage()

func (*TerminalInputMessage) ProtoReflect

func (x *TerminalInputMessage) ProtoReflect() protoreflect.Message

func (*TerminalInputMessage) Reset

func (x *TerminalInputMessage) Reset()

func (*TerminalInputMessage) String

func (x *TerminalInputMessage) String() string

type TerminalOutputMessage

type TerminalOutputMessage struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

TerminalOutputMessage is sent by the server to the client when there is output from the terminal

func (*TerminalOutputMessage) Descriptor deprecated

func (*TerminalOutputMessage) Descriptor() ([]byte, []int)

Deprecated: Use TerminalOutputMessage.ProtoReflect.Descriptor instead.

func (*TerminalOutputMessage) GetData

func (x *TerminalOutputMessage) GetData() string

func (*TerminalOutputMessage) ProtoMessage

func (*TerminalOutputMessage) ProtoMessage()

func (*TerminalOutputMessage) ProtoReflect

func (x *TerminalOutputMessage) ProtoReflect() protoreflect.Message

func (*TerminalOutputMessage) Reset

func (x *TerminalOutputMessage) Reset()

func (*TerminalOutputMessage) String

func (x *TerminalOutputMessage) String() string

type TerminalResizeMessage

type TerminalResizeMessage struct {
	Cols uint32 `protobuf:"varint,1,opt,name=cols,proto3" json:"cols,omitempty"`
	Rows uint32 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

TerminalResizeMessage is sent by the client when the terminal is resized

func (*TerminalResizeMessage) Descriptor deprecated

func (*TerminalResizeMessage) Descriptor() ([]byte, []int)

Deprecated: Use TerminalResizeMessage.ProtoReflect.Descriptor instead.

func (*TerminalResizeMessage) GetCols

func (x *TerminalResizeMessage) GetCols() uint32

func (*TerminalResizeMessage) GetRows

func (x *TerminalResizeMessage) GetRows() uint32

func (*TerminalResizeMessage) ProtoMessage

func (*TerminalResizeMessage) ProtoMessage()

func (*TerminalResizeMessage) ProtoReflect

func (x *TerminalResizeMessage) ProtoReflect() protoreflect.Message

func (*TerminalResizeMessage) Reset

func (x *TerminalResizeMessage) Reset()

func (*TerminalResizeMessage) String

func (x *TerminalResizeMessage) String() string

type WebShellMessage

type WebShellMessage struct {

	// Types that are valid to be assigned to Payload:
	//
	//	*WebShellMessage_Ping
	//	*WebShellMessage_Pong
	//	*WebShellMessage_TerminalInput
	//	*WebShellMessage_TerminalOutput
	//	*WebShellMessage_TerminalResize
	//	*WebShellMessage_GetCwdMessage
	//	*WebShellMessage_GetCwdResponse
	//	*WebShellMessage_TerminalError
	Payload isWebShellMessage_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

WebShellMessage is the top-level message that can contain any of the other message types as its payload.

func (*WebShellMessage) Descriptor deprecated

func (*WebShellMessage) Descriptor() ([]byte, []int)

Deprecated: Use WebShellMessage.ProtoReflect.Descriptor instead.

func (*WebShellMessage) GetGetCwdMessage

func (x *WebShellMessage) GetGetCwdMessage() *GetCWDMessage

func (*WebShellMessage) GetGetCwdResponse

func (x *WebShellMessage) GetGetCwdResponse() *GetCWDResponse

func (*WebShellMessage) GetPayload

func (x *WebShellMessage) GetPayload() isWebShellMessage_Payload

func (*WebShellMessage) GetPing

func (x *WebShellMessage) GetPing() *PingMessage

func (*WebShellMessage) GetPong

func (x *WebShellMessage) GetPong() *PongMessage

func (*WebShellMessage) GetTerminalError

func (x *WebShellMessage) GetTerminalError() *TerminalErrorMessage

func (*WebShellMessage) GetTerminalInput

func (x *WebShellMessage) GetTerminalInput() *TerminalInputMessage

func (*WebShellMessage) GetTerminalOutput

func (x *WebShellMessage) GetTerminalOutput() *TerminalOutputMessage

func (*WebShellMessage) GetTerminalResize

func (x *WebShellMessage) GetTerminalResize() *TerminalResizeMessage

func (*WebShellMessage) ProtoMessage

func (*WebShellMessage) ProtoMessage()

func (*WebShellMessage) ProtoReflect

func (x *WebShellMessage) ProtoReflect() protoreflect.Message

func (*WebShellMessage) Reset

func (x *WebShellMessage) Reset()

func (*WebShellMessage) String

func (x *WebShellMessage) String() string

type WebShellMessage_GetCwdMessage

type WebShellMessage_GetCwdMessage struct {
	GetCwdMessage *GetCWDMessage `protobuf:"bytes,6,opt,name=get_cwd_message,json=getCwdMessage,proto3,oneof"`
}

type WebShellMessage_GetCwdResponse

type WebShellMessage_GetCwdResponse struct {
	GetCwdResponse *GetCWDResponse `protobuf:"bytes,7,opt,name=get_cwd_response,json=getCwdResponse,proto3,oneof"`
}

type WebShellMessage_Ping

type WebShellMessage_Ping struct {
	Ping *PingMessage `protobuf:"bytes,1,opt,name=ping,proto3,oneof"`
}

type WebShellMessage_Pong

type WebShellMessage_Pong struct {
	Pong *PongMessage `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}

type WebShellMessage_TerminalError

type WebShellMessage_TerminalError struct {
	TerminalError *TerminalErrorMessage `protobuf:"bytes,8,opt,name=terminal_error,json=terminalError,proto3,oneof"`
}

type WebShellMessage_TerminalInput

type WebShellMessage_TerminalInput struct {
	TerminalInput *TerminalInputMessage `protobuf:"bytes,3,opt,name=terminal_input,json=terminalInput,proto3,oneof"`
}

type WebShellMessage_TerminalOutput

type WebShellMessage_TerminalOutput struct {
	TerminalOutput *TerminalOutputMessage `protobuf:"bytes,4,opt,name=terminal_output,json=terminalOutput,proto3,oneof"`
}

type WebShellMessage_TerminalResize

type WebShellMessage_TerminalResize struct {
	TerminalResize *TerminalResizeMessage `protobuf:"bytes,5,opt,name=terminal_resize,json=terminalResize,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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