k8shelldv1

package
v0.30.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SystemService_Handshake_FullMethodName  = "/k8shelld.SystemService/Handshake"
	SystemService_SystemInfo_FullMethodName = "/k8shelld.SystemService/SystemInfo"
)
View Source
const (
	SshService_Shell_FullMethodName          = "/k8shelld.SshService/Shell"
	SshService_ResizeTerminal_FullMethodName = "/k8shelld.SshService/ResizeTerminal"
	SshService_PortForward_FullMethodName    = "/k8shelld.SshService/PortForward"
	SshService_Exec_FullMethodName           = "/k8shelld.SshService/Exec"
	SshService_UnixSocket_FullMethodName     = "/k8shelld.SshService/UnixSocket"
	SshService_GetCWD_FullMethodName         = "/k8shelld.SshService/GetCWD"
	SshService_AcquireSession_FullMethodName = "/k8shelld.SshService/AcquireSession"
)
View Source
const (
	AppService_ListApps_FullMethodName      = "/k8shelld.AppService/ListApps"
	AppService_InstallApp_FullMethodName    = "/k8shelld.AppService/InstallApp"
	AppService_StartApp_FullMethodName      = "/k8shelld.AppService/StartApp"
	AppService_StopApp_FullMethodName       = "/k8shelld.AppService/StopApp"
	AppService_GetLogs_FullMethodName       = "/k8shelld.AppService/GetLogs"
	AppService_GetLogsStream_FullMethodName = "/k8shelld.AppService/GetLogsStream"
)
View Source
const (
	CommandService_CommandListener_FullMethodName = "/k8shelld.CommandService/CommandListener"
)

Variables

View Source
var (
	AcquireSessionFailureReason_name = map[int32]string{
		0: "ACQUIRE_SESSION_FAILURE_REASON_UNSPECIFIED",
		1: "ACQUIRE_SESSION_FAILURE_REASON_NOT_FOUND",
		2: "ACQUIRE_SESSION_FAILURE_REASON_ALREADY_ACQUIRED",
	}
	AcquireSessionFailureReason_value = map[string]int32{
		"ACQUIRE_SESSION_FAILURE_REASON_UNSPECIFIED":      0,
		"ACQUIRE_SESSION_FAILURE_REASON_NOT_FOUND":        1,
		"ACQUIRE_SESSION_FAILURE_REASON_ALREADY_ACQUIRED": 2,
	}
)

Enum value maps for AcquireSessionFailureReason.

View Source
var (
	UnixSocketMode_name = map[int32]string{
		0: "UNIX_SOCKET_MODE_LISTEN",
		1: "UNIX_SOCKET_MODE_DIAL",
	}
	UnixSocketMode_value = map[string]int32{
		"UNIX_SOCKET_MODE_LISTEN": 0,
		"UNIX_SOCKET_MODE_DIAL":   1,
	}
)

Enum value maps for UnixSocketMode.

View Source
var (
	LogType_name = map[int32]string{
		0: "LOG_TYPE_APP",
		1: "LOG_TYPE_INSTALL",
	}
	LogType_value = map[string]int32{
		"LOG_TYPE_APP":     0,
		"LOG_TYPE_INSTALL": 1,
	}
)

Enum value maps for LogType.

View Source
var AppService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "k8shelld.AppService",
	HandlerType: (*AppServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListApps",
			Handler:    _AppService_ListApps_Handler,
		},
		{
			MethodName: "InstallApp",
			Handler:    _AppService_InstallApp_Handler,
		},
		{
			MethodName: "StartApp",
			Handler:    _AppService_StartApp_Handler,
		},
		{
			MethodName: "StopApp",
			Handler:    _AppService_StopApp_Handler,
		},
		{
			MethodName: "GetLogs",
			Handler:    _AppService_GetLogs_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetLogsStream",
			Handler:       _AppService_GetLogsStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "k8shelld/v1/k8shelld.proto",
}

AppService_ServiceDesc is the grpc.ServiceDesc for AppService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CommandService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "k8shelld.CommandService",
	HandlerType: (*CommandServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "CommandListener",
			Handler:       _CommandService_CommandListener_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "k8shelld/v1/k8shelld.proto",
}

CommandService_ServiceDesc is the grpc.ServiceDesc for CommandService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_k8shelld_v1_k8shelld_proto protoreflect.FileDescriptor
View Source
var SshService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "k8shelld.SshService",
	HandlerType: (*SshServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ResizeTerminal",
			Handler:    _SshService_ResizeTerminal_Handler,
		},
		{
			MethodName: "GetCWD",
			Handler:    _SshService_GetCWD_Handler,
		},
		{
			MethodName: "AcquireSession",
			Handler:    _SshService_AcquireSession_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Shell",
			Handler:       _SshService_Shell_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "PortForward",
			Handler:       _SshService_PortForward_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "Exec",
			Handler:       _SshService_Exec_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "UnixSocket",
			Handler:       _SshService_UnixSocket_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "k8shelld/v1/k8shelld.proto",
}

SshService_ServiceDesc is the grpc.ServiceDesc for SshService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SystemService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "k8shelld.SystemService",
	HandlerType: (*SystemServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Handshake",
			Handler:    _SystemService_Handshake_Handler,
		},
		{
			MethodName: "SystemInfo",
			Handler:    _SystemService_SystemInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "k8shelld/v1/k8shelld.proto",
}

SystemService_ServiceDesc is the grpc.ServiceDesc for SystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAppServiceServer

func RegisterAppServiceServer(s grpc.ServiceRegistrar, srv AppServiceServer)

func RegisterCommandServiceServer

func RegisterCommandServiceServer(s grpc.ServiceRegistrar, srv CommandServiceServer)

func RegisterSshServiceServer

func RegisterSshServiceServer(s grpc.ServiceRegistrar, srv SshServiceServer)

func RegisterSystemServiceServer

func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)

Types

type AcquireSessionFailureReason

type AcquireSessionFailureReason int32

Failure reason for AcquireSession

const (
	AcquireSessionFailureReason_ACQUIRE_SESSION_FAILURE_REASON_UNSPECIFIED      AcquireSessionFailureReason = 0
	AcquireSessionFailureReason_ACQUIRE_SESSION_FAILURE_REASON_NOT_FOUND        AcquireSessionFailureReason = 1 // Session does not exist
	AcquireSessionFailureReason_ACQUIRE_SESSION_FAILURE_REASON_ALREADY_ACQUIRED AcquireSessionFailureReason = 2 // Session is already held by another client
)

func (AcquireSessionFailureReason) Descriptor

func (AcquireSessionFailureReason) Enum

func (AcquireSessionFailureReason) EnumDescriptor deprecated

func (AcquireSessionFailureReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use AcquireSessionFailureReason.Descriptor instead.

func (AcquireSessionFailureReason) Number

func (AcquireSessionFailureReason) String

func (AcquireSessionFailureReason) Type

type AcquireSessionRequest

type AcquireSessionRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // ID of the shell session to acquire
	// contains filtered or unexported fields
}

AcquireSessionRequest message

func (*AcquireSessionRequest) Descriptor deprecated

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

Deprecated: Use AcquireSessionRequest.ProtoReflect.Descriptor instead.

func (*AcquireSessionRequest) GetSessionId

func (x *AcquireSessionRequest) GetSessionId() string

func (*AcquireSessionRequest) ProtoMessage

func (*AcquireSessionRequest) ProtoMessage()

func (*AcquireSessionRequest) ProtoReflect

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

func (*AcquireSessionRequest) Reset

func (x *AcquireSessionRequest) Reset()

func (*AcquireSessionRequest) String

func (x *AcquireSessionRequest) String() string

type AcquireSessionResponse

