Files
panel/proto/panel/v1/panel.pb.go
T
dbledeez 4ccccc6fe2 panel v0.9.2 — public release
Self-hostable game server control panel: Go controller + agent, 26 game
modules, embedded web UI. One-line install via install.sh / install.ps1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 00:43:35 -07:00

1859 lines
58 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc (unknown)
// source: panel/v1/panel.proto
package panelv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type ListAgentsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAgentsRequest) Reset() {
*x = ListAgentsRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAgentsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAgentsRequest) ProtoMessage() {}
func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentsRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{0}
}
type ListAgentsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Agents []*AgentInfo `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAgentsResponse) Reset() {
*x = ListAgentsResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAgentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAgentsResponse) ProtoMessage() {}
func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentsResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{1}
}
func (x *ListAgentsResponse) GetAgents() []*AgentInfo {
if x != nil {
return x.Agents
}
return nil
}
type AgentInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
HostOs string `protobuf:"bytes,3,opt,name=host_os,json=hostOs,proto3" json:"host_os,omitempty"`
HostArch string `protobuf:"bytes,4,opt,name=host_arch,json=hostArch,proto3" json:"host_arch,omitempty"`
Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"`
ConnectedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=connected_at,json=connectedAt,proto3" json:"connected_at,omitempty"`
LastSeen *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AgentInfo) Reset() {
*x = AgentInfo{}
mi := &file_panel_v1_panel_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AgentInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AgentInfo) ProtoMessage() {}
func (x *AgentInfo) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AgentInfo.ProtoReflect.Descriptor instead.
func (*AgentInfo) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{2}
}
func (x *AgentInfo) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *AgentInfo) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *AgentInfo) GetHostOs() string {
if x != nil {
return x.HostOs
}
return ""
}
func (x *AgentInfo) GetHostArch() string {
if x != nil {
return x.HostArch
}
return ""
}
func (x *AgentInfo) GetHostname() string {
if x != nil {
return x.Hostname
}
return ""
}
func (x *AgentInfo) GetConnectedAt() *timestamppb.Timestamp {
if x != nil {
return x.ConnectedAt
}
return nil
}
func (x *AgentInfo) GetLastSeen() *timestamppb.Timestamp {
if x != nil {
return x.LastSeen
}
return nil
}
type CreateInstanceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
ModuleId string `protobuf:"bytes,3,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
RunMode RunMode `protobuf:"varint,5,opt,name=run_mode,json=runMode,proto3,enum=panel.v1.RunMode" json:"run_mode,omitempty"`
DataPath string `protobuf:"bytes,6,opt,name=data_path,json=dataPath,proto3" json:"data_path,omitempty"` // optional; agent will derive if empty
ConfigValues map[string]string `protobuf:"bytes,7,rep,name=config_values,json=configValues,proto3" json:"config_values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // user-supplied overrides, module-validated
Ports []*PortMap `protobuf:"bytes,8,rep,name=ports,proto3" json:"ports,omitempty"` // port overrides
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateInstanceRequest) Reset() {
*x = CreateInstanceRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateInstanceRequest) ProtoMessage() {}
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{3}
}
func (x *CreateInstanceRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *CreateInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *CreateInstanceRequest) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
func (x *CreateInstanceRequest) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *CreateInstanceRequest) GetRunMode() RunMode {
if x != nil {
return x.RunMode
}
return RunMode_RUN_MODE_UNSPECIFIED
}
func (x *CreateInstanceRequest) GetDataPath() string {
if x != nil {
return x.DataPath
}
return ""
}
func (x *CreateInstanceRequest) GetConfigValues() map[string]string {
if x != nil {
return x.ConfigValues
}
return nil
}
func (x *CreateInstanceRequest) GetPorts() []*PortMap {
if x != nil {
return x.Ports
}
return nil
}
type CreateInstanceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
CorrelationId string `protobuf:"bytes,2,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateInstanceResponse) Reset() {
*x = CreateInstanceResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateInstanceResponse) ProtoMessage() {}
func (x *CreateInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateInstanceResponse.ProtoReflect.Descriptor instead.
func (*CreateInstanceResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{4}
}
func (x *CreateInstanceResponse) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *CreateInstanceResponse) GetCorrelationId() string {
if x != nil {
return x.CorrelationId
}
return ""
}
type StartInstanceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StartInstanceRequest) Reset() {
*x = StartInstanceRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StartInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StartInstanceRequest) ProtoMessage() {}
func (x *StartInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StartInstanceRequest.ProtoReflect.Descriptor instead.
func (*StartInstanceRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{5}
}
func (x *StartInstanceRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *StartInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
type StartInstanceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
CorrelationId string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StartInstanceResponse) Reset() {
*x = StartInstanceResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StartInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StartInstanceResponse) ProtoMessage() {}
func (x *StartInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StartInstanceResponse.ProtoReflect.Descriptor instead.
func (*StartInstanceResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{6}
}
func (x *StartInstanceResponse) GetCorrelationId() string {
if x != nil {
return x.CorrelationId
}
return ""
}
type StopInstanceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
GraceSeconds uint32 `protobuf:"varint,3,opt,name=grace_seconds,json=graceSeconds,proto3" json:"grace_seconds,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StopInstanceRequest) Reset() {
*x = StopInstanceRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StopInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StopInstanceRequest) ProtoMessage() {}
func (x *StopInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StopInstanceRequest.ProtoReflect.Descriptor instead.
func (*StopInstanceRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{7}
}
func (x *StopInstanceRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *StopInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *StopInstanceRequest) GetGraceSeconds() uint32 {
if x != nil {
return x.GraceSeconds
}
return 0
}
type StopInstanceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
CorrelationId string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StopInstanceResponse) Reset() {
*x = StopInstanceResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StopInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StopInstanceResponse) ProtoMessage() {}
func (x *StopInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StopInstanceResponse.ProtoReflect.Descriptor instead.
func (*StopInstanceResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{8}
}
func (x *StopInstanceResponse) GetCorrelationId() string {
if x != nil {
return x.CorrelationId
}
return ""
}
type DeleteInstanceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
GraceSeconds uint32 `protobuf:"varint,3,opt,name=grace_seconds,json=graceSeconds,proto3" json:"grace_seconds,omitempty"`
PurgeVolumes bool `protobuf:"varint,4,opt,name=purge_volumes,json=purgeVolumes,proto3" json:"purge_volumes,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteInstanceRequest) Reset() {
*x = DeleteInstanceRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteInstanceRequest) ProtoMessage() {}
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{9}
}
func (x *DeleteInstanceRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *DeleteInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *DeleteInstanceRequest) GetGraceSeconds() uint32 {
if x != nil {
return x.GraceSeconds
}
return 0
}
func (x *DeleteInstanceRequest) GetPurgeVolumes() bool {
if x != nil {
return x.PurgeVolumes
}
return false
}
type DeleteInstanceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
CorrelationId string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteInstanceResponse) Reset() {
*x = DeleteInstanceResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteInstanceResponse) ProtoMessage() {}
func (x *DeleteInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteInstanceResponse.ProtoReflect.Descriptor instead.
func (*DeleteInstanceResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{10}
}
func (x *DeleteInstanceResponse) GetCorrelationId() string {
if x != nil {
return x.CorrelationId
}
return ""
}
// ExecRCON sends an ad-hoc RCON command to the running instance and waits
// synchronously for the agent's response. The controller correlates the
// request → response round-trip by correlation_id.
type ExecRCONRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
TimeoutMs uint32 `protobuf:"varint,4,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"` // optional; default 10000
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecRCONRequest) Reset() {
*x = ExecRCONRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecRCONRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecRCONRequest) ProtoMessage() {}
func (x *ExecRCONRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ExecRCONRequest.ProtoReflect.Descriptor instead.
func (*ExecRCONRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{11}
}
func (x *ExecRCONRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *ExecRCONRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *ExecRCONRequest) GetCommand() string {
if x != nil {
return x.Command
}
return ""
}
func (x *ExecRCONRequest) GetTimeoutMs() uint32 {
if x != nil {
return x.TimeoutMs
}
return 0
}
type ExecRCONResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
CorrelationId string `protobuf:"bytes,3,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecRCONResponse) Reset() {
*x = ExecRCONResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecRCONResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecRCONResponse) ProtoMessage() {}
func (x *ExecRCONResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ExecRCONResponse.ProtoReflect.Descriptor instead.
func (*ExecRCONResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{12}
}
func (x *ExecRCONResponse) GetOutput() string {
if x != nil {
return x.Output
}
return ""
}
func (x *ExecRCONResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
func (x *ExecRCONResponse) GetCorrelationId() string {
if x != nil {
return x.CorrelationId
}
return ""
}
// UpdateInstance kicks off a module-declared update provider against the
// target instance. The agent runs it asynchronously; progress streams as
// LogLines on the event bus.
type UpdateInstanceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
ProviderId string `protobuf:"bytes,3,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"` // empty = first provider
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateInstanceRequest) Reset() {
*x = UpdateInstanceRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateInstanceRequest) ProtoMessage() {}
func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.
func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{13}
}
func (x *UpdateInstanceRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *UpdateInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *UpdateInstanceRequest) GetProviderId() string {
if x != nil {
return x.ProviderId
}
return ""
}
type UpdateInstanceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Accepted bool `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
ProviderId string `protobuf:"bytes,3,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
ProviderKind string `protobuf:"bytes,4,opt,name=provider_kind,json=providerKind,proto3" json:"provider_kind,omitempty"`
CorrelationId string `protobuf:"bytes,5,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateInstanceResponse) Reset() {
*x = UpdateInstanceResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateInstanceResponse) ProtoMessage() {}
func (x *UpdateInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateInstanceResponse.ProtoReflect.Descriptor instead.
func (*UpdateInstanceResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{14}
}
func (x *UpdateInstanceResponse) GetAccepted() bool {
if x != nil {
return x.Accepted
}
return false
}
func (x *UpdateInstanceResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
func (x *UpdateInstanceResponse) GetProviderId() string {
if x != nil {
return x.ProviderId
}
return ""
}
func (x *UpdateInstanceResponse) GetProviderKind() string {
if x != nil {
return x.ProviderKind
}
return ""
}
func (x *UpdateInstanceResponse) GetCorrelationId() string {
if x != nil {
return x.CorrelationId
}
return ""
}
type CreateBackupRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBackupRequest) Reset() {
*x = CreateBackupRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateBackupRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBackupRequest) ProtoMessage() {}
func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{15}
}
func (x *CreateBackupRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *CreateBackupRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *CreateBackupRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
type CreateBackupResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBackupResponse) Reset() {
*x = CreateBackupResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateBackupResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBackupResponse) ProtoMessage() {}
func (x *CreateBackupResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBackupResponse.ProtoReflect.Descriptor instead.
func (*CreateBackupResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{16}
}
func (x *CreateBackupResponse) GetBackupId() string {
if x != nil {
return x.BackupId
}
return ""
}
func (x *CreateBackupResponse) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *CreateBackupResponse) GetSizeBytes() int64 {
if x != nil {
return x.SizeBytes
}
return 0
}
func (x *CreateBackupResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
type RestoreBackupRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
BackupId string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RestoreBackupRequest) Reset() {
*x = RestoreBackupRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RestoreBackupRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RestoreBackupRequest) ProtoMessage() {}
func (x *RestoreBackupRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RestoreBackupRequest.ProtoReflect.Descriptor instead.
func (*RestoreBackupRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{17}
}
func (x *RestoreBackupRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *RestoreBackupRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *RestoreBackupRequest) GetBackupId() string {
if x != nil {
return x.BackupId
}
return ""
}
type RestoreBackupResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BytesRestored int64 `protobuf:"varint,1,opt,name=bytes_restored,json=bytesRestored,proto3" json:"bytes_restored,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RestoreBackupResponse) Reset() {
*x = RestoreBackupResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RestoreBackupResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RestoreBackupResponse) ProtoMessage() {}
func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.
func (*RestoreBackupResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{18}
}
func (x *RestoreBackupResponse) GetBytesRestored() int64 {
if x != nil {
return x.BytesRestored
}
return 0
}
func (x *RestoreBackupResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
type InstanceInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
ModuleId string `protobuf:"bytes,3,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
ModuleVersion string `protobuf:"bytes,4,opt,name=module_version,json=moduleVersion,proto3" json:"module_version,omitempty"`
RunMode RunMode `protobuf:"varint,5,opt,name=run_mode,json=runMode,proto3,enum=panel.v1.RunMode" json:"run_mode,omitempty"`
Status InstanceStatus `protobuf:"varint,6,opt,name=status,proto3,enum=panel.v1.InstanceStatus" json:"status,omitempty"`
LastExitCode int32 `protobuf:"varint,7,opt,name=last_exit_code,json=lastExitCode,proto3" json:"last_exit_code,omitempty"`
DataPath string `protobuf:"bytes,8,opt,name=data_path,json=dataPath,proto3" json:"data_path,omitempty"`
Detail string `protobuf:"bytes,9,opt,name=detail,proto3" json:"detail,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InstanceInfo) Reset() {
*x = InstanceInfo{}
mi := &file_panel_v1_panel_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InstanceInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InstanceInfo) ProtoMessage() {}
func (x *InstanceInfo) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InstanceInfo.ProtoReflect.Descriptor instead.
func (*InstanceInfo) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{19}
}
func (x *InstanceInfo) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *InstanceInfo) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *InstanceInfo) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
func (x *InstanceInfo) GetModuleVersion() string {
if x != nil {
return x.ModuleVersion
}
return ""
}
func (x *InstanceInfo) GetRunMode() RunMode {
if x != nil {
return x.RunMode
}
return RunMode_RUN_MODE_UNSPECIFIED
}
func (x *InstanceInfo) GetStatus() InstanceStatus {
if x != nil {
return x.Status
}
return InstanceStatus_INSTANCE_STATUS_UNSPECIFIED
}
func (x *InstanceInfo) GetLastExitCode() int32 {
if x != nil {
return x.LastExitCode
}
return 0
}
func (x *InstanceInfo) GetDataPath() string {
if x != nil {
return x.DataPath
}
return ""
}
func (x *InstanceInfo) GetDetail() string {
if x != nil {
return x.Detail
}
return ""
}
func (x *InstanceInfo) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *InstanceInfo) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
type ListInstancesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // optional filter by agent
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListInstancesRequest) Reset() {
*x = ListInstancesRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListInstancesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListInstancesRequest) ProtoMessage() {}
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{20}
}
func (x *ListInstancesRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
type ListInstancesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Instances []*InstanceInfo `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListInstancesResponse) Reset() {
*x = ListInstancesResponse{}
mi := &file_panel_v1_panel_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListInstancesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListInstancesResponse) ProtoMessage() {}
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{21}
}
func (x *ListInstancesResponse) GetInstances() []*InstanceInfo {
if x != nil {
return x.Instances
}
return nil
}
// StreamEvents — server streaming of the live event bus. Filters are
// optional AND-ed; empty strings = no filter on that field.
type StreamEventsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StreamEventsRequest) Reset() {
*x = StreamEventsRequest{}
mi := &file_panel_v1_panel_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StreamEventsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StreamEventsRequest) ProtoMessage() {}
func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.
func (*StreamEventsRequest) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{22}
}
func (x *StreamEventsRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *StreamEventsRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
// Event is the controller's normalized form of everything an agent sends
// up that isn't a one-shot command result. It wraps the original payload
// and annotates it with the agent_id for filtering + display.
type Event struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
At *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"`
// Types that are valid to be assigned to Payload:
//
// *Event_InstanceState
// *Event_AppState
// *Event_Player
// *Event_Log
// *Event_InstanceStats
Payload isEvent_Payload `protobuf_oneof:"payload"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Event) Reset() {
*x = Event{}
mi := &file_panel_v1_panel_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Event) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Event) ProtoMessage() {}
func (x *Event) ProtoReflect() protoreflect.Message {
mi := &file_panel_v1_panel_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Event.ProtoReflect.Descriptor instead.
func (*Event) Descriptor() ([]byte, []int) {
return file_panel_v1_panel_proto_rawDescGZIP(), []int{23}
}
func (x *Event) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *Event) GetAt() *timestamppb.Timestamp {
if x != nil {
return x.At
}
return nil
}
func (x *Event) GetPayload() isEvent_Payload {
if x != nil {
return x.Payload
}
return nil
}
func (x *Event) GetInstanceState() *InstanceStateUpdate {
if x != nil {
if x, ok := x.Payload.(*Event_InstanceState); ok {
return x.InstanceState
}
}
return nil
}
func (x *Event) GetAppState() *AppStateUpdate {
if x != nil {
if x, ok := x.Payload.(*Event_AppState); ok {
return x.AppState
}
}
return nil
}
func (x *Event) GetPlayer() *PlayerEvent {
if x != nil {
if x, ok := x.Payload.(*Event_Player); ok {
return x.Player
}
}
return nil
}
func (x *Event) GetLog() *LogLine {
if x != nil {
if x, ok := x.Payload.(*Event_Log); ok {
return x.Log
}
}
return nil
}
func (x *Event) GetInstanceStats() *InstanceStatsUpdate {
if x != nil {
if x, ok := x.Payload.(*Event_InstanceStats); ok {
return x.InstanceStats
}
}
return nil
}
type isEvent_Payload interface {
isEvent_Payload()
}
type Event_InstanceState struct {
InstanceState *InstanceStateUpdate `protobuf:"bytes,10,opt,name=instance_state,json=instanceState,proto3,oneof"`
}
type Event_AppState struct {
AppState *AppStateUpdate `protobuf:"bytes,11,opt,name=app_state,json=appState,proto3,oneof"`
}
type Event_Player struct {
Player *PlayerEvent `protobuf:"bytes,12,opt,name=player,proto3,oneof"`
}
type Event_Log struct {
Log *LogLine `protobuf:"bytes,13,opt,name=log,proto3,oneof"`
}
type Event_InstanceStats struct {
InstanceStats *InstanceStatsUpdate `protobuf:"bytes,14,opt,name=instance_stats,json=instanceStats,proto3,oneof"`
}
func (*Event_InstanceState) isEvent_Payload() {}
func (*Event_AppState) isEvent_Payload() {}
func (*Event_Player) isEvent_Payload() {}
func (*Event_Log) isEvent_Payload() {}
func (*Event_InstanceStats) isEvent_Payload() {}
var File_panel_v1_panel_proto protoreflect.FileDescriptor
const file_panel_v1_panel_proto_rawDesc = "" +
"\n" +
"\x14panel/v1/panel.proto\x12\bpanel.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14panel/v1/agent.proto\x1a\x15panel/v1/common.proto\"\x13\n" +
"\x11ListAgentsRequest\"A\n" +
"\x12ListAgentsResponse\x12+\n" +
"\x06agents\x18\x01 \x03(\v2\x13.panel.v1.AgentInfoR\x06agents\"\x8a\x02\n" +
"\tAgentInfo\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x18\n" +
"\aversion\x18\x02 \x01(\tR\aversion\x12\x17\n" +
"\ahost_os\x18\x03 \x01(\tR\x06hostOs\x12\x1b\n" +
"\thost_arch\x18\x04 \x01(\tR\bhostArch\x12\x1a\n" +
"\bhostname\x18\x05 \x01(\tR\bhostname\x12=\n" +
"\fconnected_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\vconnectedAt\x127\n" +
"\tlast_seen\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\blastSeen\"\x97\x03\n" +
"\x15CreateInstanceRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x1f\n" +
"\vinstance_id\x18\x02 \x01(\tR\n" +
"instanceId\x12\x1b\n" +
"\tmodule_id\x18\x03 \x01(\tR\bmoduleId\x12\x18\n" +
"\aversion\x18\x04 \x01(\tR\aversion\x12,\n" +
"\brun_mode\x18\x05 \x01(\x0e2\x11.panel.v1.RunModeR\arunMode\x12\x1b\n" +
"\tdata_path\x18\x06 \x01(\tR\bdataPath\x12V\n" +
"\rconfig_values\x18\a \x03(\v21.panel.v1.CreateInstanceRequest.ConfigValuesEntryR\fconfigValues\x12'\n" +
"\x05ports\x18\b \x03(\v2\x11.panel.v1.PortMapR\x05ports\x1a?\n" +
"\x11ConfigValuesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"`\n" +
"\x16CreateInstanceResponse\x12\x1f\n" +
"\vinstance_id\x18\x01 \x01(\tR\n" +
"instanceId\x12%\n" +
"\x0ecorrelation_id\x18\x02 \x01(\tR\rcorrelationId\"R\n" +
"\x14StartInstanceRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x1f\n" +
"\vinstance_id\x18\x02 \x01(\tR\n" +
"instanceId\">\n" +
"\x15StartInstanceResponse\x12%\n" +
"\x0ecorrelation_id\x18\x01 \x01(\tR\rcorrelationId\"v\n" +
"\x13StopInstanceRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x1f\n" +
"\vinstance_id\x18\x02 \x01(\tR\n" +
"instanceId\x12#\n" +
"\rgrace_seconds\x18\x03 \x01(\rR\fgraceSeconds\"=\n" +
"\x14StopInstanceResponse\x12%\n" +
"\x0ecorrelation_id\x18\x01 \x01(\tR\rcorrelationId\"\x9d\x01\n" +
"\x15DeleteInstanceRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x1f\n" +
"\vinstance_id\x18\x02 \x01(\tR\n" +
"instanceId\x12#\n" +
"\rgrace_seconds\x18\x03 \x01(\rR\fgraceSeconds\x12#\n" +
"\rpurge_volumes\x18\x04 \x01(\bR\fpurgeVolumes\"?\n" +
"\x16DeleteInstanceResponse\x12%\n" +
"\x0ecorrelation_id\x18\x01 \x01(\tR\rcorrelationId\"\x86\x01\n" +
"\x0fExecRCONRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x1f\n" +
"\vinstance_id\x18\x02 \x01(\tR\n" +
"instanceId\x12\x18\n" +
"\acommand\x18\x03 \x01(\tR\acommand\x12\x1d\n" +
"\n" +
"timeout_ms\x18\x04 \x01(\rR\ttimeoutMs\"g\n" +
"\x10ExecRCONResponse\x12\x16\n" +
"\x06output\x18\x01 \x01(\tR\x06output\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\x12%\n" +
"\x0ecorrelation_id\x18\x03 \x01(\tR\rcorrelationId\"t\n" +
"\x15UpdateInstanceRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x1f\n" +
"\vinstance_id\x18\x02 \x01(\tR\n" +
"instanceId\x12\x1f\n" +
"\vprovider_id\x18\x03 \x01(\tR\n" +
"providerId\"\xb7\x01\n" +
"\x16UpdateInstanceResponse\x12\x1a\n" +
"\baccepted\x18\x01 \x01(\bR\baccepted\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\x12\x1f\n" +
"\vprovider_id\x18\x03 \x01(\tR\n" +
"providerId\x12#\n" +
"\rprovider_kind\x18\x04 \x01(\tR\fproviderKind\x12%\n" +
"\x0ecorrelation_id\x18\x05 \x01(\tR\rcorrelationId\"s\n" +
"\x13CreateBackupRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x1f\n" +
"\vinstance_id\x18\x02 \x01(\tR\n" +
"instanceId\x12 \n" +
"\vdescription\x18\x03 \x01(\tR\vdescription\"|\n" +
"\x14CreateBackupResponse\x12\x1b\n" +
"\tbackup_id\x18\x01 \x01(\tR\bbackupId\x12\x12\n" +
"\x04path\x18\x02 \x01(\tR\x04path\x12\x1d\n" +
"\n" +
"size_bytes\x18\x03 \x01(\x03R\tsizeBytes\x12\x14\n" +
"\x05error\x18\x04 \x01(\tR\x05error\"o\n" +
"\x14RestoreBackupRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x1f\n" +
"\vinstance_id\x18\x02 \x01(\tR\n" +
"instanceId\x12\x1b\n" +
"\tbackup_id\x18\x03 \x01(\tR\bbackupId\"T\n" +
"\x15RestoreBackupResponse\x12%\n" +
"\x0ebytes_restored\x18\x01 \x01(\x03R\rbytesRestored\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\"\xbf\x03\n" +
"\fInstanceInfo\x12\x1f\n" +
"\vinstance_id\x18\x01 \x01(\tR\n" +
"instanceId\x12\x19\n" +
"\bagent_id\x18\x02 \x01(\tR\aagentId\x12\x1b\n" +
"\tmodule_id\x18\x03 \x01(\tR\bmoduleId\x12%\n" +
"\x0emodule_version\x18\x04 \x01(\tR\rmoduleVersion\x12,\n" +
"\brun_mode\x18\x05 \x01(\x0e2\x11.panel.v1.RunModeR\arunMode\x120\n" +
"\x06status\x18\x06 \x01(\x0e2\x18.panel.v1.InstanceStatusR\x06status\x12$\n" +
"\x0elast_exit_code\x18\a \x01(\x05R\flastExitCode\x12\x1b\n" +
"\tdata_path\x18\b \x01(\tR\bdataPath\x12\x16\n" +
"\x06detail\x18\t \x01(\tR\x06detail\x129\n" +
"\n" +
"created_at\x18\n" +
" \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"1\n" +
"\x14ListInstancesRequest\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\"M\n" +
"\x15ListInstancesResponse\x124\n" +
"\tinstances\x18\x01 \x03(\v2\x16.panel.v1.InstanceInfoR\tinstances\"Q\n" +
"\x13StreamEventsRequest\x12\x1f\n" +
"\vinstance_id\x18\x01 \x01(\tR\n" +
"instanceId\x12\x19\n" +
"\bagent_id\x18\x02 \x01(\tR\aagentId\"\xfa\x02\n" +
"\x05Event\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12*\n" +
"\x02at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x02at\x12F\n" +
"\x0einstance_state\x18\n" +
" \x01(\v2\x1d.panel.v1.InstanceStateUpdateH\x00R\rinstanceState\x127\n" +
"\tapp_state\x18\v \x01(\v2\x18.panel.v1.AppStateUpdateH\x00R\bappState\x12/\n" +
"\x06player\x18\f \x01(\v2\x15.panel.v1.PlayerEventH\x00R\x06player\x12%\n" +
"\x03log\x18\r \x01(\v2\x11.panel.v1.LogLineH\x00R\x03log\x12F\n" +
"\x0einstance_stats\x18\x0e \x01(\v2\x1d.panel.v1.InstanceStatsUpdateH\x00R\rinstanceStatsB\t\n" +
"\apayload2\xe8\x06\n" +
"\x05Panel\x12G\n" +
"\n" +
"ListAgents\x12\x1b.panel.v1.ListAgentsRequest\x1a\x1c.panel.v1.ListAgentsResponse\x12P\n" +
"\rListInstances\x12\x1e.panel.v1.ListInstancesRequest\x1a\x1f.panel.v1.ListInstancesResponse\x12S\n" +
"\x0eCreateInstance\x12\x1f.panel.v1.CreateInstanceRequest\x1a .panel.v1.CreateInstanceResponse\x12P\n" +
"\rStartInstance\x12\x1e.panel.v1.StartInstanceRequest\x1a\x1f.panel.v1.StartInstanceResponse\x12M\n" +
"\fStopInstance\x12\x1d.panel.v1.StopInstanceRequest\x1a\x1e.panel.v1.StopInstanceResponse\x12S\n" +
"\x0eDeleteInstance\x12\x1f.panel.v1.DeleteInstanceRequest\x1a .panel.v1.DeleteInstanceResponse\x12A\n" +
"\bExecRCON\x12\x19.panel.v1.ExecRCONRequest\x1a\x1a.panel.v1.ExecRCONResponse\x12S\n" +
"\x0eUpdateInstance\x12\x1f.panel.v1.UpdateInstanceRequest\x1a .panel.v1.UpdateInstanceResponse\x12M\n" +
"\fCreateBackup\x12\x1d.panel.v1.CreateBackupRequest\x1a\x1e.panel.v1.CreateBackupResponse\x12P\n" +
"\rRestoreBackup\x12\x1e.panel.v1.RestoreBackupRequest\x1a\x1f.panel.v1.RestoreBackupResponse\x12@\n" +
"\fStreamEvents\x12\x1d.panel.v1.StreamEventsRequest\x1a\x0f.panel.v1.Event0\x01B2Z0github.com/dbledeez/panel/proto/panel/v1;panelv1b\x06proto3"
var (
file_panel_v1_panel_proto_rawDescOnce sync.Once
file_panel_v1_panel_proto_rawDescData []byte
)
func file_panel_v1_panel_proto_rawDescGZIP() []byte {
file_panel_v1_panel_proto_rawDescOnce.Do(func() {
file_panel_v1_panel_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_panel_v1_panel_proto_rawDesc), len(file_panel_v1_panel_proto_rawDesc)))
})
return file_panel_v1_panel_proto_rawDescData
}
var file_panel_v1_panel_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
var file_panel_v1_panel_proto_goTypes = []any{
(*ListAgentsRequest)(nil), // 0: panel.v1.ListAgentsRequest
(*ListAgentsResponse)(nil), // 1: panel.v1.ListAgentsResponse
(*AgentInfo)(nil), // 2: panel.v1.AgentInfo
(*CreateInstanceRequest)(nil), // 3: panel.v1.CreateInstanceRequest
(*CreateInstanceResponse)(nil), // 4: panel.v1.CreateInstanceResponse
(*StartInstanceRequest)(nil), // 5: panel.v1.StartInstanceRequest
(*StartInstanceResponse)(nil), // 6: panel.v1.StartInstanceResponse
(*StopInstanceRequest)(nil), // 7: panel.v1.StopInstanceRequest
(*StopInstanceResponse)(nil), // 8: panel.v1.StopInstanceResponse
(*DeleteInstanceRequest)(nil), // 9: panel.v1.DeleteInstanceRequest
(*DeleteInstanceResponse)(nil), // 10: panel.v1.DeleteInstanceResponse
(*ExecRCONRequest)(nil), // 11: panel.v1.ExecRCONRequest
(*ExecRCONResponse)(nil), // 12: panel.v1.ExecRCONResponse
(*UpdateInstanceRequest)(nil), // 13: panel.v1.UpdateInstanceRequest
(*UpdateInstanceResponse)(nil), // 14: panel.v1.UpdateInstanceResponse
(*CreateBackupRequest)(nil), // 15: panel.v1.CreateBackupRequest
(*CreateBackupResponse)(nil), // 16: panel.v1.CreateBackupResponse
(*RestoreBackupRequest)(nil), // 17: panel.v1.RestoreBackupRequest
(*RestoreBackupResponse)(nil), // 18: panel.v1.RestoreBackupResponse
(*InstanceInfo)(nil), // 19: panel.v1.InstanceInfo
(*ListInstancesRequest)(nil), // 20: panel.v1.ListInstancesRequest
(*ListInstancesResponse)(nil), // 21: panel.v1.ListInstancesResponse
(*StreamEventsRequest)(nil), // 22: panel.v1.StreamEventsRequest
(*Event)(nil), // 23: panel.v1.Event
nil, // 24: panel.v1.CreateInstanceRequest.ConfigValuesEntry
(*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp
(RunMode)(0), // 26: panel.v1.RunMode
(*PortMap)(nil), // 27: panel.v1.PortMap
(InstanceStatus)(0), // 28: panel.v1.InstanceStatus
(*InstanceStateUpdate)(nil), // 29: panel.v1.InstanceStateUpdate
(*AppStateUpdate)(nil), // 30: panel.v1.AppStateUpdate
(*PlayerEvent)(nil), // 31: panel.v1.PlayerEvent
(*LogLine)(nil), // 32: panel.v1.LogLine
(*InstanceStatsUpdate)(nil), // 33: panel.v1.InstanceStatsUpdate
}
var file_panel_v1_panel_proto_depIdxs = []int32{
2, // 0: panel.v1.ListAgentsResponse.agents:type_name -> panel.v1.AgentInfo
25, // 1: panel.v1.AgentInfo.connected_at:type_name -> google.protobuf.Timestamp
25, // 2: panel.v1.AgentInfo.last_seen:type_name -> google.protobuf.Timestamp
26, // 3: panel.v1.CreateInstanceRequest.run_mode:type_name -> panel.v1.RunMode
24, // 4: panel.v1.CreateInstanceRequest.config_values:type_name -> panel.v1.CreateInstanceRequest.ConfigValuesEntry
27, // 5: panel.v1.CreateInstanceRequest.ports:type_name -> panel.v1.PortMap
26, // 6: panel.v1.InstanceInfo.run_mode:type_name -> panel.v1.RunMode
28, // 7: panel.v1.InstanceInfo.status:type_name -> panel.v1.InstanceStatus
25, // 8: panel.v1.InstanceInfo.created_at:type_name -> google.protobuf.Timestamp
25, // 9: panel.v1.InstanceInfo.updated_at:type_name -> google.protobuf.Timestamp
19, // 10: panel.v1.ListInstancesResponse.instances:type_name -> panel.v1.InstanceInfo
25, // 11: panel.v1.Event.at:type_name -> google.protobuf.Timestamp
29, // 12: panel.v1.Event.instance_state:type_name -> panel.v1.InstanceStateUpdate
30, // 13: panel.v1.Event.app_state:type_name -> panel.v1.AppStateUpdate
31, // 14: panel.v1.Event.player:type_name -> panel.v1.PlayerEvent
32, // 15: panel.v1.Event.log:type_name -> panel.v1.LogLine
33, // 16: panel.v1.Event.instance_stats:type_name -> panel.v1.InstanceStatsUpdate
0, // 17: panel.v1.Panel.ListAgents:input_type -> panel.v1.ListAgentsRequest
20, // 18: panel.v1.Panel.ListInstances:input_type -> panel.v1.ListInstancesRequest
3, // 19: panel.v1.Panel.CreateInstance:input_type -> panel.v1.CreateInstanceRequest
5, // 20: panel.v1.Panel.StartInstance:input_type -> panel.v1.StartInstanceRequest
7, // 21: panel.v1.Panel.StopInstance:input_type -> panel.v1.StopInstanceRequest
9, // 22: panel.v1.Panel.DeleteInstance:input_type -> panel.v1.DeleteInstanceRequest
11, // 23: panel.v1.Panel.ExecRCON:input_type -> panel.v1.ExecRCONRequest
13, // 24: panel.v1.Panel.UpdateInstance:input_type -> panel.v1.UpdateInstanceRequest
15, // 25: panel.v1.Panel.CreateBackup:input_type -> panel.v1.CreateBackupRequest
17, // 26: panel.v1.Panel.RestoreBackup:input_type -> panel.v1.RestoreBackupRequest
22, // 27: panel.v1.Panel.StreamEvents:input_type -> panel.v1.StreamEventsRequest
1, // 28: panel.v1.Panel.ListAgents:output_type -> panel.v1.ListAgentsResponse
21, // 29: panel.v1.Panel.ListInstances:output_type -> panel.v1.ListInstancesResponse
4, // 30: panel.v1.Panel.CreateInstance:output_type -> panel.v1.CreateInstanceResponse
6, // 31: panel.v1.Panel.StartInstance:output_type -> panel.v1.StartInstanceResponse
8, // 32: panel.v1.Panel.StopInstance:output_type -> panel.v1.StopInstanceResponse
10, // 33: panel.v1.Panel.DeleteInstance:output_type -> panel.v1.DeleteInstanceResponse
12, // 34: panel.v1.Panel.ExecRCON:output_type -> panel.v1.ExecRCONResponse
14, // 35: panel.v1.Panel.UpdateInstance:output_type -> panel.v1.UpdateInstanceResponse
16, // 36: panel.v1.Panel.CreateBackup:output_type -> panel.v1.CreateBackupResponse
18, // 37: panel.v1.Panel.RestoreBackup:output_type -> panel.v1.RestoreBackupResponse
23, // 38: panel.v1.Panel.StreamEvents:output_type -> panel.v1.Event
28, // [28:39] is the sub-list for method output_type
17, // [17:28] is the sub-list for method input_type
17, // [17:17] is the sub-list for extension type_name
17, // [17:17] is the sub-list for extension extendee
0, // [0:17] is the sub-list for field type_name
}
func init() { file_panel_v1_panel_proto_init() }
func file_panel_v1_panel_proto_init() {
if File_panel_v1_panel_proto != nil {
return
}
file_panel_v1_agent_proto_init()
file_panel_v1_common_proto_init()
file_panel_v1_panel_proto_msgTypes[23].OneofWrappers = []any{
(*Event_InstanceState)(nil),
(*Event_AppState)(nil),
(*Event_Player)(nil),
(*Event_Log)(nil),
(*Event_InstanceStats)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_panel_v1_panel_proto_rawDesc), len(file_panel_v1_panel_proto_rawDesc)),
NumEnums: 0,
NumMessages: 25,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_panel_v1_panel_proto_goTypes,
DependencyIndexes: file_panel_v1_panel_proto_depIdxs,
MessageInfos: file_panel_v1_panel_proto_msgTypes,
}.Build()
File_panel_v1_panel_proto = out.File
file_panel_v1_panel_proto_goTypes = nil
file_panel_v1_panel_proto_depIdxs = nil
}