controllerv1

package
v1.33.0-20240421175249... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerState_name = map[int32]string{
		0: "PREPARING",
		1: "STARTING",
		2: "AVAILABLE",
		3: "INGAME",
		4: "STOPPING",
	}
	ServerState_value = map[string]int32{
		"PREPARING": 0,
		"STARTING":  1,
		"AVAILABLE": 2,
		"INGAME":    3,
		"STOPPING":  4,
	}
)

Enum value maps for ServerState.

View Source
var (
	ServerType_name = map[int32]string{
		0: "SERVER",
		1: "PROXY",
		2: "OTHER",
	}
	ServerType_value = map[string]int32{
		"SERVER": 0,
		"PROXY":  1,
		"OTHER":  2,
	}
)

Enum value maps for ServerType.

View Source
var File_simplecloud_controller_v1_controller_group_api_proto protoreflect.FileDescriptor
View Source
var File_simplecloud_controller_v1_controller_server_api_proto protoreflect.FileDescriptor
View Source
var File_simplecloud_controller_v1_controller_types_proto protoreflect.FileDescriptor
View Source
var File_simplecloud_controller_v1_server_host_api_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetAllGroupsRequest

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

func (*GetAllGroupsRequest) Descriptor deprecated

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

Deprecated: Use GetAllGroupsRequest.ProtoReflect.Descriptor instead.

func (*GetAllGroupsRequest) ProtoMessage

func (*GetAllGroupsRequest) ProtoMessage()

func (*GetAllGroupsRequest) ProtoReflect

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

func (*GetAllGroupsRequest) Reset

func (x *GetAllGroupsRequest) Reset()

func (*GetAllGroupsRequest) String

func (x *GetAllGroupsRequest) String() string

type GetAllGroupsResponse

type GetAllGroupsResponse struct {
	Groups []*GroupDefinition `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllGroupsResponse) Descriptor deprecated

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

Deprecated: Use GetAllGroupsResponse.ProtoReflect.Descriptor instead.

func (*GetAllGroupsResponse) GetGroups

func (x *GetAllGroupsResponse) GetGroups() []*GroupDefinition

func (*GetAllGroupsResponse) ProtoMessage

func (*GetAllGroupsResponse) ProtoMessage()

func (*GetAllGroupsResponse) ProtoReflect

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

func (*GetAllGroupsResponse) Reset

func (x *GetAllGroupsResponse) Reset()

func (*GetAllGroupsResponse) String

func (x *GetAllGroupsResponse) String() string

type GetAllServersRequest

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

func (*GetAllServersRequest) Descriptor deprecated

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

Deprecated: Use GetAllServersRequest.ProtoReflect.Descriptor instead.

func (*GetAllServersRequest) ProtoMessage

func (*GetAllServersRequest) ProtoMessage()

func (*GetAllServersRequest) ProtoReflect

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

func (*GetAllServersRequest) Reset

func (x *GetAllServersRequest) Reset()

func (*GetAllServersRequest) String

func (x *GetAllServersRequest) String() string

type GetAllServersResponse

type GetAllServersResponse struct {
	Servers []*ServerDefinition `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllServersResponse) Descriptor deprecated

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

Deprecated: Use GetAllServersResponse.ProtoReflect.Descriptor instead.

func (*GetAllServersResponse) GetServers

func (x *GetAllServersResponse) GetServers() []*ServerDefinition

func (*GetAllServersResponse) ProtoMessage

func (*GetAllServersResponse) ProtoMessage()

func (*GetAllServersResponse) ProtoReflect

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

func (*GetAllServersResponse) Reset

func (x *GetAllServersResponse) Reset()

func (*GetAllServersResponse) String

func (x *GetAllServersResponse) String() string

type GetGroupByNameRequest

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

func (*GetGroupByNameRequest) Descriptor deprecated

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

Deprecated: Use GetGroupByNameRequest.ProtoReflect.Descriptor instead.

func (*GetGroupByNameRequest) GetName

