Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAppServiceServer(s grpc.ServiceRegistrar, srv AppServiceServer)
- func RegisterSshServiceServer(s grpc.ServiceRegistrar, srv SshServiceServer)
- func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
- type AcquirableSession
- func (*AcquirableSession) Descriptor() ([]byte, []int)deprecated
- func (x *AcquirableSession) GetCmdShell() string
- func (x *AcquirableSession) GetCreated() string
- func (x *AcquirableSession) GetDetachedAt() string
- func (x *AcquirableSession) GetOwner() string
- func (x *AcquirableSession) GetPid() int32
- func (x *AcquirableSession) GetSessionId() string
- func (*AcquirableSession) ProtoMessage()
- func (x *AcquirableSession) ProtoReflect() protoreflect.Message
- func (x *AcquirableSession) Reset()
- func (x *AcquirableSession) String() string
- type AcquireSessionFailureReason
- func (AcquireSessionFailureReason) Descriptor() protoreflect.EnumDescriptor
- func (x AcquireSessionFailureReason) Enum() *AcquireSessionFailureReason
- func (AcquireSessionFailureReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x AcquireSessionFailureReason) Number() protoreflect.EnumNumber
- func (x AcquireSessionFailureReason) String() string
- func (AcquireSessionFailureReason) Type() protoreflect.EnumType
- type AcquireSessionRequest
- func (*AcquireSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcquireSessionRequest) GetSessionId() string
- func (*AcquireSessionRequest) ProtoMessage()
- func (x *AcquireSessionRequest) ProtoReflect() protoreflect.Message
- func (x *AcquireSessionRequest) Reset()
- func (x *AcquireSessionRequest) String() string
- type AcquireSessionResponse
- func (*AcquireSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AcquireSessionResponse) GetFailureReason() AcquireSessionFailureReason
- func (x *AcquireSessionResponse) GetLockId() string
- func (x *AcquireSessionResponse) GetSuccess() bool
- func (*AcquireSessionResponse) ProtoMessage()
- func (x *AcquireSessionResponse) ProtoReflect() protoreflect.Message
- func (x *AcquireSessionResponse) Reset()
- func (x *AcquireSessionResponse) String() string
- type AppServiceClient
- type AppServiceServer
- type AppService_GetLogsStreamClient
- type AppService_GetLogsStreamServer
- type AppStatus
- func (*AppStatus) Descriptor() ([]byte, []int)deprecated
- func (x *AppStatus) GetAge() string
- func (x *AppStatus) GetName() string
- func (x *AppStatus) GetPid() int32
- func (x *AppStatus) GetPort() int32
- func (x *AppStatus) GetProtocol() string
- func (x *AppStatus) GetRestarts() int32
- func (x *AppStatus) GetStatus() string
- func (x *AppStatus) GetVersion() string
- func (*AppStatus) ProtoMessage()
- func (x *AppStatus) ProtoReflect() protoreflect.Message
- func (x *AppStatus) Reset()
- func (x *AppStatus) String() string
- type CommandDetails
- func (*CommandDetails) Descriptor() ([]byte, []int)deprecated
- func (x *CommandDetails) GetAsUser() string
- func (x *CommandDetails) GetCommand() string
- func (x *CommandDetails) GetEnvVars() []string
- func (x *CommandDetails) GetHeight() uint32
- func (x *CommandDetails) GetShellBinary() string
- func (x *CommandDetails) GetUsePty() bool
- func (x *CommandDetails) GetWidth() uint32
- func (*CommandDetails) ProtoMessage()
- func (x *CommandDetails) ProtoReflect() protoreflect.Message
- func (x *CommandDetails) Reset()
- func (x *CommandDetails) String() string
- type Destination
- type DockerUsage
- func (*DockerUsage) Descriptor() ([]byte, []int)deprecated
- func (x *DockerUsage) GetApiVersion() string
- func (x *DockerUsage) GetBuildCacheBytes() uint64
- func (x *DockerUsage) GetContainersBytes() uint64
- func (x *DockerUsage) GetContainersRootFsBytes() uint64
- func (x *DockerUsage) GetDeclaredSize() uint64
- func (x *DockerUsage) GetDockerRootDir() string
- func (x *DockerUsage) GetImagesBytes() uint64
- func (x *DockerUsage) GetSocketPath() string
- func (x *DockerUsage) GetTotalBytes() uint64
- func (x *DockerUsage) GetVolumesBytes() uint64
- func (*DockerUsage) ProtoMessage()
- func (x *DockerUsage) ProtoReflect() protoreflect.Message
- func (x *DockerUsage) Reset()
- func (x *DockerUsage) String() string
- type DockerUsagePoint
- func (*DockerUsagePoint) Descriptor() ([]byte, []int)deprecated
- func (x *DockerUsagePoint) GetDeclaredSize() uint64
- func (x *DockerUsagePoint) GetTime() string
- func (x *DockerUsagePoint) GetTotalBytes() uint64
- func (*DockerUsagePoint) ProtoMessage()
- func (x *DockerUsagePoint) ProtoReflect() protoreflect.Message
- func (x *DockerUsagePoint) Reset()
- func (x *DockerUsagePoint) String() string
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecRequest) GetCommandDetails() *CommandDetails
- func (x *ExecRequest) GetInput() []byte
- func (x *ExecRequest) GetRequest() isExecRequest_Request
- func (x *ExecRequest) GetResize() *TerminalSize
- func (x *ExecRequest) GetSignal() string
- func (*ExecRequest) ProtoMessage()
- func (x *ExecRequest) ProtoReflect() protoreflect.Message
- func (x *ExecRequest) Reset()
- func (x *ExecRequest) String() string
- type ExecRequest_CommandDetails
- type ExecRequest_Input
- type ExecRequest_Resize
- type ExecRequest_Signal
- type ExecResponse
- func (*ExecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecResponse) GetExitCode() int32
- func (x *ExecResponse) GetPty() string
- func (x *ExecResponse) GetResponse() isExecResponse_Response
- func (x *ExecResponse) GetStderr() []byte
- func (x *ExecResponse) GetStdout() []byte
- func (*ExecResponse) ProtoMessage()
- func (x *ExecResponse) ProtoReflect() protoreflect.Message
- func (x *ExecResponse) Reset()
- func (x *ExecResponse) String() string
- type ExecResponse_ExitCode
- type ExecResponse_Pty
- type ExecResponse_Stderr
- type ExecResponse_Stdout
- type GetBlueprintRequest
- type GetBlueprintResponse
- func (*GetBlueprintResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlueprintResponse) GetBlueprint() []byte
- func (*GetBlueprintResponse) ProtoMessage()
- func (x *GetBlueprintResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlueprintResponse) Reset()
- func (x *GetBlueprintResponse) String() string
- type GetCWDRequest
- type GetCWDResponse
- type GetLogsPageRequest
- func (*GetLogsPageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsPageRequest) GetBeforeId() int64
- func (x *GetLogsPageRequest) GetComponent() string
- func (x *GetLogsPageRequest) GetLevel() LogLevel
- func (x *GetLogsPageRequest) GetLimit() int32
- func (*GetLogsPageRequest) ProtoMessage()
- func (x *GetLogsPageRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogsPageRequest) Reset()
- func (x *GetLogsPageRequest) String() string
- type GetLogsPageResponse
- func (*GetLogsPageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsPageResponse) GetEntries() []*SystemLogsStreamResponse
- func (x *GetLogsPageResponse) GetHasMore() bool
- func (*GetLogsPageResponse) ProtoMessage()
- func (x *GetLogsPageResponse) ProtoReflect() protoreflect.Message
- func (x *GetLogsPageResponse) Reset()
- func (x *GetLogsPageResponse) String() string
- type GetLogsRequest
- func (*GetLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsRequest) GetName() string
- func (x *GetLogsRequest) GetType() LogType
- func (*GetLogsRequest) ProtoMessage()
- func (x *GetLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogsRequest) Reset()
- func (x *GetLogsRequest) String() string
- type GetLogsResponse
- type GetLogsStreamRequest
- func (*GetLogsStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsStreamRequest) GetName() string
- func (x *GetLogsStreamRequest) GetType() LogType
- func (*GetLogsStreamRequest) ProtoMessage()
- func (x *GetLogsStreamRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogsStreamRequest) Reset()
- func (x *GetLogsStreamRequest) String() string
- type GetLogsStreamResponse
- func (*GetLogsStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsStreamResponse) GetLine() string
- func (*GetLogsStreamResponse) ProtoMessage()
- func (x *GetLogsStreamResponse) ProtoReflect() protoreflect.Message
- func (x *GetLogsStreamResponse) Reset()
- func (x *GetLogsStreamResponse) String() string
- type HandshakeRequest
- type HandshakeResponse
- func (*HandshakeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HandshakeResponse) GetAccepted() bool
- func (x *HandshakeResponse) GetMessage() string
- func (x *HandshakeResponse) GetServerVersion() string
- func (*HandshakeResponse) ProtoMessage()
- func (x *HandshakeResponse) ProtoReflect() protoreflect.Message
- func (x *HandshakeResponse) Reset()
- func (x *HandshakeResponse) String() string
- type InstallAppRequest
- func (*InstallAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallAppRequest) GetForce() bool
- func (x *InstallAppRequest) GetName() string
- func (*InstallAppRequest) ProtoMessage()
- func (x *InstallAppRequest) ProtoReflect() protoreflect.Message
- func (x *InstallAppRequest) Reset()
- func (x *InstallAppRequest) String() string
- type InstallAppResponse
- type ListAppsRequest
- type ListAppsResponse
- type ListSessionsRequest
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetSessions() []*AcquirableSession
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- type LogLevel
- type LogType
- type MountUsage
- func (*MountUsage) Descriptor() ([]byte, []int)deprecated
- func (x *MountUsage) GetAvailableBytes() uint64
- func (x *MountUsage) GetDeclaredSize() uint64
- func (x *MountUsage) GetFreeBytes() uint64
- func (x *MountUsage) GetFreeInodes() uint64
- func (x *MountUsage) GetFsType() string
- func (x *MountUsage) GetIsLikelyTemp() bool
- func (x *MountUsage) GetMountPoint() string
- func (x *MountUsage) GetOptions() []string
- func (x *MountUsage) GetReadOnly() bool
- func (x *MountUsage) GetSource() string
- func (x *MountUsage) GetTotalBytes() uint64
- func (x *MountUsage) GetTotalInodes() uint64
- func (x *MountUsage) GetUsedBytes() uint64
- func (*MountUsage) ProtoMessage()
- func (x *MountUsage) ProtoReflect() protoreflect.Message
- func (x *MountUsage) Reset()
- func (x *MountUsage) String() string
- type MountUsagePoint
- func (*MountUsagePoint) Descriptor() ([]byte, []int)deprecated
- func (x *MountUsagePoint) GetTime() string
- func (x *MountUsagePoint) GetTotalBytes() uint64
- func (x *MountUsagePoint) GetUsedBytes() uint64
- func (*MountUsagePoint) ProtoMessage()
- func (x *MountUsagePoint) ProtoReflect() protoreflect.Message
- func (x *MountUsagePoint) Reset()
- func (x *MountUsagePoint) String() string
- type MountUsageSeries
- func (*MountUsageSeries) Descriptor() ([]byte, []int)deprecated
- func (x *MountUsageSeries) GetPoints() []*MountUsagePoint
- func (*MountUsageSeries) ProtoMessage()
- func (x *MountUsageSeries) ProtoReflect() protoreflect.Message
- func (x *MountUsageSeries) Reset()
- func (x *MountUsageSeries) String() string
- type PortForwardRequest
- func (*PortForwardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardRequest) GetData() []byte
- func (x *PortForwardRequest) GetDestination() *Destination
- func (x *PortForwardRequest) GetRequest() isPortForwardRequest_Request
- func (*PortForwardRequest) ProtoMessage()
- func (x *PortForwardRequest) ProtoReflect() protoreflect.Message
- func (x *PortForwardRequest) Reset()
- func (x *PortForwardRequest) String() string
- type PortForwardRequest_Data
- type PortForwardRequest_Destination
- type PortForwardResponse
- func (*PortForwardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardResponse) GetData() []byte
- func (*PortForwardResponse) ProtoMessage()
- func (x *PortForwardResponse) ProtoReflect() protoreflect.Message
- func (x *PortForwardResponse) Reset()
- func (x *PortForwardResponse) String() string
- type ResizeTerminalRequest
- func (*ResizeTerminalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeTerminalRequest) GetHeight() uint32
- func (x *ResizeTerminalRequest) GetWidth() uint32
- func (*ResizeTerminalRequest) ProtoMessage()
- func (x *ResizeTerminalRequest) ProtoReflect() protoreflect.Message
- func (x *ResizeTerminalRequest) Reset()
- func (x *ResizeTerminalRequest) String() string
- type ResizeTerminalResponse
- type ShellRequest
- func (*ShellRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShellRequest) GetData() []byte
- func (x *ShellRequest) GetRequest() isShellRequest_Request
- func (x *ShellRequest) GetStartRequest() *ShellStartRequest
- func (*ShellRequest) ProtoMessage()
- func (x *ShellRequest) ProtoReflect() protoreflect.Message
- func (x *ShellRequest) Reset()
- func (x *ShellRequest) String() string
- type ShellRequest_Data
- type ShellRequest_StartRequest
- type ShellResponse
- func (*ShellResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShellResponse) GetData() []byte
- func (x *ShellResponse) GetResponse() isShellResponse_Response
- func (x *ShellResponse) GetStartResponse() *ShellStartResponse
- func (x *ShellResponse) GetTerminate() bool
- func (*ShellResponse) ProtoMessage()
- func (x *ShellResponse) ProtoReflect() protoreflect.Message
- func (x *ShellResponse) Reset()
- func (x *ShellResponse) String() string
- type ShellResponse_Data
- type ShellResponse_StartResponse
- type ShellResponse_Terminate
- type ShellStartRequest
- func (*ShellStartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShellStartRequest) GetAsUser() string
- func (x *ShellStartRequest) GetCmdShell() string
- func (x *ShellStartRequest) GetContainerRef() string
- func (x *ShellStartRequest) GetDetachOnClose() bool
- func (x *ShellStartRequest) GetHeight() uint32
- func (x *ShellStartRequest) GetLockId() string
- func (x *ShellStartRequest) GetSetEnvVars() []string
- func (x *ShellStartRequest) GetShowInitScriptStatus() bool
- func (x *ShellStartRequest) GetUsePty() bool
- func (x *ShellStartRequest) GetWidth() uint32
- func (*ShellStartRequest) ProtoMessage()
- func (x *ShellStartRequest) ProtoReflect() protoreflect.Message
- func (x *ShellStartRequest) Reset()
- func (x *ShellStartRequest) String() string
- type ShellStartResponse
- type SshServiceClient
- type SshServiceServer
- type SshService_ExecClient
- type SshService_ExecServer
- type SshService_PortForwardClient
- type SshService_PortForwardServer
- type SshService_ShellClient
- type SshService_ShellServer
- type SshService_UnixSocketClient
- type SshService_UnixSocketServer
- type StartAppRequest
- type StartAppResponse
- type StopAppRequest
- type StopAppResponse
- type SystemInfoHistoryRequest
- func (*SystemInfoHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfoHistoryRequest) GetFrom() string
- func (x *SystemInfoHistoryRequest) GetRange() string
- func (x *SystemInfoHistoryRequest) GetStep() string
- func (x *SystemInfoHistoryRequest) GetTo() string
- func (*SystemInfoHistoryRequest) ProtoMessage()
- func (x *SystemInfoHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *SystemInfoHistoryRequest) Reset()
- func (x *SystemInfoHistoryRequest) String() string
- type SystemInfoHistoryResponse
- func (*SystemInfoHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfoHistoryResponse) GetDocker() []*DockerUsagePoint
- func (x *SystemInfoHistoryResponse) GetDockerAvailable() bool
- func (x *SystemInfoHistoryResponse) GetFrom() string
- func (x *SystemInfoHistoryResponse) GetMounts() map[string]*MountUsageSeries
- func (x *SystemInfoHistoryResponse) GetStep() string
- func (x *SystemInfoHistoryResponse) GetSystem() []*SystemMetricsPoint
- func (x *SystemInfoHistoryResponse) GetTo() string
- func (*SystemInfoHistoryResponse) ProtoMessage()
- func (x *SystemInfoHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *SystemInfoHistoryResponse) Reset()
- func (x *SystemInfoHistoryResponse) String() string
- type SystemInfoRequest
- type SystemInfoResponse
- func (*SystemInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfoResponse) GetDocker() *DockerUsage
- func (x *SystemInfoResponse) GetMounts() []*MountUsage
- func (x *SystemInfoResponse) GetRepository() string
- func (x *SystemInfoResponse) GetSystem() *SystemMetrics
- func (x *SystemInfoResponse) GetTime() string
- func (*SystemInfoResponse) ProtoMessage()
- func (x *SystemInfoResponse) ProtoReflect() protoreflect.Message
- func (x *SystemInfoResponse) Reset()
- func (x *SystemInfoResponse) String() string
- type SystemLogsStreamRequest
- func (*SystemLogsStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SystemLogsStreamRequest) GetComponent() string
- func (x *SystemLogsStreamRequest) GetFollow() bool
- func (x *SystemLogsStreamRequest) GetLastN() int32
- func (x *SystemLogsStreamRequest) GetLevel() LogLevel
- func (*SystemLogsStreamRequest) ProtoMessage()
- func (x *SystemLogsStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SystemLogsStreamRequest) Reset()
- func (x *SystemLogsStreamRequest) String() string
- type SystemLogsStreamResponse
- func (*SystemLogsStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SystemLogsStreamResponse) GetComponent() string
- func (x *SystemLogsStreamResponse) GetId() int64
- func (x *SystemLogsStreamResponse) GetLevel() string
- func (x *SystemLogsStreamResponse) GetMessage() string
- func (x *SystemLogsStreamResponse) GetTime() string
- func (*SystemLogsStreamResponse) ProtoMessage()
- func (x *SystemLogsStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SystemLogsStreamResponse) Reset()
- func (x *SystemLogsStreamResponse) String() string
- type SystemMetrics
- func (*SystemMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *SystemMetrics) GetCpuAvg1Min() float64
- func (x *SystemMetrics) GetCpuAvg5Min() float64
- func (x *SystemMetrics) GetCpuAvg15Min() float64
- func (x *SystemMetrics) GetCpuLimitMillicores() float64
- func (x *SystemMetrics) GetCpuUsageMillicores() float64
- func (x *SystemMetrics) GetMemLimitMiB() float64
- func (x *SystemMetrics) GetMemoryUsageMiB() float64
- func (x *SystemMetrics) GetUptime() string
- func (x *SystemMetrics) GetUsers() uint32
- func (*SystemMetrics) ProtoMessage()
- func (x *SystemMetrics) ProtoReflect() protoreflect.Message
- func (x *SystemMetrics) Reset()
- func (x *SystemMetrics) String() string
- type SystemMetricsPoint
- func (*SystemMetricsPoint) Descriptor() ([]byte, []int)deprecated
- func (x *SystemMetricsPoint) GetCpuLimitMillicores() float64
- func (x *SystemMetricsPoint) GetCpuUsageMillicores() float64
- func (x *SystemMetricsPoint) GetMemLimitMiB() float64
- func (x *SystemMetricsPoint) GetMemoryUsageMiB() float64
- func (x *SystemMetricsPoint) GetTime() string
- func (*SystemMetricsPoint) ProtoMessage()
- func (x *SystemMetricsPoint) ProtoReflect() protoreflect.Message
- func (x *SystemMetricsPoint) Reset()
- func (x *SystemMetricsPoint) String() string
- type SystemServiceClient
- type SystemServiceServer
- type SystemService_GetLogsStreamClient
- type SystemService_GetLogsStreamServer
- type TerminalSize
- func (*TerminalSize) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalSize) GetHeight() uint32
- func (x *TerminalSize) GetWidth() uint32
- func (*TerminalSize) ProtoMessage()
- func (x *TerminalSize) ProtoReflect() protoreflect.Message
- func (x *TerminalSize) Reset()
- func (x *TerminalSize) String() string
- type UnimplementedAppServiceServer
- func (UnimplementedAppServiceServer) GetLogs(context.Context, *GetLogsRequest) (*GetLogsResponse, error)
- func (UnimplementedAppServiceServer) GetLogsStream(*GetLogsStreamRequest, grpc.ServerStreamingServer[GetLogsStreamResponse]) error
- func (UnimplementedAppServiceServer) InstallApp(context.Context, *InstallAppRequest) (*InstallAppResponse, error)
- func (UnimplementedAppServiceServer) ListApps(context.Context, *ListAppsRequest) (*ListAppsResponse, error)
- func (UnimplementedAppServiceServer) StartApp(context.Context, *StartAppRequest) (*StartAppResponse, error)
- func (UnimplementedAppServiceServer) StopApp(context.Context, *StopAppRequest) (*StopAppResponse, error)
- type UnimplementedSshServiceServer
- func (UnimplementedSshServiceServer) AcquireSession(context.Context, *AcquireSessionRequest) (*AcquireSessionResponse, error)
- func (UnimplementedSshServiceServer) Exec(grpc.BidiStreamingServer[ExecRequest, ExecResponse]) error
- func (UnimplementedSshServiceServer) GetCWD(context.Context, *GetCWDRequest) (*GetCWDResponse, error)
- func (UnimplementedSshServiceServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
- func (UnimplementedSshServiceServer) PortForward(grpc.BidiStreamingServer[PortForwardRequest, PortForwardResponse]) error
- func (UnimplementedSshServiceServer) ResizeTerminal(context.Context, *ResizeTerminalRequest) (*ResizeTerminalResponse, error)
- func (UnimplementedSshServiceServer) Shell(grpc.BidiStreamingServer[ShellRequest, ShellResponse]) error
- func (UnimplementedSshServiceServer) UnixSocket(grpc.BidiStreamingServer[UnixSocketRequest, UnixSocketResponse]) error
- type UnimplementedSystemServiceServer
- func (UnimplementedSystemServiceServer) GetBlueprint(context.Context, *GetBlueprintRequest) (*GetBlueprintResponse, error)
- func (UnimplementedSystemServiceServer) GetLogsPage(context.Context, *GetLogsPageRequest) (*GetLogsPageResponse, error)
- func (UnimplementedSystemServiceServer) GetLogsStream(*SystemLogsStreamRequest, grpc.ServerStreamingServer[SystemLogsStreamResponse]) error
- func (UnimplementedSystemServiceServer) GetVersionInfo(context.Context, *v1.GetVersionInfoRequest) (*v1.GetVersionInfoResponse, error)
- func (UnimplementedSystemServiceServer) Handshake(context.Context, *HandshakeRequest) (*HandshakeResponse, error)
- func (UnimplementedSystemServiceServer) SystemInfo(context.Context, *SystemInfoRequest) (*SystemInfoResponse, error)
- func (UnimplementedSystemServiceServer) SystemInfoHistory(context.Context, *SystemInfoHistoryRequest) (*SystemInfoHistoryResponse, error)
- type UnixSocketMode
- func (UnixSocketMode) Descriptor() protoreflect.EnumDescriptor
- func (x UnixSocketMode) Enum() *UnixSocketMode
- func (UnixSocketMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x UnixSocketMode) Number() protoreflect.EnumNumber
- func (x UnixSocketMode) String() string
- func (UnixSocketMode) Type() protoreflect.EnumType
- type UnixSocketRequest
- func (*UnixSocketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnixSocketRequest) GetData() []byte
- func (x *UnixSocketRequest) GetRequest() isUnixSocketRequest_Request
- func (x *UnixSocketRequest) GetStartRequest() *UnixSocketStartRequest
- func (*UnixSocketRequest) ProtoMessage()
- func (x *UnixSocketRequest) ProtoReflect() protoreflect.Message
- func (x *UnixSocketRequest) Reset()
- func (x *UnixSocketRequest) String() string
- type UnixSocketRequest_Data
- type UnixSocketRequest_StartRequest
- type UnixSocketResponse
- func (*UnixSocketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnixSocketResponse) GetData() []byte
- func (*UnixSocketResponse) ProtoMessage()
- func (x *UnixSocketResponse) ProtoReflect() protoreflect.Message
- func (x *UnixSocketResponse) Reset()
- func (x *UnixSocketResponse) String() string
- type UnixSocketStartRequest
- func (*UnixSocketStartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnixSocketStartRequest) GetMode() UnixSocketMode
- func (x *UnixSocketStartRequest) GetSocketPath() string
- func (*UnixSocketStartRequest) ProtoMessage()
- func (x *UnixSocketStartRequest) ProtoReflect() protoreflect.Message
- func (x *UnixSocketStartRequest) Reset()
- func (x *UnixSocketStartRequest) String() string
- type UnsafeAppServiceServer
- type UnsafeSshServiceServer
- type UnsafeSystemServiceServer
Constants ¶
const ( SystemService_Handshake_FullMethodName = "/k8shelld.SystemService/Handshake" SystemService_SystemInfo_FullMethodName = "/k8shelld.SystemService/SystemInfo" SystemService_SystemInfoHistory_FullMethodName = "/k8shelld.SystemService/SystemInfoHistory" SystemService_GetLogsStream_FullMethodName = "/k8shelld.SystemService/GetLogsStream" SystemService_GetLogsPage_FullMethodName = "/k8shelld.SystemService/GetLogsPage" SystemService_GetBlueprint_FullMethodName = "/k8shelld.SystemService/GetBlueprint" SystemService_GetVersionInfo_FullMethodName = "/k8shelld.SystemService/GetVersionInfo" )
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" SshService_ListSessions_FullMethodName = "/k8shelld.SshService/ListSessions" )
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" )
Variables ¶
var ( LogLevel_name = map[int32]string{ 0: "LOG_LEVEL_UNSPECIFIED", 1: "LOG_LEVEL_DEBUG", 2: "LOG_LEVEL_INFO", 3: "LOG_LEVEL_WARN", 4: "LOG_LEVEL_ERROR", 5: "LOG_LEVEL_FATAL", } LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_DEBUG": 1, "LOG_LEVEL_INFO": 2, "LOG_LEVEL_WARN": 3, "LOG_LEVEL_ERROR": 4, "LOG_LEVEL_FATAL": 5, } )
Enum value maps for LogLevel.
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.
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.
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.
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)
var File_k8shelld_v1_k8shelld_proto protoreflect.FileDescriptor
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, }, { MethodName: "ListSessions", Handler: _SshService_ListSessions_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)
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, }, { MethodName: "SystemInfoHistory", Handler: _SystemService_SystemInfoHistory_Handler, }, { MethodName: "GetLogsPage", Handler: _SystemService_GetLogsPage_Handler, }, { MethodName: "GetBlueprint", Handler: _SystemService_GetBlueprint_Handler, }, { MethodName: "GetVersionInfo", Handler: _SystemService_GetVersionInfo_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetLogsStream", Handler: _SystemService_GetLogsStream_Handler, ServerStreams: true, }, }, 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 RegisterSshServiceServer ¶
func RegisterSshServiceServer(s grpc.ServiceRegistrar, srv SshServiceServer)
func RegisterSystemServiceServer ¶
func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
Types ¶
type AcquirableSession ¶ added in v0.43.0
type AcquirableSession struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // ID of the shell session
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // OS username the session runs as (workspace user or "root")
CmdShell string `protobuf:"bytes,3,opt,name=cmd_shell,json=cmdShell,proto3" json:"cmd_shell,omitempty"` // Shell binary the session was started with
Pid int32 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"` // PID of the shell process
Created string `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"` // RFC3339 creation timestamp
DetachedAt string `protobuf:"bytes,6,opt,name=detached_at,json=detachedAt,proto3" json:"detached_at,omitempty"` // RFC3339 timestamp of when the session was detached
// contains filtered or unexported fields
}
AcquirableSession describes a shell session that is currently eligible to be acquired for attachment, and the OS user that owns it.
func (*AcquirableSession) Descriptor
deprecated
added in
v0.43.0
func (*AcquirableSession) Descriptor() ([]byte, []int)
Deprecated: Use AcquirableSession.ProtoReflect.Descriptor instead.
func (*AcquirableSession) GetCmdShell ¶ added in v0.43.0
func (x *AcquirableSession) GetCmdShell() string
func (*AcquirableSession) GetCreated ¶ added in v0.43.0
func (x *AcquirableSession) GetCreated() string
func (*AcquirableSession) GetDetachedAt ¶ added in v0.43.0
func (x *AcquirableSession) GetDetachedAt() string
func (*AcquirableSession) GetOwner ¶ added in v0.43.0
func (x *AcquirableSession) GetOwner() string
func (*AcquirableSession) GetPid ¶ added in v0.43.0
func (x *AcquirableSession) GetPid() int32
func (*AcquirableSession) GetSessionId ¶ added in v0.43.0
func (x *AcquirableSession) GetSessionId() string
func (*AcquirableSession) ProtoMessage ¶ added in v0.43.0
func (*AcquirableSession) ProtoMessage()
func (*AcquirableSession) ProtoReflect ¶ added in v0.43.0
func (x *AcquirableSession) ProtoReflect() protoreflect.Message
func (*AcquirableSession) Reset ¶ added in v0.43.0
func (x *AcquirableSession) Reset()
func (*AcquirableSession) String ¶ added in v0.43.0
func (x *AcquirableSession) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (AcquireSessionFailureReason) Enum ¶
func (x AcquireSessionFailureReason) Enum() *AcquireSessionFailureReason
func (AcquireSessionFailureReason) EnumDescriptor
deprecated
func (AcquireSessionFailureReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use AcquireSessionFailureReason.Descriptor instead.
func (AcquireSessionFailureReason) Number ¶
func (x AcquireSessionFailureReason) Number() protoreflect.EnumNumber
func (AcquireSessionFailureReason) String ¶
func (x AcquireSessionFailureReason) String() string
func (AcquireSessionFailureReason) Type ¶
func (AcquireSessionFailureReason) Type() protoreflect.EnumType
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 (x *AcquireSessionResponse) GetFailureReason() AcquireSessionFailureReason
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) GetProtocol ¶
func (*AppStatus) GetRestarts ¶
func (*AppStatus) GetVersion ¶
func (*AppStatus) ProtoMessage ¶
func (*AppStatus) ProtoMessage()
func (*AppStatus) ProtoReflect ¶
func (x *AppStatus) ProtoReflect() protoreflect.Message
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"` // Command line, passed verbatim to `<shell> -c`
// Optional. If set, k8shelld uses this binary as the interpreter if it
// exists in the workspace; if not found, falls back to passwd resolution
// below. If empty, k8shelld resolves the user's login shell from the
// workspace's passwd entry (/etc/passwd), falling back to /bin/sh only if
// nothing resolves.
ShellBinary string `protobuf:"bytes,3,opt,name=shell_binary,json=shellBinary,proto3" json:"shell_binary,omitempty"`
// Environment variables to be set for the command (KEY=VALUE). These take
// precedence over k8shelld defaults (SHELL, USER, LOGNAME, TERM, LANG, LC_*,
// PATH); HOME is always set to the user's home directory. TERM for a PTY
// is passed here as well.
EnvVars []string `protobuf:"bytes,4,rep,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
UsePty bool `protobuf:"varint,5,opt,name=use_pty,json=usePty,proto3" json:"use_pty,omitempty"` // True to allocate a pseudo-terminal (stdout and stderr merge into stdout)
Width uint32 `protobuf:"varint,6,opt,name=width,proto3" json:"width,omitempty"` // Initial terminal width, used when use_pty is true
Height uint32 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"` // Initial terminal height, used when use_pty is true
// contains filtered or unexported fields
}
Command details message The command is always run as `<shell> -c "<command>"`, like sshd does.
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) GetHeight ¶ added in v0.62.0
func (x *CommandDetails) GetHeight() uint32
func (*CommandDetails) GetShellBinary ¶
func (x *CommandDetails) GetShellBinary() string
func (*CommandDetails) GetUsePty ¶ added in v0.62.0
func (x *CommandDetails) GetUsePty() bool
func (*CommandDetails) GetWidth ¶ added in v0.62.0
func (x *CommandDetails) GetWidth() uint32
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 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 DockerUsagePoint ¶ added in v0.46.0
type DockerUsagePoint struct {
Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
TotalBytes *uint64 `protobuf:"varint,2,opt,name=totalBytes,proto3,oneof" json:"totalBytes,omitempty"`
DeclaredSize *uint64 `protobuf:"varint,3,opt,name=declaredSize,proto3,oneof" json:"declaredSize,omitempty"`
// contains filtered or unexported fields
}
DockerUsagePoint is a single historical Docker usage sample. See SystemMetricsPoint for the meaning of an unset numeric field.
func (*DockerUsagePoint) Descriptor
deprecated
added in
v0.46.0
func (*DockerUsagePoint) Descriptor() ([]byte, []int)
Deprecated: Use DockerUsagePoint.ProtoReflect.Descriptor instead.
func (*DockerUsagePoint) GetDeclaredSize ¶ added in v0.46.0
func (x *DockerUsagePoint) GetDeclaredSize() uint64
func (*DockerUsagePoint) GetTime ¶ added in v0.46.0
func (x *DockerUsagePoint) GetTime() string
func (*DockerUsagePoint) GetTotalBytes ¶ added in v0.46.0
func (x *DockerUsagePoint) GetTotalBytes() uint64
func (*DockerUsagePoint) ProtoMessage ¶ added in v0.46.0
func (*DockerUsagePoint) ProtoMessage()
func (*DockerUsagePoint) ProtoReflect ¶ added in v0.46.0
func (x *DockerUsagePoint) ProtoReflect() protoreflect.Message
func (*DockerUsagePoint) Reset ¶ added in v0.46.0
func (x *DockerUsagePoint) Reset()
func (*DockerUsagePoint) String ¶ added in v0.46.0
func (x *DockerUsagePoint) String() string
type ExecRequest ¶
type ExecRequest struct {
// Types that are valid to be assigned to Request:
//
// *ExecRequest_CommandDetails
// *ExecRequest_Input
// *ExecRequest_Signal
// *ExecRequest_Resize
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) GetResize ¶ added in v0.62.0
func (x *ExecRequest) GetResize() *TerminalSize
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_Resize ¶ added in v0.62.0
type ExecRequest_Resize struct {
Resize *TerminalSize `protobuf:"bytes,4,opt,name=resize,proto3,oneof"` // Resize the command's PTY (ignored unless use_pty was set)
}
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
// *ExecResponse_Pty
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) GetPty ¶ added in v0.62.0
func (x *ExecResponse) GetPty() string
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_Pty ¶ added in v0.62.0
type ExecResponse_Pty struct {
Pty string `protobuf:"bytes,4,opt,name=pty,proto3,oneof"` // PTY name, sent once at start if use_pty was set
}
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 GetBlueprintRequest ¶ added in v0.47.0
type GetBlueprintRequest struct {
// contains filtered or unexported fields
}
GetBlueprintRequest requests the workspace's blueprint. It carries no fields today; left as a message rather than google.protobuf.Empty so parameters can be added later without changing the RPC signature.
func (*GetBlueprintRequest) Descriptor
deprecated
added in
v0.47.0
func (*GetBlueprintRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlueprintRequest.ProtoReflect.Descriptor instead.
func (*GetBlueprintRequest) ProtoMessage ¶ added in v0.47.0
func (*GetBlueprintRequest) ProtoMessage()
func (*GetBlueprintRequest) ProtoReflect ¶ added in v0.47.0
func (x *GetBlueprintRequest) ProtoReflect() protoreflect.Message
func (*GetBlueprintRequest) Reset ¶ added in v0.47.0
func (x *GetBlueprintRequest) Reset()
func (*GetBlueprintRequest) String ¶ added in v0.47.0
func (x *GetBlueprintRequest) String() string
type GetBlueprintResponse ¶ added in v0.47.0
type GetBlueprintResponse struct {
Blueprint []byte `protobuf:"bytes,1,opt,name=blueprint,proto3" json:"blueprint,omitempty"` // raw blueprint YAML content
// contains filtered or unexported fields
}
GetBlueprintResponse carries the raw blueprint content for this workspace, mirroring the raw-bytes shape identity.v1.Blueprint uses (its repo_address is omitted here since the blueprint is already resolved for this specific workspace).
func (*GetBlueprintResponse) Descriptor
deprecated
added in
v0.47.0
func (*GetBlueprintResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlueprintResponse.ProtoReflect.Descriptor instead.
func (*GetBlueprintResponse) GetBlueprint ¶ added in v0.47.0
func (x *GetBlueprintResponse) GetBlueprint() []byte
func (*GetBlueprintResponse) ProtoMessage ¶ added in v0.47.0
func (*GetBlueprintResponse) ProtoMessage()
func (*GetBlueprintResponse) ProtoReflect ¶ added in v0.47.0
func (x *GetBlueprintResponse) ProtoReflect() protoreflect.Message
func (*GetBlueprintResponse) Reset ¶ added in v0.47.0
func (x *GetBlueprintResponse) Reset()
func (*GetBlueprintResponse) String ¶ added in v0.47.0
func (x *GetBlueprintResponse) String() string
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 GetLogsPageRequest ¶ added in v0.45.0
type GetLogsPageRequest struct {
Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` // Filter by component (empty = all)
Level LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=k8shelld.LogLevel" json:"level,omitempty"` // Filter by level (LOG_LEVEL_UNSPECIFIED = all)
BeforeId int64 `protobuf:"varint,3,opt,name=before_id,json=beforeId,proto3" json:"before_id,omitempty"` // Return entries older than this id (0 = start from the most recent entry)
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // Max entries to return
// contains filtered or unexported fields
}
GetLogsPageRequest message
func (*GetLogsPageRequest) Descriptor
deprecated
added in
v0.45.0
func (*GetLogsPageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsPageRequest.ProtoReflect.Descriptor instead.
func (*GetLogsPageRequest) GetBeforeId ¶ added in v0.45.0
func (x *GetLogsPageRequest) GetBeforeId() int64
func (*GetLogsPageRequest) GetComponent ¶ added in v0.45.0
func (x *GetLogsPageRequest) GetComponent() string
func (*GetLogsPageRequest) GetLevel ¶ added in v0.45.0
func (x *GetLogsPageRequest) GetLevel() LogLevel
func (*GetLogsPageRequest) GetLimit ¶ added in v0.45.0
func (x *GetLogsPageRequest) GetLimit() int32
func (*GetLogsPageRequest) ProtoMessage ¶ added in v0.45.0
func (*GetLogsPageRequest) ProtoMessage()
func (*GetLogsPageRequest) ProtoReflect ¶ added in v0.45.0
func (x *GetLogsPageRequest) ProtoReflect() protoreflect.Message
func (*GetLogsPageRequest) Reset ¶ added in v0.45.0
func (x *GetLogsPageRequest) Reset()
func (*GetLogsPageRequest) String ¶ added in v0.45.0
func (x *GetLogsPageRequest) String() string
type GetLogsPageResponse ¶ added in v0.45.0
type GetLogsPageResponse struct {
Entries []*SystemLogsStreamResponse `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // Oldest matching entry first
HasMore bool `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` // True if older entries remain in the buffer beyond this page
// contains filtered or unexported fields
}
GetLogsPageResponse message
func (*GetLogsPageResponse) Descriptor
deprecated
added in
v0.45.0
func (*GetLogsPageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsPageResponse.ProtoReflect.Descriptor instead.
func (*GetLogsPageResponse) GetEntries ¶ added in v0.45.0
func (x *GetLogsPageResponse) GetEntries() []*SystemLogsStreamResponse
func (*GetLogsPageResponse) GetHasMore ¶ added in v0.45.0
func (x *GetLogsPageResponse) GetHasMore() bool
func (*GetLogsPageResponse) ProtoMessage ¶ added in v0.45.0
func (*GetLogsPageResponse) ProtoMessage()
func (*GetLogsPageResponse) ProtoReflect ¶ added in v0.45.0
func (x *GetLogsPageResponse) ProtoReflect() protoreflect.Message
func (*GetLogsPageResponse) Reset ¶ added in v0.45.0
func (x *GetLogsPageResponse) Reset()
func (*GetLogsPageResponse) String ¶ added in v0.45.0
func (x *GetLogsPageResponse) 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"`
// 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) 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 ListSessionsRequest ¶ added in v0.43.0
type ListSessionsRequest struct {
// contains filtered or unexported fields
}
ListSessionsRequest message
func (*ListSessionsRequest) Descriptor
deprecated
added in
v0.43.0
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) ProtoMessage ¶ added in v0.43.0
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) ProtoReflect ¶ added in v0.43.0
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListSessionsRequest) Reset ¶ added in v0.43.0
func (x *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶ added in v0.43.0
func (x *ListSessionsRequest) String() string
type ListSessionsResponse ¶ added in v0.43.0
type ListSessionsResponse struct {
Sessions []*AcquirableSession `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"` // Sessions available for acquisition
// contains filtered or unexported fields
}
ListSessionsResponse message
func (*ListSessionsResponse) Descriptor
deprecated
added in
v0.43.0
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetSessions ¶ added in v0.43.0
func (x *ListSessionsResponse) GetSessions() []*AcquirableSession
func (*ListSessionsResponse) ProtoMessage ¶ added in v0.43.0
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶ added in v0.43.0
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶ added in v0.43.0
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶ added in v0.43.0
func (x *ListSessionsResponse) String() string
type LogLevel ¶ added in v0.44.0
type LogLevel int32
LogLevel identifies a k8shelld daemon log level for filtering.
func (LogLevel) Descriptor ¶ added in v0.44.0
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
added in
v0.44.0
func (LogLevel) Number ¶ added in v0.44.0
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶ added in v0.44.0
func (LogLevel) Type() protoreflect.EnumType
type LogType ¶
type LogType int32
Which log to return
func (LogType) Descriptor ¶
func (LogType) Descriptor() protoreflect.EnumDescriptor
func (LogType) EnumDescriptor
deprecated
func (LogType) Number ¶
func (x LogType) Number() protoreflect.EnumNumber
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 MountUsagePoint ¶ added in v0.46.0
type MountUsagePoint struct {
Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
UsedBytes *uint64 `protobuf:"varint,2,opt,name=usedBytes,proto3,oneof" json:"usedBytes,omitempty"`
TotalBytes *uint64 `protobuf:"varint,3,opt,name=totalBytes,proto3,oneof" json:"totalBytes,omitempty"`
// contains filtered or unexported fields
}
MountUsagePoint is a single historical mount-usage sample. See SystemMetricsPoint for the meaning of an unset numeric field.
func (*MountUsagePoint) Descriptor
deprecated
added in
v0.46.0
func (*MountUsagePoint) Descriptor() ([]byte, []int)
Deprecated: Use MountUsagePoint.ProtoReflect.Descriptor instead.
func (*MountUsagePoint) GetTime ¶ added in v0.46.0
func (x *MountUsagePoint) GetTime() string
func (*MountUsagePoint) GetTotalBytes ¶ added in v0.46.0
func (x *MountUsagePoint) GetTotalBytes() uint64
func (*MountUsagePoint) GetUsedBytes ¶ added in v0.46.0
func (x *MountUsagePoint) GetUsedBytes() uint64
func (*MountUsagePoint) ProtoMessage ¶ added in v0.46.0
func (*MountUsagePoint) ProtoMessage()
func (*MountUsagePoint) ProtoReflect ¶ added in v0.46.0
func (x *MountUsagePoint) ProtoReflect() protoreflect.Message
func (*MountUsagePoint) Reset ¶ added in v0.46.0
func (x *MountUsagePoint) Reset()
func (*MountUsagePoint) String ¶ added in v0.46.0
func (x *MountUsagePoint) String() string
type MountUsageSeries ¶ added in v0.46.0
type MountUsageSeries struct {
Points []*MountUsagePoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
// contains filtered or unexported fields
}
MountUsageSeries is one mount's historical usage samples.
func (*MountUsageSeries) Descriptor
deprecated
added in
v0.46.0
func (*MountUsageSeries) Descriptor() ([]byte, []int)
Deprecated: Use MountUsageSeries.ProtoReflect.Descriptor instead.
func (*MountUsageSeries) GetPoints ¶ added in v0.46.0
func (x *MountUsageSeries) GetPoints() []*MountUsagePoint
func (*MountUsageSeries) ProtoMessage ¶ added in v0.46.0
func (*MountUsageSeries) ProtoMessage()
func (*MountUsageSeries) ProtoReflect ¶ added in v0.46.0
func (x *MountUsageSeries) ProtoReflect() protoreflect.Message
func (*MountUsageSeries) Reset ¶ added in v0.46.0
func (x *MountUsageSeries) Reset()
func (*MountUsageSeries) String ¶ added in v0.46.0
func (x *MountUsageSeries) 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)
// ListSessions lists shell sessions that are currently available to be
// acquired for attachment (see AcquireSession), along with the OS user
// that owns each one.
ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, 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)
// ListSessions lists shell sessions that are currently available to be
// acquired for attachment (see AcquireSession), along with the OS user
// that owns each one.
ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, 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 SystemInfoHistoryRequest ¶ added in v0.46.0
type SystemInfoHistoryRequest struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // RFC3339 window start; ignored unless `to` is also set
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // RFC3339 window end; ignored unless `from` is also set
Range string `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"` // shorthand duration back from now; used only when from/to are not both set
Step string `protobuf:"bytes,4,opt,name=step,proto3" json:"step,omitempty"` // desired sample interval, e.g. "5m"
// contains filtered or unexported fields
}
SystemInfoHistoryRequest requests historical usage samples over a time window. Set `range` (a shorthand duration back from now, e.g. "30m", "2h", "24h") to request a window ending now, or set both `from` and `to` (RFC3339) for an explicit window; from/to take precedence over range when both are given. `step` is the caller's desired sample interval (e.g. "5m"); the daemon may coarsen it to respect its own point-count cap or native collection resolution and reports the step it actually used in the response.
func (*SystemInfoHistoryRequest) Descriptor
deprecated
added in
v0.46.0
func (*SystemInfoHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfoHistoryRequest.ProtoReflect.Descriptor instead.
func (*SystemInfoHistoryRequest) GetFrom ¶ added in v0.46.0
func (x *SystemInfoHistoryRequest) GetFrom() string
func (*SystemInfoHistoryRequest) GetRange ¶ added in v0.46.0
func (x *SystemInfoHistoryRequest) GetRange() string
func (*SystemInfoHistoryRequest) GetStep ¶ added in v0.46.0
func (x *SystemInfoHistoryRequest) GetStep() string
func (*SystemInfoHistoryRequest) GetTo ¶ added in v0.46.0
func (x *SystemInfoHistoryRequest) GetTo() string
func (*SystemInfoHistoryRequest) ProtoMessage ¶ added in v0.46.0
func (*SystemInfoHistoryRequest) ProtoMessage()
func (*SystemInfoHistoryRequest) ProtoReflect ¶ added in v0.46.0
func (x *SystemInfoHistoryRequest) ProtoReflect() protoreflect.Message
func (*SystemInfoHistoryRequest) Reset ¶ added in v0.46.0
func (x *SystemInfoHistoryRequest) Reset()
func (*SystemInfoHistoryRequest) String ¶ added in v0.46.0
func (x *SystemInfoHistoryRequest) String() string
type SystemInfoHistoryResponse ¶ added in v0.46.0
type SystemInfoHistoryResponse struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // actual window start (RFC3339) after any clamping
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // actual window end (RFC3339) after any clamping
Step string `protobuf:"bytes,3,opt,name=step,proto3" json:"step,omitempty"` // actual sample interval used, e.g. "5m"
System []*SystemMetricsPoint `protobuf:"bytes,4,rep,name=system,proto3" json:"system,omitempty"` // one point per sample time, oldest first
Mounts map[string]*MountUsageSeries `` // historical mount usage, keyed by mount path
/* 139-byte string literal not displayed */
DockerAvailable bool `protobuf:"varint,6,opt,name=docker_available,json=dockerAvailable,proto3" json:"docker_available,omitempty"` // false if Docker isn't available for this workspace; `docker` is meaningless when false
Docker []*DockerUsagePoint `protobuf:"bytes,7,rep,name=docker,proto3" json:"docker,omitempty"` // one point per sample time, oldest first; only meaningful when docker_available is true
// contains filtered or unexported fields
}
SystemInfoHistoryResponse message
func (*SystemInfoHistoryResponse) Descriptor
deprecated
added in
v0.46.0
func (*SystemInfoHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfoHistoryResponse.ProtoReflect.Descriptor instead.
func (*SystemInfoHistoryResponse) GetDocker ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) GetDocker() []*DockerUsagePoint
func (*SystemInfoHistoryResponse) GetDockerAvailable ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) GetDockerAvailable() bool
func (*SystemInfoHistoryResponse) GetFrom ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) GetFrom() string
func (*SystemInfoHistoryResponse) GetMounts ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) GetMounts() map[string]*MountUsageSeries
func (*SystemInfoHistoryResponse) GetStep ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) GetStep() string
func (*SystemInfoHistoryResponse) GetSystem ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) GetSystem() []*SystemMetricsPoint
func (*SystemInfoHistoryResponse) GetTo ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) GetTo() string
func (*SystemInfoHistoryResponse) ProtoMessage ¶ added in v0.46.0
func (*SystemInfoHistoryResponse) ProtoMessage()
func (*SystemInfoHistoryResponse) ProtoReflect ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) ProtoReflect() protoreflect.Message
func (*SystemInfoHistoryResponse) Reset ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) Reset()
func (*SystemInfoHistoryResponse) String ¶ added in v0.46.0
func (x *SystemInfoHistoryResponse) 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 SystemLogsStreamRequest ¶ added in v0.44.0
type SystemLogsStreamRequest struct {
Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` // Filter by component (empty = all)
Level LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=k8shelld.LogLevel" json:"level,omitempty"` // Filter by level (LOG_LEVEL_UNSPECIFIED = all)
Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"` // Keep streaming new entries as they arrive
LastN int32 `protobuf:"varint,4,opt,name=last_n,json=lastN,proto3" json:"last_n,omitempty"` // Start from the last N buffered entries (0 = from the start of the buffer)
// contains filtered or unexported fields
}
SystemLogsStreamRequest message
func (*SystemLogsStreamRequest) Descriptor
deprecated
added in
v0.44.0
func (*SystemLogsStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SystemLogsStreamRequest.ProtoReflect.Descriptor instead.
func (*SystemLogsStreamRequest) GetComponent ¶ added in v0.44.0
func (x *SystemLogsStreamRequest) GetComponent() string
func (*SystemLogsStreamRequest) GetFollow ¶ added in v0.44.0
func (x *SystemLogsStreamRequest) GetFollow() bool
func (*SystemLogsStreamRequest) GetLastN ¶ added in v0.44.0
func (x *SystemLogsStreamRequest) GetLastN() int32
func (*SystemLogsStreamRequest) GetLevel ¶ added in v0.44.0
func (x *SystemLogsStreamRequest) GetLevel() LogLevel
func (*SystemLogsStreamRequest) ProtoMessage ¶ added in v0.44.0
func (*SystemLogsStreamRequest) ProtoMessage()
func (*SystemLogsStreamRequest) ProtoReflect ¶ added in v0.44.0
func (x *SystemLogsStreamRequest) ProtoReflect() protoreflect.Message
func (*SystemLogsStreamRequest) Reset ¶ added in v0.44.0
func (x *SystemLogsStreamRequest) Reset()
func (*SystemLogsStreamRequest) String ¶ added in v0.44.0
func (x *SystemLogsStreamRequest) String() string
type SystemLogsStreamResponse ¶ added in v0.44.0
type SystemLogsStreamResponse struct {
Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
Component string `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"`
Level string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"`
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` // Stable, monotonically increasing sequence id of this entry
// contains filtered or unexported fields
}
SystemLogsStreamResponse message
func (*SystemLogsStreamResponse) Descriptor
deprecated
added in
v0.44.0
func (*SystemLogsStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SystemLogsStreamResponse.ProtoReflect.Descriptor instead.
func (*SystemLogsStreamResponse) GetComponent ¶ added in v0.44.0
func (x *SystemLogsStreamResponse) GetComponent() string
func (*SystemLogsStreamResponse) GetId ¶ added in v0.45.0
func (x *SystemLogsStreamResponse) GetId() int64
func (*SystemLogsStreamResponse) GetLevel ¶ added in v0.44.0
func (x *SystemLogsStreamResponse) GetLevel() string
func (*SystemLogsStreamResponse) GetMessage ¶ added in v0.44.0
func (x *SystemLogsStreamResponse) GetMessage() string
func (*SystemLogsStreamResponse) GetTime ¶ added in v0.44.0
func (x *SystemLogsStreamResponse) GetTime() string
func (*SystemLogsStreamResponse) ProtoMessage ¶ added in v0.44.0
func (*SystemLogsStreamResponse) ProtoMessage()
func (*SystemLogsStreamResponse) ProtoReflect ¶ added in v0.44.0
func (x *SystemLogsStreamResponse) ProtoReflect() protoreflect.Message
func (*SystemLogsStreamResponse) Reset ¶ added in v0.44.0
func (x *SystemLogsStreamResponse) Reset()
func (*SystemLogsStreamResponse) String ¶ added in v0.44.0
func (x *SystemLogsStreamResponse) 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 SystemMetricsPoint ¶ added in v0.46.0
type SystemMetricsPoint struct {
Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // RFC3339 sample timestamp
CpuUsageMillicores *float64 `protobuf:"fixed64,2,opt,name=cpuUsageMillicores,proto3,oneof" json:"cpuUsageMillicores,omitempty"`
CpuLimitMillicores *float64 `protobuf:"fixed64,3,opt,name=cpuLimitMillicores,proto3,oneof" json:"cpuLimitMillicores,omitempty"`
MemoryUsageMiB *float64 `protobuf:"fixed64,4,opt,name=memoryUsageMiB,proto3,oneof" json:"memoryUsageMiB,omitempty"`
MemLimitMiB *float64 `protobuf:"fixed64,5,opt,name=memLimitMiB,proto3,oneof" json:"memLimitMiB,omitempty"`
// contains filtered or unexported fields
}
SystemMetricsPoint is a single historical system-usage sample. A numeric field is left unset (rather than zero) when that metric genuinely wasn't collected at this time (e.g. workspace was stopped, agent restarted), so callers can render a gap instead of a false zero.
func (*SystemMetricsPoint) Descriptor
deprecated
added in
v0.46.0
func (*SystemMetricsPoint) Descriptor() ([]byte, []int)
Deprecated: Use SystemMetricsPoint.ProtoReflect.Descriptor instead.
func (*SystemMetricsPoint) GetCpuLimitMillicores ¶ added in v0.46.0
func (x *SystemMetricsPoint) GetCpuLimitMillicores() float64
func (*SystemMetricsPoint) GetCpuUsageMillicores ¶ added in v0.46.0
func (x *SystemMetricsPoint) GetCpuUsageMillicores() float64
func (*SystemMetricsPoint) GetMemLimitMiB ¶ added in v0.46.0
func (x *SystemMetricsPoint) GetMemLimitMiB() float64
func (*SystemMetricsPoint) GetMemoryUsageMiB ¶ added in v0.46.0
func (x *SystemMetricsPoint) GetMemoryUsageMiB() float64
func (*SystemMetricsPoint) GetTime ¶ added in v0.46.0
func (x *SystemMetricsPoint) GetTime() string
func (*SystemMetricsPoint) ProtoMessage ¶ added in v0.46.0
func (*SystemMetricsPoint) ProtoMessage()
func (*SystemMetricsPoint) ProtoReflect ¶ added in v0.46.0
func (x *SystemMetricsPoint) ProtoReflect() protoreflect.Message
func (*SystemMetricsPoint) Reset ¶ added in v0.46.0
func (x *SystemMetricsPoint) Reset()
func (*SystemMetricsPoint) String ¶ added in v0.46.0
func (x *SystemMetricsPoint) 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)
// SystemInfoHistory returns historical system/mount/docker usage samples
// for charting. The daemon owns retention, collection resolution, and
// coarsening: the caller states its desired window (range, or from/to)
// and desired step, and gets back the window and step actually used.
SystemInfoHistory(ctx context.Context, in *SystemInfoHistoryRequest, opts ...grpc.CallOption) (*SystemInfoHistoryResponse, error)
// GetLogsStream streams k8shelld daemon logs (the same logs shown by
// `kbox logs`). With follow=false it returns the currently buffered
// entries and closes the stream; with follow=true it keeps streaming new
// entries as they are produced until the client cancels.
GetLogsStream(ctx context.Context, in *SystemLogsStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SystemLogsStreamResponse], error)
// GetLogsPage returns one page of k8shelld daemon logs strictly older
// than before_id, for "load more" / infinite-scroll style backward
// pagination independent of GetLogsStream's live tail. Pass the id of
// the oldest entry currently held by the caller (from GetLogsStream's
// initial backlog, or from the previous GetLogsPage response) as
// before_id to fetch the page before it.
GetLogsPage(ctx context.Context, in *GetLogsPageRequest, opts ...grpc.CallOption) (*GetLogsPageResponse, error)
// GetBlueprint returns the blueprint this workspace was created from.
GetBlueprint(ctx context.Context, in *GetBlueprintRequest, opts ...grpc.CallOption) (*GetBlueprintResponse, error)
// GetVersionInfo returns build and version metadata for this service: its
// released semantic version, the git commit it was built from, and a short
// description of what the service does.
GetVersionInfo(ctx context.Context, in *v1.GetVersionInfoRequest, opts ...grpc.CallOption) (*v1.GetVersionInfoResponse, 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.
func NewSystemServiceClient ¶
func NewSystemServiceClient(cc grpc.ClientConnInterface) SystemServiceClient
type SystemServiceServer ¶
type SystemServiceServer interface {
Handshake(context.Context, *HandshakeRequest) (*HandshakeResponse, error)
SystemInfo(context.Context, *SystemInfoRequest) (*SystemInfoResponse, error)
// SystemInfoHistory returns historical system/mount/docker usage samples
// for charting. The daemon owns retention, collection resolution, and
// coarsening: the caller states its desired window (range, or from/to)
// and desired step, and gets back the window and step actually used.
SystemInfoHistory(context.Context, *SystemInfoHistoryRequest) (*SystemInfoHistoryResponse, error)
// GetLogsStream streams k8shelld daemon logs (the same logs shown by
// `kbox logs`). With follow=false it returns the currently buffered
// entries and closes the stream; with follow=true it keeps streaming new
// entries as they are produced until the client cancels.
GetLogsStream(*SystemLogsStreamRequest, grpc.ServerStreamingServer[SystemLogsStreamResponse]) error
// GetLogsPage returns one page of k8shelld daemon logs strictly older
// than before_id, for "load more" / infinite-scroll style backward
// pagination independent of GetLogsStream's live tail. Pass the id of
// the oldest entry currently held by the caller (from GetLogsStream's
// initial backlog, or from the previous GetLogsPage response) as
// before_id to fetch the page before it.
GetLogsPage(context.Context, *GetLogsPageRequest) (*GetLogsPageResponse, error)
// GetBlueprint returns the blueprint this workspace was created from.
GetBlueprint(context.Context, *GetBlueprintRequest) (*GetBlueprintResponse, error)
// GetVersionInfo returns build and version metadata for this service: its
// released semantic version, the git commit it was built from, and a short
// description of what the service does.
GetVersionInfo(context.Context, *v1.GetVersionInfoRequest) (*v1.GetVersionInfoResponse, error)
// contains filtered or unexported methods
}
SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility.
type SystemService_GetLogsStreamClient ¶ added in v0.44.0
type SystemService_GetLogsStreamClient = grpc.ServerStreamingClient[SystemLogsStreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SystemService_GetLogsStreamServer ¶ added in v0.44.0
type SystemService_GetLogsStreamServer = grpc.ServerStreamingServer[SystemLogsStreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TerminalSize ¶ added in v0.62.0
type TerminalSize struct {
Width uint32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // Terminal width (columns)
Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // Terminal height (rows)
// contains filtered or unexported fields
}
Terminal size message
func (*TerminalSize) Descriptor
deprecated
added in
v0.62.0
func (*TerminalSize) Descriptor() ([]byte, []int)
Deprecated: Use TerminalSize.ProtoReflect.Descriptor instead.
func (*TerminalSize) GetHeight ¶ added in v0.62.0
func (x *TerminalSize) GetHeight() uint32
func (*TerminalSize) GetWidth ¶ added in v0.62.0
func (x *TerminalSize) GetWidth() uint32
func (*TerminalSize) ProtoMessage ¶ added in v0.62.0
func (*TerminalSize) ProtoMessage()
func (*TerminalSize) ProtoReflect ¶ added in v0.62.0
func (x *TerminalSize) ProtoReflect() protoreflect.Message
func (*TerminalSize) Reset ¶ added in v0.62.0
func (x *TerminalSize) Reset()
func (*TerminalSize) String ¶ added in v0.62.0
func (x *TerminalSize) String() string
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) GetLogs(context.Context, *GetLogsRequest) (*GetLogsResponse, error)
func (UnimplementedAppServiceServer) GetLogsStream ¶
func (UnimplementedAppServiceServer) GetLogsStream(*GetLogsStreamRequest, grpc.ServerStreamingServer[GetLogsStreamResponse]) error
func (UnimplementedAppServiceServer) InstallApp ¶
func (UnimplementedAppServiceServer) InstallApp(context.Context, *InstallAppRequest) (*InstallAppResponse, error)
func (UnimplementedAppServiceServer) ListApps ¶
func (UnimplementedAppServiceServer) ListApps(context.Context, *ListAppsRequest) (*ListAppsResponse, error)
func (UnimplementedAppServiceServer) StartApp ¶
func (UnimplementedAppServiceServer) StartApp(context.Context, *StartAppRequest) (*StartAppResponse, error)
func (UnimplementedAppServiceServer) StopApp ¶
func (UnimplementedAppServiceServer) StopApp(context.Context, *StopAppRequest) (*StopAppResponse, error)
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) AcquireSession(context.Context, *AcquireSessionRequest) (*AcquireSessionResponse, error)
func (UnimplementedSshServiceServer) Exec ¶
func (UnimplementedSshServiceServer) Exec(grpc.BidiStreamingServer[ExecRequest, ExecResponse]) error
func (UnimplementedSshServiceServer) GetCWD ¶
func (UnimplementedSshServiceServer) GetCWD(context.Context, *GetCWDRequest) (*GetCWDResponse, error)
func (UnimplementedSshServiceServer) ListSessions ¶ added in v0.43.0
func (UnimplementedSshServiceServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
func (UnimplementedSshServiceServer) PortForward ¶
func (UnimplementedSshServiceServer) PortForward(grpc.BidiStreamingServer[PortForwardRequest, PortForwardResponse]) error
func (UnimplementedSshServiceServer) ResizeTerminal ¶
func (UnimplementedSshServiceServer) ResizeTerminal(context.Context, *ResizeTerminalRequest) (*ResizeTerminalResponse, error)
func (UnimplementedSshServiceServer) Shell ¶
func (UnimplementedSshServiceServer) Shell(grpc.BidiStreamingServer[ShellRequest, ShellResponse]) error
func (UnimplementedSshServiceServer) UnixSocket ¶
func (UnimplementedSshServiceServer) UnixSocket(grpc.BidiStreamingServer[UnixSocketRequest, UnixSocketResponse]) error
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) GetBlueprint ¶ added in v0.47.0
func (UnimplementedSystemServiceServer) GetBlueprint(context.Context, *GetBlueprintRequest) (*GetBlueprintResponse, error)
func (UnimplementedSystemServiceServer) GetLogsPage ¶ added in v0.45.0
func (UnimplementedSystemServiceServer) GetLogsPage(context.Context, *GetLogsPageRequest) (*GetLogsPageResponse, error)
func (UnimplementedSystemServiceServer) GetLogsStream ¶ added in v0.44.0
func (UnimplementedSystemServiceServer) GetLogsStream(*SystemLogsStreamRequest, grpc.ServerStreamingServer[SystemLogsStreamResponse]) error
func (UnimplementedSystemServiceServer) GetVersionInfo ¶ added in v0.49.0
func (UnimplementedSystemServiceServer) GetVersionInfo(context.Context, *v1.GetVersionInfoRequest) (*v1.GetVersionInfoResponse, error)
func (UnimplementedSystemServiceServer) Handshake ¶
func (UnimplementedSystemServiceServer) Handshake(context.Context, *HandshakeRequest) (*HandshakeResponse, error)
func (UnimplementedSystemServiceServer) SystemInfo ¶
func (UnimplementedSystemServiceServer) SystemInfo(context.Context, *SystemInfoRequest) (*SystemInfoResponse, error)
func (UnimplementedSystemServiceServer) SystemInfoHistory ¶ added in v0.46.0
func (UnimplementedSystemServiceServer) SystemInfoHistory(context.Context, *SystemInfoHistoryRequest) (*SystemInfoHistoryResponse, error)
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) Descriptor() protoreflect.EnumDescriptor
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 (x UnixSocketMode) Number() protoreflect.EnumNumber
func (UnixSocketMode) String ¶
func (x UnixSocketMode) String() string
func (UnixSocketMode) Type ¶
func (UnixSocketMode) Type() protoreflect.EnumType
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 (x *UnixSocketStartRequest) GetMode() UnixSocketMode
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 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.