type AcquireSessionResponse struct {
	Success       bool                        `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`            // True if the session was acquired
	LockId        string                      `protobuf:"bytes,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // Lock ID to use when attaching (only set on success)
	FailureReason AcquireSessionFailureReason ``                                                                                // Reason for failure (only set on failure)
	/* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

AcquireSessionResponse message

func (*AcquireSessionResponse) Descriptor deprecated

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

Deprecated: Use AcquireSessionResponse.ProtoReflect.Descriptor instead.

func (*AcquireSessionResponse) GetFailureReason

func (*AcquireSessionResponse) GetLockId

func (x *AcquireSessionResponse) GetLockId() string

func (*AcquireSessionResponse) GetSuccess

func (x *AcquireSessionResponse) GetSuccess() bool

func (*AcquireSessionResponse) ProtoMessage

func (*AcquireSessionResponse) ProtoMessage()

func (*AcquireSessionResponse) ProtoReflect

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

func (*AcquireSessionResponse) Reset

func (x *AcquireSessionResponse) Reset()

func (*AcquireSessionResponse) String

func (x *AcquireSessionResponse) String() string

type AppServiceClient

type AppServiceClient interface {
	// List all apps and their status
	ListApps(ctx context.Context, in *ListAppsRequest, opts ...grpc.CallOption) (*ListAppsResponse, error)
	// Install an app (optionally force reinstall)
	InstallApp(ctx context.Context, in *InstallAppRequest, opts ...grpc.CallOption) (*InstallAppResponse, error)
	// Start an app
	StartApp(ctx context.Context, in *StartAppRequest, opts ...grpc.CallOption) (*StartAppResponse, error)
	// Stop an app
	StopApp(ctx context.Context, in *StopAppRequest, opts ...grpc.CallOption) (*StopAppResponse, error)
	// unary: return whole log as a single string
	GetLogs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (*GetLogsResponse, error)
	// streaming: tail logs line by line
	GetLogsStream(ctx context.Context, in *GetLogsStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetLogsStreamResponse], error)
}

AppServiceClient is the client API for AppService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAppServiceClient

func NewAppServiceClient(cc grpc.ClientConnInterface) AppServiceClient

type AppServiceServer

type AppServiceServer interface {
	// List all apps and their status
	ListApps(context.Context, *ListAppsRequest) (*ListAppsResponse, error)
	// Install an app (optionally force reinstall)
	InstallApp(context.Context, *InstallAppRequest) (*InstallAppResponse, error)
	// Start an app
	StartApp(context.Context, *StartAppRequest) (*StartAppResponse, error)
	// Stop an app
	StopApp(context.Context, *StopAppRequest) (*StopAppResponse, error)
	// unary: return whole log as a single string
	GetLogs(context.Context, *GetLogsRequest) (*GetLogsResponse, error)
	// streaming: tail logs line by line
	GetLogsStream(*GetLogsStreamRequest, grpc.ServerStreamingServer[GetLogsStreamResponse]) error
	// contains filtered or unexported methods
}

AppServiceServer is the server API for AppService service. All implementations must embed UnimplementedAppServiceServer for forward compatibility.

type AppService_GetLogsStreamClient

type AppService_GetLogsStreamClient = grpc.ServerStreamingClient[GetLogsStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type AppService_GetLogsStreamServer

type AppService_GetLogsStreamServer = grpc.ServerStreamingServer[GetLogsStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type AppStatus

type AppStatus struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status   string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Version  string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Port     int32  `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	Pid      int32  `protobuf:"varint,5,opt,name=pid,proto3" json:"pid,omitempty"`
	Age      string `protobuf:"bytes,6,opt,name=age,proto3" json:"age,omitempty"`
	Restarts int32  `protobuf:"varint,7,opt,name=restarts,proto3" json:"restarts,omitempty"`
	Protocol string `protobuf:"bytes,8,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*AppStatus) Descriptor deprecated

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

Deprecated: Use AppStatus.ProtoReflect.Descriptor instead.

func (*AppStatus) GetAge

func (x *AppStatus) GetAge() string

func (*AppStatus) GetName

func (x *AppStatus) GetName() string

func (*AppStatus) GetPid

func (x *AppStatus) GetPid() int32

func (*AppStatus) GetPort

func (x *AppStatus) GetPort() int32

func (*AppStatus) GetProtocol

func (x *AppStatus) GetProtocol() string

func (*AppStatus) GetRestarts

func (x *AppStatus) GetRestarts() int32

func (*AppStatus) GetStatus

func (x *AppStatus) GetStatus() string

func (*AppStatus) GetVersion

func (x *AppStatus) GetVersion() string

func (*AppStatus) ProtoMessage

func (*AppStatus) ProtoMessage()

func (*AppStatus) ProtoReflect

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

func (*AppStatus) Reset

func (x *AppStatus) Reset()

func (*AppStatus) String

func (x *AppStatus) String() string

type CommandDetails

type CommandDetails struct {
	AsUser      string   `protobuf:"bytes,1,opt,name=as_user,json=asUser,proto3" json:"as_user,omitempty"`                // User to run the command as (empty for default)
	Command     string   `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`                            // Initial command with arguments
	ShellBinary string   `protobuf:"bytes,3,opt,name=shell_binary,json=shellBinary,proto3" json:"shell_binary,omitempty"` // Optional shell binary to use (e.g., "/bin/sh"), empty for none
	EnvVars     []string `protobuf:"bytes,4,rep,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`             // Environment variables to be set for the command
	// contains filtered or unexported fields
}

Command details message

func (*CommandDetails) Descriptor deprecated

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

Deprecated: Use CommandDetails.ProtoReflect.Descriptor instead.

func (*CommandDetails) GetAsUser

func (x *CommandDetails) GetAsUser() string

func (*CommandDetails) GetCommand

func (x *CommandDetails) GetCommand() string

func (*CommandDetails) GetEnvVars

func (x *CommandDetails) GetEnvVars() []string

func (*CommandDetails) GetShellBinary

func (x *CommandDetails) GetShellBinary() string

func (*CommandDetails) ProtoMessage

func (*CommandDetails) ProtoMessage()

func (*CommandDetails) ProtoReflect

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

func (*CommandDetails) Reset

func (x *CommandDetails) Reset()

func (*CommandDetails) String

func (x *CommandDetails) String() string

type CommandMessage

type CommandMessage struct {
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
	// Types that are valid to be assigned to Payload:
	//
	//	*CommandMessage_Command
	//	*CommandMessage_Reply
	Payload isCommandMessage_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*CommandMessage) Descriptor deprecated

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

Deprecated: Use CommandMessage.ProtoReflect.Descriptor instead.

func (*CommandMessage) GetCommand

func (x *CommandMessage) GetCommand() string

func (*CommandMessage) GetCommandId

func (x *CommandMessage) GetCommandId() string

func (*CommandMessage) GetPayload

func (x *CommandMessage) GetPayload() isCommandMessage_Payload

func (*CommandMessage) GetReply

func (x *CommandMessage) GetReply() string

func (*CommandMessage) ProtoMessage

func (*CommandMessage) ProtoMessage()

func (*CommandMessage) ProtoReflect

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

func (*CommandMessage) Reset

func (x *CommandMessage) Reset()

func (*CommandMessage) String

func (x *CommandMessage) String() string

type CommandMessage_Command

type CommandMessage_Command struct {
	Command string `protobuf:"bytes,2,opt,name=command,proto3,oneof"`
}

type CommandMessage_Reply

type CommandMessage_Reply struct {
	Reply string `protobuf:"bytes,3,opt,name=reply,proto3,oneof"`
}

type CommandServiceClient

type CommandServiceClient interface {
	CommandListener(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[CommandMessage, CommandMessage], error)
}