func (x *GetGroupByNameRequest) GetName() string

func (*GetGroupByNameRequest) ProtoMessage

func (*GetGroupByNameRequest) ProtoMessage()

func (*GetGroupByNameRequest) ProtoReflect

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

func (*GetGroupByNameRequest) Reset

func (x *GetGroupByNameRequest) Reset()

func (*GetGroupByNameRequest) String

func (x *GetGroupByNameRequest) String() string

type GetGroupByNameResponse

type GetGroupByNameResponse struct {
	Group *GroupDefinition `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupByNameResponse) Descriptor deprecated

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

Deprecated: Use GetGroupByNameResponse.ProtoReflect.Descriptor instead.

func (*GetGroupByNameResponse) GetGroup

func (x *GetGroupByNameResponse) GetGroup() *GroupDefinition

func (*GetGroupByNameResponse) ProtoMessage

func (*GetGroupByNameResponse) ProtoMessage()

func (*GetGroupByNameResponse) ProtoReflect

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

func (*GetGroupByNameResponse) Reset

func (x *GetGroupByNameResponse) Reset()

func (*GetGroupByNameResponse) String

func (x *GetGroupByNameResponse) String() string

type GetGroupsByTypeRequest

type GetGroupsByTypeRequest struct {
	Type ServerType `protobuf:"varint,1,opt,name=type,proto3,enum=simplecloud.controller.v1.ServerType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupsByTypeRequest) Descriptor deprecated

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

Deprecated: Use GetGroupsByTypeRequest.ProtoReflect.Descriptor instead.

func (*GetGroupsByTypeRequest) GetType

func (x *GetGroupsByTypeRequest) GetType() ServerType

func (*GetGroupsByTypeRequest) ProtoMessage

func (*GetGroupsByTypeRequest) ProtoMessage()

func (*GetGroupsByTypeRequest) ProtoReflect

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

func (*GetGroupsByTypeRequest) Reset

func (x *GetGroupsByTypeRequest) Reset()

func (*GetGroupsByTypeRequest) String

func (x *GetGroupsByTypeRequest) String() string

type GetGroupsByTypeResponse

type GetGroupsByTypeResponse struct {
	Groups []*GroupDefinition `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupsByTypeResponse) Descriptor deprecated

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

Deprecated: Use GetGroupsByTypeResponse.ProtoReflect.Descriptor instead.

func (*GetGroupsByTypeResponse) GetGroups

func (x *GetGroupsByTypeResponse) GetGroups() []*GroupDefinition

func (*GetGroupsByTypeResponse) ProtoMessage

func (*GetGroupsByTypeResponse) ProtoMessage()

func (*GetGroupsByTypeResponse) ProtoReflect

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

func (*GetGroupsByTypeResponse) Reset

func (x *GetGroupsByTypeResponse) Reset()

func (*GetGroupsByTypeResponse) String

func (x *GetGroupsByTypeResponse) String() string

type GetServerByNumericalRequest

type GetServerByNumericalRequest struct {
	Group       string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	NumericalId uint64 `protobuf:"varint,2,opt,name=numericalId,proto3" json:"numericalId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerByNumericalRequest) Descriptor deprecated

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

Deprecated: Use GetServerByNumericalRequest.ProtoReflect.Descriptor instead.

func (*GetServerByNumericalRequest) GetGroup

func (x *GetServerByNumericalRequest) GetGroup() string

func (*GetServerByNumericalRequest) GetNumericalId

func (x *GetServerByNumericalRequest) GetNumericalId() uint64

func (*GetServerByNumericalRequest) ProtoMessage

func (*GetServerByNumericalRequest) ProtoMessage()

func (*GetServerByNumericalRequest) ProtoReflect

func (*GetServerByNumericalRequest) Reset

func (x *GetServerByNumericalRequest) Reset()

func (*GetServerByNumericalRequest) String

func (x *GetServerByNumericalRequest) String() string

type GetServersByGroupResponse

type GetServersByGroupResponse struct {
	Servers []*ServerDefinition `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServersByGroupResponse) Descriptor deprecated

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

Deprecated: Use GetServersByGroupResponse.ProtoReflect.Descriptor instead.

func (*GetServersByGroupResponse) GetServers

func (x *GetServersByGroupResponse) GetServers() []*ServerDefinition

func (*GetServersByGroupResponse) ProtoMessage

func (*GetServersByGroupResponse) ProtoMessage()

func (*GetServersByGroupResponse) ProtoReflect

func (*GetServersByGroupResponse) Reset

func (x *GetServersByGroupResponse) Reset()

func (*GetServersByGroupResponse) String

func (x *GetServersByGroupResponse) String() string

type GroupDefinition

type GroupDefinition struct {
	Name               string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type               ServerType        `protobuf:"varint,2,opt,name=type,proto3,enum=simplecloud.controller.v1.ServerType" json:"type,omitempty"`
	MinimumMemory      uint64            `protobuf:"varint,3,opt,name=minimum_memory,json=minimumMemory,proto3" json:"minimum_memory,omitempty"`
	MaximumMemory      uint64            `protobuf:"varint,4,opt,name=maximum_memory,json=maximumMemory,proto3" json:"maximum_memory,omitempty"`
	StartPort          uint64            `protobuf:"varint,5,opt,name=start_port,json=startPort,proto3" json:"start_port,omitempty"`
	MinimumOnlineCount uint64            `protobuf:"varint,6,opt,name=minimum_online_count,json=minimumOnlineCount,proto3" json:"minimum_online_count,omitempty"`
	MaximumOnlineCount uint64            `protobuf:"varint,7,opt,name=maximum_online_count,json=maximumOnlineCount,proto3" json:"maximum_online_count,omitempty"`
	MaxPlayers         uint64            `protobuf:"varint,8,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"`
	Properties         map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GroupDefinition) Descriptor deprecated

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

Deprecated: Use GroupDefinition.ProtoReflect.Descriptor instead.

func (*GroupDefinition) GetMaxPlayers

func (x *GroupDefinition) GetMaxPlayers() uint64

func (*GroupDefinition) GetMaximumMemory

func (x *GroupDefinition) GetMaximumMemory() uint64

func (*GroupDefinition) GetMaximumOnlineCount

func (x *GroupDefinition) GetMaximumOnlineCount() uint64

func (*GroupDefinition) GetMinimumMemory

func (x *GroupDefinition) GetMinimumMemory() uint64

func (*GroupDefinition) GetMinimumOnlineCount

func (x *GroupDefinition) GetMinimumOnlineCount() uint64

func (*GroupDefinition) GetName

func (x *GroupDefinition) GetName() string

func (*GroupDefinition) GetProperties

func (x *GroupDefinition) GetProperties() map[string]string

func (*GroupDefinition) GetStartPort

func (x *GroupDefinition) GetStartPort() uint64

func (*GroupDefinition) GetType

func (x *GroupDefinition) GetType() ServerType

func (*GroupDefinition) ProtoMessage

func (*GroupDefinition) ProtoMessage()

func (*GroupDefinition) ProtoReflect

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

func (*GroupDefinition) Reset

func (x *GroupDefinition) Reset()

func (*GroupDefinition) String

func (x *GroupDefinition) String() string

type GroupNameRequest

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

func (*GroupNameRequest) Descriptor deprecated

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

Deprecated: Use GroupNameRequest.ProtoReflect.Descriptor instead.

func (*GroupNameRequest) GetName

func (x *GroupNameRequest) GetName() string

func (*GroupNameRequest) ProtoMessage

func (*GroupNameRequest) ProtoMessage()

func (*GroupNameRequest) ProtoReflect

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

func (*GroupNameRequest) Reset

func (x *GroupNameRequest) Reset()

func (*GroupNameRequest) String

func (x *GroupNameRequest) String() string

type ServerDefinition

type ServerDefinition struct {
	UniqueId      string            `protobuf:"bytes,1,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	Type          ServerType        `protobuf:"varint,2,opt,name=type,proto3,enum=simplecloud.controller.v1.ServerType" json:"type,omitempty"`
	GroupName     string            `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	HostId        string            `protobuf:"bytes,4,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	NumericalId   uint32            `protobuf:"varint,5,opt,name=numerical_id,json=numericalId,proto3" json:"numerical_id,omitempty"`
	Ip            string            `protobuf:"bytes,7,opt,name=ip,proto3" json:"ip,omitempty"`
	Port          uint64            `protobuf:"varint,8,opt,name=port,proto3" json:"port,omitempty"`
	MinimumMemory uint64            `protobuf:"varint,9,opt,name=minimum_memory,json=minimumMemory,proto3" json:"minimum_memory,omitempty"`
	MaximumMemory uint64            `protobuf:"varint,10,opt,name=maximum_memory,json=maximumMemory,proto3" json:"maximum_memory,omitempty"`
	MaxPlayers    uint64            `protobuf:"varint,11,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"`
	PlayerCount   uint64            `protobuf:"varint,12,opt,name=player_count,json=playerCount,proto3" json:"player_count,omitempty"`
	Properties    map[string]string `` /* 162-byte string literal not displayed */
	State         ServerState       `protobuf:"varint,14,opt,name=state,proto3,enum=simplecloud.controller.v1.ServerState" json:"state,omitempty"`
	CreatedAt     string            `protobuf:"bytes,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     string            `protobuf:"bytes,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerDefinition) Descriptor deprecated

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

Deprecated: Use ServerDefinition.ProtoReflect.Descriptor instead.

func (*ServerDefinition) GetCreatedAt

func (x *ServerDefinition) GetCreatedAt() string

func (*ServerDefinition) GetGroupName

func (x *ServerDefinition) GetGroupName() string

func (*ServerDefinition) GetHostId

func (x *ServerDefinition) GetHostId() string

func (*ServerDefinition) GetIp

func (x *ServerDefinition) GetIp() string

func (*ServerDefinition) GetMaxPlayers

func (x *ServerDefinition) GetMaxPlayers() uint64

func (*ServerDefinition) GetMaximumMemory

func (x *ServerDefinition) GetMaximumMemory() uint64

func (*ServerDefinition) GetMinimumMemory

func (x *ServerDefinition) GetMinimumMemory() uint64

func (*ServerDefinition) GetNumericalId

func (x *ServerDefinition) GetNumericalId() uint32

func (*ServerDefinition) GetPlayerCount

func (x *ServerDefinition) GetPlayerCount() uint64

func (*ServerDefinition) GetPort

func (x *ServerDefinition) GetPort() uint64

func (*ServerDefinition) GetProperties

func (x *ServerDefinition) GetProperties() map[string]string

func (*ServerDefinition) GetState

func (x *ServerDefinition) GetState() ServerState

func (*ServerDefinition) GetType

func (x *ServerDefinition) GetType() ServerType

func (*ServerDefinition) GetUniqueId

func (x *ServerDefinition) GetUniqueId() string

func (*ServerDefinition) GetUpdatedAt

func (x *ServerDefinition) GetUpdatedAt() string

func (*ServerDefinition) ProtoMessage

func (*ServerDefinition) ProtoMessage()

func (*ServerDefinition) ProtoReflect

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

func (*ServerDefinition) Reset

func (x *ServerDefinition) Reset()

func (*ServerDefinition) String

func (x *ServerDefinition) String() string

type ServerHostDefinition

type ServerHostDefinition struct {
	UniqueId string `protobuf:"bytes,1,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	Host     string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Port     uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerHostDefinition) Descriptor deprecated

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

Deprecated: Use ServerHostDefinition.ProtoReflect.Descriptor instead.

func (*ServerHostDefinition) GetHost

func (x *ServerHostDefinition) GetHost() string

func (*ServerHostDefinition) GetPort

func (x *ServerHostDefinition) GetPort() uint32

func (*ServerHostDefinition) GetUniqueId

func (x *ServerHostDefinition) GetUniqueId() string

func (*ServerHostDefinition) ProtoMessage

func (*ServerHostDefinition) ProtoMessage()

func (*ServerHostDefinition) ProtoReflect

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

func (*ServerHostDefinition) Reset

func (x *ServerHostDefinition) Reset()

func (*ServerHostDefinition) String

func (x *ServerHostDefinition) String() string

type ServerIdRequest

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

func (*ServerIdRequest) Descriptor deprecated

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

Deprecated: Use ServerIdRequest.ProtoReflect.Descriptor instead.

func (*ServerIdRequest) GetId

func (x *ServerIdRequest) GetId() string

func (*ServerIdRequest) ProtoMessage

func (*ServerIdRequest) ProtoMessage()

func (*ServerIdRequest) ProtoReflect

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

func (*ServerIdRequest) Reset

func (x *ServerIdRequest) Reset()

func (*ServerIdRequest) String

func (x *ServerIdRequest) String() string

type ServerState

type ServerState int32
const (
	ServerState_PREPARING ServerState = 0
	ServerState_STARTING  ServerState = 1
	ServerState_AVAILABLE ServerState = 2
	ServerState_INGAME    ServerState = 3
	ServerState_STOPPING  ServerState = 4
)

func (ServerState) Descriptor

func (ServerState) Enum

func (x ServerState) Enum() *ServerState

func (ServerState) EnumDescriptor deprecated

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

Deprecated: Use ServerState.Descriptor instead.

func (ServerState) Number

func (x ServerState) Number() protoreflect.EnumNumber

func (ServerState) String

func (x ServerState) String() string

func (ServerState) Type

type ServerType

type ServerType int32
const (
	ServerType_SERVER ServerType = 0
	ServerType_PROXY  ServerType = 1
	ServerType_OTHER  ServerType = 2
)

func (ServerType) Descriptor

func (ServerType) Descriptor() protoreflect.EnumDescriptor

func (ServerType) Enum

func (x ServerType) Enum() *ServerType

func (ServerType) EnumDescriptor deprecated

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

Deprecated: Use ServerType.Descriptor instead.

func (ServerType) Number

func (x ServerType) Number() protoreflect.EnumNumber

func (ServerType) String

func (x ServerType) String() string

func (ServerType) Type

type ServerTypeRequest

type ServerTypeRequest struct {
	Type ServerType `protobuf:"varint,1,opt,name=type,proto3,enum=simplecloud.controller.v1.ServerType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerTypeRequest) Descriptor deprecated

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

Deprecated: Use ServerTypeRequest.ProtoReflect.Descriptor instead.

func (*ServerTypeRequest) GetType

func (x *ServerTypeRequest) GetType() ServerType

func (*ServerTypeRequest) ProtoMessage

func (*ServerTypeRequest) ProtoMessage()

func (*ServerTypeRequest) ProtoReflect

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

func (*ServerTypeRequest) Reset

func (x *ServerTypeRequest) Reset()

func (*ServerTypeRequest) String

func (x *ServerTypeRequest) String() string

type ServerUpdatePropertyRequest

type ServerUpdatePropertyRequest struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Key   string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerUpdatePropertyRequest) Descriptor deprecated

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

Deprecated: Use ServerUpdatePropertyRequest.ProtoReflect.Descriptor instead.

func (*ServerUpdatePropertyRequest) GetId

func (*ServerUpdatePropertyRequest) GetKey

func (x *ServerUpdatePropertyRequest) GetKey() string

func (*ServerUpdatePropertyRequest) GetValue

func (x *ServerUpdatePropertyRequest) GetValue() string

func (*ServerUpdatePropertyRequest) ProtoMessage

func (*ServerUpdatePropertyRequest) ProtoMessage()

func (*ServerUpdatePropertyRequest) ProtoReflect

func (*ServerUpdatePropertyRequest) Reset

func (x *ServerUpdatePropertyRequest) Reset()

func (*ServerUpdatePropertyRequest) String

func (x *ServerUpdatePropertyRequest) String() string

type ServerUpdateRequest

type ServerUpdateRequest struct {
	Server  *ServerDefinition `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Deleted bool              `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerUpdateRequest) Descriptor deprecated

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

Deprecated: Use ServerUpdateRequest.ProtoReflect.Descriptor instead.

func (*ServerUpdateRequest) GetDeleted

func (x *ServerUpdateRequest) GetDeleted() bool

func (*ServerUpdateRequest) GetServer

func (x *ServerUpdateRequest) GetServer() *ServerDefinition

func (*ServerUpdateRequest) ProtoMessage

func (*ServerUpdateRequest) ProtoMessage()

func (*ServerUpdateRequest) ProtoReflect

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

func (*ServerUpdateRequest) Reset

func (x *ServerUpdateRequest) Reset()

func (*ServerUpdateRequest) String

func (x *ServerUpdateRequest) String() string

type ServerUpdateStateRequest

type ServerUpdateStateRequest struct {
	Id    string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	State ServerState `protobuf:"varint,2,opt,name=state,proto3,enum=simplecloud.controller.v1.ServerState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerUpdateStateRequest) Descriptor deprecated

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

Deprecated: Use ServerUpdateStateRequest.ProtoReflect.Descriptor instead.

func (*ServerUpdateStateRequest) GetId

func (x *ServerUpdateStateRequest) GetId() string

func (*ServerUpdateStateRequest) GetState

func (x *ServerUpdateStateRequest) GetState() ServerState

func (*ServerUpdateStateRequest) ProtoMessage

func (*ServerUpdateStateRequest) ProtoMessage()

func (*ServerUpdateStateRequest) ProtoReflect

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

func (*ServerUpdateStateRequest) Reset

func (x *ServerUpdateStateRequest) Reset()

func (*ServerUpdateStateRequest) String

func (x *ServerUpdateStateRequest) String() string

type StartServerRequest

type StartServerRequest struct {
	Group  *GroupDefinition  `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Server *ServerDefinition `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*StartServerRequest) Descriptor deprecated

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

Deprecated: Use StartServerRequest.ProtoReflect.Descriptor instead.

func (*StartServerRequest) GetGroup

func (x *StartServerRequest) GetGroup() *GroupDefinition

func (*StartServerRequest) GetServer

func (x *StartServerRequest) GetServer() *ServerDefinition

func (*StartServerRequest) ProtoMessage

func (*StartServerRequest) ProtoMessage()

func (*StartServerRequest) ProtoReflect

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

func (*StartServerRequest) Reset

func (x *StartServerRequest) Reset()

func (*StartServerRequest) String

func (x *StartServerRequest) String() string

type StatusResponse

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

func (*StatusResponse) Descriptor deprecated

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

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetStatus

func (x *StatusResponse) GetStatus() string

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

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

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type StopServerByNumericalRequest

type StopServerByNumericalRequest struct {
	Group       string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	NumericalId uint64 `protobuf:"varint,2,opt,name=numericalId,proto3" json:"numericalId,omitempty"`
	// contains filtered or unexported fields
}

func (*StopServerByNumericalRequest) Descriptor deprecated

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

Deprecated: Use StopServerByNumericalRequest.ProtoReflect.Descriptor instead.

func (*StopServerByNumericalRequest) GetGroup

func (x *StopServerByNumericalRequest) GetGroup() string

func (*StopServerByNumericalRequest) GetNumericalId

func (x *StopServerByNumericalRequest) GetNumericalId() uint64

func (*StopServerByNumericalRequest) ProtoMessage

func (*StopServerByNumericalRequest) ProtoMessage()

func (*StopServerByNumericalRequest) ProtoReflect

func (*StopServerByNumericalRequest) Reset

func (x *StopServerByNumericalRequest) Reset()

func (*StopServerByNumericalRequest) String

Jump to

Keyboard shortcuts

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