Documentation
¶
Index ¶
- Variables
- type CloudshellMessage
- func (*CloudshellMessage) Descriptor() ([]byte, []int)deprecated
- func (x *CloudshellMessage) GetFileExplorer() *FileExplorerMessage
- func (x *CloudshellMessage) GetPayload() isCloudshellMessage_Payload
- func (x *CloudshellMessage) GetPing() *PingMessage
- func (x *CloudshellMessage) GetPong() *PongMessage
- func (x *CloudshellMessage) GetTerminalError() *TerminalErrorMessage
- func (x *CloudshellMessage) GetTerminalInput() *TerminalInputMessage
- func (x *CloudshellMessage) GetTerminalOutput() *TerminalOutputMessage
- func (x *CloudshellMessage) GetTerminalResize() *TerminalResizeMessage
- func (*CloudshellMessage) ProtoMessage()
- func (x *CloudshellMessage) ProtoReflect() protoreflect.Message
- func (x *CloudshellMessage) Reset()
- func (x *CloudshellMessage) String() string
- type CloudshellMessage_FileExplorer
- type CloudshellMessage_Ping
- type CloudshellMessage_Pong
- type CloudshellMessage_TerminalError
- type CloudshellMessage_TerminalInput
- type CloudshellMessage_TerminalOutput
- type CloudshellMessage_TerminalResize
- type FileExplorerCommand
- func (*FileExplorerCommand) Descriptor() ([]byte, []int)deprecated
- func (x *FileExplorerCommand) GetGetCwd() *GetCWDCommand
- func (x *FileExplorerCommand) GetListFiles() *ListFilesCommand
- func (x *FileExplorerCommand) GetMakeDirectory() *MakeDirectoryCommand
- func (x *FileExplorerCommand) GetPayload() isFileExplorerCommand_Payload
- func (x *FileExplorerCommand) GetRemove() *RemoveCommand
- func (*FileExplorerCommand) ProtoMessage()
- func (x *FileExplorerCommand) ProtoReflect() protoreflect.Message
- func (x *FileExplorerCommand) Reset()
- func (x *FileExplorerCommand) String() string
- type FileExplorerCommand_GetCwd
- type FileExplorerCommand_ListFiles
- type FileExplorerCommand_MakeDirectory
- type FileExplorerCommand_Remove
- type FileExplorerMessage
- func (*FileExplorerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FileExplorerMessage) GetCommand() *FileExplorerCommand
- func (x *FileExplorerMessage) GetId() string
- func (x *FileExplorerMessage) GetPayload() isFileExplorerMessage_Payload
- func (x *FileExplorerMessage) GetResponse() *FileExplorerResponse
- func (*FileExplorerMessage) ProtoMessage()
- func (x *FileExplorerMessage) ProtoReflect() protoreflect.Message
- func (x *FileExplorerMessage) Reset()
- func (x *FileExplorerMessage) String() string
- type FileExplorerMessage_Command
- type FileExplorerMessage_Response
- type FileExplorerResponse
- func (*FileExplorerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileExplorerResponse) GetGetCwd() *GetCWDResponse
- func (x *FileExplorerResponse) GetListFiles() *ListFilesResponse
- func (x *FileExplorerResponse) GetMakeDirectory() *MakeDirectoryResponse
- func (x *FileExplorerResponse) GetPayload() isFileExplorerResponse_Payload
- func (x *FileExplorerResponse) GetRemove() *RemoveResponse
- func (*FileExplorerResponse) ProtoMessage()
- func (x *FileExplorerResponse) ProtoReflect() protoreflect.Message
- func (x *FileExplorerResponse) Reset()
- func (x *FileExplorerResponse) String() string
- type FileExplorerResponse_GetCwd
- type FileExplorerResponse_ListFiles
- type FileExplorerResponse_MakeDirectory
- type FileExplorerResponse_Remove
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetIsDir() bool
- func (x *FileInfo) GetModTime() string
- func (x *FileInfo) GetMode() string
- func (x *FileInfo) GetName() string
- func (x *FileInfo) GetPath() string
- func (x *FileInfo) GetSize() int64
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type GetCWDCommand
- type GetCWDResponse
- func (*GetCWDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCWDResponse) GetError() string
- func (x *GetCWDResponse) GetPath() string
- func (*GetCWDResponse) ProtoMessage()
- func (x *GetCWDResponse) ProtoReflect() protoreflect.Message
- func (x *GetCWDResponse) Reset()
- func (x *GetCWDResponse) String() string
- type ListFilesCommand
- func (*ListFilesCommand) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesCommand) GetPath() string
- func (x *ListFilesCommand) GetShowHidden() bool
- func (*ListFilesCommand) ProtoMessage()
- func (x *ListFilesCommand) ProtoReflect() protoreflect.Message
- func (x *ListFilesCommand) Reset()
- func (x *ListFilesCommand) String() string
- type ListFilesResponse
- func (*ListFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesResponse) GetError() string
- func (x *ListFilesResponse) GetFiles() []*FileInfo
- func (*ListFilesResponse) ProtoMessage()
- func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFilesResponse) Reset()
- func (x *ListFilesResponse) String() string
- type MakeDirectoryCommand
- func (*MakeDirectoryCommand) Descriptor() ([]byte, []int)deprecated
- func (x *MakeDirectoryCommand) GetName() string
- func (x *MakeDirectoryCommand) GetPath() string
- func (*MakeDirectoryCommand) ProtoMessage()
- func (x *MakeDirectoryCommand) ProtoReflect() protoreflect.Message
- func (x *MakeDirectoryCommand) Reset()
- func (x *MakeDirectoryCommand) String() string
- type MakeDirectoryResponse
- func (*MakeDirectoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MakeDirectoryResponse) GetError() string
- func (*MakeDirectoryResponse) ProtoMessage()
- func (x *MakeDirectoryResponse) ProtoReflect() protoreflect.Message
- func (x *MakeDirectoryResponse) Reset()
- func (x *MakeDirectoryResponse) String() string
- type PingMessage
- type PongMessage
- type RemoveCommand
- type RemoveResponse
- type TerminalErrorMessage
- func (*TerminalErrorMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalErrorMessage) GetData() string
- func (*TerminalErrorMessage) ProtoMessage()
- func (x *TerminalErrorMessage) ProtoReflect() protoreflect.Message
- func (x *TerminalErrorMessage) Reset()
- func (x *TerminalErrorMessage) String() string
- type TerminalInputMessage
- func (*TerminalInputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalInputMessage) GetData() string
- func (*TerminalInputMessage) ProtoMessage()
- func (x *TerminalInputMessage) ProtoReflect() protoreflect.Message
- func (x *TerminalInputMessage) Reset()
- func (x *TerminalInputMessage) String() string
- type TerminalOutputMessage
- func (*TerminalOutputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalOutputMessage) GetData() string
- func (*TerminalOutputMessage) ProtoMessage()
- func (x *TerminalOutputMessage) ProtoReflect() protoreflect.Message
- func (x *TerminalOutputMessage) Reset()
- func (x *TerminalOutputMessage) String() string
- type TerminalResizeMessage
- func (*TerminalResizeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalResizeMessage) GetCols() uint32
- func (x *TerminalResizeMessage) GetRows() uint32
- func (*TerminalResizeMessage) ProtoMessage()
- func (x *TerminalResizeMessage) ProtoReflect() protoreflect.Message
- func (x *TerminalResizeMessage) Reset()
- func (x *TerminalResizeMessage) String() string
Constants ¶
This section is empty.
Variables ¶
var File_cloudshell_cloudshell_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CloudshellMessage ¶
type CloudshellMessage struct {
// Types that are valid to be assigned to Payload:
//
// *CloudshellMessage_Ping
// *CloudshellMessage_Pong
// *CloudshellMessage_TerminalInput
// *CloudshellMessage_TerminalOutput
// *CloudshellMessage_TerminalResize
// *CloudshellMessage_FileExplorer
// *CloudshellMessage_TerminalError
Payload isCloudshellMessage_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
CloudshellMessage is the top-level message that can contain any of the other message types as its payload.
func (*CloudshellMessage) Descriptor
deprecated
func (*CloudshellMessage) Descriptor() ([]byte, []int)
Deprecated: Use CloudshellMessage.ProtoReflect.Descriptor instead.
func (*CloudshellMessage) GetFileExplorer ¶
func (x *CloudshellMessage) GetFileExplorer() *FileExplorerMessage
func (*CloudshellMessage) GetPayload ¶
func (x *CloudshellMessage) GetPayload() isCloudshellMessage_Payload
func (*CloudshellMessage) GetPing ¶
func (x *CloudshellMessage) GetPing() *PingMessage
func (*CloudshellMessage) GetPong ¶
func (x *CloudshellMessage) GetPong() *PongMessage
func (*CloudshellMessage) GetTerminalError ¶
func (x *CloudshellMessage) GetTerminalError() *TerminalErrorMessage
func (*CloudshellMessage) GetTerminalInput ¶
func (x *CloudshellMessage) GetTerminalInput() *TerminalInputMessage
func (*CloudshellMessage) GetTerminalOutput ¶
func (x *CloudshellMessage) GetTerminalOutput() *TerminalOutputMessage
func (*CloudshellMessage) GetTerminalResize ¶
func (x *CloudshellMessage) GetTerminalResize() *TerminalResizeMessage
func (*CloudshellMessage) ProtoMessage ¶
func (*CloudshellMessage) ProtoMessage()
func (*CloudshellMessage) ProtoReflect ¶
func (x *CloudshellMessage) ProtoReflect() protoreflect.Message
func (*CloudshellMessage) Reset ¶
func (x *CloudshellMessage) Reset()
func (*CloudshellMessage) String ¶
func (x *CloudshellMessage) String() string
type CloudshellMessage_FileExplorer ¶
type CloudshellMessage_FileExplorer struct {
FileExplorer *FileExplorerMessage `protobuf:"bytes,6,opt,name=file_explorer,json=fileExplorer,proto3,oneof"`
}
type CloudshellMessage_Ping ¶
type CloudshellMessage_Ping struct {
Ping *PingMessage `protobuf:"bytes,1,opt,name=ping,proto3,oneof"`
}
type CloudshellMessage_Pong ¶
type CloudshellMessage_Pong struct {
Pong *PongMessage `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}
type CloudshellMessage_TerminalError ¶
type CloudshellMessage_TerminalError struct {
TerminalError *TerminalErrorMessage `protobuf:"bytes,7,opt,name=terminal_error,json=terminalError,proto3,oneof"`
}
type CloudshellMessage_TerminalInput ¶
type CloudshellMessage_TerminalInput struct {
TerminalInput *TerminalInputMessage `protobuf:"bytes,3,opt,name=terminal_input,json=terminalInput,proto3,oneof"`
}
type CloudshellMessage_TerminalOutput ¶
type CloudshellMessage_TerminalOutput struct {
TerminalOutput *TerminalOutputMessage `protobuf:"bytes,4,opt,name=terminal_output,json=terminalOutput,proto3,oneof"`
}
type CloudshellMessage_TerminalResize ¶
type CloudshellMessage_TerminalResize struct {
TerminalResize *TerminalResizeMessage `protobuf:"bytes,5,opt,name=terminal_resize,json=terminalResize,proto3,oneof"`
}
type FileExplorerCommand ¶
type FileExplorerCommand struct {
// Types that are valid to be assigned to Payload:
//
// *FileExplorerCommand_ListFiles
// *FileExplorerCommand_MakeDirectory
// *FileExplorerCommand_Remove
// *FileExplorerCommand_GetCwd
Payload isFileExplorerCommand_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
FileExplorerCommand represents a command sent from the client to the server in the file explorer component.
func (*FileExplorerCommand) Descriptor
deprecated
func (*FileExplorerCommand) Descriptor() ([]byte, []int)
Deprecated: Use FileExplorerCommand.ProtoReflect.Descriptor instead.
func (*FileExplorerCommand) GetGetCwd ¶
func (x *FileExplorerCommand) GetGetCwd() *GetCWDCommand
func (*FileExplorerCommand) GetListFiles ¶
func (x *FileExplorerCommand) GetListFiles() *ListFilesCommand
func (*FileExplorerCommand) GetMakeDirectory ¶
func (x *FileExplorerCommand) GetMakeDirectory() *MakeDirectoryCommand
func (*FileExplorerCommand) GetPayload ¶
func (x *FileExplorerCommand) GetPayload() isFileExplorerCommand_Payload
func (*FileExplorerCommand) GetRemove ¶
func (x *FileExplorerCommand) GetRemove() *RemoveCommand
func (*FileExplorerCommand) ProtoMessage ¶
func (*FileExplorerCommand) ProtoMessage()
func (*FileExplorerCommand) ProtoReflect ¶
func (x *FileExplorerCommand) ProtoReflect() protoreflect.Message
func (*FileExplorerCommand) Reset ¶
func (x *FileExplorerCommand) Reset()
func (*FileExplorerCommand) String ¶
func (x *FileExplorerCommand) String() string
type FileExplorerCommand_GetCwd ¶
type FileExplorerCommand_GetCwd struct {
GetCwd *GetCWDCommand `protobuf:"bytes,4,opt,name=get_cwd,json=getCwd,proto3,oneof"`
}
type FileExplorerCommand_ListFiles ¶
type FileExplorerCommand_ListFiles struct {
ListFiles *ListFilesCommand `protobuf:"bytes,1,opt,name=list_files,json=listFiles,proto3,oneof"`
}
type FileExplorerCommand_MakeDirectory ¶
type FileExplorerCommand_MakeDirectory struct {
MakeDirectory *MakeDirectoryCommand `protobuf:"bytes,2,opt,name=make_directory,json=makeDirectory,proto3,oneof"`
}
type FileExplorerCommand_Remove ¶
type FileExplorerCommand_Remove struct {
Remove *RemoveCommand `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
}
type FileExplorerMessage ¶
type FileExplorerMessage struct {
// Id is used to correlate commands and responses between the client and server.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Types that are valid to be assigned to Payload:
//
// *FileExplorerMessage_Command
// *FileExplorerMessage_Response
Payload isFileExplorerMessage_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
FileExplorerMessage is used for both commands and responses in the file explorer component.
func (*FileExplorerMessage) Descriptor
deprecated
func (*FileExplorerMessage) Descriptor() ([]byte, []int)
Deprecated: Use FileExplorerMessage.ProtoReflect.Descriptor instead.
func (*FileExplorerMessage) GetCommand ¶
func (x *FileExplorerMessage) GetCommand() *FileExplorerCommand
func (*FileExplorerMessage) GetId ¶
func (x *FileExplorerMessage) GetId() string
func (*FileExplorerMessage) GetPayload ¶
func (x *FileExplorerMessage) GetPayload() isFileExplorerMessage_Payload
func (*FileExplorerMessage) GetResponse ¶
func (x *FileExplorerMessage) GetResponse() *FileExplorerResponse
func (*FileExplorerMessage) ProtoMessage ¶
func (*FileExplorerMessage) ProtoMessage()
func (*FileExplorerMessage) ProtoReflect ¶
func (x *FileExplorerMessage) ProtoReflect() protoreflect.Message
func (*FileExplorerMessage) Reset ¶
func (x *FileExplorerMessage) Reset()
func (*FileExplorerMessage) String ¶
func (x *FileExplorerMessage) String() string
type FileExplorerMessage_Command ¶
type FileExplorerMessage_Command struct {
Command *FileExplorerCommand `protobuf:"bytes,2,opt,name=command,proto3,oneof"`
}
type FileExplorerMessage_Response ¶
type FileExplorerMessage_Response struct {
Response *FileExplorerResponse `protobuf:"bytes,3,opt,name=response,proto3,oneof"`
}
type FileExplorerResponse ¶
type FileExplorerResponse struct {
// Types that are valid to be assigned to Payload:
//
// *FileExplorerResponse_ListFiles
// *FileExplorerResponse_MakeDirectory
// *FileExplorerResponse_Remove
// *FileExplorerResponse_GetCwd
Payload isFileExplorerResponse_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
FileExplorerResponse represents a response sent from the server to the client in the file explorer component.
func (*FileExplorerResponse) Descriptor
deprecated
func (*FileExplorerResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileExplorerResponse.ProtoReflect.Descriptor instead.
func (*FileExplorerResponse) GetGetCwd ¶
func (x *FileExplorerResponse) GetGetCwd() *GetCWDResponse
func (*FileExplorerResponse) GetListFiles ¶
func (x *FileExplorerResponse) GetListFiles() *ListFilesResponse
func (*FileExplorerResponse) GetMakeDirectory ¶
func (x *FileExplorerResponse) GetMakeDirectory() *MakeDirectoryResponse
func (*FileExplorerResponse) GetPayload ¶
func (x *FileExplorerResponse) GetPayload() isFileExplorerResponse_Payload
func (*FileExplorerResponse) GetRemove ¶
func (x *FileExplorerResponse) GetRemove() *RemoveResponse
func (*FileExplorerResponse) ProtoMessage ¶
func (*FileExplorerResponse) ProtoMessage()
func (*FileExplorerResponse) ProtoReflect ¶
func (x *FileExplorerResponse) ProtoReflect() protoreflect.Message
func (*FileExplorerResponse) Reset ¶
func (x *FileExplorerResponse) Reset()
func (*FileExplorerResponse) String ¶
func (x *FileExplorerResponse) String() string
type FileExplorerResponse_GetCwd ¶
type FileExplorerResponse_GetCwd struct {
GetCwd *GetCWDResponse `protobuf:"bytes,4,opt,name=get_cwd,json=getCwd,proto3,oneof"`
}
type FileExplorerResponse_ListFiles ¶
type FileExplorerResponse_ListFiles struct {
ListFiles *ListFilesResponse `protobuf:"bytes,1,opt,name=list_files,json=listFiles,proto3,oneof"`
}
type FileExplorerResponse_MakeDirectory ¶
type FileExplorerResponse_MakeDirectory struct {
MakeDirectory *MakeDirectoryResponse `protobuf:"bytes,2,opt,name=make_directory,json=makeDirectory,proto3,oneof"`
}
type FileExplorerResponse_Remove ¶
type FileExplorerResponse_Remove struct {
Remove *RemoveResponse `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
}
type FileInfo ¶
type FileInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
IsDir bool `protobuf:"varint,5,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"`
ModTime string `protobuf:"bytes,6,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"`
// contains filtered or unexported fields
}
FileInfo represents information about a file or directory.
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetModTime ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type GetCWDCommand ¶
type GetCWDCommand struct {
// contains filtered or unexported fields
}
GetCWDCommand is sent by the client to request the current working directory of the terminal session. The terminal session is currently held on server side and identified by the connection, so no additional fields are needed in the request.
func (*GetCWDCommand) Descriptor
deprecated
func (*GetCWDCommand) Descriptor() ([]byte, []int)
Deprecated: Use GetCWDCommand.ProtoReflect.Descriptor instead.
func (*GetCWDCommand) ProtoMessage ¶
func (*GetCWDCommand) ProtoMessage()
func (*GetCWDCommand) ProtoReflect ¶
func (x *GetCWDCommand) ProtoReflect() protoreflect.Message
func (*GetCWDCommand) Reset ¶
func (x *GetCWDCommand) Reset()
func (*GetCWDCommand) String ¶
func (x *GetCWDCommand) 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 GetCWDCommand, 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 ListFilesCommand ¶
type ListFilesCommand struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
ShowHidden bool `protobuf:"varint,2,opt,name=show_hidden,json=showHidden,proto3" json:"show_hidden,omitempty"`
// contains filtered or unexported fields
}
ListFilesCommand is a command to list files in a directory.
func (*ListFilesCommand) Descriptor
deprecated
func (*ListFilesCommand) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesCommand.ProtoReflect.Descriptor instead.
func (*ListFilesCommand) GetPath ¶
func (x *ListFilesCommand) GetPath() string
func (*ListFilesCommand) GetShowHidden ¶
func (x *ListFilesCommand) GetShowHidden() bool
func (*ListFilesCommand) ProtoMessage ¶
func (*ListFilesCommand) ProtoMessage()
func (*ListFilesCommand) ProtoReflect ¶
func (x *ListFilesCommand) ProtoReflect() protoreflect.Message
func (*ListFilesCommand) Reset ¶
func (x *ListFilesCommand) Reset()
func (*ListFilesCommand) String ¶
func (x *ListFilesCommand) String() string
type ListFilesResponse ¶
type ListFilesResponse struct {
Files []*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
Error *string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
// contains filtered or unexported fields
}
ListFilesResponse is a response containing the list of files in a directory.
func (*ListFilesResponse) Descriptor
deprecated
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (*ListFilesResponse) GetError ¶
func (x *ListFilesResponse) GetError() string
func (*ListFilesResponse) GetFiles ¶
func (x *ListFilesResponse) GetFiles() []*FileInfo
func (*ListFilesResponse) ProtoMessage ¶
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) ProtoReflect ¶
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (*ListFilesResponse) Reset ¶
func (x *ListFilesResponse) Reset()
func (*ListFilesResponse) String ¶
func (x *ListFilesResponse) String() string
type MakeDirectoryCommand ¶
type MakeDirectoryCommand struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
MakeDirectoryCommand is used to create a directory in `path` which name is `name`
func (*MakeDirectoryCommand) Descriptor
deprecated
func (*MakeDirectoryCommand) Descriptor() ([]byte, []int)
Deprecated: Use MakeDirectoryCommand.ProtoReflect.Descriptor instead.
func (*MakeDirectoryCommand) GetName ¶
func (x *MakeDirectoryCommand) GetName() string
func (*MakeDirectoryCommand) GetPath ¶
func (x *MakeDirectoryCommand) GetPath() string
func (*MakeDirectoryCommand) ProtoMessage ¶
func (*MakeDirectoryCommand) ProtoMessage()
func (*MakeDirectoryCommand) ProtoReflect ¶
func (x *MakeDirectoryCommand) ProtoReflect() protoreflect.Message
func (*MakeDirectoryCommand) Reset ¶
func (x *MakeDirectoryCommand) Reset()
func (*MakeDirectoryCommand) String ¶
func (x *MakeDirectoryCommand) String() string
type MakeDirectoryResponse ¶
type MakeDirectoryResponse struct {
Error *string `protobuf:"bytes,1,opt,name=error,proto3,oneof" json:"error,omitempty"`
// contains filtered or unexported fields
}
MakeDirectoryResponse represents response to MakeDirectoryCommand. When error is empty, the command was successful
func (*MakeDirectoryResponse) Descriptor
deprecated
func (*MakeDirectoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use MakeDirectoryResponse.ProtoReflect.Descriptor instead.
func (*MakeDirectoryResponse) GetError ¶
func (x *MakeDirectoryResponse) GetError() string
func (*MakeDirectoryResponse) ProtoMessage ¶
func (*MakeDirectoryResponse) ProtoMessage()
func (*MakeDirectoryResponse) ProtoReflect ¶
func (x *MakeDirectoryResponse) ProtoReflect() protoreflect.Message
func (*MakeDirectoryResponse) Reset ¶
func (x *MakeDirectoryResponse) Reset()
func (*MakeDirectoryResponse) String ¶
func (x *MakeDirectoryResponse) 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 RemoveCommand ¶
type RemoveCommand struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
RemoveCommand is used to remove a file or directory specified by `path`. When `path` is a directory, it removes all files in it and the specified directory.
func (*RemoveCommand) Descriptor
deprecated
func (*RemoveCommand) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCommand.ProtoReflect.Descriptor instead.
func (*RemoveCommand) GetPath ¶
func (x *RemoveCommand) GetPath() string
func (*RemoveCommand) ProtoMessage ¶
func (*RemoveCommand) ProtoMessage()
func (*RemoveCommand) ProtoReflect ¶
func (x *RemoveCommand) ProtoReflect() protoreflect.Message
func (*RemoveCommand) Reset ¶
func (x *RemoveCommand) Reset()
func (*RemoveCommand) String ¶
func (x *RemoveCommand) String() string
type RemoveResponse ¶
type RemoveResponse struct {
Error *string `protobuf:"bytes,1,opt,name=error,proto3,oneof" json:"error,omitempty"`
// contains filtered or unexported fields
}
RemoveResponse represents response to RemoveCommand. When error is empty, the command was successful.
func (*RemoveResponse) Descriptor
deprecated
func (*RemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.
func (*RemoveResponse) GetError ¶
func (x *RemoveResponse) GetError() string
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) ProtoReflect ¶
func (x *RemoveResponse) ProtoReflect() protoreflect.Message
func (*RemoveResponse) Reset ¶
func (x *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (x *RemoveResponse) 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