CommandServiceClient is the client API for CommandService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CommandServiceServer

type CommandServiceServer interface {
	CommandListener(grpc.BidiStreamingServer[CommandMessage, CommandMessage]) error
	// contains filtered or unexported methods
}

CommandServiceServer is the server API for CommandService service. All implementations must embed UnimplementedCommandServiceServer for forward compatibility.

type CommandService_CommandListenerClient

type CommandService_CommandListenerClient = grpc.BidiStreamingClient[CommandMessage, CommandMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type CommandService_CommandListenerServer

type CommandService_CommandListenerServer = grpc.BidiStreamingServer[CommandMessage, CommandMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Destination

type Destination struct {
	Ip   string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`      // Destination IP address
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Destination port
	// contains filtered or unexported fields
}

Destination details message

func (*Destination) Descriptor deprecated

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

Deprecated: Use Destination.ProtoReflect.Descriptor instead.

func (*Destination) GetIp

func (x *Destination) GetIp() string

func (*Destination) GetPort

func (x *Destination) GetPort() uint32

func (*Destination) ProtoMessage

func (*Destination) ProtoMessage()

func (*Destination) ProtoReflect

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

func (*Destination) Reset

func (x *Destination) Reset()

func (*Destination) String

func (x *Destination) String() string

type DockerUsage

type DockerUsage struct {
	SocketPath            string `protobuf:"bytes,1,opt,name=socketPath,proto3" json:"socketPath,omitempty"`
	ApiVersion            string `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	DockerRootDir         string `protobuf:"bytes,3,opt,name=dockerRootDir,proto3" json:"dockerRootDir,omitempty"`
	ImagesBytes           uint64 `protobuf:"varint,10,opt,name=imagesBytes,proto3" json:"imagesBytes,omitempty"`
	ContainersBytes       uint64 `protobuf:"varint,11,opt,name=containersBytes,proto3" json:"containersBytes,omitempty"`
	ContainersRootFsBytes uint64 `protobuf:"varint,12,opt,name=containersRootFsBytes,proto3" json:"containersRootFsBytes,omitempty"`
	VolumesBytes          uint64 `protobuf:"varint,13,opt,name=volumesBytes,proto3" json:"volumesBytes,omitempty"`
	BuildCacheBytes       uint64 `protobuf:"varint,14,opt,name=buildCacheBytes,proto3" json:"buildCacheBytes,omitempty"`
	TotalBytes            uint64 `protobuf:"varint,15,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"`
	DeclaredSize          uint64 `protobuf:"varint,20,opt,name=declaredSize,proto3" json:"declaredSize,omitempty"`
	// contains filtered or unexported fields
}

DockerUsage message

func (*DockerUsage) Descriptor deprecated

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

Deprecated: Use DockerUsage.ProtoReflect.Descriptor instead.

func (*DockerUsage) GetApiVersion

func (x *DockerUsage) GetApiVersion() string

func (*DockerUsage) GetBuildCacheBytes

func (x *DockerUsage) GetBuildCacheBytes() uint64

func (*DockerUsage) GetContainersBytes

func (x *DockerUsage) GetContainersBytes() uint64

func (*DockerUsage) GetContainersRootFsBytes

func (x *DockerUsage) GetContainersRootFsBytes() uint64

func (*DockerUsage) GetDeclaredSize

func (x *DockerUsage) GetDeclaredSize() uint64

func (*DockerUsage) GetDockerRootDir

func (x *DockerUsage) GetDockerRootDir() string

func (*DockerUsage) GetImagesBytes

func (x *DockerUsage) GetImagesBytes() uint64

func (*DockerUsage) GetSocketPath

func (x *DockerUsage) GetSocketPath() string

func (*DockerUsage) GetTotalBytes

func (x *DockerUsage) GetTotalBytes() uint64

func (*DockerUsage) GetVolumesBytes

func (x *DockerUsage) GetVolumesBytes() uint64

func (*DockerUsage) ProtoMessage

func (*DockerUsage) ProtoMessage()

func (*DockerUsage) ProtoReflect

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

func (*DockerUsage) Reset

func (x *DockerUsage) Reset()

func (*DockerUsage) String

func (x *DockerUsage) String() string

type ExecRequest

type ExecRequest struct {

	// Types that are valid to be assigned to Request:
	//
	//	*ExecRequest_CommandDetails
	//	*ExecRequest_Input
	//	*ExecRequest_Signal
	Request isExecRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

Request for the Exec operation

func (*ExecRequest) Descriptor deprecated

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

Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.

func (*ExecRequest) GetCommandDetails

func (x *ExecRequest) GetCommandDetails() *CommandDetails

func (*ExecRequest) GetInput

func (x *ExecRequest) GetInput() []byte

func (*ExecRequest) GetRequest

func (x *ExecRequest) GetRequest() isExecRequest_Request

func (*ExecRequest) GetSignal

func (x *ExecRequest) GetSignal() string

func (*ExecRequest) ProtoMessage

func (*ExecRequest) ProtoMessage()

func (*ExecRequest) ProtoReflect

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

func (*ExecRequest) Reset

func (x *ExecRequest) Reset()

func (*ExecRequest) String

func (x *ExecRequest) String() string

type ExecRequest_CommandDetails

type ExecRequest_CommandDetails struct {
	CommandDetails *CommandDetails `protobuf:"bytes,1,opt,name=command_details,json=commandDetails,proto3,oneof"` // Command details including command and shell binary
}

type ExecRequest_Input

type ExecRequest_Input struct {
	Input []byte `protobuf:"bytes,2,opt,name=input,proto3,oneof"` // Input to send to the command
}

type ExecRequest_Signal

type ExecRequest_Signal struct {
	Signal string `protobuf:"bytes,3,opt,name=signal,proto3,oneof"` // Signal to send to the command
}

type ExecResponse

type ExecResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*ExecResponse_Stdout
	//	*ExecResponse_Stderr
	//	*ExecResponse_ExitCode
	Response isExecResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

Response for the Exec operation

func (*ExecResponse) Descriptor deprecated

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

Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.

func (*ExecResponse) GetExitCode

func (x *ExecResponse) GetExitCode() int32

func (*ExecResponse) GetResponse

func (x *ExecResponse) GetResponse() isExecResponse_Response

func (*ExecResponse) GetStderr

func (x *ExecResponse) GetStderr() []byte

func (*ExecResponse) GetStdout

func (x *ExecResponse) GetStdout() []byte

func (*ExecResponse) ProtoMessage

func (*ExecResponse) ProtoMessage()

func (*ExecResponse) ProtoReflect

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

func (*ExecResponse) Reset

func (x *ExecResponse) Reset()

func (*ExecResponse) String

func (x *ExecResponse) String() string

type ExecResponse_ExitCode

type ExecResponse_ExitCode struct {
	ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3,oneof"` // Exit code when the process exits
}

type ExecResponse_Stderr

type ExecResponse_Stderr struct {
	Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof"` // Standard error
}

type ExecResponse_Stdout

type ExecResponse_Stdout struct {
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"` // Standard output
}

type GetCWDRequest

type GetCWDRequest struct {
	ShellId string `protobuf:"bytes,1,opt,name=shell_id,json=shellId,proto3" json:"shell_id,omitempty"` // Shell session ID
	// contains filtered or unexported fields
}

GetCWDRequest message

func (*GetCWDRequest) Descriptor deprecated

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

Deprecated: Use GetCWDRequest.ProtoReflect.Descriptor instead.

func (*GetCWDRequest) GetShellId

func (x *GetCWDRequest) GetShellId() string

func (*GetCWDRequest) ProtoMessage

func (*GetCWDRequest) ProtoMessage()

func (*GetCWDRequest) ProtoReflect

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

func (*GetCWDRequest) Reset

func (x *GetCWDRequest) Reset()

func (*GetCWDRequest) String

func (x *GetCWDRequest) String() string

type GetCWDResponse

type GetCWDResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Current working directory path
	// contains filtered or unexported fields
}

GetCWDResponse message

func (*GetCWDResponse) Descriptor deprecated

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

Deprecated: Use GetCWDResponse.ProtoReflect.Descriptor instead.

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 GetLogsRequest

type GetLogsRequest struct {
	Name string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type LogType `protobuf:"varint,2,opt,name=type,proto3,enum=k8shelld.LogType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLogsRequest) Descriptor deprecated

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

Deprecated: Use GetLogsRequest.ProtoReflect.Descriptor instead.

func (*GetLogsRequest) GetName

func (x *GetLogsRequest) GetName() string

func (*GetLogsRequest) GetType

func (x *GetLogsRequest) GetType() LogType

func (*GetLogsRequest) ProtoMessage

func (*GetLogsRequest) ProtoMessage()

func (*GetLogsRequest) ProtoReflect

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

func (*GetLogsRequest) Reset

func (x *GetLogsRequest) Reset()

func (*GetLogsRequest) String

func (x *GetLogsRequest) String() string

type GetLogsResponse

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

func (*GetLogsResponse) Descriptor deprecated

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

Deprecated: Use GetLogsResponse.ProtoReflect.Descriptor instead.

func (*GetLogsResponse) GetLog

func (x *GetLogsResponse) GetLog() string

func (*GetLogsResponse) ProtoMessage

func (*GetLogsResponse) ProtoMessage()

func (*GetLogsResponse) ProtoReflect

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

func (*GetLogsResponse) Reset

func (x *GetLogsResponse) Reset()

func (*GetLogsResponse) String

func (x *GetLogsResponse) String() string

type GetLogsStreamRequest

type GetLogsStreamRequest struct {
	Name string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type LogType `protobuf:"varint,2,opt,name=type,proto3,enum=k8shelld.LogType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLogsStreamRequest) Descriptor deprecated

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

Deprecated: Use GetLogsStreamRequest.ProtoReflect.Descriptor instead.

func (*GetLogsStreamRequest) GetName

func (x *GetLogsStreamRequest) GetName() string

func (*GetLogsStreamRequest) GetType

func (x *GetLogsStreamRequest) GetType() LogType

func (*GetLogsStreamRequest) ProtoMessage

func (*GetLogsStreamRequest) ProtoMessage()

func (*GetLogsStreamRequest) ProtoReflect

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

func (*GetLogsStreamRequest) Reset

func (x *GetLogsStreamRequest) Reset()

func (*GetLogsStreamRequest) String

func (x *GetLogsStreamRequest) String() string

type GetLogsStreamResponse

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

func (*GetLogsStreamResponse) Descriptor deprecated

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

Deprecated: Use GetLogsStreamResponse.ProtoReflect.Descriptor instead.

func (*GetLogsStreamResponse) GetLine

func (x *GetLogsStreamResponse) GetLine() string

func (*GetLogsStreamResponse) ProtoMessage

func (*GetLogsStreamResponse) ProtoMessage()

func (*GetLogsStreamResponse) ProtoReflect

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

func (*GetLogsStreamResponse) Reset

func (x *GetLogsStreamResponse) Reset()

func (*GetLogsStreamResponse) String

func (x *GetLogsStreamResponse) String() string

type HandshakeRequest

type HandshakeRequest struct {
	ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	UserToken     string `protobuf:"bytes,2,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"`
	// contains filtered or unexported fields
}

HandshakeRequest message

func (*HandshakeRequest) Descriptor deprecated

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

Deprecated: Use HandshakeRequest.ProtoReflect.Descriptor instead.

func (*HandshakeRequest) GetClientVersion

func (x *HandshakeRequest) GetClientVersion() string

func (*HandshakeRequest) GetUserToken

func (x *HandshakeRequest) GetUserToken() string

func (*HandshakeRequest) ProtoMessage

func (*HandshakeRequest) ProtoMessage()

func (*HandshakeRequest) ProtoReflect

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

func (*HandshakeRequest) Reset

func (x *HandshakeRequest) Reset()

func (*HandshakeRequest) String

func (x *HandshakeRequest) String() string

type HandshakeResponse

type HandshakeResponse struct {
	ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	Accepted      bool   `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
	Message       string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

HandshakeResponse message

func (*HandshakeResponse) Descriptor deprecated

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

Deprecated: Use HandshakeResponse.ProtoReflect.Descriptor instead.

func (*HandshakeResponse) GetAccepted

func (x *HandshakeResponse) GetAccepted() bool

func (*HandshakeResponse) GetMessage

func (x *HandshakeResponse) GetMessage() string

func (*HandshakeResponse) GetServerVersion

func (x *HandshakeResponse) GetServerVersion() string

func (*HandshakeResponse) ProtoMessage

func (*HandshakeResponse) ProtoMessage()

func (*HandshakeResponse) ProtoReflect

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

func (*HandshakeResponse) Reset

func (x *HandshakeResponse) Reset()

func (*HandshakeResponse) String

func (x *HandshakeResponse) String() string

type InstallAppRequest

type InstallAppRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Force bool   `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallAppRequest) Descriptor deprecated

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

Deprecated: Use InstallAppRequest.ProtoReflect.Descriptor instead.

func (*InstallAppRequest) GetForce

func (x *InstallAppRequest) GetForce() bool

func (*InstallAppRequest) GetName

func (x *InstallAppRequest) GetName() string

func (*InstallAppRequest) ProtoMessage

func (*InstallAppRequest) ProtoMessage()

func (*InstallAppRequest) ProtoReflect

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

func (*InstallAppRequest) Reset

func (x *InstallAppRequest) Reset()

func (*InstallAppRequest) String

func (x *InstallAppRequest) String() string

type InstallAppResponse

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

func (*InstallAppResponse) Descriptor deprecated

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

Deprecated: Use InstallAppResponse.ProtoReflect.Descriptor instead.

func (*InstallAppResponse) ProtoMessage

func (*InstallAppResponse) ProtoMessage()

func (*InstallAppResponse) ProtoReflect

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

func (*InstallAppResponse) Reset

func (x *InstallAppResponse) Reset()

func (*InstallAppResponse) String

func (x *InstallAppResponse) String() string

type ListAppsRequest

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

func (*ListAppsRequest) Descriptor deprecated

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

Deprecated: Use ListAppsRequest.ProtoReflect.Descriptor instead.

func (*ListAppsRequest) ProtoMessage

func (*ListAppsRequest) ProtoMessage()

func (*ListAppsRequest) ProtoReflect

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

func (*ListAppsRequest) Reset

func (x *ListAppsRequest) Reset()

func (*ListAppsRequest) String

func (x *ListAppsRequest) String() string

type ListAppsResponse

type ListAppsResponse struct {
	Apps []*AppStatus `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppsResponse) Descriptor deprecated

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

Deprecated: Use ListAppsResponse.ProtoReflect.Descriptor instead.

func (*ListAppsResponse) GetApps

func (x *ListAppsResponse) GetApps() []*AppStatus

func (*ListAppsResponse) ProtoMessage

func (*ListAppsResponse) ProtoMessage()

func (*ListAppsResponse) ProtoReflect

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

func (*ListAppsResponse) Reset

func (x *ListAppsResponse) Reset()

func (*ListAppsResponse) String

func (x *ListAppsResponse) String() string

type LogType

type LogType int32

Which log to return

const (
	LogType_LOG_TYPE_APP     LogType = 0 // runtime app log
	LogType_LOG_TYPE_INSTALL LogType = 1 // install log
)

func (LogType) Descriptor

func (LogType) Descriptor() protoreflect.EnumDescriptor

func (LogType) Enum

func (x LogType) Enum() *LogType

func (LogType) EnumDescriptor deprecated

func (LogType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogType.Descriptor instead.

func (LogType) Number

func (x LogType) Number() protoreflect.EnumNumber

func (LogType) String

func (x LogType) String() string

func (LogType) Type

func (LogType) Type() protoreflect.EnumType

type MountUsage

type MountUsage struct {
	MountPoint     string   `protobuf:"bytes,1,opt,name=mountPoint,proto3" json:"mountPoint,omitempty"`
	Source         string   `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	FsType         string   `protobuf:"bytes,3,opt,name=fsType,proto3" json:"fsType,omitempty"`
	Options        []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
	ReadOnly       bool     `protobuf:"varint,5,opt,name=readOnly,proto3" json:"readOnly,omitempty"`
	IsLikelyTemp   bool     `protobuf:"varint,6,opt,name=isLikelyTemp,proto3" json:"isLikelyTemp,omitempty"`
	TotalBytes     uint64   `protobuf:"varint,10,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"`
	UsedBytes      uint64   `protobuf:"varint,11,opt,name=usedBytes,proto3" json:"usedBytes,omitempty"`
	FreeBytes      uint64   `protobuf:"varint,12,opt,name=freeBytes,proto3" json:"freeBytes,omitempty"`
	AvailableBytes uint64   `protobuf:"varint,13,opt,name=availableBytes,proto3" json:"availableBytes,omitempty"`
	TotalInodes    uint64   `protobuf:"varint,14,opt,name=totalInodes,proto3" json:"totalInodes,omitempty"`
	FreeInodes     uint64   `protobuf:"varint,15,opt,name=freeInodes,proto3" json:"freeInodes,omitempty"`
	DeclaredSize   uint64   `protobuf:"varint,20,opt,name=declaredSize,proto3" json:"declaredSize,omitempty"`
	// contains filtered or unexported fields
}

MountUsage message

func (*MountUsage) Descriptor deprecated

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

Deprecated: Use MountUsage.ProtoReflect.Descriptor instead.

func (*MountUsage) GetAvailableBytes

func (x *MountUsage) GetAvailableBytes() uint64

func (*MountUsage) GetDeclaredSize

func (x *MountUsage) GetDeclaredSize() uint64

func (*MountUsage) GetFreeBytes

func (x *MountUsage) GetFreeBytes() uint64

func (*MountUsage) GetFreeInodes

func (x *MountUsage) GetFreeInodes() uint64

func (*MountUsage) GetFsType

func (x *MountUsage) GetFsType() string

func (*MountUsage) GetIsLikelyTemp

func (x *MountUsage) GetIsLikelyTemp() bool

func (*MountUsage) GetMountPoint

func (x *MountUsage) GetMountPoint() string

func (*MountUsage) GetOptions

func (x *MountUsage) GetOptions() []string

func (*MountUsage) GetReadOnly

func (x *MountUsage) GetReadOnly() bool

func (*MountUsage) GetSource

func (x *MountUsage) GetSource() string

func (*MountUsage) GetTotalBytes

func (x *MountUsage) GetTotalBytes() uint64

func (*MountUsage) GetTotalInodes

func (x *MountUsage) GetTotalInodes() uint64

func (*MountUsage) GetUsedBytes

func (x *MountUsage) GetUsedBytes() uint64

func (*MountUsage) ProtoMessage

func (*MountUsage) ProtoMessage()

func (*MountUsage) ProtoReflect

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

func (*MountUsage) Reset

func (x *MountUsage) Reset()

func (*MountUsage) String

func (x *MountUsage) String() string

type PortForwardRequest

type PortForwardRequest struct {

	// Types that are valid to be assigned to Request:
	//
	//	*PortForwardRequest_Destination
	//	*PortForwardRequest_Data
	Request isPortForwardRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

Request for the PortForward operation

func (*PortForwardRequest) Descriptor deprecated

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

Deprecated: Use PortForwardRequest.ProtoReflect.Descriptor instead.

func (*PortForwardRequest) GetData

func (x *PortForwardRequest) GetData() []byte

func (*PortForwardRequest) GetDestination

func (x *PortForwardRequest) GetDestination() *Destination

func (*PortForwardRequest) GetRequest

func (x *PortForwardRequest) GetRequest() isPortForwardRequest_Request

func (*PortForwardRequest) ProtoMessage

func (*PortForwardRequest) ProtoMessage()

func (*PortForwardRequest) ProtoReflect

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

func (*PortForwardRequest) Reset

func (x *PortForwardRequest) Reset()

func (*PortForwardRequest) String

func (x *PortForwardRequest) String() string

type PortForwardRequest_Data

type PortForwardRequest_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"` // Data to send to the destination
}

type PortForwardRequest_Destination

type PortForwardRequest_Destination struct {
	Destination *Destination `protobuf:"bytes,1,opt,name=destination,proto3,oneof"` // Destination details
}

type PortForwardResponse

type PortForwardResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Data received from the destination
	// contains filtered or unexported fields
}

Response for the PortForward operation

func (*PortForwardResponse) Descriptor deprecated

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

Deprecated: Use PortForwardResponse.ProtoReflect.Descriptor instead.

func (*PortForwardResponse) GetData

func (x *PortForwardResponse) GetData() []byte

func (*PortForwardResponse) ProtoMessage

func (*PortForwardResponse) ProtoMessage()

func (*PortForwardResponse) ProtoReflect

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

func (*PortForwardResponse) Reset

func (x *PortForwardResponse) Reset()

func (*PortForwardResponse) String

func (x *PortForwardResponse) String() string

type ResizeTerminalRequest

type ResizeTerminalRequest struct {
	Width  uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`   // Terminal width
	Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // Terminal height
	// contains filtered or unexported fields
}

ResizeTerminalRequest message

func (*ResizeTerminalRequest) Descriptor deprecated

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

Deprecated: Use ResizeTerminalRequest.ProtoReflect.Descriptor instead.

func (*ResizeTerminalRequest) GetHeight

func (x *ResizeTerminalRequest) GetHeight() uint32

func (*ResizeTerminalRequest) GetWidth

func (x *ResizeTerminalRequest) GetWidth() uint32

func (*ResizeTerminalRequest) ProtoMessage

func (*ResizeTerminalRequest) ProtoMessage()

func (*ResizeTerminalRequest) ProtoReflect

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

func (*ResizeTerminalRequest) Reset

func (x *ResizeTerminalRequest) Reset()

func (*ResizeTerminalRequest) String

func (x *ResizeTerminalRequest) String() string

type ResizeTerminalResponse

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

ResizeTerminalResponse message

func (*ResizeTerminalResponse) Descriptor deprecated

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

Deprecated: Use ResizeTerminalResponse.ProtoReflect.Descriptor instead.

func (*ResizeTerminalResponse) ProtoMessage

func (*ResizeTerminalResponse) ProtoMessage()

func (*ResizeTerminalResponse) ProtoReflect

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

func (*ResizeTerminalResponse) Reset

func (x *ResizeTerminalResponse) Reset()

func (*ResizeTerminalResponse) String

func (x *ResizeTerminalResponse) String() string

type ShellRequest

type ShellRequest struct {

	// Types that are valid to be assigned to Request:
	//
	//	*ShellRequest_StartRequest
	//	*ShellRequest_Data
	Request isShellRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

ShellRequest message

func (*ShellRequest) Descriptor deprecated

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

Deprecated: Use ShellRequest.ProtoReflect.Descriptor instead.

func (*ShellRequest) GetData

func (x *ShellRequest) GetData() []byte

func (*ShellRequest) GetRequest

func (x *ShellRequest) GetRequest() isShellRequest_Request

func (*ShellRequest) GetStartRequest

func (x *ShellRequest) GetStartRequest() *ShellStartRequest

func (*ShellRequest) ProtoMessage

func (*ShellRequest) ProtoMessage()

func (*ShellRequest) ProtoReflect

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

func (*ShellRequest) Reset

func (x *ShellRequest) Reset()

func (*ShellRequest) String

func (x *ShellRequest) String() string

type ShellRequest_Data

type ShellRequest_Data struct {
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof"` // Data to send to the shell
}

type ShellRequest_StartRequest

type ShellRequest_StartRequest struct {
	StartRequest *ShellStartRequest `protobuf:"bytes,1,opt,name=start_request,json=startRequest,proto3,oneof"` // Start shell request
}

type ShellResponse

type ShellResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*ShellResponse_StartResponse
	//	*ShellResponse_Data
	//	*ShellResponse_Terminate
	Response isShellResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

ShellRequest message

func (*ShellResponse) Descriptor deprecated

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

Deprecated: Use ShellResponse.ProtoReflect.Descriptor instead.

func (*ShellResponse) GetData

func (x *ShellResponse) GetData() []byte

func (*ShellResponse) GetResponse

func (x *ShellResponse) GetResponse() isShellResponse_Response

func (*ShellResponse) GetStartResponse

func (x *ShellResponse) GetStartResponse() *ShellStartResponse

func (*ShellResponse) GetTerminate

func (x *ShellResponse) GetTerminate() bool

func (*ShellResponse) ProtoMessage

func (*ShellResponse) ProtoMessage()

func (*ShellResponse) ProtoReflect

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

func (*ShellResponse) Reset

func (x *ShellResponse) Reset()

func (*ShellResponse) String

func (x *ShellResponse) String() string

type ShellResponse_Data

type ShellResponse_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"` // Data received from the shell
}

type ShellResponse_StartResponse

type ShellResponse_StartResponse struct {
	StartResponse *ShellStartResponse `protobuf:"bytes,1,opt,name=start_response,json=startResponse,proto3,oneof"` // Start shell response
}

type ShellResponse_Terminate

type ShellResponse_Terminate struct {
	Terminate bool `protobuf:"varint,3,opt,name=terminate,proto3,oneof"` // Terminate the shell session
}

type ShellStartRequest

type ShellStartRequest struct {
	AsUser               string   `protobuf:"bytes,1,opt,name=as_user,json=asUser,proto3" json:"as_user,omitempty"`                         // User to run the shell as (empty for default)
	CmdShell             string   `protobuf:"bytes,2,opt,name=cmdShell,proto3" json:"cmdShell,omitempty"`                                   // Command to run the shell
	SetEnvVars           []string `protobuf:"bytes,3,rep,name=setEnvVars,proto3" json:"setEnvVars,omitempty"`                               // Environment variables to be set in the the shell
	UsePty               bool     `protobuf:"varint,4,opt,name=usePty,proto3" json:"usePty,omitempty"`                                      // True to use a pseudo-terminal
	Width                uint32   `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`                                        // Terminal width
	Height               uint32   `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`                                      // Terminal height
	ContainerRef         string   `protobuf:"bytes,7,opt,name=container_ref,json=containerRef,proto3" json:"container_ref,omitempty"`       // Container ID, name, or Compose service name; empty = local shell
	LockId               string   `protobuf:"bytes,8,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`                         // Lock ID from AcquireSession to attach to an existing session
	DetachOnClose        bool     `protobuf:"varint,9,opt,name=detach_on_close,json=detachOnClose,proto3" json:"detach_on_close,omitempty"` // true to continue the session after the client disconnects
	ShowInitScriptStatus bool     ``                                                                                                        // true to display init script execution status
	/* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

ShellStartRequest message

func (*ShellStartRequest) Descriptor deprecated

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

Deprecated: Use ShellStartRequest.ProtoReflect.Descriptor instead.

func (*ShellStartRequest) GetAsUser

func (x *ShellStartRequest) GetAsUser() string

func (*ShellStartRequest) GetCmdShell

func (x *ShellStartRequest) GetCmdShell() string

func (*ShellStartRequest) GetContainerRef

func (x *ShellStartRequest) GetContainerRef() string

func (*ShellStartRequest) GetDetachOnClose

func (x *ShellStartRequest) GetDetachOnClose() bool

func (*ShellStartRequest) GetHeight

func (x *ShellStartRequest) GetHeight() uint32

func (*ShellStartRequest) GetLockId

func (x *ShellStartRequest) GetLockId() string

func (*ShellStartRequest) GetSetEnvVars

func (x *ShellStartRequest) GetSetEnvVars() []string

func (*ShellStartRequest) GetShowInitScriptStatus

func (x *ShellStartRequest) GetShowInitScriptStatus() bool

func (*ShellStartRequest) GetUsePty

func (x *ShellStartRequest) GetUsePty() bool

func (*ShellStartRequest) GetWidth

func (x *ShellStartRequest) GetWidth() uint32

func (*ShellStartRequest) ProtoMessage

func (*ShellStartRequest) ProtoMessage()

func (*ShellStartRequest) ProtoReflect

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

func (*ShellStartRequest) Reset

func (x *ShellStartRequest) Reset()

func (*ShellStartRequest) String

func (x *ShellStartRequest) String() string

type ShellStartResponse

type ShellStartResponse struct {
	Pty string `protobuf:"bytes,1,opt,name=pty,proto3" json:"pty,omitempty"` // PTY name if a pseudo-terminal is used, empty otherwise
	// contains filtered or unexported fields
}

ShellStartResponse message

func (*ShellStartResponse) Descriptor deprecated

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

Deprecated: Use ShellStartResponse.ProtoReflect.Descriptor instead.

func (*ShellStartResponse) GetPty

func (x *ShellStartResponse) GetPty() string

func (*ShellStartResponse) ProtoMessage

func (*ShellStartResponse) ProtoMessage()

func (*ShellStartResponse) ProtoReflect

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

func (*ShellStartResponse) Reset

func (x *ShellStartResponse) Reset()

func (*ShellStartResponse) String

func (x *ShellStartResponse) String() string

type SshServiceClient

type SshServiceClient interface {
	// Shell starts a shell session
	Shell(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ShellRequest, ShellResponse], error)
	// ResizeTerminal resizes the terminal in a shell session
	ResizeTerminal(ctx context.Context, in *ResizeTerminalRequest, opts ...grpc.CallOption) (*ResizeTerminalResponse, error)
	// PortForward forwards a port to the specified destination IP and port
	PortForward(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[PortForwardRequest, PortForwardResponse], error)
	// Exec executes a command
	Exec(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ExecRequest, ExecResponse], error)
	// UnixSocket reads/writes to a Unix socket in the remote OS
	UnixSocket(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[UnixSocketRequest, UnixSocketResponse], error)
	// GetCWD gets the current working directory for a shell session
	GetCWD(ctx context.Context, in *GetCWDRequest, opts ...grpc.CallOption) (*GetCWDResponse, error)
	// AcquireSession acquires an existing shell session by session ID for attachment.
	// Returns a lock_id on success, or a failure reason if the session does not exist
	// or is already acquired.
	AcquireSession(ctx context.Context, in *AcquireSessionRequest, opts ...grpc.CallOption) (*AcquireSessionResponse, error)
}

SshServiceClient is the client API for SshService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewSshServiceClient

func NewSshServiceClient(cc grpc.ClientConnInterface) SshServiceClient

type SshServiceServer

type SshServiceServer interface {
	// Shell starts a shell session
	Shell(grpc.BidiStreamingServer[ShellRequest, ShellResponse]) error
	// ResizeTerminal resizes the terminal in a shell session
	ResizeTerminal(context.Context, *ResizeTerminalRequest) (*ResizeTerminalResponse, error)
	// PortForward forwards a port to the specified destination IP and port
	PortForward(grpc.BidiStreamingServer[PortForwardRequest, PortForwardResponse]) error
	// Exec executes a command
	Exec(grpc.BidiStreamingServer[ExecRequest, ExecResponse]) error
	// UnixSocket reads/writes to a Unix socket in the remote OS
	UnixSocket(grpc.BidiStreamingServer[UnixSocketRequest, UnixSocketResponse]) error
	// GetCWD gets the current working directory for a shell session
	GetCWD(context.Context, *GetCWDRequest) (*GetCWDResponse, error)
	// AcquireSession acquires an existing shell session by session ID for attachment.
	// Returns a lock_id on success, or a failure reason if the session does not exist
	// or is already acquired.
	AcquireSession(context.Context, *AcquireSessionRequest) (*AcquireSessionResponse, error)
	// contains filtered or unexported methods
}

SshServiceServer is the server API for SshService service. All implementations must embed UnimplementedSshServiceServer for forward compatibility.

type SshService_ExecClient

type SshService_ExecClient = grpc.BidiStreamingClient[ExecRequest, ExecResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SshService_ExecServer

type SshService_ExecServer = grpc.BidiStreamingServer[ExecRequest, ExecResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SshService_PortForwardClient

type SshService_PortForwardClient = grpc.BidiStreamingClient[PortForwardRequest, PortForwardResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SshService_PortForwardServer

type SshService_PortForwardServer = grpc.BidiStreamingServer[PortForwardRequest, PortForwardResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SshService_ShellClient

type SshService_ShellClient = grpc.BidiStreamingClient[ShellRequest, ShellResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SshService_ShellServer

type SshService_ShellServer = grpc.BidiStreamingServer[ShellRequest, ShellResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SshService_UnixSocketClient

type SshService_UnixSocketClient = grpc.BidiStreamingClient[UnixSocketRequest, UnixSocketResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SshService_UnixSocketServer

type SshService_UnixSocketServer = grpc.BidiStreamingServer[UnixSocketRequest, UnixSocketResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StartAppRequest

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

func (*StartAppRequest) Descriptor deprecated

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

Deprecated: Use StartAppRequest.ProtoReflect.Descriptor instead.

func (*StartAppRequest) GetName

func (x *StartAppRequest) GetName() string

func (*StartAppRequest) ProtoMessage

func (*StartAppRequest) ProtoMessage()

func (*StartAppRequest) ProtoReflect

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

func (*StartAppRequest) Reset

func (x *StartAppRequest) Reset()

func (*StartAppRequest) String

func (x *StartAppRequest) String() string

type StartAppResponse

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

func (*StartAppResponse) Descriptor deprecated

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

Deprecated: Use StartAppResponse.ProtoReflect.Descriptor instead.

func (*StartAppResponse) ProtoMessage

func (*StartAppResponse) ProtoMessage()

func (*StartAppResponse) ProtoReflect

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

func (*StartAppResponse) Reset

func (x *StartAppResponse) Reset()

func (*StartAppResponse) String

func (x *StartAppResponse) String() string

type StopAppRequest

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

func (*StopAppRequest) Descriptor deprecated

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

Deprecated: Use StopAppRequest.ProtoReflect.Descriptor instead.

func (*StopAppRequest) GetName

func (x *StopAppRequest) GetName() string

func (*StopAppRequest) ProtoMessage

func (*StopAppRequest) ProtoMessage()

func (*StopAppRequest) ProtoReflect

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

func (*StopAppRequest) Reset

func (x *StopAppRequest) Reset()

func (*StopAppRequest) String

func (x *StopAppRequest) String() string

type StopAppResponse

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

func (*StopAppResponse) Descriptor deprecated

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

Deprecated: Use StopAppResponse.ProtoReflect.Descriptor instead.

func (*StopAppResponse) ProtoMessage

func (*StopAppResponse) ProtoMessage()

func (*StopAppResponse) ProtoReflect

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

func (*StopAppResponse) Reset

func (x *StopAppResponse) Reset()

func (*StopAppResponse) String

func (x *StopAppResponse) String() string

type SystemInfoRequest

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

SystemInfo messages

func (*SystemInfoRequest) Descriptor deprecated

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

Deprecated: Use SystemInfoRequest.ProtoReflect.Descriptor instead.

func (*SystemInfoRequest) ProtoMessage

func (*SystemInfoRequest) ProtoMessage()

func (*SystemInfoRequest) ProtoReflect

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

func (*SystemInfoRequest) Reset

func (x *SystemInfoRequest) Reset()

func (*SystemInfoRequest) String

func (x *SystemInfoRequest) String() string

type SystemInfoResponse

type SystemInfoResponse struct {
	Time       string         `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	System     *SystemMetrics `protobuf:"bytes,2,opt,name=system,proto3" json:"system,omitempty"`
	Mounts     []*MountUsage  `protobuf:"bytes,3,rep,name=mounts,proto3" json:"mounts,omitempty"`
	Docker     *DockerUsage   `protobuf:"bytes,4,opt,name=docker,proto3" json:"docker,omitempty"`
	Repository string         `protobuf:"bytes,5,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

SystemInfoResponse message

func (*SystemInfoResponse) Descriptor deprecated

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

Deprecated: Use SystemInfoResponse.ProtoReflect.Descriptor instead.

func (*SystemInfoResponse) GetDocker

func (x *SystemInfoResponse) GetDocker() *DockerUsage

func (*SystemInfoResponse) GetMounts

func (x *SystemInfoResponse) GetMounts() []*MountUsage

func (*SystemInfoResponse) GetRepository

func (x *SystemInfoResponse) GetRepository() string

func (*SystemInfoResponse) GetSystem

func (x *SystemInfoResponse) GetSystem() *SystemMetrics

func (*SystemInfoResponse) GetTime

func (x *SystemInfoResponse) GetTime() string

func (*SystemInfoResponse) ProtoMessage

func (*SystemInfoResponse) ProtoMessage()

func (*SystemInfoResponse) ProtoReflect

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

func (*SystemInfoResponse) Reset

func (x *SystemInfoResponse) Reset()

func (*SystemInfoResponse) String

func (x *SystemInfoResponse) String() string

type SystemMetrics

type SystemMetrics struct {
	Uptime             string  `protobuf:"bytes,1,opt,name=uptime,proto3" json:"uptime,omitempty"`
	CpuUsageMillicores float64 `protobuf:"fixed64,2,opt,name=cpuUsageMillicores,proto3" json:"cpuUsageMillicores,omitempty"`
	CpuLimitMillicores float64 `protobuf:"fixed64,3,opt,name=cpuLimitMillicores,proto3" json:"cpuLimitMillicores,omitempty"`
	MemoryUsageMiB     float64 `protobuf:"fixed64,4,opt,name=memoryUsageMiB,proto3" json:"memoryUsageMiB,omitempty"`
	MemLimitMiB        float64 `protobuf:"fixed64,5,opt,name=memLimitMiB,proto3" json:"memLimitMiB,omitempty"`
	CpuAvg1Min         float64 `protobuf:"fixed64,6,opt,name=cpuAvg1Min,proto3" json:"cpuAvg1Min,omitempty"`
	CpuAvg5Min         float64 `protobuf:"fixed64,7,opt,name=cpuAvg5Min,proto3" json:"cpuAvg5Min,omitempty"`
	CpuAvg15Min        float64 `protobuf:"fixed64,8,opt,name=cpuAvg15Min,proto3" json:"cpuAvg15Min,omitempty"`
	Users              uint32  `protobuf:"varint,9,opt,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

SystemMetrics message

func (*SystemMetrics) Descriptor deprecated

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

Deprecated: Use SystemMetrics.ProtoReflect.Descriptor instead.

func (*SystemMetrics) GetCpuAvg1Min

func (x *SystemMetrics) GetCpuAvg1Min() float64

func (*SystemMetrics) GetCpuAvg5Min

func (x *SystemMetrics) GetCpuAvg5Min() float64

func (*SystemMetrics) GetCpuAvg15Min

func (x *SystemMetrics) GetCpuAvg15Min() float64

func (*SystemMetrics) GetCpuLimitMillicores

func (x *SystemMetrics) GetCpuLimitMillicores() float64

func (*SystemMetrics) GetCpuUsageMillicores

func (x *SystemMetrics) GetCpuUsageMillicores() float64

func (*SystemMetrics) GetMemLimitMiB

func (x *SystemMetrics) GetMemLimitMiB() float64

func (*SystemMetrics) GetMemoryUsageMiB

func (x *SystemMetrics) GetMemoryUsageMiB() float64

func (*SystemMetrics) GetUptime

func (x *SystemMetrics) GetUptime() string

func (*SystemMetrics) GetUsers

func (x *SystemMetrics) GetUsers() uint32

func (*SystemMetrics) ProtoMessage

func (*SystemMetrics) ProtoMessage()

func (*SystemMetrics) ProtoReflect

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

func (*SystemMetrics) Reset

func (x *SystemMetrics) Reset()

func (*SystemMetrics) String

func (x *SystemMetrics) String() string

type SystemServiceClient

type SystemServiceClient interface {
	Handshake(ctx context.Context, in *HandshakeRequest, opts ...grpc.CallOption) (*HandshakeResponse, error)
	SystemInfo(ctx context.Context, in *SystemInfoRequest, opts ...grpc.CallOption) (*SystemInfoResponse, error)
}

SystemServiceClient is the client API for SystemService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SystemServiceServer

type SystemServiceServer interface {
	Handshake(context.Context, *HandshakeRequest) (*HandshakeResponse, error)
	SystemInfo(context.Context, *SystemInfoRequest) (*SystemInfoResponse, error)
	// contains filtered or unexported methods
}

SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility.

type UnimplementedAppServiceServer

type UnimplementedAppServiceServer struct{}

UnimplementedAppServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAppServiceServer) GetLogs

func (UnimplementedAppServiceServer) InstallApp

func (UnimplementedAppServiceServer) ListApps

func (UnimplementedAppServiceServer) StartApp

func (UnimplementedAppServiceServer) StopApp

type UnimplementedCommandServiceServer

type UnimplementedCommandServiceServer struct{}

UnimplementedCommandServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCommandServiceServer) CommandListener

type UnimplementedSshServiceServer

type UnimplementedSshServiceServer struct{}

UnimplementedSshServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSshServiceServer) AcquireSession

func (UnimplementedSshServiceServer) Exec

func (UnimplementedSshServiceServer) GetCWD

func (UnimplementedSshServiceServer) ResizeTerminal

func (UnimplementedSshServiceServer) Shell

type UnimplementedSystemServiceServer

type UnimplementedSystemServiceServer struct{}

UnimplementedSystemServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSystemServiceServer) Handshake

func (UnimplementedSystemServiceServer) SystemInfo

type UnixSocketMode

type UnixSocketMode int32

Mode for Unix socket operation

const (
	UnixSocketMode_UNIX_SOCKET_MODE_LISTEN UnixSocketMode = 0
	UnixSocketMode_UNIX_SOCKET_MODE_DIAL   UnixSocketMode = 1
)

func (UnixSocketMode) Descriptor

func (UnixSocketMode) Enum

func (x UnixSocketMode) Enum() *UnixSocketMode

func (UnixSocketMode) EnumDescriptor deprecated

func (UnixSocketMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use UnixSocketMode.Descriptor instead.

func (UnixSocketMode) Number

func (UnixSocketMode) String

func (x UnixSocketMode) String() string

func (UnixSocketMode) Type

type UnixSocketRequest

type UnixSocketRequest struct {

	// Types that are valid to be assigned to Request:
	//
	//	*UnixSocketRequest_StartRequest
	//	*UnixSocketRequest_Data
	Request isUnixSocketRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

Request for the UnixSocket operation

func (*UnixSocketRequest) Descriptor deprecated

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

Deprecated: Use UnixSocketRequest.ProtoReflect.Descriptor instead.

func (*UnixSocketRequest) GetData

func (x *UnixSocketRequest) GetData() []byte

func (*UnixSocketRequest) GetRequest

func (x *UnixSocketRequest) GetRequest() isUnixSocketRequest_Request

func (*UnixSocketRequest) GetStartRequest

func (x *UnixSocketRequest) GetStartRequest() *UnixSocketStartRequest

func (*UnixSocketRequest) ProtoMessage

func (*UnixSocketRequest) ProtoMessage()

func (*UnixSocketRequest) ProtoReflect

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

func (*UnixSocketRequest) Reset

func (x *UnixSocketRequest) Reset()

func (*UnixSocketRequest) String

func (x *UnixSocketRequest) String() string

type UnixSocketRequest_Data

type UnixSocketRequest_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"` // Data to send to the Unix socket
}

type UnixSocketRequest_StartRequest

type UnixSocketRequest_StartRequest struct {
	StartRequest *UnixSocketStartRequest `protobuf:"bytes,1,opt,name=start_request,json=startRequest,proto3,oneof"` // Start Unix socket request
}

type UnixSocketResponse

type UnixSocketResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Data to send to the Unix socket
	// contains filtered or unexported fields
}

Response for the UnixSocket operation

func (*UnixSocketResponse) Descriptor deprecated

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

Deprecated: Use UnixSocketResponse.ProtoReflect.Descriptor instead.

func (*UnixSocketResponse) GetData

func (x *UnixSocketResponse) GetData() []byte

func (*UnixSocketResponse) ProtoMessage

func (*UnixSocketResponse) ProtoMessage()

func (*UnixSocketResponse) ProtoReflect

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

func (*UnixSocketResponse) Reset

func (x *UnixSocketResponse) Reset()

func (*UnixSocketResponse) String

func (x *UnixSocketResponse) String() string

type UnixSocketStartRequest

type UnixSocketStartRequest struct {
	Mode       UnixSocketMode `protobuf:"varint,1,opt,name=mode,proto3,enum=k8shelld.UnixSocketMode" json:"mode,omitempty"`
	SocketPath string         `protobuf:"bytes,2,opt,name=socketPath,proto3" json:"socketPath,omitempty"`
	// contains filtered or unexported fields
}

UnixSocketStartRequest message

func (*UnixSocketStartRequest) Descriptor deprecated

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

Deprecated: Use UnixSocketStartRequest.ProtoReflect.Descriptor instead.

func (*UnixSocketStartRequest) GetMode

func (*UnixSocketStartRequest) GetSocketPath

func (x *UnixSocketStartRequest) GetSocketPath() string

func (*UnixSocketStartRequest) ProtoMessage

func (*UnixSocketStartRequest) ProtoMessage()

func (*UnixSocketStartRequest) ProtoReflect

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

func (*UnixSocketStartRequest) Reset

func (x *UnixSocketStartRequest) Reset()

func (*UnixSocketStartRequest) String

func (x *UnixSocketStartRequest) String() string

type UnsafeAppServiceServer

type UnsafeAppServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAppServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppServiceServer will result in compilation errors.

type UnsafeCommandServiceServer

type UnsafeCommandServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCommandServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandServiceServer will result in compilation errors.

type UnsafeSshServiceServer

type UnsafeSshServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSshServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SshServiceServer will result in compilation errors.

type UnsafeSystemServiceServer

type UnsafeSystemServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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