Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterArchiveServiceServer(s grpc.ServiceRegistrar, srv ArchiveServiceServer)
- func RegisterContainerServiceServer(s grpc.ServiceRegistrar, srv ContainerServiceServer)
- func RegisterCronJobServiceServer(s grpc.ServiceRegistrar, srv CronJobServiceServer)
- func RegisterDaemonServiceServer(s grpc.ServiceRegistrar, srv DaemonServiceServer)
- func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)
- func RegisterModServiceServer(s grpc.ServiceRegistrar, srv ModServiceServer)
- func RegisterPlayerServiceServer(s grpc.ServiceRegistrar, srv PlayerServiceServer)
- func RegisterSettingServiceServer(s grpc.ServiceRegistrar, srv SettingServiceServer)
- func RegisterShardServiceServer(s grpc.ServiceRegistrar, srv ShardServiceServer)
- type ArchiveInfo
- func (*ArchiveInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveInfo) GetDays() int64
- func (x *ArchiveInfo) GetElapse() int64
- func (x *ArchiveInfo) GetMods() int64
- func (x *ArchiveInfo) GetName() string
- func (x *ArchiveInfo) GetPhase() string
- func (x *ArchiveInfo) GetSeason() string
- func (x *ArchiveInfo) GetSize() int64
- func (*ArchiveInfo) ProtoMessage()
- func (x *ArchiveInfo) ProtoReflect() protoreflect.Message
- func (x *ArchiveInfo) Reset()
- func (x *ArchiveInfo) String() string
- func (m *ArchiveInfo) Validate() error
- func (m *ArchiveInfo) ValidateAll() error
- type ArchiveInfoMultiError
- type ArchiveInfoValidationError
- func (e ArchiveInfoValidationError) Cause() error
- func (e ArchiveInfoValidationError) Error() string
- func (e ArchiveInfoValidationError) ErrorName() string
- func (e ArchiveInfoValidationError) Field() string
- func (e ArchiveInfoValidationError) Key() bool
- func (e ArchiveInfoValidationError) Reason() string
- type ArchiveServiceClient
- type ArchiveServiceServer
- type BackUpInfo
- func (*BackUpInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BackUpInfo) GetMTime() int64
- func (x *BackUpInfo) GetName() string
- func (x *BackUpInfo) GetSize() int64
- func (*BackUpInfo) ProtoMessage()
- func (x *BackUpInfo) ProtoReflect() protoreflect.Message
- func (x *BackUpInfo) Reset()
- func (x *BackUpInfo) String() string
- func (m *BackUpInfo) Validate() error
- func (m *BackUpInfo) ValidateAll() error
- type BackUpInfoMultiError
- type BackUpInfoValidationError
- type BackUpList
- func (*BackUpList) Descriptor() ([]byte, []int)deprecated
- func (x *BackUpList) GetList() []*BackUpInfo
- func (*BackUpList) ProtoMessage()
- func (x *BackUpList) ProtoReflect() protoreflect.Message
- func (x *BackUpList) Reset()
- func (x *BackUpList) String() string
- func (m *BackUpList) Validate() error
- func (m *BackUpList) ValidateAll() error
- type BackUpListMultiError
- type BackUpListValidationError
- type BackupFile
- func (*BackupFile) Descriptor() ([]byte, []int)deprecated
- func (x *BackupFile) GetContent() []byte
- func (x *BackupFile) GetName() string
- func (*BackupFile) ProtoMessage()
- func (x *BackupFile) ProtoReflect() protoreflect.Message
- func (x *BackupFile) Reset()
- func (x *BackupFile) String() string
- func (m *BackupFile) Validate() error
- func (m *BackupFile) ValidateAll() error
- type BackupFileMultiError
- type BackupFileValidationError
- type BackupOpt
- func (*BackupOpt) Descriptor() ([]byte, []int)deprecated
- func (x *BackupOpt) GetBackupName() string
- func (x *BackupOpt) GetId() *ContainerId
- func (*BackupOpt) ProtoMessage()
- func (x *BackupOpt) ProtoReflect() protoreflect.Message
- func (x *BackupOpt) Reset()
- func (x *BackupOpt) String() string
- func (m *BackupOpt) Validate() error
- func (m *BackupOpt) ValidateAll() error
- type BackupOptMultiError
- type BackupOptValidationError
- type BasicPlayerInfo
- func (*BasicPlayerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BasicPlayerInfo) GetKid() string
- func (x *BasicPlayerInfo) GetName() string
- func (*BasicPlayerInfo) ProtoMessage()
- func (x *BasicPlayerInfo) ProtoReflect() protoreflect.Message
- func (x *BasicPlayerInfo) Reset()
- func (x *BasicPlayerInfo) String() string
- func (m *BasicPlayerInfo) Validate() error
- func (m *BasicPlayerInfo) ValidateAll() error
- type BasicPlayerInfoMultiError
- type BasicPlayerInfoValidationError
- func (e BasicPlayerInfoValidationError) Cause() error
- func (e BasicPlayerInfoValidationError) Error() string
- func (e BasicPlayerInfoValidationError) ErrorName() string
- func (e BasicPlayerInfoValidationError) Field() string
- func (e BasicPlayerInfoValidationError) Key() bool
- func (e BasicPlayerInfoValidationError) Reason() string
- type CheckUpdateResult
- func (*CheckUpdateResult) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUpdateResult) GetList() []*CheckUpdateResult_CheckUpdateModItem
- func (x *CheckUpdateResult) GetTotal() int64
- func (*CheckUpdateResult) ProtoMessage()
- func (x *CheckUpdateResult) ProtoReflect() protoreflect.Message
- func (x *CheckUpdateResult) Reset()
- func (x *CheckUpdateResult) String() string
- func (m *CheckUpdateResult) Validate() error
- func (m *CheckUpdateResult) ValidateAll() error
- type CheckUpdateResultMultiError
- type CheckUpdateResultValidationError
- func (e CheckUpdateResultValidationError) Cause() error
- func (e CheckUpdateResultValidationError) Error() string
- func (e CheckUpdateResultValidationError) ErrorName() string
- func (e CheckUpdateResultValidationError) Field() string
- func (e CheckUpdateResultValidationError) Key() bool
- func (e CheckUpdateResultValidationError) Reason() string
- type CheckUpdateResult_CheckUpdateModItem
- func (*CheckUpdateResult_CheckUpdateModItem) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUpdateResult_CheckUpdateModItem) GetDate() int64
- func (x *CheckUpdateResult_CheckUpdateModItem) GetModId() string
- func (x *CheckUpdateResult_CheckUpdateModItem) GetName() string
- func (x *CheckUpdateResult_CheckUpdateModItem) GetVersion() string
- func (*CheckUpdateResult_CheckUpdateModItem) ProtoMessage()
- func (x *CheckUpdateResult_CheckUpdateModItem) ProtoReflect() protoreflect.Message
- func (x *CheckUpdateResult_CheckUpdateModItem) Reset()
- func (x *CheckUpdateResult_CheckUpdateModItem) String() string
- func (m *CheckUpdateResult_CheckUpdateModItem) Validate() error
- func (m *CheckUpdateResult_CheckUpdateModItem) ValidateAll() error
- type CheckUpdateResult_CheckUpdateModItemMultiError
- type CheckUpdateResult_CheckUpdateModItemValidationError
- func (e CheckUpdateResult_CheckUpdateModItemValidationError) Cause() error
- func (e CheckUpdateResult_CheckUpdateModItemValidationError) Error() string
- func (e CheckUpdateResult_CheckUpdateModItemValidationError) ErrorName() string
- func (e CheckUpdateResult_CheckUpdateModItemValidationError) Field() string
- func (e CheckUpdateResult_CheckUpdateModItemValidationError) Key() bool
- func (e CheckUpdateResult_CheckUpdateModItemValidationError) Reason() string
- type CommandRequest
- func (*CommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommandRequest) GetCommand() string
- func (x *CommandRequest) GetInstanceId() *ContainerId
- func (x *CommandRequest) GetTarget() ControlTarget
- func (*CommandRequest) ProtoMessage()
- func (x *CommandRequest) ProtoReflect() protoreflect.Message
- func (x *CommandRequest) Reset()
- func (x *CommandRequest) String() string
- func (m *CommandRequest) Validate() error
- func (m *CommandRequest) ValidateAll() error
- type CommandRequestMultiError
- type CommandRequestValidationError
- func (e CommandRequestValidationError) Cause() error
- func (e CommandRequestValidationError) Error() string
- func (e CommandRequestValidationError) ErrorName() string
- func (e CommandRequestValidationError) Field() string
- func (e CommandRequestValidationError) Key() bool
- func (e CommandRequestValidationError) Reason() string
- type ContainerId
- func (*ContainerId) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerId) GetId() string
- func (*ContainerId) ProtoMessage()
- func (x *ContainerId) ProtoReflect() protoreflect.Message
- func (x *ContainerId) Reset()
- func (x *ContainerId) String() string
- func (m *ContainerId) Validate() error
- func (m *ContainerId) ValidateAll() error
- type ContainerIdMultiError
- type ContainerIdValidationError
- func (e ContainerIdValidationError) Cause() error
- func (e ContainerIdValidationError) Error() string
- func (e ContainerIdValidationError) ErrorName() string
- func (e ContainerIdValidationError) Field() string
- func (e ContainerIdValidationError) Key() bool
- func (e ContainerIdValidationError) Reason() string
- type ContainerInfo
- func (*ContainerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerInfo) GetCreatedAt() int64
- func (x *ContainerInfo) GetExpiredAt() int64
- func (x *ContainerInfo) GetId() string
- func (x *ContainerInfo) GetName() string
- func (x *ContainerInfo) GetResource() *Resource
- func (x *ContainerInfo) GetState() ContainerState
- func (x *ContainerInfo) GetUserId() string
- func (*ContainerInfo) ProtoMessage()
- func (x *ContainerInfo) ProtoReflect() protoreflect.Message
- func (x *ContainerInfo) Reset()
- func (x *ContainerInfo) String() string
- func (m *ContainerInfo) Validate() error
- func (m *ContainerInfo) ValidateAll() error
- type ContainerInfoMultiError
- type ContainerInfoValidationError
- func (e ContainerInfoValidationError) Cause() error
- func (e ContainerInfoValidationError) Error() string
- func (e ContainerInfoValidationError) ErrorName() string
- func (e ContainerInfoValidationError) Field() string
- func (e ContainerInfoValidationError) Key() bool
- func (e ContainerInfoValidationError) Reason() string
- type ContainerLog
- func (*ContainerLog) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerLog) GetLines() int64
- func (x *ContainerLog) GetLogContent() string
- func (*ContainerLog) ProtoMessage()
- func (x *ContainerLog) ProtoReflect() protoreflect.Message
- func (x *ContainerLog) Reset()
- func (x *ContainerLog) String() string
- func (m *ContainerLog) Validate() error
- func (m *ContainerLog) ValidateAll() error
- type ContainerLogMultiError
- type ContainerLogValidationError
- func (e ContainerLogValidationError) Cause() error
- func (e ContainerLogValidationError) Error() string
- func (e ContainerLogValidationError) ErrorName() string
- func (e ContainerLogValidationError) Field() string
- func (e ContainerLogValidationError) Key() bool
- func (e ContainerLogValidationError) Reason() string
- type ContainerServiceClient
- type ContainerServiceServer
- type ContainerState
- func (ContainerState) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerState) Enum() *ContainerState
- func (ContainerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerState) Number() protoreflect.EnumNumber
- func (x ContainerState) String() string
- func (ContainerState) Type() protoreflect.EnumType
- type ControlRequest
- func (*ControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControlRequest) GetInstanceId() *ContainerId
- func (x *ControlRequest) GetTarget() ControlTarget
- func (*ControlRequest) ProtoMessage()
- func (x *ControlRequest) ProtoReflect() protoreflect.Message
- func (x *ControlRequest) Reset()
- func (x *ControlRequest) String() string
- func (m *ControlRequest) Validate() error
- func (m *ControlRequest) ValidateAll() error
- type ControlRequestMultiError
- type ControlRequestValidationError
- func (e ControlRequestValidationError) Cause() error
- func (e ControlRequestValidationError) Error() string
- func (e ControlRequestValidationError) ErrorName() string
- func (e ControlRequestValidationError) Field() string
- func (e ControlRequestValidationError) Key() bool
- func (e ControlRequestValidationError) Reason() string
- type ControlTarget
- func (ControlTarget) Descriptor() protoreflect.EnumDescriptor
- func (x ControlTarget) Enum() *ControlTarget
- func (ControlTarget) EnumDescriptor() ([]byte, []int)deprecated
- func (x ControlTarget) Number() protoreflect.EnumNumber
- func (x ControlTarget) String() string
- func (ControlTarget) Type() protoreflect.EnumType
- type CpuHealth
- func (*CpuHealth) Descriptor() ([]byte, []int)deprecated
- func (x *CpuHealth) GetCount() int64
- func (x *CpuHealth) GetUsage() float64
- func (*CpuHealth) ProtoMessage()
- func (x *CpuHealth) ProtoReflect() protoreflect.Message
- func (x *CpuHealth) Reset()
- func (x *CpuHealth) String() string
- func (m *CpuHealth) Validate() error
- func (m *CpuHealth) ValidateAll() error
- type CpuHealthMultiError
- type CpuHealthValidationError
- type CreateContainerReq
- func (*CreateContainerReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerReq) GetImage() string
- func (x *CreateContainerReq) GetName() string
- func (x *CreateContainerReq) GetPorts() []*PortBind
- func (x *CreateContainerReq) GetResource() *Resource
- func (x *CreateContainerReq) GetUserId() string
- func (x *CreateContainerReq) GetVolumes() []*Volume
- func (*CreateContainerReq) ProtoMessage()
- func (x *CreateContainerReq) ProtoReflect() protoreflect.Message
- func (x *CreateContainerReq) Reset()
- func (x *CreateContainerReq) String() string
- func (m *CreateContainerReq) Validate() error
- func (m *CreateContainerReq) ValidateAll() error
- type CreateContainerReqMultiError
- type CreateContainerReqValidationError
- func (e CreateContainerReqValidationError) Cause() error
- func (e CreateContainerReqValidationError) Error() string
- func (e CreateContainerReqValidationError) ErrorName() string
- func (e CreateContainerReqValidationError) Field() string
- func (e CreateContainerReqValidationError) Key() bool
- func (e CreateContainerReqValidationError) Reason() string
- type CreateContainerResp
- func (*CreateContainerResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerResp) GetContainerId() string
- func (x *CreateContainerResp) GetCreatedAt() int64
- func (*CreateContainerResp) ProtoMessage()
- func (x *CreateContainerResp) ProtoReflect() protoreflect.Message
- func (x *CreateContainerResp) Reset()
- func (x *CreateContainerResp) String() string
- func (m *CreateContainerResp) Validate() error
- func (m *CreateContainerResp) ValidateAll() error
- type CreateContainerRespMultiError
- type CreateContainerRespValidationError
- func (e CreateContainerRespValidationError) Cause() error
- func (e CreateContainerRespValidationError) Error() string
- func (e CreateContainerRespValidationError) ErrorName() string
- func (e CreateContainerRespValidationError) Field() string
- func (e CreateContainerRespValidationError) Key() bool
- func (e CreateContainerRespValidationError) Reason() string
- type CreateJobReq
- func (*CreateJobReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateJobReq) GetCronExpr() string
- func (x *CreateJobReq) GetJobType() JobType
- func (x *CreateJobReq) GetName() string
- func (*CreateJobReq) ProtoMessage()
- func (x *CreateJobReq) ProtoReflect() protoreflect.Message
- func (x *CreateJobReq) Reset()
- func (x *CreateJobReq) String() string
- func (m *CreateJobReq) Validate() error
- func (m *CreateJobReq) ValidateAll() error
- type CreateJobReqMultiError
- type CreateJobReqValidationError
- func (e CreateJobReqValidationError) Cause() error
- func (e CreateJobReqValidationError) Error() string
- func (e CreateJobReqValidationError) ErrorName() string
- func (e CreateJobReqValidationError) Field() string
- func (e CreateJobReqValidationError) Key() bool
- func (e CreateJobReqValidationError) Reason() string
- type CronJobServiceClient
- type CronJobServiceServer
- type DaemonServiceClient
- type DaemonServiceServer
- type DockerInfo
- func (*DockerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DockerInfo) GetContainers() int64
- func (x *DockerInfo) GetDriver() string
- func (x *DockerInfo) GetImages() int64
- func (x *DockerInfo) GetKernelVersion() string
- func (x *DockerInfo) GetPause() int64
- func (x *DockerInfo) GetRunning() int64
- func (x *DockerInfo) GetStopped() int64
- func (x *DockerInfo) GetVersion() string
- func (*DockerInfo) ProtoMessage()
- func (x *DockerInfo) ProtoReflect() protoreflect.Message
- func (x *DockerInfo) Reset()
- func (x *DockerInfo) String() string
- func (m *DockerInfo) Validate() error
- func (m *DockerInfo) ValidateAll() error
- type DockerInfoMultiError
- type DockerInfoValidationError
- type ExecutePlayerReq
- func (*ExecutePlayerReq) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutePlayerReq) GetInstanceId() *ContainerId
- func (x *ExecutePlayerReq) GetKid() *KleiID
- func (x *ExecutePlayerReq) GetOp() PlayerOperation
- func (*ExecutePlayerReq) ProtoMessage()
- func (x *ExecutePlayerReq) ProtoReflect() protoreflect.Message
- func (x *ExecutePlayerReq) Reset()
- func (x *ExecutePlayerReq) String() string
- func (m *ExecutePlayerReq) Validate() error
- func (m *ExecutePlayerReq) ValidateAll() error
- type ExecutePlayerReqMultiError
- type ExecutePlayerReqValidationError
- func (e ExecutePlayerReqValidationError) Cause() error
- func (e ExecutePlayerReqValidationError) Error() string
- func (e ExecutePlayerReqValidationError) ErrorName() string
- func (e ExecutePlayerReqValidationError) Field() string
- func (e ExecutePlayerReqValidationError) Key() bool
- func (e ExecutePlayerReqValidationError) Reason() string
- type HealthInfo
- func (*HealthInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HealthInfo) GetCpu() *CpuHealth
- func (x *HealthInfo) GetMem() *MemoryHealth
- func (*HealthInfo) ProtoMessage()
- func (x *HealthInfo) ProtoReflect() protoreflect.Message
- func (x *HealthInfo) Reset()
- func (x *HealthInfo) String() string
- func (m *HealthInfo) Validate() error
- func (m *HealthInfo) ValidateAll() error
- type HealthInfoMultiError
- type HealthInfoValidationError
- type ImageId
- func (*ImageId) Descriptor() ([]byte, []int)deprecated
- func (x *ImageId) GetId() string
- func (*ImageId) ProtoMessage()
- func (x *ImageId) ProtoReflect() protoreflect.Message
- func (x *ImageId) Reset()
- func (x *ImageId) String() string
- func (m *ImageId) Validate() error
- func (m *ImageId) ValidateAll() error
- type ImageIdMultiError
- type ImageIdValidationError
- type ImageInfo
- func (*ImageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ImageInfo) GetContainers() int64
- func (x *ImageInfo) GetCreatedAt() int64
- func (x *ImageInfo) GetId() string
- func (x *ImageInfo) GetLabels() map[string]string
- func (x *ImageInfo) GetParentId() string
- func (x *ImageInfo) GetSize() int64
- func (*ImageInfo) ProtoMessage()
- func (x *ImageInfo) ProtoReflect() protoreflect.Message
- func (x *ImageInfo) Reset()
- func (x *ImageInfo) String() string
- func (m *ImageInfo) Validate() error
- func (m *ImageInfo) ValidateAll() error
- type ImageInfoMultiError
- type ImageInfoValidationError
- type ImageServiceClient
- type ImageServiceServer
- type JobInfo
- func (*JobInfo) Descriptor() ([]byte, []int)deprecated
- func (x *JobInfo) GetInstance() *ContainerId
- func (x *JobInfo) GetJobId() int64
- func (x *JobInfo) GetJobType() JobType
- func (x *JobInfo) GetLast() int64
- func (x *JobInfo) GetName() string
- func (x *JobInfo) GetNext() int64
- func (*JobInfo) ProtoMessage()
- func (x *JobInfo) ProtoReflect() protoreflect.Message
- func (x *JobInfo) Reset()
- func (x *JobInfo) String() string
- func (m *JobInfo) Validate() error
- func (m *JobInfo) ValidateAll() error
- type JobInfoMultiError
- type JobInfoValidationError
- type JobList
- func (*JobList) Descriptor() ([]byte, []int)deprecated
- func (x *JobList) GetList() []*JobInfo
- func (*JobList) ProtoMessage()
- func (x *JobList) ProtoReflect() protoreflect.Message
- func (x *JobList) Reset()
- func (x *JobList) String() string
- func (m *JobList) Validate() error
- func (m *JobList) ValidateAll() error
- type JobListMultiError
- type JobListValidationError
- type JobType
- type KleiID
- type KleiIDMultiError
- type KleiIDValidationError
- type ListContainerReq
- func (*ListContainerReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerReq) GetPage() int64
- func (x *ListContainerReq) GetSearch() string
- func (x *ListContainerReq) GetSize() int64
- func (*ListContainerReq) ProtoMessage()
- func (x *ListContainerReq) ProtoReflect() protoreflect.Message
- func (x *ListContainerReq) Reset()
- func (x *ListContainerReq) String() string
- func (m *ListContainerReq) Validate() error
- func (m *ListContainerReq) ValidateAll() error
- type ListContainerReqMultiError
- type ListContainerReqValidationError
- func (e ListContainerReqValidationError) Cause() error
- func (e ListContainerReqValidationError) Error() string
- func (e ListContainerReqValidationError) ErrorName() string
- func (e ListContainerReqValidationError) Field() string
- func (e ListContainerReqValidationError) Key() bool
- func (e ListContainerReqValidationError) Reason() string
- type ListContainerResp
- func (*ListContainerResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerResp) GetList() []*ContainerInfo
- func (x *ListContainerResp) GetTotal() int64
- func (*ListContainerResp) ProtoMessage()
- func (x *ListContainerResp) ProtoReflect() protoreflect.Message
- func (x *ListContainerResp) Reset()
- func (x *ListContainerResp) String() string
- func (m *ListContainerResp) Validate() error
- func (m *ListContainerResp) ValidateAll() error
- type ListContainerRespMultiError
- type ListContainerRespValidationError
- func (e ListContainerRespValidationError) Cause() error
- func (e ListContainerRespValidationError) Error() string
- func (e ListContainerRespValidationError) ErrorName() string
- func (e ListContainerRespValidationError) Field() string
- func (e ListContainerRespValidationError) Key() bool
- func (e ListContainerRespValidationError) Reason() string
- type ListImageResult
- func (*ListImageResult) Descriptor() ([]byte, []int)deprecated
- func (x *ListImageResult) GetImages() []*ImageInfo
- func (x *ListImageResult) GetTotal() int64
- func (*ListImageResult) ProtoMessage()
- func (x *ListImageResult) ProtoReflect() protoreflect.Message
- func (x *ListImageResult) Reset()
- func (x *ListImageResult) String() string
- func (m *ListImageResult) Validate() error
- func (m *ListImageResult) ValidateAll() error
- type ListImageResultMultiError
- type ListImageResultValidationError
- func (e ListImageResultValidationError) Cause() error
- func (e ListImageResultValidationError) Error() string
- func (e ListImageResultValidationError) ErrorName() string
- func (e ListImageResultValidationError) Field() string
- func (e ListImageResultValidationError) Key() bool
- func (e ListImageResultValidationError) Reason() string
- type ListImagesReq
- func (*ListImagesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesReq) GetPage() int64
- func (x *ListImagesReq) GetSearch() string
- func (x *ListImagesReq) GetSize() int64
- func (*ListImagesReq) ProtoMessage()
- func (x *ListImagesReq) ProtoReflect() protoreflect.Message
- func (x *ListImagesReq) Reset()
- func (x *ListImagesReq) String() string
- func (m *ListImagesReq) Validate() error
- func (m *ListImagesReq) ValidateAll() error
- type ListImagesReqMultiError
- type ListImagesReqValidationError
- func (e ListImagesReqValidationError) Cause() error
- func (e ListImagesReqValidationError) Error() string
- func (e ListImagesReqValidationError) ErrorName() string
- func (e ListImagesReqValidationError) Field() string
- func (e ListImagesReqValidationError) Key() bool
- func (e ListImagesReqValidationError) Reason() string
- type LogContainerReq
- func (*LogContainerReq) Descriptor() ([]byte, []int)deprecated
- func (x *LogContainerReq) GetInstanceId() *ContainerId
- func (x *LogContainerReq) GetSince() int64
- func (x *LogContainerReq) GetTail() int64
- func (x *LogContainerReq) GetTimestamp() bool
- func (x *LogContainerReq) GetUntil() int64
- func (*LogContainerReq) ProtoMessage()
- func (x *LogContainerReq) ProtoReflect() protoreflect.Message
- func (x *LogContainerReq) Reset()
- func (x *LogContainerReq) String() string
- func (m *LogContainerReq) Validate() error
- func (m *LogContainerReq) ValidateAll() error
- type LogContainerReqMultiError
- type LogContainerReqValidationError
- func (e LogContainerReqValidationError) Cause() error
- func (e LogContainerReqValidationError) Error() string
- func (e LogContainerReqValidationError) ErrorName() string
- func (e LogContainerReqValidationError) Field() string
- func (e LogContainerReqValidationError) Key() bool
- func (e LogContainerReqValidationError) Reason() string
- type LogMessage
- func (*LogMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LogMessage) GetEvent() string
- func (x *LogMessage) GetMsg() string
- func (x *LogMessage) GetTime() string
- func (*LogMessage) ProtoMessage()
- func (x *LogMessage) ProtoReflect() protoreflect.Message
- func (x *LogMessage) Reset()
- func (x *LogMessage) String() string
- func (m *LogMessage) Validate() error
- func (m *LogMessage) ValidateAll() error
- type LogMessageMultiError
- type LogMessageValidationError
- type LogsRequest
- func (*LogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogsRequest) GetInstanceId() *ContainerId
- func (x *LogsRequest) GetLines() int64
- func (x *LogsRequest) GetTarget() ControlTarget
- func (*LogsRequest) ProtoMessage()
- func (x *LogsRequest) ProtoReflect() protoreflect.Message
- func (x *LogsRequest) Reset()
- func (x *LogsRequest) String() string
- func (m *LogsRequest) Validate() error
- func (m *LogsRequest) ValidateAll() error
- type LogsRequestMultiError
- type LogsRequestValidationError
- func (e LogsRequestValidationError) Cause() error
- func (e LogsRequestValidationError) Error() string
- func (e LogsRequestValidationError) ErrorName() string
- func (e LogsRequestValidationError) Field() string
- func (e LogsRequestValidationError) Key() bool
- func (e LogsRequestValidationError) Reason() string
- type LogsResponse
- func (*LogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogsResponse) GetLogs() string
- func (*LogsResponse) ProtoMessage()
- func (x *LogsResponse) ProtoReflect() protoreflect.Message
- func (x *LogsResponse) Reset()
- func (x *LogsResponse) String() string
- func (m *LogsResponse) Validate() error
- func (m *LogsResponse) ValidateAll() error
- type LogsResponseMultiError
- type LogsResponseValidationError
- func (e LogsResponseValidationError) Cause() error
- func (e LogsResponseValidationError) Error() string
- func (e LogsResponseValidationError) ErrorName() string
- func (e LogsResponseValidationError) Field() string
- func (e LogsResponseValidationError) Key() bool
- func (e LogsResponseValidationError) Reason() string
- type MemoryHealth
- func (*MemoryHealth) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryHealth) GetFree() int64
- func (x *MemoryHealth) GetTotal() int64
- func (x *MemoryHealth) GetUsage() float64
- func (x *MemoryHealth) GetUsed() int64
- func (*MemoryHealth) ProtoMessage()
- func (x *MemoryHealth) ProtoReflect() protoreflect.Message
- func (x *MemoryHealth) Reset()
- func (x *MemoryHealth) String() string
- func (m *MemoryHealth) Validate() error
- func (m *MemoryHealth) ValidateAll() error
- type MemoryHealthMultiError
- type MemoryHealthValidationError
- func (e MemoryHealthValidationError) Cause() error
- func (e MemoryHealthValidationError) Error() string
- func (e MemoryHealthValidationError) ErrorName() string
- func (e MemoryHealthValidationError) Field() string
- func (e MemoryHealthValidationError) Key() bool
- func (e MemoryHealthValidationError) Reason() string
- type ModCompatible
- func (*ModCompatible) Descriptor() ([]byte, []int)deprecated
- func (x *ModCompatible) GetAllClient() bool
- func (x *ModCompatible) GetClientOnly() bool
- func (x *ModCompatible) GetDontStarve() bool
- func (x *ModCompatible) GetDst() bool
- func (x *ModCompatible) GetGiant() bool
- func (*ModCompatible) ProtoMessage()
- func (x *ModCompatible) ProtoReflect() protoreflect.Message
- func (x *ModCompatible) Reset()
- func (x *ModCompatible) String() string
- func (m *ModCompatible) Validate() error
- func (m *ModCompatible) ValidateAll() error
- type ModCompatibleMultiError
- type ModCompatibleValidationError
- func (e ModCompatibleValidationError) Cause() error
- func (e ModCompatibleValidationError) Error() string
- func (e ModCompatibleValidationError) ErrorName() string
- func (e ModCompatibleValidationError) Field() string
- func (e ModCompatibleValidationError) Key() bool
- func (e ModCompatibleValidationError) Reason() string
- type ModConfiguration
- func (*ModConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ModConfiguration) GetDefaultValue() *anypb.Any
- func (x *ModConfiguration) GetName() string
- func (x *ModConfiguration) GetOptions() []*ModConfigurationItem
- func (*ModConfiguration) ProtoMessage()
- func (x *ModConfiguration) ProtoReflect() protoreflect.Message
- func (x *ModConfiguration) Reset()
- func (x *ModConfiguration) String() string
- func (m *ModConfiguration) Validate() error
- func (m *ModConfiguration) ValidateAll() error
- type ModConfigurationItem
- func (*ModConfigurationItem) Descriptor() ([]byte, []int)deprecated
- func (x *ModConfigurationItem) GetData() *anypb.Any
- func (x *ModConfigurationItem) GetDescription() string
- func (x *ModConfigurationItem) GetLabel() string
- func (*ModConfigurationItem) ProtoMessage()
- func (x *ModConfigurationItem) ProtoReflect() protoreflect.Message
- func (x *ModConfigurationItem) Reset()
- func (x *ModConfigurationItem) String() string
- func (m *ModConfigurationItem) Validate() error
- func (m *ModConfigurationItem) ValidateAll() error
- type ModConfigurationItemMultiError
- type ModConfigurationItemValidationError
- func (e ModConfigurationItemValidationError) Cause() error
- func (e ModConfigurationItemValidationError) Error() string
- func (e ModConfigurationItemValidationError) ErrorName() string
- func (e ModConfigurationItemValidationError) Field() string
- func (e ModConfigurationItemValidationError) Key() bool
- func (e ModConfigurationItemValidationError) Reason() string
- type ModConfigurationMultiError
- type ModConfigurationValidationError
- func (e ModConfigurationValidationError) Cause() error
- func (e ModConfigurationValidationError) Error() string
- func (e ModConfigurationValidationError) ErrorName() string
- func (e ModConfigurationValidationError) Field() string
- func (e ModConfigurationValidationError) Key() bool
- func (e ModConfigurationValidationError) Reason() string
- type ModDetails
- func (*ModDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ModDetails) GetAuthor() string
- func (x *ModDetails) GetCompatible() *ModCompatible
- func (x *ModDetails) GetConfigurations() []*ModConfiguration
- func (x *ModDetails) GetDescription() string
- func (x *ModDetails) GetName() string
- func (x *ModDetails) GetVersion() string
- func (*ModDetails) ProtoMessage()
- func (x *ModDetails) ProtoReflect() protoreflect.Message
- func (x *ModDetails) Reset()
- func (x *ModDetails) String() string
- func (m *ModDetails) Validate() error
- func (m *ModDetails) ValidateAll() error
- type ModDetailsMultiError
- type ModDetailsValidationError
- type ModId
- func (*ModId) Descriptor() ([]byte, []int)deprecated
- func (x *ModId) GetInstanceId() *ContainerId
- func (x *ModId) GetModId() string
- func (*ModId) ProtoMessage()
- func (x *ModId) ProtoReflect() protoreflect.Message
- func (x *ModId) Reset()
- func (x *ModId) String() string
- func (m *ModId) Validate() error
- func (m *ModId) ValidateAll() error
- type ModIdMultiError
- type ModIdValidationError
- type ModInfo
- func (*ModInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ModInfo) GetCreated() int64
- func (x *ModInfo) GetId() string
- func (x *ModInfo) GetName() string
- func (x *ModInfo) GetPreview() string
- func (x *ModInfo) GetSize() int64
- func (x *ModInfo) GetSubscribe() int64
- func (x *ModInfo) GetTags() []*ModTag
- func (x *ModInfo) GetUpdated() int64
- func (*ModInfo) ProtoMessage()
- func (x *ModInfo) ProtoReflect() protoreflect.Message
- func (x *ModInfo) Reset()
- func (x *ModInfo) String() string
- func (m *ModInfo) Validate() error
- func (m *ModInfo) ValidateAll() error
- type ModInfoMultiError
- type ModInfoValidationError
- type ModListReq
- func (*ModListReq) Descriptor() ([]byte, []int)deprecated
- func (x *ModListReq) GetPage() string
- func (x *ModListReq) GetSize() string
- func (x *ModListReq) GetText() string
- func (*ModListReq) ProtoMessage()
- func (x *ModListReq) ProtoReflect() protoreflect.Message
- func (x *ModListReq) Reset()
- func (x *ModListReq) String() string
- func (m *ModListReq) Validate() error
- func (m *ModListReq) ValidateAll() error
- type ModListReqMultiError
- type ModListReqValidationError
- type ModListResp
- func (*ModListResp) Descriptor() ([]byte, []int)deprecated
- func (x *ModListResp) GetList() []*ModInfo
- func (x *ModListResp) GetTotal() int64
- func (*ModListResp) ProtoMessage()
- func (x *ModListResp) ProtoReflect() protoreflect.Message
- func (x *ModListResp) Reset()
- func (x *ModListResp) String() string
- func (m *ModListResp) Validate() error
- func (m *ModListResp) ValidateAll() error
- type ModListRespMultiError
- type ModListRespValidationError
- func (e ModListRespValidationError) Cause() error
- func (e ModListRespValidationError) Error() string
- func (e ModListRespValidationError) ErrorName() string
- func (e ModListRespValidationError) Field() string
- func (e ModListRespValidationError) Key() bool
- func (e ModListRespValidationError) Reason() string
- type ModServiceClient
- type ModServiceServer
- type ModSettings
- func (*ModSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ModSettings) GetList() []*ModSettings_ModSettingItem
- func (*ModSettings) ProtoMessage()
- func (x *ModSettings) ProtoReflect() protoreflect.Message
- func (x *ModSettings) Reset()
- func (x *ModSettings) String() string
- func (m *ModSettings) Validate() error
- func (m *ModSettings) ValidateAll() error
- type ModSettingsMultiError
- type ModSettingsValidationError
- func (e ModSettingsValidationError) Cause() error
- func (e ModSettingsValidationError) Error() string
- func (e ModSettingsValidationError) ErrorName() string
- func (e ModSettingsValidationError) Field() string
- func (e ModSettingsValidationError) Key() bool
- func (e ModSettingsValidationError) Reason() string
- type ModSettings_ModSettingItem
- func (*ModSettings_ModSettingItem) Descriptor() ([]byte, []int)deprecated
- func (x *ModSettings_ModSettingItem) GetEnabled() bool
- func (x *ModSettings_ModSettingItem) GetOptions() map[string]*anypb.Any
- func (*ModSettings_ModSettingItem) ProtoMessage()
- func (x *ModSettings_ModSettingItem) ProtoReflect() protoreflect.Message
- func (x *ModSettings_ModSettingItem) Reset()
- func (x *ModSettings_ModSettingItem) String() string
- func (m *ModSettings_ModSettingItem) Validate() error
- func (m *ModSettings_ModSettingItem) ValidateAll() error
- type ModSettings_ModSettingItemMultiError
- type ModSettings_ModSettingItemValidationError
- func (e ModSettings_ModSettingItemValidationError) Cause() error
- func (e ModSettings_ModSettingItemValidationError) Error() string
- func (e ModSettings_ModSettingItemValidationError) ErrorName() string
- func (e ModSettings_ModSettingItemValidationError) Field() string
- func (e ModSettings_ModSettingItemValidationError) Key() bool
- func (e ModSettings_ModSettingItemValidationError) Reason() string
- type ModTag
- func (*ModTag) Descriptor() ([]byte, []int)deprecated
- func (x *ModTag) GetName() string
- func (x *ModTag) GetTag() string
- func (*ModTag) ProtoMessage()
- func (x *ModTag) ProtoReflect() protoreflect.Message
- func (x *ModTag) Reset()
- func (x *ModTag) String() string
- func (m *ModTag) Validate() error
- func (m *ModTag) ValidateAll() error
- type ModTagMultiError
- type ModTagValidationError
- type Notify
- func (*Notify) Descriptor() ([]byte, []int)deprecated
- func (x *Notify) GetCode() int64
- func (x *Notify) GetMsg() string
- func (x *Notify) GetOk() bool
- func (*Notify) ProtoMessage()
- func (x *Notify) ProtoReflect() protoreflect.Message
- func (x *Notify) Reset()
- func (x *Notify) String() string
- func (m *Notify) Validate() error
- func (m *Notify) ValidateAll() error
- type NotifyMultiError
- type NotifyValidationError
- type PlayerChatLog
- func (*PlayerChatLog) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerChatLog) GetMessages() []*LogMessage
- func (*PlayerChatLog) ProtoMessage()
- func (x *PlayerChatLog) ProtoReflect() protoreflect.Message
- func (x *PlayerChatLog) Reset()
- func (x *PlayerChatLog) String() string
- func (m *PlayerChatLog) Validate() error
- func (m *PlayerChatLog) ValidateAll() error
- type PlayerChatLogMultiError
- type PlayerChatLogValidationError
- func (e PlayerChatLogValidationError) Cause() error
- func (e PlayerChatLogValidationError) Error() string
- func (e PlayerChatLogValidationError) ErrorName() string
- func (e PlayerChatLogValidationError) Field() string
- func (e PlayerChatLogValidationError) Key() bool
- func (e PlayerChatLogValidationError) Reason() string
- type PlayerInfo
- func (*PlayerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerInfo) GetAdmin() bool
- func (x *PlayerInfo) GetKid() string
- func (x *PlayerInfo) GetName() string
- func (x *PlayerInfo) GetRole() string
- func (x *PlayerInfo) GetSteamId() uint64
- func (*PlayerInfo) ProtoMessage()
- func (x *PlayerInfo) ProtoReflect() protoreflect.Message
- func (x *PlayerInfo) Reset()
- func (x *PlayerInfo) String() string
- func (m *PlayerInfo) Validate() error
- func (m *PlayerInfo) ValidateAll() error
- type PlayerInfoMultiError
- type PlayerInfoValidationError
- type PlayerListReq
- func (*PlayerListReq) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerListReq) GetInstanceId() *ContainerId
- func (x *PlayerListReq) GetKid() *KleiID
- func (*PlayerListReq) ProtoMessage()
- func (x *PlayerListReq) ProtoReflect() protoreflect.Message
- func (x *PlayerListReq) Reset()
- func (x *PlayerListReq) String() string
- func (m *PlayerListReq) Validate() error
- func (m *PlayerListReq) ValidateAll() error
- type PlayerListReqMultiError
- type PlayerListReqValidationError
- func (e PlayerListReqValidationError) Cause() error
- func (e PlayerListReqValidationError) Error() string
- func (e PlayerListReqValidationError) ErrorName() string
- func (e PlayerListReqValidationError) Field() string
- func (e PlayerListReqValidationError) Key() bool
- func (e PlayerListReqValidationError) Reason() string
- type PlayerListResp
- func (*PlayerListResp) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerListResp) GetList() []*BasicPlayerInfo
- func (*PlayerListResp) ProtoMessage()
- func (x *PlayerListResp) ProtoReflect() protoreflect.Message
- func (x *PlayerListResp) Reset()
- func (x *PlayerListResp) String() string
- func (m *PlayerListResp) Validate() error
- func (m *PlayerListResp) ValidateAll() error
- type PlayerListRespMultiError
- type PlayerListRespValidationError
- func (e PlayerListRespValidationError) Cause() error
- func (e PlayerListRespValidationError) Error() string
- func (e PlayerListRespValidationError) ErrorName() string
- func (e PlayerListRespValidationError) Field() string
- func (e PlayerListRespValidationError) Key() bool
- func (e PlayerListRespValidationError) Reason() string
- type PlayerOperation
- func (PlayerOperation) Descriptor() protoreflect.EnumDescriptor
- func (x PlayerOperation) Enum() *PlayerOperation
- func (PlayerOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlayerOperation) Number() protoreflect.EnumNumber
- func (x PlayerOperation) String() string
- func (PlayerOperation) Type() protoreflect.EnumType
- type PlayerServiceClient
- type PlayerServiceServer
- type PlayerStatisticInfo
- func (*PlayerStatisticInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerStatisticInfo) GetCaveOnline() int64
- func (x *PlayerStatisticInfo) GetCaveOnlinePlayer() []*PlayerInfo
- func (x *PlayerStatisticInfo) GetMasterOnline() int64
- func (x *PlayerStatisticInfo) GetMasterOnlinePlayer() []*PlayerInfo
- func (x *PlayerStatisticInfo) GetOnline() int64
- func (x *PlayerStatisticInfo) GetTotal() int64
- func (*PlayerStatisticInfo) ProtoMessage()
- func (x *PlayerStatisticInfo) ProtoReflect() protoreflect.Message
- func (x *PlayerStatisticInfo) Reset()
- func (x *PlayerStatisticInfo) String() string
- func (m *PlayerStatisticInfo) Validate() error
- func (m *PlayerStatisticInfo) ValidateAll() error
- type PlayerStatisticInfoMultiError
- type PlayerStatisticInfoValidationError
- func (e PlayerStatisticInfoValidationError) Cause() error
- func (e PlayerStatisticInfoValidationError) Error() string
- func (e PlayerStatisticInfoValidationError) ErrorName() string
- func (e PlayerStatisticInfoValidationError) Field() string
- func (e PlayerStatisticInfoValidationError) Key() bool
- func (e PlayerStatisticInfoValidationError) Reason() string
- type PortBind
- func (*PortBind) Descriptor() ([]byte, []int)deprecated
- func (x *PortBind) GetAuto() bool
- func (x *PortBind) GetBind() int64
- func (x *PortBind) GetHost() int64
- func (x *PortBind) GetProtocol() string
- func (*PortBind) ProtoMessage()
- func (x *PortBind) ProtoReflect() protoreflect.Message
- func (x *PortBind) Reset()
- func (x *PortBind) String() string
- func (m *PortBind) Validate() error
- func (m *PortBind) ValidateAll() error
- type PortBindMultiError
- type PortBindValidationError
- type RawModSettings
- func (*RawModSettings) Descriptor() ([]byte, []int)deprecated
- func (x *RawModSettings) GetConfig() string
- func (*RawModSettings) ProtoMessage()
- func (x *RawModSettings) ProtoReflect() protoreflect.Message
- func (x *RawModSettings) Reset()
- func (x *RawModSettings) String() string
- func (m *RawModSettings) Validate() error
- func (m *RawModSettings) ValidateAll() error
- type RawModSettingsMultiError
- type RawModSettingsValidationError
- func (e RawModSettingsValidationError) Cause() error
- func (e RawModSettingsValidationError) Error() string
- func (e RawModSettingsValidationError) ErrorName() string
- func (e RawModSettingsValidationError) Field() string
- func (e RawModSettingsValidationError) Key() bool
- func (e RawModSettingsValidationError) Reason() string
- type RawWorldSetting
- func (*RawWorldSetting) Descriptor() ([]byte, []int)deprecated
- func (x *RawWorldSetting) GetRawLuaString() string
- func (*RawWorldSetting) ProtoMessage()
- func (x *RawWorldSetting) ProtoReflect() protoreflect.Message
- func (x *RawWorldSetting) Reset()
- func (x *RawWorldSetting) String() string
- func (m *RawWorldSetting) Validate() error
- func (m *RawWorldSetting) ValidateAll() error
- type RawWorldSettingMultiError
- type RawWorldSettingValidationError
- func (e RawWorldSettingValidationError) Cause() error
- func (e RawWorldSettingValidationError) Error() string
- func (e RawWorldSettingValidationError) ErrorName() string
- func (e RawWorldSettingValidationError) Field() string
- func (e RawWorldSettingValidationError) Key() bool
- func (e RawWorldSettingValidationError) Reason() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetCpu() int64
- func (x *Resource) GetDisk() int64
- func (x *Resource) GetMemory() int64
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (m *Resource) Validate() error
- func (m *Resource) ValidateAll() error
- type ResourceMultiError
- type ResourceValidationError
- type RoomSetting
- func (*RoomSetting) Descriptor() ([]byte, []int)deprecated
- func (x *RoomSetting) GetDescription() string
- func (x *RoomSetting) GetKick() bool
- func (x *RoomSetting) GetMode() string
- func (x *RoomSetting) GetName() string
- func (x *RoomSetting) GetPassword() string
- func (x *RoomSetting) GetPaused() bool
- func (x *RoomSetting) GetPvp() bool
- func (x *RoomSetting) GetSlots() int64
- func (x *RoomSetting) GetVote() bool
- func (*RoomSetting) ProtoMessage()
- func (x *RoomSetting) ProtoReflect() protoreflect.Message
- func (x *RoomSetting) Reset()
- func (x *RoomSetting) String() string
- func (m *RoomSetting) Validate() error
- func (m *RoomSetting) ValidateAll() error
- type RoomSettingMultiError
- type RoomSettingValidationError
- func (e RoomSettingValidationError) Cause() error
- func (e RoomSettingValidationError) Error() string
- func (e RoomSettingValidationError) ErrorName() string
- func (e RoomSettingValidationError) Field() string
- func (e RoomSettingValidationError) Key() bool
- func (e RoomSettingValidationError) Reason() string
- type SaveModSettingsReq
- func (*SaveModSettingsReq) Descriptor() ([]byte, []int)deprecated
- func (x *SaveModSettingsReq) GetInstanceId() *ContainerId
- func (x *SaveModSettingsReq) GetSettings() *ModSettings
- func (*SaveModSettingsReq) ProtoMessage()
- func (x *SaveModSettingsReq) ProtoReflect() protoreflect.Message
- func (x *SaveModSettingsReq) Reset()
- func (x *SaveModSettingsReq) String() string
- func (m *SaveModSettingsReq) Validate() error
- func (m *SaveModSettingsReq) ValidateAll() error
- type SaveModSettingsReqMultiError
- type SaveModSettingsReqValidationError
- func (e SaveModSettingsReqValidationError) Cause() error
- func (e SaveModSettingsReqValidationError) Error() string
- func (e SaveModSettingsReqValidationError) ErrorName() string
- func (e SaveModSettingsReqValidationError) Field() string
- func (e SaveModSettingsReqValidationError) Key() bool
- func (e SaveModSettingsReqValidationError) Reason() string
- type SaveRawModSettingsReq
- func (*SaveRawModSettingsReq) Descriptor() ([]byte, []int)deprecated
- func (x *SaveRawModSettingsReq) GetInstanceId() *ContainerId
- func (x *SaveRawModSettingsReq) GetSettings() string
- func (*SaveRawModSettingsReq) ProtoMessage()
- func (x *SaveRawModSettingsReq) ProtoReflect() protoreflect.Message
- func (x *SaveRawModSettingsReq) Reset()
- func (x *SaveRawModSettingsReq) String() string
- func (m *SaveRawModSettingsReq) Validate() error
- func (m *SaveRawModSettingsReq) ValidateAll() error
- type SaveRawModSettingsReqMultiError
- type SaveRawModSettingsReqValidationError
- func (e SaveRawModSettingsReqValidationError) Cause() error
- func (e SaveRawModSettingsReqValidationError) Error() string
- func (e SaveRawModSettingsReqValidationError) ErrorName() string
- func (e SaveRawModSettingsReqValidationError) Field() string
- func (e SaveRawModSettingsReqValidationError) Key() bool
- func (e SaveRawModSettingsReqValidationError) Reason() string
- type ServerState
- func (ServerState) Descriptor() protoreflect.EnumDescriptor
- func (x ServerState) Enum() *ServerState
- func (ServerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServerState) Number() protoreflect.EnumNumber
- func (x ServerState) String() string
- func (ServerState) Type() protoreflect.EnumType
- type SettingPair
- func (*SettingPair) Descriptor() ([]byte, []int)deprecated
- func (x *SettingPair) GetKey() string
- func (x *SettingPair) GetValue() string
- func (*SettingPair) ProtoMessage()
- func (x *SettingPair) ProtoReflect() protoreflect.Message
- func (x *SettingPair) Reset()
- func (x *SettingPair) String() string
- func (m *SettingPair) Validate() error
- func (m *SettingPair) ValidateAll() error
- type SettingPairMultiError
- type SettingPairValidationError
- func (e SettingPairValidationError) Cause() error
- func (e SettingPairValidationError) Error() string
- func (e SettingPairValidationError) ErrorName() string
- func (e SettingPairValidationError) Field() string
- func (e SettingPairValidationError) Key() bool
- func (e SettingPairValidationError) Reason() string
- type SettingServiceClient
- type SettingServiceServer
- type ShardServiceClient
- type ShardServiceServer
- type StateResp
- func (*StateResp) Descriptor() ([]byte, []int)deprecated
- func (x *StateResp) GetState() ServerState
- func (*StateResp) ProtoMessage()
- func (x *StateResp) ProtoReflect() protoreflect.Message
- func (x *StateResp) Reset()
- func (x *StateResp) String() string
- func (m *StateResp) Validate() error
- func (m *StateResp) ValidateAll() error
- type StateRespMultiError
- type StateRespValidationError
- type SystemInfo
- func (*SystemInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfo) GetArch() string
- func (x *SystemInfo) GetBuildVersion() string
- func (x *SystemInfo) GetCpuModel() string
- func (x *SystemInfo) GetDocker() *DockerInfo
- func (x *SystemInfo) GetGoVersion() string
- func (x *SystemInfo) GetOs() string
- func (x *SystemInfo) GetOsVersion() string
- func (x *SystemInfo) GetResource() *Resource
- func (*SystemInfo) ProtoMessage()
- func (x *SystemInfo) ProtoReflect() protoreflect.Message
- func (x *SystemInfo) Reset()
- func (x *SystemInfo) String() string
- func (m *SystemInfo) Validate() error
- func (m *SystemInfo) ValidateAll() error
- type SystemInfoMultiError
- type SystemInfoValidationError
- type UnimplementedArchiveServiceServer
- func (UnimplementedArchiveServiceServer) CreateBackup(context.Context, *BackupOpt) (*Notify, error)
- func (UnimplementedArchiveServiceServer) DeleteBackUp(context.Context, *BackupOpt) (*Notify, error)
- func (UnimplementedArchiveServiceServer) DownloadBackup(context.Context, *BackupOpt) (*BackupFile, error)
- func (UnimplementedArchiveServiceServer) Info(context.Context, *ContainerId) (*ArchiveInfo, error)
- func (UnimplementedArchiveServiceServer) ListBackups(context.Context, *ContainerId) (*BackUpList, error)
- func (UnimplementedArchiveServiceServer) RestoreBackUp(context.Context, *BackupOpt) (*Notify, error)
- func (UnimplementedArchiveServiceServer) UploadBackup(context.Context, *BackupFile) (*Notify, error)
- type UnimplementedContainerServiceServer
- func (UnimplementedContainerServiceServer) Create(context.Context, *CreateContainerReq) (*CreateContainerResp, error)
- func (UnimplementedContainerServiceServer) Delete(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedContainerServiceServer) ForceDelete(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedContainerServiceServer) List(context.Context, *ListContainerReq) (*ListContainerResp, error)
- func (UnimplementedContainerServiceServer) Log(context.Context, *LogContainerReq) (*ContainerLog, error)
- func (UnimplementedContainerServiceServer) Restart(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedContainerServiceServer) Start(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedContainerServiceServer) Stats(context.Context, *ContainerId) (*HealthInfo, error)
- func (UnimplementedContainerServiceServer) Stop(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedContainerServiceServer) UpdateQuota(context.Context, *Resource) (*Notify, error)
- type UnimplementedCronJobServiceServer
- type UnimplementedDaemonServiceServer
- type UnimplementedImageServiceServer
- type UnimplementedModServiceServer
- func (UnimplementedModServiceServer) CheckUpdate(context.Context, *ContainerId) (*CheckUpdateResult, error)
- func (UnimplementedModServiceServer) GetModSettings(context.Context, *ContainerId) (*ModSettings, error)
- func (UnimplementedModServiceServer) GetRawModSettings(context.Context, *ContainerId) (*RawModSettings, error)
- func (UnimplementedModServiceServer) GetWorkShopModList(context.Context, *ModListReq) (*ModListResp, error)
- func (UnimplementedModServiceServer) SaveModSettings(context.Context, *SaveModSettingsReq) (*Notify, error)
- func (UnimplementedModServiceServer) SaveRawModSettings(context.Context, *SaveRawModSettingsReq) (*Notify, error)
- func (UnimplementedModServiceServer) Subscribe(context.Context, *ModId) (*Notify, error)
- func (UnimplementedModServiceServer) Unsubscribe(context.Context, *ModId) (*Notify, error)
- func (UnimplementedModServiceServer) UpdateMod(context.Context, *ModId) (*Notify, error)
- type UnimplementedPlayerServiceServer
- func (UnimplementedPlayerServiceServer) AddAdminList(context.Context, *PlayerListReq) (*Notify, error)
- func (UnimplementedPlayerServiceServer) AddBlackList(context.Context, *PlayerListReq) (*Notify, error)
- func (UnimplementedPlayerServiceServer) AddWhiteList(context.Context, *PlayerListReq) (*Notify, error)
- func (UnimplementedPlayerServiceServer) ExecutePlayer(context.Context, *ExecutePlayerReq) (*Notify, error)
- func (UnimplementedPlayerServiceServer) GetAdminList(context.Context, *ContainerId) (*PlayerListResp, error)
- func (UnimplementedPlayerServiceServer) GetBlackList(context.Context, *ContainerId) (*PlayerListResp, error)
- func (UnimplementedPlayerServiceServer) GetPlayerChatLog(context.Context, *ContainerId) (*PlayerChatLog, error)
- func (UnimplementedPlayerServiceServer) GetPlayerStats(context.Context, *ContainerId) (*PlayerStatisticInfo, error)
- func (UnimplementedPlayerServiceServer) GetWhiteList(context.Context, *ContainerId) (*PlayerListResp, error)
- func (UnimplementedPlayerServiceServer) RemoveAdminList(context.Context, *PlayerListReq) (*Notify, error)
- func (UnimplementedPlayerServiceServer) RemoveBlackList(context.Context, *PlayerListReq) (*Notify, error)
- func (UnimplementedPlayerServiceServer) RemoveWhiteList(context.Context, *PlayerListReq) (*Notify, error)
- type UnimplementedSettingServiceServer
- func (UnimplementedSettingServiceServer) GetRawWorldSetting(context.Context, *ContainerId) (*RawWorldSetting, error)
- func (UnimplementedSettingServiceServer) GetRoomSetting(context.Context, *ContainerId) (*RoomSetting, error)
- func (UnimplementedSettingServiceServer) GetWorldSetting(context.Context, *ContainerId) (*WorldSetting, error)
- func (UnimplementedSettingServiceServer) SaveRawWorldSetting(context.Context, *RawWorldSetting) (*Notify, error)
- func (UnimplementedSettingServiceServer) SaveRoomSetting(context.Context, *RoomSetting) (*Notify, error)
- func (UnimplementedSettingServiceServer) SaveWorldSetting(context.Context, *WorldSetting) (*Notify, error)
- type UnimplementedShardServiceServer
- func (UnimplementedShardServiceServer) Clear(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedShardServiceServer) Execute(context.Context, *CommandRequest) (*Notify, error)
- func (UnimplementedShardServiceServer) Logs(context.Context, *LogsRequest) (*LogsResponse, error)
- func (UnimplementedShardServiceServer) ReStart(context.Context, *ControlRequest) (*Notify, error)
- func (UnimplementedShardServiceServer) Reset(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedShardServiceServer) RollBack(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedShardServiceServer) Start(context.Context, *ControlRequest) (*Notify, error)
- func (UnimplementedShardServiceServer) State(context.Context, *ControlRequest) (*StateResp, error)
- func (UnimplementedShardServiceServer) Stop(context.Context, *ControlRequest) (*Notify, error)
- func (UnimplementedShardServiceServer) Update(context.Context, *ContainerId) (*Notify, error)
- func (UnimplementedShardServiceServer) Version(context.Context, *ContainerId) (*VersionResp, error)
- type UnsafeArchiveServiceServer
- type UnsafeContainerServiceServer
- type UnsafeCronJobServiceServer
- type UnsafeDaemonServiceServer
- type UnsafeImageServiceServer
- type UnsafeModServiceServer
- type UnsafePlayerServiceServer
- type UnsafeSettingServiceServer
- type UnsafeShardServiceServer
- type VersionResp
- func (*VersionResp) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResp) GetVersion() string
- func (*VersionResp) ProtoMessage()
- func (x *VersionResp) ProtoReflect() protoreflect.Message
- func (x *VersionResp) Reset()
- func (x *VersionResp) String() string
- func (m *VersionResp) Validate() error
- func (m *VersionResp) ValidateAll() error
- type VersionRespMultiError
- type VersionRespValidationError
- func (e VersionRespValidationError) Cause() error
- func (e VersionRespValidationError) Error() string
- func (e VersionRespValidationError) ErrorName() string
- func (e VersionRespValidationError) Field() string
- func (e VersionRespValidationError) Key() bool
- func (e VersionRespValidationError) Reason() string
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetBind() string
- func (x *Volume) GetHost() string
- func (x *Volume) GetVType() string
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- func (m *Volume) Validate() error
- func (m *Volume) ValidateAll() error
- type VolumeMultiError
- type VolumeValidationError
- type WorldSetting
- func (*WorldSetting) Descriptor() ([]byte, []int)deprecated
- func (x *WorldSetting) GetCave() []*SettingPair
- func (x *WorldSetting) GetMaster() []*SettingPair
- func (*WorldSetting) ProtoMessage()
- func (x *WorldSetting) ProtoReflect() protoreflect.Message
- func (x *WorldSetting) Reset()
- func (x *WorldSetting) String() string
- func (m *WorldSetting) Validate() error
- func (m *WorldSetting) ValidateAll() error
- type WorldSettingMultiError
- type WorldSettingValidationError
- func (e WorldSettingValidationError) Cause() error
- func (e WorldSettingValidationError) Error() string
- func (e WorldSettingValidationError) ErrorName() string
- func (e WorldSettingValidationError) Field() string
- func (e WorldSettingValidationError) Key() bool
- func (e WorldSettingValidationError) Reason() string
Constants ¶
const ( ArchiveService_Info_FullMethodName = "/archive.ArchiveService/Info" ArchiveService_ListBackups_FullMethodName = "/archive.ArchiveService/ListBackups" ArchiveService_CreateBackup_FullMethodName = "/archive.ArchiveService/CreateBackup" ArchiveService_DeleteBackUp_FullMethodName = "/archive.ArchiveService/DeleteBackUp" ArchiveService_RestoreBackUp_FullMethodName = "/archive.ArchiveService/RestoreBackUp" ArchiveService_UploadBackup_FullMethodName = "/archive.ArchiveService/UploadBackup" ArchiveService_DownloadBackup_FullMethodName = "/archive.ArchiveService/DownloadBackup" )
const ( CronJobService_Create_FullMethodName = "/cron.CronJobService/Create" CronJobService_Delete_FullMethodName = "/cron.CronJobService/Delete" CronJobService_List_FullMethodName = "/cron.CronJobService/List" )
const ( DaemonService_HostInfo_FullMethodName = "/daemon.DaemonService/HostInfo" DaemonService_HealthCheck_FullMethodName = "/daemon.DaemonService/HealthCheck" )
const ( ImageService_List_FullMethodName = "/daemon.ImageService/List" ImageService_Remove_FullMethodName = "/daemon.ImageService/Remove" )
const ( ContainerService_List_FullMethodName = "/daemon.ContainerService/List" ContainerService_Create_FullMethodName = "/daemon.ContainerService/Create" ContainerService_UpdateQuota_FullMethodName = "/daemon.ContainerService/UpdateQuota" ContainerService_Log_FullMethodName = "/daemon.ContainerService/Log" ContainerService_Stats_FullMethodName = "/daemon.ContainerService/Stats" ContainerService_Start_FullMethodName = "/daemon.ContainerService/Start" ContainerService_Stop_FullMethodName = "/daemon.ContainerService/Stop" ContainerService_Restart_FullMethodName = "/daemon.ContainerService/Restart" ContainerService_Delete_FullMethodName = "/daemon.ContainerService/Delete" ContainerService_ForceDelete_FullMethodName = "/daemon.ContainerService/ForceDelete" )
const ( ModService_GetWorkShopModList_FullMethodName = "/mod.ModService/GetWorkShopModList" ModService_Subscribe_FullMethodName = "/mod.ModService/Subscribe" ModService_Unsubscribe_FullMethodName = "/mod.ModService/Unsubscribe" ModService_UpdateMod_FullMethodName = "/mod.ModService/UpdateMod" ModService_CheckUpdate_FullMethodName = "/mod.ModService/CheckUpdate" ModService_GetModSettings_FullMethodName = "/mod.ModService/GetModSettings" ModService_SaveModSettings_FullMethodName = "/mod.ModService/SaveModSettings" ModService_GetRawModSettings_FullMethodName = "/mod.ModService/GetRawModSettings" ModService_SaveRawModSettings_FullMethodName = "/mod.ModService/SaveRawModSettings" )
const ( PlayerService_GetPlayerStats_FullMethodName = "/player.PlayerService/GetPlayerStats" PlayerService_GetPlayerChatLog_FullMethodName = "/player.PlayerService/GetPlayerChatLog" PlayerService_ExecutePlayer_FullMethodName = "/player.PlayerService/ExecutePlayer" PlayerService_GetWhiteList_FullMethodName = "/player.PlayerService/GetWhiteList" PlayerService_GetBlackList_FullMethodName = "/player.PlayerService/GetBlackList" PlayerService_GetAdminList_FullMethodName = "/player.PlayerService/GetAdminList" PlayerService_AddWhiteList_FullMethodName = "/player.PlayerService/AddWhiteList" PlayerService_AddBlackList_FullMethodName = "/player.PlayerService/AddBlackList" PlayerService_AddAdminList_FullMethodName = "/player.PlayerService/AddAdminList" PlayerService_RemoveWhiteList_FullMethodName = "/player.PlayerService/RemoveWhiteList" PlayerService_RemoveBlackList_FullMethodName = "/player.PlayerService/RemoveBlackList" PlayerService_RemoveAdminList_FullMethodName = "/player.PlayerService/RemoveAdminList" )
const ( SettingService_GetRoomSetting_FullMethodName = "/setting.SettingService/GetRoomSetting" SettingService_SaveRoomSetting_FullMethodName = "/setting.SettingService/SaveRoomSetting" SettingService_GetWorldSetting_FullMethodName = "/setting.SettingService/GetWorldSetting" SettingService_SaveWorldSetting_FullMethodName = "/setting.SettingService/SaveWorldSetting" SettingService_GetRawWorldSetting_FullMethodName = "/setting.SettingService/GetRawWorldSetting" SettingService_SaveRawWorldSetting_FullMethodName = "/setting.SettingService/SaveRawWorldSetting" )
const ( ShardService_Start_FullMethodName = "/shard.ShardService/Start" ShardService_ReStart_FullMethodName = "/shard.ShardService/ReStart" ShardService_Stop_FullMethodName = "/shard.ShardService/Stop" ShardService_State_FullMethodName = "/shard.ShardService/State" ShardService_Logs_FullMethodName = "/shard.ShardService/Logs" ShardService_Execute_FullMethodName = "/shard.ShardService/Execute" ShardService_Version_FullMethodName = "/shard.ShardService/Version" ShardService_Update_FullMethodName = "/shard.ShardService/Update" ShardService_RollBack_FullMethodName = "/shard.ShardService/RollBack" ShardService_Reset_FullMethodName = "/shard.ShardService/Reset" ShardService_Clear_FullMethodName = "/shard.ShardService/Clear" )
Variables ¶
var ( JobType_name = map[int32]string{ 0: "Boot", 1: "Stop", 2: "Update", 3: "Reboot", 4: "Backup", } JobType_value = map[string]int32{ "Boot": 0, "Stop": 1, "Update": 2, "Reboot": 3, "Backup": 4, } )
Enum value maps for JobType.
var ( ContainerState_name = map[int32]string{ 0: "running", 1: "starting", 2: "stopping", 3: "stopped", } ContainerState_value = map[string]int32{ "running": 0, "starting": 1, "stopping": 2, "stopped": 3, } )
Enum value maps for ContainerState.
var ( PlayerOperation_name = map[int32]string{ 0: "Kill", 1: "Kick", 2: "ReRole", 3: "ReBorn", } PlayerOperation_value = map[string]int32{ "Kill": 0, "Kick": 1, "ReRole": 2, "ReBorn": 3, } )
Enum value maps for PlayerOperation.
var ( ControlTarget_name = map[int32]string{ 0: "Master", 1: "Cave", 2: "Both", } ControlTarget_value = map[string]int32{ "Master": 0, "Cave": 1, "Both": 2, } )
Enum value maps for ControlTarget.
var ( ServerState_name = map[int32]string{ 0: "Running", 1: "Starting", 2: "Stopping", 3: "Stopped", } ServerState_value = map[string]int32{ "Running": 0, "Starting": 1, "Stopping": 2, "Stopped": 3, } )
Enum value maps for ServerState.
var ArchiveService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "archive.ArchiveService", HandlerType: (*ArchiveServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Info", Handler: _ArchiveService_Info_Handler, }, { MethodName: "ListBackups", Handler: _ArchiveService_ListBackups_Handler, }, { MethodName: "CreateBackup", Handler: _ArchiveService_CreateBackup_Handler, }, { MethodName: "DeleteBackUp", Handler: _ArchiveService_DeleteBackUp_Handler, }, { MethodName: "RestoreBackUp", Handler: _ArchiveService_RestoreBackUp_Handler, }, { MethodName: "UploadBackup", Handler: _ArchiveService_UploadBackup_Handler, }, { MethodName: "DownloadBackup", Handler: _ArchiveService_DownloadBackup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "archive.proto", }
ArchiveService_ServiceDesc is the grpc.ServiceDesc for ArchiveService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ContainerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "daemon.ContainerService", HandlerType: (*ContainerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _ContainerService_List_Handler, }, { MethodName: "Create", Handler: _ContainerService_Create_Handler, }, { MethodName: "UpdateQuota", Handler: _ContainerService_UpdateQuota_Handler, }, { MethodName: "Log", Handler: _ContainerService_Log_Handler, }, { MethodName: "Stats", Handler: _ContainerService_Stats_Handler, }, { MethodName: "Start", Handler: _ContainerService_Start_Handler, }, { MethodName: "Stop", Handler: _ContainerService_Stop_Handler, }, { MethodName: "Restart", Handler: _ContainerService_Restart_Handler, }, { MethodName: "Delete", Handler: _ContainerService_Delete_Handler, }, { MethodName: "ForceDelete", Handler: _ContainerService_ForceDelete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "daemon.proto", }
ContainerService_ServiceDesc is the grpc.ServiceDesc for ContainerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CronJobService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cron.CronJobService", HandlerType: (*CronJobServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _CronJobService_Create_Handler, }, { MethodName: "Delete", Handler: _CronJobService_Delete_Handler, }, { MethodName: "List", Handler: _CronJobService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cron.proto", }
CronJobService_ServiceDesc is the grpc.ServiceDesc for CronJobService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DaemonService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "daemon.DaemonService", HandlerType: (*DaemonServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HostInfo", Handler: _DaemonService_HostInfo_Handler, }, { MethodName: "HealthCheck", Handler: _DaemonService_HealthCheck_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "daemon.proto", }
DaemonService_ServiceDesc is the grpc.ServiceDesc for DaemonService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_archive_proto protoreflect.FileDescriptor
var File_cron_proto protoreflect.FileDescriptor
var File_daemon_proto protoreflect.FileDescriptor
var File_dst_proto protoreflect.FileDescriptor
var File_mod_proto protoreflect.FileDescriptor
var File_player_proto protoreflect.FileDescriptor
var File_result_proto protoreflect.FileDescriptor
var File_setting_proto protoreflect.FileDescriptor
var File_shard_proto protoreflect.FileDescriptor
var ImageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "daemon.ImageService", HandlerType: (*ImageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _ImageService_List_Handler, }, { MethodName: "Remove", Handler: _ImageService_Remove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "daemon.proto", }
ImageService_ServiceDesc is the grpc.ServiceDesc for ImageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ModService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mod.ModService", HandlerType: (*ModServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetWorkShopModList", Handler: _ModService_GetWorkShopModList_Handler, }, { MethodName: "Subscribe", Handler: _ModService_Subscribe_Handler, }, { MethodName: "Unsubscribe", Handler: _ModService_Unsubscribe_Handler, }, { MethodName: "UpdateMod", Handler: _ModService_UpdateMod_Handler, }, { MethodName: "CheckUpdate", Handler: _ModService_CheckUpdate_Handler, }, { MethodName: "GetModSettings", Handler: _ModService_GetModSettings_Handler, }, { MethodName: "SaveModSettings", Handler: _ModService_SaveModSettings_Handler, }, { MethodName: "GetRawModSettings", Handler: _ModService_GetRawModSettings_Handler, }, { MethodName: "SaveRawModSettings", Handler: _ModService_SaveRawModSettings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mod.proto", }
ModService_ServiceDesc is the grpc.ServiceDesc for ModService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PlayerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "player.PlayerService", HandlerType: (*PlayerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPlayerStats", Handler: _PlayerService_GetPlayerStats_Handler, }, { MethodName: "GetPlayerChatLog", Handler: _PlayerService_GetPlayerChatLog_Handler, }, { MethodName: "ExecutePlayer", Handler: _PlayerService_ExecutePlayer_Handler, }, { MethodName: "GetWhiteList", Handler: _PlayerService_GetWhiteList_Handler, }, { MethodName: "GetBlackList", Handler: _PlayerService_GetBlackList_Handler, }, { MethodName: "GetAdminList", Handler: _PlayerService_GetAdminList_Handler, }, { MethodName: "AddWhiteList", Handler: _PlayerService_AddWhiteList_Handler, }, { MethodName: "AddBlackList", Handler: _PlayerService_AddBlackList_Handler, }, { MethodName: "AddAdminList", Handler: _PlayerService_AddAdminList_Handler, }, { MethodName: "RemoveWhiteList", Handler: _PlayerService_RemoveWhiteList_Handler, }, { MethodName: "RemoveBlackList", Handler: _PlayerService_RemoveBlackList_Handler, }, { MethodName: "RemoveAdminList", Handler: _PlayerService_RemoveAdminList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "player.proto", }
PlayerService_ServiceDesc is the grpc.ServiceDesc for PlayerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SettingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "setting.SettingService", HandlerType: (*SettingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRoomSetting", Handler: _SettingService_GetRoomSetting_Handler, }, { MethodName: "SaveRoomSetting", Handler: _SettingService_SaveRoomSetting_Handler, }, { MethodName: "GetWorldSetting", Handler: _SettingService_GetWorldSetting_Handler, }, { MethodName: "SaveWorldSetting", Handler: _SettingService_SaveWorldSetting_Handler, }, { MethodName: "GetRawWorldSetting", Handler: _SettingService_GetRawWorldSetting_Handler, }, { MethodName: "SaveRawWorldSetting", Handler: _SettingService_SaveRawWorldSetting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "setting.proto", }
SettingService_ServiceDesc is the grpc.ServiceDesc for SettingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ShardService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "shard.ShardService", HandlerType: (*ShardServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Start", Handler: _ShardService_Start_Handler, }, { MethodName: "ReStart", Handler: _ShardService_ReStart_Handler, }, { MethodName: "Stop", Handler: _ShardService_Stop_Handler, }, { MethodName: "State", Handler: _ShardService_State_Handler, }, { MethodName: "Logs", Handler: _ShardService_Logs_Handler, }, { MethodName: "Execute", Handler: _ShardService_Execute_Handler, }, { MethodName: "Version", Handler: _ShardService_Version_Handler, }, { MethodName: "Update", Handler: _ShardService_Update_Handler, }, { MethodName: "RollBack", Handler: _ShardService_RollBack_Handler, }, { MethodName: "Reset", Handler: _ShardService_Reset_Handler, }, { MethodName: "Clear", Handler: _ShardService_Clear_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "shard.proto", }
ShardService_ServiceDesc is the grpc.ServiceDesc for ShardService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterArchiveServiceServer ¶
func RegisterArchiveServiceServer(s grpc.ServiceRegistrar, srv ArchiveServiceServer)
func RegisterContainerServiceServer ¶
func RegisterContainerServiceServer(s grpc.ServiceRegistrar, srv ContainerServiceServer)
func RegisterCronJobServiceServer ¶
func RegisterCronJobServiceServer(s grpc.ServiceRegistrar, srv CronJobServiceServer)
func RegisterDaemonServiceServer ¶
func RegisterDaemonServiceServer(s grpc.ServiceRegistrar, srv DaemonServiceServer)
func RegisterImageServiceServer ¶
func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)
func RegisterModServiceServer ¶
func RegisterModServiceServer(s grpc.ServiceRegistrar, srv ModServiceServer)
func RegisterPlayerServiceServer ¶
func RegisterPlayerServiceServer(s grpc.ServiceRegistrar, srv PlayerServiceServer)
func RegisterSettingServiceServer ¶
func RegisterSettingServiceServer(s grpc.ServiceRegistrar, srv SettingServiceServer)
func RegisterShardServiceServer ¶
func RegisterShardServiceServer(s grpc.ServiceRegistrar, srv ShardServiceServer)
Types ¶
type ArchiveInfo ¶
type ArchiveInfo struct { // archive name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // how many days has been elapsed Days int64 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"` // archive season: spring, summer, autumn, winter Season string `protobuf:"bytes,3,opt,name=season,proto3" json:"season,omitempty"` // day or night Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"` Elapse int64 `protobuf:"varint,5,opt,name=elapse,proto3" json:"elapse,omitempty"` // size in bytes of the archive Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // how many mods has loaded Mods int64 `protobuf:"varint,7,opt,name=mods,proto3" json:"mods,omitempty"` // contains filtered or unexported fields }
dst archive basic info
func (*ArchiveInfo) Descriptor
deprecated
func (*ArchiveInfo) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveInfo.ProtoReflect.Descriptor instead.
func (*ArchiveInfo) GetDays ¶
func (x *ArchiveInfo) GetDays() int64
func (*ArchiveInfo) GetElapse ¶
func (x *ArchiveInfo) GetElapse() int64
func (*ArchiveInfo) GetMods ¶
func (x *ArchiveInfo) GetMods() int64
func (*ArchiveInfo) GetName ¶
func (x *ArchiveInfo) GetName() string
func (*ArchiveInfo) GetPhase ¶
func (x *ArchiveInfo) GetPhase() string
func (*ArchiveInfo) GetSeason ¶
func (x *ArchiveInfo) GetSeason() string
func (*ArchiveInfo) GetSize ¶
func (x *ArchiveInfo) GetSize() int64
func (*ArchiveInfo) ProtoMessage ¶
func (*ArchiveInfo) ProtoMessage()
func (*ArchiveInfo) ProtoReflect ¶
func (x *ArchiveInfo) ProtoReflect() protoreflect.Message
func (*ArchiveInfo) Reset ¶
func (x *ArchiveInfo) Reset()
func (*ArchiveInfo) String ¶
func (x *ArchiveInfo) String() string
func (*ArchiveInfo) Validate ¶
func (m *ArchiveInfo) Validate() error
Validate checks the field values on ArchiveInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ArchiveInfo) ValidateAll ¶
func (m *ArchiveInfo) ValidateAll() error
ValidateAll checks the field values on ArchiveInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ArchiveInfoMultiError, or nil if none found.
type ArchiveInfoMultiError ¶
type ArchiveInfoMultiError []error
ArchiveInfoMultiError is an error wrapping multiple validation errors returned by ArchiveInfo.ValidateAll() if the designated constraints aren't met.
func (ArchiveInfoMultiError) AllErrors ¶
func (m ArchiveInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ArchiveInfoMultiError) Error ¶
func (m ArchiveInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ArchiveInfoValidationError ¶
type ArchiveInfoValidationError struct {
// contains filtered or unexported fields
}
ArchiveInfoValidationError is the validation error returned by ArchiveInfo.Validate if the designated constraints aren't met.
func (ArchiveInfoValidationError) Cause ¶
func (e ArchiveInfoValidationError) Cause() error
Cause function returns cause value.
func (ArchiveInfoValidationError) Error ¶
func (e ArchiveInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ArchiveInfoValidationError) ErrorName ¶
func (e ArchiveInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ArchiveInfoValidationError) Field ¶
func (e ArchiveInfoValidationError) Field() string
Field function returns field value.
func (ArchiveInfoValidationError) Key ¶
func (e ArchiveInfoValidationError) Key() bool
Key function returns key value.
func (ArchiveInfoValidationError) Reason ¶
func (e ArchiveInfoValidationError) Reason() string
Reason function returns reason value.
type ArchiveServiceClient ¶
type ArchiveServiceClient interface { Info(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*ArchiveInfo, error) ListBackups(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*BackUpList, error) CreateBackup(ctx context.Context, in *BackupOpt, opts ...grpc.CallOption) (*Notify, error) DeleteBackUp(ctx context.Context, in *BackupOpt, opts ...grpc.CallOption) (*Notify, error) RestoreBackUp(ctx context.Context, in *BackupOpt, opts ...grpc.CallOption) (*Notify, error) UploadBackup(ctx context.Context, in *BackupFile, opts ...grpc.CallOption) (*Notify, error) DownloadBackup(ctx context.Context, in *BackupOpt, opts ...grpc.CallOption) (*BackupFile, error) }
ArchiveServiceClient is the client API for ArchiveService 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 NewArchiveServiceClient ¶
func NewArchiveServiceClient(cc grpc.ClientConnInterface) ArchiveServiceClient
type ArchiveServiceServer ¶
type ArchiveServiceServer interface { Info(context.Context, *ContainerId) (*ArchiveInfo, error) ListBackups(context.Context, *ContainerId) (*BackUpList, error) CreateBackup(context.Context, *BackupOpt) (*Notify, error) DeleteBackUp(context.Context, *BackupOpt) (*Notify, error) RestoreBackUp(context.Context, *BackupOpt) (*Notify, error) UploadBackup(context.Context, *BackupFile) (*Notify, error) DownloadBackup(context.Context, *BackupOpt) (*BackupFile, error) // contains filtered or unexported methods }
ArchiveServiceServer is the server API for ArchiveService service. All implementations must embed UnimplementedArchiveServiceServer for forward compatibility
type BackUpInfo ¶
type BackUpInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MTime int64 `protobuf:"varint,2,opt,name=mTime,proto3" json:"mTime,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*BackUpInfo) Descriptor
deprecated
func (*BackUpInfo) Descriptor() ([]byte, []int)
Deprecated: Use BackUpInfo.ProtoReflect.Descriptor instead.
func (*BackUpInfo) GetMTime ¶
func (x *BackUpInfo) GetMTime() int64
func (*BackUpInfo) GetName ¶
func (x *BackUpInfo) GetName() string
func (*BackUpInfo) GetSize ¶
func (x *BackUpInfo) GetSize() int64
func (*BackUpInfo) ProtoMessage ¶
func (*BackUpInfo) ProtoMessage()
func (*BackUpInfo) ProtoReflect ¶
func (x *BackUpInfo) ProtoReflect() protoreflect.Message
func (*BackUpInfo) Reset ¶
func (x *BackUpInfo) Reset()
func (*BackUpInfo) String ¶
func (x *BackUpInfo) String() string
func (*BackUpInfo) Validate ¶
func (m *BackUpInfo) Validate() error
Validate checks the field values on BackUpInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BackUpInfo) ValidateAll ¶
func (m *BackUpInfo) ValidateAll() error
ValidateAll checks the field values on BackUpInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BackUpInfoMultiError, or nil if none found.
type BackUpInfoMultiError ¶
type BackUpInfoMultiError []error
BackUpInfoMultiError is an error wrapping multiple validation errors returned by BackUpInfo.ValidateAll() if the designated constraints aren't met.
func (BackUpInfoMultiError) AllErrors ¶
func (m BackUpInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BackUpInfoMultiError) Error ¶
func (m BackUpInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BackUpInfoValidationError ¶
type BackUpInfoValidationError struct {
// contains filtered or unexported fields
}
BackUpInfoValidationError is the validation error returned by BackUpInfo.Validate if the designated constraints aren't met.
func (BackUpInfoValidationError) Cause ¶
func (e BackUpInfoValidationError) Cause() error
Cause function returns cause value.
func (BackUpInfoValidationError) Error ¶
func (e BackUpInfoValidationError) Error() string
Error satisfies the builtin error interface
func (BackUpInfoValidationError) ErrorName ¶
func (e BackUpInfoValidationError) ErrorName() string
ErrorName returns error name.
func (BackUpInfoValidationError) Field ¶
func (e BackUpInfoValidationError) Field() string
Field function returns field value.
func (BackUpInfoValidationError) Key ¶
func (e BackUpInfoValidationError) Key() bool
Key function returns key value.
func (BackUpInfoValidationError) Reason ¶
func (e BackUpInfoValidationError) Reason() string
Reason function returns reason value.
type BackUpList ¶
type BackUpList struct { List []*BackUpInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*BackUpList) Descriptor
deprecated
func (*BackUpList) Descriptor() ([]byte, []int)
Deprecated: Use BackUpList.ProtoReflect.Descriptor instead.
func (*BackUpList) GetList ¶
func (x *BackUpList) GetList() []*BackUpInfo
func (*BackUpList) ProtoMessage ¶
func (*BackUpList) ProtoMessage()
func (*BackUpList) ProtoReflect ¶
func (x *BackUpList) ProtoReflect() protoreflect.Message
func (*BackUpList) Reset ¶
func (x *BackUpList) Reset()
func (*BackUpList) String ¶
func (x *BackUpList) String() string
func (*BackUpList) Validate ¶
func (m *BackUpList) Validate() error
Validate checks the field values on BackUpList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BackUpList) ValidateAll ¶
func (m *BackUpList) ValidateAll() error
ValidateAll checks the field values on BackUpList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BackUpListMultiError, or nil if none found.
type BackUpListMultiError ¶
type BackUpListMultiError []error
BackUpListMultiError is an error wrapping multiple validation errors returned by BackUpList.ValidateAll() if the designated constraints aren't met.
func (BackUpListMultiError) AllErrors ¶
func (m BackUpListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BackUpListMultiError) Error ¶
func (m BackUpListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BackUpListValidationError ¶
type BackUpListValidationError struct {
// contains filtered or unexported fields
}
BackUpListValidationError is the validation error returned by BackUpList.Validate if the designated constraints aren't met.
func (BackUpListValidationError) Cause ¶
func (e BackUpListValidationError) Cause() error
Cause function returns cause value.
func (BackUpListValidationError) Error ¶
func (e BackUpListValidationError) Error() string
Error satisfies the builtin error interface
func (BackUpListValidationError) ErrorName ¶
func (e BackUpListValidationError) ErrorName() string
ErrorName returns error name.
func (BackUpListValidationError) Field ¶
func (e BackUpListValidationError) Field() string
Field function returns field value.
func (BackUpListValidationError) Key ¶
func (e BackUpListValidationError) Key() bool
Key function returns key value.
func (BackUpListValidationError) Reason ¶
func (e BackUpListValidationError) Reason() string
Reason function returns reason value.
type BackupFile ¶
type BackupFile struct { // file name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // file content in bytes Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*BackupFile) Descriptor
deprecated
func (*BackupFile) Descriptor() ([]byte, []int)
Deprecated: Use BackupFile.ProtoReflect.Descriptor instead.
func (*BackupFile) GetContent ¶
func (x *BackupFile) GetContent() []byte
func (*BackupFile) GetName ¶
func (x *BackupFile) GetName() string
func (*BackupFile) ProtoMessage ¶
func (*BackupFile) ProtoMessage()
func (*BackupFile) ProtoReflect ¶
func (x *BackupFile) ProtoReflect() protoreflect.Message
func (*BackupFile) Reset ¶
func (x *BackupFile) Reset()
func (*BackupFile) String ¶
func (x *BackupFile) String() string
func (*BackupFile) Validate ¶
func (m *BackupFile) Validate() error
Validate checks the field values on BackupFile with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BackupFile) ValidateAll ¶
func (m *BackupFile) ValidateAll() error
ValidateAll checks the field values on BackupFile with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BackupFileMultiError, or nil if none found.
type BackupFileMultiError ¶
type BackupFileMultiError []error
BackupFileMultiError is an error wrapping multiple validation errors returned by BackupFile.ValidateAll() if the designated constraints aren't met.
func (BackupFileMultiError) AllErrors ¶
func (m BackupFileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BackupFileMultiError) Error ¶
func (m BackupFileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BackupFileValidationError ¶
type BackupFileValidationError struct {
// contains filtered or unexported fields
}
BackupFileValidationError is the validation error returned by BackupFile.Validate if the designated constraints aren't met.
func (BackupFileValidationError) Cause ¶
func (e BackupFileValidationError) Cause() error
Cause function returns cause value.
func (BackupFileValidationError) Error ¶
func (e BackupFileValidationError) Error() string
Error satisfies the builtin error interface
func (BackupFileValidationError) ErrorName ¶
func (e BackupFileValidationError) ErrorName() string
ErrorName returns error name.
func (BackupFileValidationError) Field ¶
func (e BackupFileValidationError) Field() string
Field function returns field value.
func (BackupFileValidationError) Key ¶
func (e BackupFileValidationError) Key() bool
Key function returns key value.
func (BackupFileValidationError) Reason ¶
func (e BackupFileValidationError) Reason() string
Reason function returns reason value.
type BackupOpt ¶
type BackupOpt struct { Id *ContainerId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` BackupName string `protobuf:"bytes,2,opt,name=backupName,proto3" json:"backupName,omitempty"` // contains filtered or unexported fields }
func (*BackupOpt) Descriptor
deprecated
func (*BackupOpt) GetBackupName ¶
func (*BackupOpt) GetId ¶
func (x *BackupOpt) GetId() *ContainerId
func (*BackupOpt) ProtoMessage ¶
func (*BackupOpt) ProtoMessage()
func (*BackupOpt) ProtoReflect ¶
func (x *BackupOpt) ProtoReflect() protoreflect.Message
func (*BackupOpt) Validate ¶
Validate checks the field values on BackupOpt with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BackupOpt) ValidateAll ¶
ValidateAll checks the field values on BackupOpt with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BackupOptMultiError, or nil if none found.
type BackupOptMultiError ¶
type BackupOptMultiError []error
BackupOptMultiError is an error wrapping multiple validation errors returned by BackupOpt.ValidateAll() if the designated constraints aren't met.
func (BackupOptMultiError) AllErrors ¶
func (m BackupOptMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BackupOptMultiError) Error ¶
func (m BackupOptMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BackupOptValidationError ¶
type BackupOptValidationError struct {
// contains filtered or unexported fields
}
BackupOptValidationError is the validation error returned by BackupOpt.Validate if the designated constraints aren't met.
func (BackupOptValidationError) Cause ¶
func (e BackupOptValidationError) Cause() error
Cause function returns cause value.
func (BackupOptValidationError) Error ¶
func (e BackupOptValidationError) Error() string
Error satisfies the builtin error interface
func (BackupOptValidationError) ErrorName ¶
func (e BackupOptValidationError) ErrorName() string
ErrorName returns error name.
func (BackupOptValidationError) Field ¶
func (e BackupOptValidationError) Field() string
Field function returns field value.
func (BackupOptValidationError) Key ¶
func (e BackupOptValidationError) Key() bool
Key function returns key value.
func (BackupOptValidationError) Reason ¶
func (e BackupOptValidationError) Reason() string
Reason function returns reason value.
type BasicPlayerInfo ¶
type BasicPlayerInfo struct { // klei user id Kid string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` // dst player name, same as steam user name normally Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*BasicPlayerInfo) Descriptor
deprecated
func (*BasicPlayerInfo) Descriptor() ([]byte, []int)
Deprecated: Use BasicPlayerInfo.ProtoReflect.Descriptor instead.
func (*BasicPlayerInfo) GetKid ¶
func (x *BasicPlayerInfo) GetKid() string
func (*BasicPlayerInfo) GetName ¶
func (x *BasicPlayerInfo) GetName() string
func (*BasicPlayerInfo) ProtoMessage ¶
func (*BasicPlayerInfo) ProtoMessage()
func (*BasicPlayerInfo) ProtoReflect ¶
func (x *BasicPlayerInfo) ProtoReflect() protoreflect.Message
func (*BasicPlayerInfo) Reset ¶
func (x *BasicPlayerInfo) Reset()
func (*BasicPlayerInfo) String ¶
func (x *BasicPlayerInfo) String() string
func (*BasicPlayerInfo) Validate ¶
func (m *BasicPlayerInfo) Validate() error
Validate checks the field values on BasicPlayerInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BasicPlayerInfo) ValidateAll ¶
func (m *BasicPlayerInfo) ValidateAll() error
ValidateAll checks the field values on BasicPlayerInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BasicPlayerInfoMultiError, or nil if none found.
type BasicPlayerInfoMultiError ¶
type BasicPlayerInfoMultiError []error
BasicPlayerInfoMultiError is an error wrapping multiple validation errors returned by BasicPlayerInfo.ValidateAll() if the designated constraints aren't met.
func (BasicPlayerInfoMultiError) AllErrors ¶
func (m BasicPlayerInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BasicPlayerInfoMultiError) Error ¶
func (m BasicPlayerInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BasicPlayerInfoValidationError ¶
type BasicPlayerInfoValidationError struct {
// contains filtered or unexported fields
}
BasicPlayerInfoValidationError is the validation error returned by BasicPlayerInfo.Validate if the designated constraints aren't met.
func (BasicPlayerInfoValidationError) Cause ¶
func (e BasicPlayerInfoValidationError) Cause() error
Cause function returns cause value.
func (BasicPlayerInfoValidationError) Error ¶
func (e BasicPlayerInfoValidationError) Error() string
Error satisfies the builtin error interface
func (BasicPlayerInfoValidationError) ErrorName ¶
func (e BasicPlayerInfoValidationError) ErrorName() string
ErrorName returns error name.
func (BasicPlayerInfoValidationError) Field ¶
func (e BasicPlayerInfoValidationError) Field() string
Field function returns field value.
func (BasicPlayerInfoValidationError) Key ¶
func (e BasicPlayerInfoValidationError) Key() bool
Key function returns key value.
func (BasicPlayerInfoValidationError) Reason ¶
func (e BasicPlayerInfoValidationError) Reason() string
Reason function returns reason value.
type CheckUpdateResult ¶
type CheckUpdateResult struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*CheckUpdateResult_CheckUpdateModItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*CheckUpdateResult) Descriptor
deprecated
func (*CheckUpdateResult) Descriptor() ([]byte, []int)
Deprecated: Use CheckUpdateResult.ProtoReflect.Descriptor instead.
func (*CheckUpdateResult) GetList ¶
func (x *CheckUpdateResult) GetList() []*CheckUpdateResult_CheckUpdateModItem
func (*CheckUpdateResult) GetTotal ¶
func (x *CheckUpdateResult) GetTotal() int64
func (*CheckUpdateResult) ProtoMessage ¶
func (*CheckUpdateResult) ProtoMessage()
func (*CheckUpdateResult) ProtoReflect ¶
func (x *CheckUpdateResult) ProtoReflect() protoreflect.Message
func (*CheckUpdateResult) Reset ¶
func (x *CheckUpdateResult) Reset()
func (*CheckUpdateResult) String ¶
func (x *CheckUpdateResult) String() string
func (*CheckUpdateResult) Validate ¶
func (m *CheckUpdateResult) Validate() error
Validate checks the field values on CheckUpdateResult with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckUpdateResult) ValidateAll ¶
func (m *CheckUpdateResult) ValidateAll() error
ValidateAll checks the field values on CheckUpdateResult with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckUpdateResultMultiError, or nil if none found.
type CheckUpdateResultMultiError ¶
type CheckUpdateResultMultiError []error
CheckUpdateResultMultiError is an error wrapping multiple validation errors returned by CheckUpdateResult.ValidateAll() if the designated constraints aren't met.
func (CheckUpdateResultMultiError) AllErrors ¶
func (m CheckUpdateResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckUpdateResultMultiError) Error ¶
func (m CheckUpdateResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckUpdateResultValidationError ¶
type CheckUpdateResultValidationError struct {
// contains filtered or unexported fields
}
CheckUpdateResultValidationError is the validation error returned by CheckUpdateResult.Validate if the designated constraints aren't met.
func (CheckUpdateResultValidationError) Cause ¶
func (e CheckUpdateResultValidationError) Cause() error
Cause function returns cause value.
func (CheckUpdateResultValidationError) Error ¶
func (e CheckUpdateResultValidationError) Error() string
Error satisfies the builtin error interface
func (CheckUpdateResultValidationError) ErrorName ¶
func (e CheckUpdateResultValidationError) ErrorName() string
ErrorName returns error name.
func (CheckUpdateResultValidationError) Field ¶
func (e CheckUpdateResultValidationError) Field() string
Field function returns field value.
func (CheckUpdateResultValidationError) Key ¶
func (e CheckUpdateResultValidationError) Key() bool
Key function returns key value.
func (CheckUpdateResultValidationError) Reason ¶
func (e CheckUpdateResultValidationError) Reason() string
Reason function returns reason value.
type CheckUpdateResult_CheckUpdateModItem ¶
type CheckUpdateResult_CheckUpdateModItem struct { ModId string `protobuf:"bytes,1,opt,name=modId,proto3" json:"modId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Date int64 `protobuf:"varint,4,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func (*CheckUpdateResult_CheckUpdateModItem) Descriptor
deprecated
func (*CheckUpdateResult_CheckUpdateModItem) Descriptor() ([]byte, []int)
Deprecated: Use CheckUpdateResult_CheckUpdateModItem.ProtoReflect.Descriptor instead.
func (*CheckUpdateResult_CheckUpdateModItem) GetDate ¶
func (x *CheckUpdateResult_CheckUpdateModItem) GetDate() int64
func (*CheckUpdateResult_CheckUpdateModItem) GetModId ¶
func (x *CheckUpdateResult_CheckUpdateModItem) GetModId() string
func (*CheckUpdateResult_CheckUpdateModItem) GetName ¶
func (x *CheckUpdateResult_CheckUpdateModItem) GetName() string
func (*CheckUpdateResult_CheckUpdateModItem) GetVersion ¶
func (x *CheckUpdateResult_CheckUpdateModItem) GetVersion() string
func (*CheckUpdateResult_CheckUpdateModItem) ProtoMessage ¶
func (*CheckUpdateResult_CheckUpdateModItem) ProtoMessage()
func (*CheckUpdateResult_CheckUpdateModItem) ProtoReflect ¶
func (x *CheckUpdateResult_CheckUpdateModItem) ProtoReflect() protoreflect.Message
func (*CheckUpdateResult_CheckUpdateModItem) Reset ¶
func (x *CheckUpdateResult_CheckUpdateModItem) Reset()
func (*CheckUpdateResult_CheckUpdateModItem) String ¶
func (x *CheckUpdateResult_CheckUpdateModItem) String() string
func (*CheckUpdateResult_CheckUpdateModItem) Validate ¶
func (m *CheckUpdateResult_CheckUpdateModItem) Validate() error
Validate checks the field values on CheckUpdateResult_CheckUpdateModItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckUpdateResult_CheckUpdateModItem) ValidateAll ¶
func (m *CheckUpdateResult_CheckUpdateModItem) ValidateAll() error
ValidateAll checks the field values on CheckUpdateResult_CheckUpdateModItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckUpdateResult_CheckUpdateModItemMultiError, or nil if none found.
type CheckUpdateResult_CheckUpdateModItemMultiError ¶
type CheckUpdateResult_CheckUpdateModItemMultiError []error
CheckUpdateResult_CheckUpdateModItemMultiError is an error wrapping multiple validation errors returned by CheckUpdateResult_CheckUpdateModItem.ValidateAll() if the designated constraints aren't met.
func (CheckUpdateResult_CheckUpdateModItemMultiError) AllErrors ¶
func (m CheckUpdateResult_CheckUpdateModItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckUpdateResult_CheckUpdateModItemMultiError) Error ¶
func (m CheckUpdateResult_CheckUpdateModItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckUpdateResult_CheckUpdateModItemValidationError ¶
type CheckUpdateResult_CheckUpdateModItemValidationError struct {
// contains filtered or unexported fields
}
CheckUpdateResult_CheckUpdateModItemValidationError is the validation error returned by CheckUpdateResult_CheckUpdateModItem.Validate if the designated constraints aren't met.
func (CheckUpdateResult_CheckUpdateModItemValidationError) Cause ¶
func (e CheckUpdateResult_CheckUpdateModItemValidationError) Cause() error
Cause function returns cause value.
func (CheckUpdateResult_CheckUpdateModItemValidationError) Error ¶
func (e CheckUpdateResult_CheckUpdateModItemValidationError) Error() string
Error satisfies the builtin error interface
func (CheckUpdateResult_CheckUpdateModItemValidationError) ErrorName ¶
func (e CheckUpdateResult_CheckUpdateModItemValidationError) ErrorName() string
ErrorName returns error name.
func (CheckUpdateResult_CheckUpdateModItemValidationError) Field ¶
func (e CheckUpdateResult_CheckUpdateModItemValidationError) Field() string
Field function returns field value.
func (CheckUpdateResult_CheckUpdateModItemValidationError) Key ¶
func (e CheckUpdateResult_CheckUpdateModItemValidationError) Key() bool
Key function returns key value.
func (CheckUpdateResult_CheckUpdateModItemValidationError) Reason ¶
func (e CheckUpdateResult_CheckUpdateModItemValidationError) Reason() string
Reason function returns reason value.
type CommandRequest ¶
type CommandRequest struct { Target ControlTarget `protobuf:"varint,1,opt,name=target,proto3,enum=shard.ControlTarget" json:"target,omitempty"` InstanceId *ContainerId `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` // contains filtered or unexported fields }
func (*CommandRequest) Descriptor
deprecated
func (*CommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommandRequest.ProtoReflect.Descriptor instead.
func (*CommandRequest) GetCommand ¶
func (x *CommandRequest) GetCommand() string
func (*CommandRequest) GetInstanceId ¶
func (x *CommandRequest) GetInstanceId() *ContainerId
func (*CommandRequest) GetTarget ¶
func (x *CommandRequest) GetTarget() ControlTarget
func (*CommandRequest) ProtoMessage ¶
func (*CommandRequest) ProtoMessage()
func (*CommandRequest) ProtoReflect ¶
func (x *CommandRequest) ProtoReflect() protoreflect.Message
func (*CommandRequest) Reset ¶
func (x *CommandRequest) Reset()
func (*CommandRequest) String ¶
func (x *CommandRequest) String() string
func (*CommandRequest) Validate ¶
func (m *CommandRequest) Validate() error
Validate checks the field values on CommandRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommandRequest) ValidateAll ¶
func (m *CommandRequest) ValidateAll() error
ValidateAll checks the field values on CommandRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommandRequestMultiError, or nil if none found.
type CommandRequestMultiError ¶
type CommandRequestMultiError []error
CommandRequestMultiError is an error wrapping multiple validation errors returned by CommandRequest.ValidateAll() if the designated constraints aren't met.
func (CommandRequestMultiError) AllErrors ¶
func (m CommandRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommandRequestMultiError) Error ¶
func (m CommandRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommandRequestValidationError ¶
type CommandRequestValidationError struct {
// contains filtered or unexported fields
}
CommandRequestValidationError is the validation error returned by CommandRequest.Validate if the designated constraints aren't met.
func (CommandRequestValidationError) Cause ¶
func (e CommandRequestValidationError) Cause() error
Cause function returns cause value.
func (CommandRequestValidationError) Error ¶
func (e CommandRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CommandRequestValidationError) ErrorName ¶
func (e CommandRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CommandRequestValidationError) Field ¶
func (e CommandRequestValidationError) Field() string
Field function returns field value.
func (CommandRequestValidationError) Key ¶
func (e CommandRequestValidationError) Key() bool
Key function returns key value.
func (CommandRequestValidationError) Reason ¶
func (e CommandRequestValidationError) Reason() string
Reason function returns reason value.
type ContainerId ¶
type ContainerId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ContainerId) Descriptor
deprecated
func (*ContainerId) Descriptor() ([]byte, []int)
Deprecated: Use ContainerId.ProtoReflect.Descriptor instead.
func (*ContainerId) GetId ¶
func (x *ContainerId) GetId() string
func (*ContainerId) ProtoMessage ¶
func (*ContainerId) ProtoMessage()
func (*ContainerId) ProtoReflect ¶
func (x *ContainerId) ProtoReflect() protoreflect.Message
func (*ContainerId) Reset ¶
func (x *ContainerId) Reset()
func (*ContainerId) String ¶
func (x *ContainerId) String() string
func (*ContainerId) Validate ¶
func (m *ContainerId) Validate() error
Validate checks the field values on ContainerId with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ContainerId) ValidateAll ¶
func (m *ContainerId) ValidateAll() error
ValidateAll checks the field values on ContainerId with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContainerIdMultiError, or nil if none found.
type ContainerIdMultiError ¶
type ContainerIdMultiError []error
ContainerIdMultiError is an error wrapping multiple validation errors returned by ContainerId.ValidateAll() if the designated constraints aren't met.
func (ContainerIdMultiError) AllErrors ¶
func (m ContainerIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContainerIdMultiError) Error ¶
func (m ContainerIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContainerIdValidationError ¶
type ContainerIdValidationError struct {
// contains filtered or unexported fields
}
ContainerIdValidationError is the validation error returned by ContainerId.Validate if the designated constraints aren't met.
func (ContainerIdValidationError) Cause ¶
func (e ContainerIdValidationError) Cause() error
Cause function returns cause value.
func (ContainerIdValidationError) Error ¶
func (e ContainerIdValidationError) Error() string
Error satisfies the builtin error interface
func (ContainerIdValidationError) ErrorName ¶
func (e ContainerIdValidationError) ErrorName() string
ErrorName returns error name.
func (ContainerIdValidationError) Field ¶
func (e ContainerIdValidationError) Field() string
Field function returns field value.
func (ContainerIdValidationError) Key ¶
func (e ContainerIdValidationError) Key() bool
Key function returns key value.
func (ContainerIdValidationError) Reason ¶
func (e ContainerIdValidationError) Reason() string
Reason function returns reason value.
type ContainerInfo ¶
type ContainerInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` State ContainerState `protobuf:"varint,2,opt,name=state,proto3,enum=daemon.ContainerState" json:"state,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` UserId string `protobuf:"bytes,4,opt,name=userId,proto3" json:"userId,omitempty"` Resource *Resource `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` ExpiredAt int64 `protobuf:"varint,7,opt,name=expiredAt,proto3" json:"expiredAt,omitempty"` // contains filtered or unexported fields }
func (*ContainerInfo) Descriptor
deprecated
func (*ContainerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead.
func (*ContainerInfo) GetCreatedAt ¶
func (x *ContainerInfo) GetCreatedAt() int64
func (*ContainerInfo) GetExpiredAt ¶
func (x *ContainerInfo) GetExpiredAt() int64
func (*ContainerInfo) GetId ¶
func (x *ContainerInfo) GetId() string
func (*ContainerInfo) GetName ¶
func (x *ContainerInfo) GetName() string
func (*ContainerInfo) GetResource ¶
func (x *ContainerInfo) GetResource() *Resource
func (*ContainerInfo) GetState ¶
func (x *ContainerInfo) GetState() ContainerState
func (*ContainerInfo) GetUserId ¶
func (x *ContainerInfo) GetUserId() string
func (*ContainerInfo) ProtoMessage ¶
func (*ContainerInfo) ProtoMessage()
func (*ContainerInfo) ProtoReflect ¶
func (x *ContainerInfo) ProtoReflect() protoreflect.Message
func (*ContainerInfo) Reset ¶
func (x *ContainerInfo) Reset()
func (*ContainerInfo) String ¶
func (x *ContainerInfo) String() string
func (*ContainerInfo) Validate ¶
func (m *ContainerInfo) Validate() error
Validate checks the field values on ContainerInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ContainerInfo) ValidateAll ¶
func (m *ContainerInfo) ValidateAll() error
ValidateAll checks the field values on ContainerInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContainerInfoMultiError, or nil if none found.
type ContainerInfoMultiError ¶
type ContainerInfoMultiError []error
ContainerInfoMultiError is an error wrapping multiple validation errors returned by ContainerInfo.ValidateAll() if the designated constraints aren't met.
func (ContainerInfoMultiError) AllErrors ¶
func (m ContainerInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContainerInfoMultiError) Error ¶
func (m ContainerInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContainerInfoValidationError ¶
type ContainerInfoValidationError struct {
// contains filtered or unexported fields
}
ContainerInfoValidationError is the validation error returned by ContainerInfo.Validate if the designated constraints aren't met.
func (ContainerInfoValidationError) Cause ¶
func (e ContainerInfoValidationError) Cause() error
Cause function returns cause value.
func (ContainerInfoValidationError) Error ¶
func (e ContainerInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ContainerInfoValidationError) ErrorName ¶
func (e ContainerInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ContainerInfoValidationError) Field ¶
func (e ContainerInfoValidationError) Field() string
Field function returns field value.
func (ContainerInfoValidationError) Key ¶
func (e ContainerInfoValidationError) Key() bool
Key function returns key value.
func (ContainerInfoValidationError) Reason ¶
func (e ContainerInfoValidationError) Reason() string
Reason function returns reason value.
type ContainerLog ¶
type ContainerLog struct { LogContent string `protobuf:"bytes,1,opt,name=logContent,proto3" json:"logContent,omitempty"` Lines int64 `protobuf:"varint,2,opt,name=lines,proto3" json:"lines,omitempty"` // contains filtered or unexported fields }
func (*ContainerLog) Descriptor
deprecated
func (*ContainerLog) Descriptor() ([]byte, []int)
Deprecated: Use ContainerLog.ProtoReflect.Descriptor instead.
func (*ContainerLog) GetLines ¶
func (x *ContainerLog) GetLines() int64
func (*ContainerLog) GetLogContent ¶
func (x *ContainerLog) GetLogContent() string
func (*ContainerLog) ProtoMessage ¶
func (*ContainerLog) ProtoMessage()
func (*ContainerLog) ProtoReflect ¶
func (x *ContainerLog) ProtoReflect() protoreflect.Message
func (*ContainerLog) Reset ¶
func (x *ContainerLog) Reset()
func (*ContainerLog) String ¶
func (x *ContainerLog) String() string
func (*ContainerLog) Validate ¶
func (m *ContainerLog) Validate() error
Validate checks the field values on ContainerLog with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ContainerLog) ValidateAll ¶
func (m *ContainerLog) ValidateAll() error
ValidateAll checks the field values on ContainerLog with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContainerLogMultiError, or nil if none found.
type ContainerLogMultiError ¶
type ContainerLogMultiError []error
ContainerLogMultiError is an error wrapping multiple validation errors returned by ContainerLog.ValidateAll() if the designated constraints aren't met.
func (ContainerLogMultiError) AllErrors ¶
func (m ContainerLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContainerLogMultiError) Error ¶
func (m ContainerLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContainerLogValidationError ¶
type ContainerLogValidationError struct {
// contains filtered or unexported fields
}
ContainerLogValidationError is the validation error returned by ContainerLog.Validate if the designated constraints aren't met.
func (ContainerLogValidationError) Cause ¶
func (e ContainerLogValidationError) Cause() error
Cause function returns cause value.
func (ContainerLogValidationError) Error ¶
func (e ContainerLogValidationError) Error() string
Error satisfies the builtin error interface
func (ContainerLogValidationError) ErrorName ¶
func (e ContainerLogValidationError) ErrorName() string
ErrorName returns error name.
func (ContainerLogValidationError) Field ¶
func (e ContainerLogValidationError) Field() string
Field function returns field value.
func (ContainerLogValidationError) Key ¶
func (e ContainerLogValidationError) Key() bool
Key function returns key value.
func (ContainerLogValidationError) Reason ¶
func (e ContainerLogValidationError) Reason() string
Reason function returns reason value.
type ContainerServiceClient ¶
type ContainerServiceClient interface { List(ctx context.Context, in *ListContainerReq, opts ...grpc.CallOption) (*ListContainerResp, error) Create(ctx context.Context, in *CreateContainerReq, opts ...grpc.CallOption) (*CreateContainerResp, error) UpdateQuota(ctx context.Context, in *Resource, opts ...grpc.CallOption) (*Notify, error) Log(ctx context.Context, in *LogContainerReq, opts ...grpc.CallOption) (*ContainerLog, error) Stats(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*HealthInfo, error) Start(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) Stop(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) Restart(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) Delete(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) ForceDelete(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) }
ContainerServiceClient is the client API for ContainerService 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 NewContainerServiceClient ¶
func NewContainerServiceClient(cc grpc.ClientConnInterface) ContainerServiceClient
type ContainerServiceServer ¶
type ContainerServiceServer interface { List(context.Context, *ListContainerReq) (*ListContainerResp, error) Create(context.Context, *CreateContainerReq) (*CreateContainerResp, error) UpdateQuota(context.Context, *Resource) (*Notify, error) Log(context.Context, *LogContainerReq) (*ContainerLog, error) Stats(context.Context, *ContainerId) (*HealthInfo, error) Start(context.Context, *ContainerId) (*Notify, error) Stop(context.Context, *ContainerId) (*Notify, error) Restart(context.Context, *ContainerId) (*Notify, error) Delete(context.Context, *ContainerId) (*Notify, error) ForceDelete(context.Context, *ContainerId) (*Notify, error) // contains filtered or unexported methods }
ContainerServiceServer is the server API for ContainerService service. All implementations must embed UnimplementedContainerServiceServer for forward compatibility
type ContainerState ¶
type ContainerState int32
const ( ContainerState_running ContainerState = 0 ContainerState_starting ContainerState = 1 ContainerState_stopping ContainerState = 2 ContainerState_stopped ContainerState = 3 )
func (ContainerState) Descriptor ¶
func (ContainerState) Descriptor() protoreflect.EnumDescriptor
func (ContainerState) Enum ¶
func (x ContainerState) Enum() *ContainerState
func (ContainerState) EnumDescriptor
deprecated
func (ContainerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerState.Descriptor instead.
func (ContainerState) Number ¶
func (x ContainerState) Number() protoreflect.EnumNumber
func (ContainerState) String ¶
func (x ContainerState) String() string
func (ContainerState) Type ¶
func (ContainerState) Type() protoreflect.EnumType
type ControlRequest ¶
type ControlRequest struct { Target ControlTarget `protobuf:"varint,1,opt,name=target,proto3,enum=shard.ControlTarget" json:"target,omitempty"` InstanceId *ContainerId `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"` // contains filtered or unexported fields }
func (*ControlRequest) Descriptor
deprecated
func (*ControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControlRequest.ProtoReflect.Descriptor instead.
func (*ControlRequest) GetInstanceId ¶
func (x *ControlRequest) GetInstanceId() *ContainerId
func (*ControlRequest) GetTarget ¶
func (x *ControlRequest) GetTarget() ControlTarget
func (*ControlRequest) ProtoMessage ¶
func (*ControlRequest) ProtoMessage()
func (*ControlRequest) ProtoReflect ¶
func (x *ControlRequest) ProtoReflect() protoreflect.Message
func (*ControlRequest) Reset ¶
func (x *ControlRequest) Reset()
func (*ControlRequest) String ¶
func (x *ControlRequest) String() string
func (*ControlRequest) Validate ¶
func (m *ControlRequest) Validate() error
Validate checks the field values on ControlRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ControlRequest) ValidateAll ¶
func (m *ControlRequest) ValidateAll() error
ValidateAll checks the field values on ControlRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ControlRequestMultiError, or nil if none found.
type ControlRequestMultiError ¶
type ControlRequestMultiError []error
ControlRequestMultiError is an error wrapping multiple validation errors returned by ControlRequest.ValidateAll() if the designated constraints aren't met.
func (ControlRequestMultiError) AllErrors ¶
func (m ControlRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ControlRequestMultiError) Error ¶
func (m ControlRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ControlRequestValidationError ¶
type ControlRequestValidationError struct {
// contains filtered or unexported fields
}
ControlRequestValidationError is the validation error returned by ControlRequest.Validate if the designated constraints aren't met.
func (ControlRequestValidationError) Cause ¶
func (e ControlRequestValidationError) Cause() error
Cause function returns cause value.
func (ControlRequestValidationError) Error ¶
func (e ControlRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ControlRequestValidationError) ErrorName ¶
func (e ControlRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ControlRequestValidationError) Field ¶
func (e ControlRequestValidationError) Field() string
Field function returns field value.
func (ControlRequestValidationError) Key ¶
func (e ControlRequestValidationError) Key() bool
Key function returns key value.
func (ControlRequestValidationError) Reason ¶
func (e ControlRequestValidationError) Reason() string
Reason function returns reason value.
type ControlTarget ¶
type ControlTarget int32
const ( ControlTarget_Master ControlTarget = 0 ControlTarget_Cave ControlTarget = 1 ControlTarget_Both ControlTarget = 2 )
func (ControlTarget) Descriptor ¶
func (ControlTarget) Descriptor() protoreflect.EnumDescriptor
func (ControlTarget) Enum ¶
func (x ControlTarget) Enum() *ControlTarget
func (ControlTarget) EnumDescriptor
deprecated
func (ControlTarget) EnumDescriptor() ([]byte, []int)
Deprecated: Use ControlTarget.Descriptor instead.
func (ControlTarget) Number ¶
func (x ControlTarget) Number() protoreflect.EnumNumber
func (ControlTarget) String ¶
func (x ControlTarget) String() string
func (ControlTarget) Type ¶
func (ControlTarget) Type() protoreflect.EnumType
type CpuHealth ¶
type CpuHealth struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Usage float64 `protobuf:"fixed64,2,opt,name=usage,proto3" json:"usage,omitempty"` // contains filtered or unexported fields }
func (*CpuHealth) Descriptor
deprecated
func (*CpuHealth) ProtoMessage ¶
func (*CpuHealth) ProtoMessage()
func (*CpuHealth) ProtoReflect ¶
func (x *CpuHealth) ProtoReflect() protoreflect.Message
func (*CpuHealth) Validate ¶
Validate checks the field values on CpuHealth with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CpuHealth) ValidateAll ¶
ValidateAll checks the field values on CpuHealth with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CpuHealthMultiError, or nil if none found.
type CpuHealthMultiError ¶
type CpuHealthMultiError []error
CpuHealthMultiError is an error wrapping multiple validation errors returned by CpuHealth.ValidateAll() if the designated constraints aren't met.
func (CpuHealthMultiError) AllErrors ¶
func (m CpuHealthMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CpuHealthMultiError) Error ¶
func (m CpuHealthMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CpuHealthValidationError ¶
type CpuHealthValidationError struct {
// contains filtered or unexported fields
}
CpuHealthValidationError is the validation error returned by CpuHealth.Validate if the designated constraints aren't met.
func (CpuHealthValidationError) Cause ¶
func (e CpuHealthValidationError) Cause() error
Cause function returns cause value.
func (CpuHealthValidationError) Error ¶
func (e CpuHealthValidationError) Error() string
Error satisfies the builtin error interface
func (CpuHealthValidationError) ErrorName ¶
func (e CpuHealthValidationError) ErrorName() string
ErrorName returns error name.
func (CpuHealthValidationError) Field ¶
func (e CpuHealthValidationError) Field() string
Field function returns field value.
func (CpuHealthValidationError) Key ¶
func (e CpuHealthValidationError) Key() bool
Key function returns key value.
func (CpuHealthValidationError) Reason ¶
func (e CpuHealthValidationError) Reason() string
Reason function returns reason value.
type CreateContainerReq ¶
type CreateContainerReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"` Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` Ports []*PortBind `protobuf:"bytes,5,rep,name=ports,proto3" json:"ports,omitempty"` Volumes []*Volume `protobuf:"bytes,6,rep,name=volumes,proto3" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerReq) Descriptor
deprecated
func (*CreateContainerReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerReq.ProtoReflect.Descriptor instead.
func (*CreateContainerReq) GetImage ¶
func (x *CreateContainerReq) GetImage() string
func (*CreateContainerReq) GetName ¶
func (x *CreateContainerReq) GetName() string
func (*CreateContainerReq) GetPorts ¶
func (x *CreateContainerReq) GetPorts() []*PortBind
func (*CreateContainerReq) GetResource ¶
func (x *CreateContainerReq) GetResource() *Resource
func (*CreateContainerReq) GetUserId ¶
func (x *CreateContainerReq) GetUserId() string
func (*CreateContainerReq) GetVolumes ¶
func (x *CreateContainerReq) GetVolumes() []*Volume
func (*CreateContainerReq) ProtoMessage ¶
func (*CreateContainerReq) ProtoMessage()
func (*CreateContainerReq) ProtoReflect ¶
func (x *CreateContainerReq) ProtoReflect() protoreflect.Message
func (*CreateContainerReq) Reset ¶
func (x *CreateContainerReq) Reset()
func (*CreateContainerReq) String ¶
func (x *CreateContainerReq) String() string
func (*CreateContainerReq) Validate ¶
func (m *CreateContainerReq) Validate() error
Validate checks the field values on CreateContainerReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateContainerReq) ValidateAll ¶
func (m *CreateContainerReq) ValidateAll() error
ValidateAll checks the field values on CreateContainerReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateContainerReqMultiError, or nil if none found.
type CreateContainerReqMultiError ¶
type CreateContainerReqMultiError []error
CreateContainerReqMultiError is an error wrapping multiple validation errors returned by CreateContainerReq.ValidateAll() if the designated constraints aren't met.
func (CreateContainerReqMultiError) AllErrors ¶
func (m CreateContainerReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateContainerReqMultiError) Error ¶
func (m CreateContainerReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateContainerReqValidationError ¶
type CreateContainerReqValidationError struct {
// contains filtered or unexported fields
}
CreateContainerReqValidationError is the validation error returned by CreateContainerReq.Validate if the designated constraints aren't met.
func (CreateContainerReqValidationError) Cause ¶
func (e CreateContainerReqValidationError) Cause() error
Cause function returns cause value.
func (CreateContainerReqValidationError) Error ¶
func (e CreateContainerReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateContainerReqValidationError) ErrorName ¶
func (e CreateContainerReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateContainerReqValidationError) Field ¶
func (e CreateContainerReqValidationError) Field() string
Field function returns field value.
func (CreateContainerReqValidationError) Key ¶
func (e CreateContainerReqValidationError) Key() bool
Key function returns key value.
func (CreateContainerReqValidationError) Reason ¶
func (e CreateContainerReqValidationError) Reason() string
Reason function returns reason value.
type CreateContainerResp ¶
type CreateContainerResp struct { CreatedAt int64 `protobuf:"varint,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` ContainerId string `protobuf:"bytes,2,opt,name=containerId,proto3" json:"containerId,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerResp) Descriptor
deprecated
func (*CreateContainerResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerResp.ProtoReflect.Descriptor instead.
func (*CreateContainerResp) GetContainerId ¶
func (x *CreateContainerResp) GetContainerId() string
func (*CreateContainerResp) GetCreatedAt ¶
func (x *CreateContainerResp) GetCreatedAt() int64
func (*CreateContainerResp) ProtoMessage ¶
func (*CreateContainerResp) ProtoMessage()
func (*CreateContainerResp) ProtoReflect ¶
func (x *CreateContainerResp) ProtoReflect() protoreflect.Message
func (*CreateContainerResp) Reset ¶
func (x *CreateContainerResp) Reset()
func (*CreateContainerResp) String ¶
func (x *CreateContainerResp) String() string
func (*CreateContainerResp) Validate ¶
func (m *CreateContainerResp) Validate() error
Validate checks the field values on CreateContainerResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateContainerResp) ValidateAll ¶
func (m *CreateContainerResp) ValidateAll() error
ValidateAll checks the field values on CreateContainerResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateContainerRespMultiError, or nil if none found.
type CreateContainerRespMultiError ¶
type CreateContainerRespMultiError []error
CreateContainerRespMultiError is an error wrapping multiple validation errors returned by CreateContainerResp.ValidateAll() if the designated constraints aren't met.
func (CreateContainerRespMultiError) AllErrors ¶
func (m CreateContainerRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateContainerRespMultiError) Error ¶
func (m CreateContainerRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateContainerRespValidationError ¶
type CreateContainerRespValidationError struct {
// contains filtered or unexported fields
}
CreateContainerRespValidationError is the validation error returned by CreateContainerResp.Validate if the designated constraints aren't met.
func (CreateContainerRespValidationError) Cause ¶
func (e CreateContainerRespValidationError) Cause() error
Cause function returns cause value.
func (CreateContainerRespValidationError) Error ¶
func (e CreateContainerRespValidationError) Error() string
Error satisfies the builtin error interface
func (CreateContainerRespValidationError) ErrorName ¶
func (e CreateContainerRespValidationError) ErrorName() string
ErrorName returns error name.
func (CreateContainerRespValidationError) Field ¶
func (e CreateContainerRespValidationError) Field() string
Field function returns field value.
func (CreateContainerRespValidationError) Key ¶
func (e CreateContainerRespValidationError) Key() bool
Key function returns key value.
func (CreateContainerRespValidationError) Reason ¶
func (e CreateContainerRespValidationError) Reason() string
Reason function returns reason value.
type CreateJobReq ¶
type CreateJobReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CronExpr string `protobuf:"bytes,2,opt,name=cronExpr,proto3" json:"cronExpr,omitempty"` JobType JobType `protobuf:"varint,3,opt,name=jobType,proto3,enum=cron.JobType" json:"jobType,omitempty"` // contains filtered or unexported fields }
func (*CreateJobReq) Descriptor
deprecated
func (*CreateJobReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateJobReq.ProtoReflect.Descriptor instead.
func (*CreateJobReq) GetCronExpr ¶
func (x *CreateJobReq) GetCronExpr() string
func (*CreateJobReq) GetJobType ¶
func (x *CreateJobReq) GetJobType() JobType
func (*CreateJobReq) GetName ¶
func (x *CreateJobReq) GetName() string
func (*CreateJobReq) ProtoMessage ¶
func (*CreateJobReq) ProtoMessage()
func (*CreateJobReq) ProtoReflect ¶
func (x *CreateJobReq) ProtoReflect() protoreflect.Message
func (*CreateJobReq) Reset ¶
func (x *CreateJobReq) Reset()
func (*CreateJobReq) String ¶
func (x *CreateJobReq) String() string
func (*CreateJobReq) Validate ¶
func (m *CreateJobReq) Validate() error
Validate checks the field values on CreateJobReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateJobReq) ValidateAll ¶
func (m *CreateJobReq) ValidateAll() error
ValidateAll checks the field values on CreateJobReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateJobReqMultiError, or nil if none found.
type CreateJobReqMultiError ¶
type CreateJobReqMultiError []error
CreateJobReqMultiError is an error wrapping multiple validation errors returned by CreateJobReq.ValidateAll() if the designated constraints aren't met.
func (CreateJobReqMultiError) AllErrors ¶
func (m CreateJobReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateJobReqMultiError) Error ¶
func (m CreateJobReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateJobReqValidationError ¶
type CreateJobReqValidationError struct {
// contains filtered or unexported fields
}
CreateJobReqValidationError is the validation error returned by CreateJobReq.Validate if the designated constraints aren't met.
func (CreateJobReqValidationError) Cause ¶
func (e CreateJobReqValidationError) Cause() error
Cause function returns cause value.
func (CreateJobReqValidationError) Error ¶
func (e CreateJobReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateJobReqValidationError) ErrorName ¶
func (e CreateJobReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateJobReqValidationError) Field ¶
func (e CreateJobReqValidationError) Field() string
Field function returns field value.
func (CreateJobReqValidationError) Key ¶
func (e CreateJobReqValidationError) Key() bool
Key function returns key value.
func (CreateJobReqValidationError) Reason ¶
func (e CreateJobReqValidationError) Reason() string
Reason function returns reason value.
type CronJobServiceClient ¶
type CronJobServiceClient interface { Create(ctx context.Context, in *CreateJobReq, opts ...grpc.CallOption) (*Notify, error) Delete(ctx context.Context, in *CreateJobReq, opts ...grpc.CallOption) (*Notify, error) List(ctx context.Context, in *CreateJobReq, opts ...grpc.CallOption) (*JobList, error) }
CronJobServiceClient is the client API for CronJobService 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 NewCronJobServiceClient ¶
func NewCronJobServiceClient(cc grpc.ClientConnInterface) CronJobServiceClient
type CronJobServiceServer ¶
type CronJobServiceServer interface { Create(context.Context, *CreateJobReq) (*Notify, error) Delete(context.Context, *CreateJobReq) (*Notify, error) List(context.Context, *CreateJobReq) (*JobList, error) // contains filtered or unexported methods }
CronJobServiceServer is the server API for CronJobService service. All implementations must embed UnimplementedCronJobServiceServer for forward compatibility
type DaemonServiceClient ¶
type DaemonServiceClient interface { HostInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SystemInfo, error) HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthInfo, error) }
DaemonServiceClient is the client API for DaemonService 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 NewDaemonServiceClient ¶
func NewDaemonServiceClient(cc grpc.ClientConnInterface) DaemonServiceClient
type DaemonServiceServer ¶
type DaemonServiceServer interface { HostInfo(context.Context, *emptypb.Empty) (*SystemInfo, error) HealthCheck(context.Context, *emptypb.Empty) (*HealthInfo, error) // contains filtered or unexported methods }
DaemonServiceServer is the server API for DaemonService service. All implementations must embed UnimplementedDaemonServiceServer for forward compatibility
type DockerInfo ¶
type DockerInfo struct { Containers int64 `protobuf:"varint,1,opt,name=containers,proto3" json:"containers,omitempty"` Running int64 `protobuf:"varint,2,opt,name=running,proto3" json:"running,omitempty"` Pause int64 `protobuf:"varint,3,opt,name=pause,proto3" json:"pause,omitempty"` Stopped int64 `protobuf:"varint,4,opt,name=stopped,proto3" json:"stopped,omitempty"` Images int64 `protobuf:"varint,5,opt,name=images,proto3" json:"images,omitempty"` Driver string `protobuf:"bytes,6,opt,name=driver,proto3" json:"driver,omitempty"` Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` KernelVersion string `protobuf:"bytes,8,opt,name=kernelVersion,proto3" json:"kernelVersion,omitempty"` // contains filtered or unexported fields }
func (*DockerInfo) Descriptor
deprecated
func (*DockerInfo) Descriptor() ([]byte, []int)
Deprecated: Use DockerInfo.ProtoReflect.Descriptor instead.
func (*DockerInfo) GetContainers ¶
func (x *DockerInfo) GetContainers() int64
func (*DockerInfo) GetDriver ¶
func (x *DockerInfo) GetDriver() string
func (*DockerInfo) GetImages ¶
func (x *DockerInfo) GetImages() int64
func (*DockerInfo) GetKernelVersion ¶
func (x *DockerInfo) GetKernelVersion() string
func (*DockerInfo) GetPause ¶
func (x *DockerInfo) GetPause() int64
func (*DockerInfo) GetRunning ¶
func (x *DockerInfo) GetRunning() int64
func (*DockerInfo) GetStopped ¶
func (x *DockerInfo) GetStopped() int64
func (*DockerInfo) GetVersion ¶
func (x *DockerInfo) GetVersion() string
func (*DockerInfo) ProtoMessage ¶
func (*DockerInfo) ProtoMessage()
func (*DockerInfo) ProtoReflect ¶
func (x *DockerInfo) ProtoReflect() protoreflect.Message
func (*DockerInfo) Reset ¶
func (x *DockerInfo) Reset()
func (*DockerInfo) String ¶
func (x *DockerInfo) String() string
func (*DockerInfo) Validate ¶
func (m *DockerInfo) Validate() error
Validate checks the field values on DockerInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DockerInfo) ValidateAll ¶
func (m *DockerInfo) ValidateAll() error
ValidateAll checks the field values on DockerInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DockerInfoMultiError, or nil if none found.
type DockerInfoMultiError ¶
type DockerInfoMultiError []error
DockerInfoMultiError is an error wrapping multiple validation errors returned by DockerInfo.ValidateAll() if the designated constraints aren't met.
func (DockerInfoMultiError) AllErrors ¶
func (m DockerInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DockerInfoMultiError) Error ¶
func (m DockerInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DockerInfoValidationError ¶
type DockerInfoValidationError struct {
// contains filtered or unexported fields
}
DockerInfoValidationError is the validation error returned by DockerInfo.Validate if the designated constraints aren't met.
func (DockerInfoValidationError) Cause ¶
func (e DockerInfoValidationError) Cause() error
Cause function returns cause value.
func (DockerInfoValidationError) Error ¶
func (e DockerInfoValidationError) Error() string
Error satisfies the builtin error interface
func (DockerInfoValidationError) ErrorName ¶
func (e DockerInfoValidationError) ErrorName() string
ErrorName returns error name.
func (DockerInfoValidationError) Field ¶
func (e DockerInfoValidationError) Field() string
Field function returns field value.
func (DockerInfoValidationError) Key ¶
func (e DockerInfoValidationError) Key() bool
Key function returns key value.
func (DockerInfoValidationError) Reason ¶
func (e DockerInfoValidationError) Reason() string
Reason function returns reason value.
type ExecutePlayerReq ¶
type ExecutePlayerReq struct { InstanceId *ContainerId `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Kid *KleiID `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` Op PlayerOperation `protobuf:"varint,3,opt,name=op,proto3,enum=player.PlayerOperation" json:"op,omitempty"` // contains filtered or unexported fields }
func (*ExecutePlayerReq) Descriptor
deprecated
func (*ExecutePlayerReq) Descriptor() ([]byte, []int)
Deprecated: Use ExecutePlayerReq.ProtoReflect.Descriptor instead.
func (*ExecutePlayerReq) GetInstanceId ¶
func (x *ExecutePlayerReq) GetInstanceId() *ContainerId
func (*ExecutePlayerReq) GetKid ¶
func (x *ExecutePlayerReq) GetKid() *KleiID
func (*ExecutePlayerReq) GetOp ¶
func (x *ExecutePlayerReq) GetOp() PlayerOperation
func (*ExecutePlayerReq) ProtoMessage ¶
func (*ExecutePlayerReq) ProtoMessage()
func (*ExecutePlayerReq) ProtoReflect ¶
func (x *ExecutePlayerReq) ProtoReflect() protoreflect.Message
func (*ExecutePlayerReq) Reset ¶
func (x *ExecutePlayerReq) Reset()
func (*ExecutePlayerReq) String ¶
func (x *ExecutePlayerReq) String() string
func (*ExecutePlayerReq) Validate ¶
func (m *ExecutePlayerReq) Validate() error
Validate checks the field values on ExecutePlayerReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ExecutePlayerReq) ValidateAll ¶
func (m *ExecutePlayerReq) ValidateAll() error
ValidateAll checks the field values on ExecutePlayerReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExecutePlayerReqMultiError, or nil if none found.
type ExecutePlayerReqMultiError ¶
type ExecutePlayerReqMultiError []error
ExecutePlayerReqMultiError is an error wrapping multiple validation errors returned by ExecutePlayerReq.ValidateAll() if the designated constraints aren't met.
func (ExecutePlayerReqMultiError) AllErrors ¶
func (m ExecutePlayerReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExecutePlayerReqMultiError) Error ¶
func (m ExecutePlayerReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExecutePlayerReqValidationError ¶
type ExecutePlayerReqValidationError struct {
// contains filtered or unexported fields
}
ExecutePlayerReqValidationError is the validation error returned by ExecutePlayerReq.Validate if the designated constraints aren't met.
func (ExecutePlayerReqValidationError) Cause ¶
func (e ExecutePlayerReqValidationError) Cause() error
Cause function returns cause value.
func (ExecutePlayerReqValidationError) Error ¶
func (e ExecutePlayerReqValidationError) Error() string
Error satisfies the builtin error interface
func (ExecutePlayerReqValidationError) ErrorName ¶
func (e ExecutePlayerReqValidationError) ErrorName() string
ErrorName returns error name.
func (ExecutePlayerReqValidationError) Field ¶
func (e ExecutePlayerReqValidationError) Field() string
Field function returns field value.
func (ExecutePlayerReqValidationError) Key ¶
func (e ExecutePlayerReqValidationError) Key() bool
Key function returns key value.
func (ExecutePlayerReqValidationError) Reason ¶
func (e ExecutePlayerReqValidationError) Reason() string
Reason function returns reason value.
type HealthInfo ¶
type HealthInfo struct { Cpu *CpuHealth `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` Mem *MemoryHealth `protobuf:"bytes,2,opt,name=mem,proto3" json:"mem,omitempty"` // contains filtered or unexported fields }
func (*HealthInfo) Descriptor
deprecated
func (*HealthInfo) Descriptor() ([]byte, []int)
Deprecated: Use HealthInfo.ProtoReflect.Descriptor instead.
func (*HealthInfo) GetCpu ¶
func (x *HealthInfo) GetCpu() *CpuHealth
func (*HealthInfo) GetMem ¶
func (x *HealthInfo) GetMem() *MemoryHealth
func (*HealthInfo) ProtoMessage ¶
func (*HealthInfo) ProtoMessage()
func (*HealthInfo) ProtoReflect ¶
func (x *HealthInfo) ProtoReflect() protoreflect.Message
func (*HealthInfo) Reset ¶
func (x *HealthInfo) Reset()
func (*HealthInfo) String ¶
func (x *HealthInfo) String() string
func (*HealthInfo) Validate ¶
func (m *HealthInfo) Validate() error
Validate checks the field values on HealthInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HealthInfo) ValidateAll ¶
func (m *HealthInfo) ValidateAll() error
ValidateAll checks the field values on HealthInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthInfoMultiError, or nil if none found.
type HealthInfoMultiError ¶
type HealthInfoMultiError []error
HealthInfoMultiError is an error wrapping multiple validation errors returned by HealthInfo.ValidateAll() if the designated constraints aren't met.
func (HealthInfoMultiError) AllErrors ¶
func (m HealthInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthInfoMultiError) Error ¶
func (m HealthInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthInfoValidationError ¶
type HealthInfoValidationError struct {
// contains filtered or unexported fields
}
HealthInfoValidationError is the validation error returned by HealthInfo.Validate if the designated constraints aren't met.
func (HealthInfoValidationError) Cause ¶
func (e HealthInfoValidationError) Cause() error
Cause function returns cause value.
func (HealthInfoValidationError) Error ¶
func (e HealthInfoValidationError) Error() string
Error satisfies the builtin error interface
func (HealthInfoValidationError) ErrorName ¶
func (e HealthInfoValidationError) ErrorName() string
ErrorName returns error name.
func (HealthInfoValidationError) Field ¶
func (e HealthInfoValidationError) Field() string
Field function returns field value.
func (HealthInfoValidationError) Key ¶
func (e HealthInfoValidationError) Key() bool
Key function returns key value.
func (HealthInfoValidationError) Reason ¶
func (e HealthInfoValidationError) Reason() string
Reason function returns reason value.
type ImageId ¶
type ImageId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ImageId) Descriptor
deprecated
func (*ImageId) ProtoMessage ¶
func (*ImageId) ProtoMessage()
func (*ImageId) ProtoReflect ¶
func (x *ImageId) ProtoReflect() protoreflect.Message
func (*ImageId) Validate ¶
Validate checks the field values on ImageId with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ImageId) ValidateAll ¶
ValidateAll checks the field values on ImageId with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImageIdMultiError, or nil if none found.
type ImageIdMultiError ¶
type ImageIdMultiError []error
ImageIdMultiError is an error wrapping multiple validation errors returned by ImageId.ValidateAll() if the designated constraints aren't met.
func (ImageIdMultiError) AllErrors ¶
func (m ImageIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImageIdMultiError) Error ¶
func (m ImageIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImageIdValidationError ¶
type ImageIdValidationError struct {
// contains filtered or unexported fields
}
ImageIdValidationError is the validation error returned by ImageId.Validate if the designated constraints aren't met.
func (ImageIdValidationError) Cause ¶
func (e ImageIdValidationError) Cause() error
Cause function returns cause value.
func (ImageIdValidationError) Error ¶
func (e ImageIdValidationError) Error() string
Error satisfies the builtin error interface
func (ImageIdValidationError) ErrorName ¶
func (e ImageIdValidationError) ErrorName() string
ErrorName returns error name.
func (ImageIdValidationError) Field ¶
func (e ImageIdValidationError) Field() string
Field function returns field value.
func (ImageIdValidationError) Key ¶
func (e ImageIdValidationError) Key() bool
Key function returns key value.
func (ImageIdValidationError) Reason ¶
func (e ImageIdValidationError) Reason() string
Reason function returns reason value.
type ImageInfo ¶
type ImageInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentId string `protobuf:"bytes,2,opt,name=parentId,proto3" json:"parentId,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Containers int64 `protobuf:"varint,5,opt,name=containers,proto3" json:"containers,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*ImageInfo) Descriptor
deprecated
func (*ImageInfo) GetContainers ¶
func (*ImageInfo) GetCreatedAt ¶
func (*ImageInfo) GetParentId ¶
func (*ImageInfo) ProtoMessage ¶
func (*ImageInfo) ProtoMessage()
func (*ImageInfo) ProtoReflect ¶
func (x *ImageInfo) ProtoReflect() protoreflect.Message
func (*ImageInfo) Validate ¶
Validate checks the field values on ImageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ImageInfo) ValidateAll ¶
ValidateAll checks the field values on ImageInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImageInfoMultiError, or nil if none found.
type ImageInfoMultiError ¶
type ImageInfoMultiError []error
ImageInfoMultiError is an error wrapping multiple validation errors returned by ImageInfo.ValidateAll() if the designated constraints aren't met.
func (ImageInfoMultiError) AllErrors ¶
func (m ImageInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImageInfoMultiError) Error ¶
func (m ImageInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImageInfoValidationError ¶
type ImageInfoValidationError struct {
// contains filtered or unexported fields
}
ImageInfoValidationError is the validation error returned by ImageInfo.Validate if the designated constraints aren't met.
func (ImageInfoValidationError) Cause ¶
func (e ImageInfoValidationError) Cause() error
Cause function returns cause value.
func (ImageInfoValidationError) Error ¶
func (e ImageInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ImageInfoValidationError) ErrorName ¶
func (e ImageInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ImageInfoValidationError) Field ¶
func (e ImageInfoValidationError) Field() string
Field function returns field value.
func (ImageInfoValidationError) Key ¶
func (e ImageInfoValidationError) Key() bool
Key function returns key value.
func (ImageInfoValidationError) Reason ¶
func (e ImageInfoValidationError) Reason() string
Reason function returns reason value.
type ImageServiceClient ¶
type ImageServiceClient interface { List(ctx context.Context, in *ListImagesReq, opts ...grpc.CallOption) (*ListImageResult, error) Remove(ctx context.Context, in *ImageId, opts ...grpc.CallOption) (*Notify, error) }
ImageServiceClient is the client API for ImageService 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 NewImageServiceClient ¶
func NewImageServiceClient(cc grpc.ClientConnInterface) ImageServiceClient
type ImageServiceServer ¶
type ImageServiceServer interface { List(context.Context, *ListImagesReq) (*ListImageResult, error) Remove(context.Context, *ImageId) (*Notify, error) // contains filtered or unexported methods }
ImageServiceServer is the server API for ImageService service. All implementations must embed UnimplementedImageServiceServer for forward compatibility
type JobInfo ¶
type JobInfo struct { Instance *ContainerId `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` JobId int64 `protobuf:"varint,2,opt,name=jobId,proto3" json:"jobId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Last int64 `protobuf:"varint,4,opt,name=last,proto3" json:"last,omitempty"` Next int64 `protobuf:"varint,5,opt,name=next,proto3" json:"next,omitempty"` JobType JobType `protobuf:"varint,6,opt,name=jobType,proto3,enum=cron.JobType" json:"jobType,omitempty"` // contains filtered or unexported fields }
func (*JobInfo) Descriptor
deprecated
func (*JobInfo) GetInstance ¶
func (x *JobInfo) GetInstance() *ContainerId
func (*JobInfo) GetJobType ¶
func (*JobInfo) ProtoMessage ¶
func (*JobInfo) ProtoMessage()
func (*JobInfo) ProtoReflect ¶
func (x *JobInfo) ProtoReflect() protoreflect.Message
func (*JobInfo) Validate ¶
Validate checks the field values on JobInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JobInfo) ValidateAll ¶
ValidateAll checks the field values on JobInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JobInfoMultiError, or nil if none found.
type JobInfoMultiError ¶
type JobInfoMultiError []error
JobInfoMultiError is an error wrapping multiple validation errors returned by JobInfo.ValidateAll() if the designated constraints aren't met.
func (JobInfoMultiError) AllErrors ¶
func (m JobInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobInfoMultiError) Error ¶
func (m JobInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobInfoValidationError ¶
type JobInfoValidationError struct {
// contains filtered or unexported fields
}
JobInfoValidationError is the validation error returned by JobInfo.Validate if the designated constraints aren't met.
func (JobInfoValidationError) Cause ¶
func (e JobInfoValidationError) Cause() error
Cause function returns cause value.
func (JobInfoValidationError) Error ¶
func (e JobInfoValidationError) Error() string
Error satisfies the builtin error interface
func (JobInfoValidationError) ErrorName ¶
func (e JobInfoValidationError) ErrorName() string
ErrorName returns error name.
func (JobInfoValidationError) Field ¶
func (e JobInfoValidationError) Field() string
Field function returns field value.
func (JobInfoValidationError) Key ¶
func (e JobInfoValidationError) Key() bool
Key function returns key value.
func (JobInfoValidationError) Reason ¶
func (e JobInfoValidationError) Reason() string
Reason function returns reason value.
type JobList ¶
type JobList struct { List []*JobInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*JobList) Descriptor
deprecated
func (*JobList) ProtoMessage ¶
func (*JobList) ProtoMessage()
func (*JobList) ProtoReflect ¶
func (x *JobList) ProtoReflect() protoreflect.Message
func (*JobList) Validate ¶
Validate checks the field values on JobList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JobList) ValidateAll ¶
ValidateAll checks the field values on JobList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JobListMultiError, or nil if none found.
type JobListMultiError ¶
type JobListMultiError []error
JobListMultiError is an error wrapping multiple validation errors returned by JobList.ValidateAll() if the designated constraints aren't met.
func (JobListMultiError) AllErrors ¶
func (m JobListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobListMultiError) Error ¶
func (m JobListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobListValidationError ¶
type JobListValidationError struct {
// contains filtered or unexported fields
}
JobListValidationError is the validation error returned by JobList.Validate if the designated constraints aren't met.
func (JobListValidationError) Cause ¶
func (e JobListValidationError) Cause() error
Cause function returns cause value.
func (JobListValidationError) Error ¶
func (e JobListValidationError) Error() string
Error satisfies the builtin error interface
func (JobListValidationError) ErrorName ¶
func (e JobListValidationError) ErrorName() string
ErrorName returns error name.
func (JobListValidationError) Field ¶
func (e JobListValidationError) Field() string
Field function returns field value.
func (JobListValidationError) Key ¶
func (e JobListValidationError) Key() bool
Key function returns key value.
func (JobListValidationError) Reason ¶
func (e JobListValidationError) Reason() string
Reason function returns reason value.
type JobType ¶
type JobType int32
func (JobType) Descriptor ¶
func (JobType) Descriptor() protoreflect.EnumDescriptor
func (JobType) EnumDescriptor
deprecated
func (JobType) Number ¶
func (x JobType) Number() protoreflect.EnumNumber
func (JobType) Type ¶
func (JobType) Type() protoreflect.EnumType
type KleiID ¶
type KleiID struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*KleiID) Descriptor
deprecated
func (*KleiID) ProtoMessage ¶
func (*KleiID) ProtoMessage()
func (*KleiID) ProtoReflect ¶
func (x *KleiID) ProtoReflect() protoreflect.Message
func (*KleiID) Validate ¶
Validate checks the field values on KleiID with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*KleiID) ValidateAll ¶
ValidateAll checks the field values on KleiID with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KleiIDMultiError, or nil if none found.
type KleiIDMultiError ¶
type KleiIDMultiError []error
KleiIDMultiError is an error wrapping multiple validation errors returned by KleiID.ValidateAll() if the designated constraints aren't met.
func (KleiIDMultiError) AllErrors ¶
func (m KleiIDMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KleiIDMultiError) Error ¶
func (m KleiIDMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KleiIDValidationError ¶
type KleiIDValidationError struct {
// contains filtered or unexported fields
}
KleiIDValidationError is the validation error returned by KleiID.Validate if the designated constraints aren't met.
func (KleiIDValidationError) Cause ¶
func (e KleiIDValidationError) Cause() error
Cause function returns cause value.
func (KleiIDValidationError) Error ¶
func (e KleiIDValidationError) Error() string
Error satisfies the builtin error interface
func (KleiIDValidationError) ErrorName ¶
func (e KleiIDValidationError) ErrorName() string
ErrorName returns error name.
func (KleiIDValidationError) Field ¶
func (e KleiIDValidationError) Field() string
Field function returns field value.
func (KleiIDValidationError) Key ¶
func (e KleiIDValidationError) Key() bool
Key function returns key value.
func (KleiIDValidationError) Reason ¶
func (e KleiIDValidationError) Reason() string
Reason function returns reason value.
type ListContainerReq ¶
type ListContainerReq struct { Search string `protobuf:"bytes,1,opt,name=search,proto3" json:"search,omitempty"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListContainerReq) Descriptor
deprecated
func (*ListContainerReq) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerReq.ProtoReflect.Descriptor instead.
func (*ListContainerReq) GetPage ¶
func (x *ListContainerReq) GetPage() int64
func (*ListContainerReq) GetSearch ¶
func (x *ListContainerReq) GetSearch() string
func (*ListContainerReq) GetSize ¶
func (x *ListContainerReq) GetSize() int64
func (*ListContainerReq) ProtoMessage ¶
func (*ListContainerReq) ProtoMessage()
func (*ListContainerReq) ProtoReflect ¶
func (x *ListContainerReq) ProtoReflect() protoreflect.Message
func (*ListContainerReq) Reset ¶
func (x *ListContainerReq) Reset()
func (*ListContainerReq) String ¶
func (x *ListContainerReq) String() string
func (*ListContainerReq) Validate ¶
func (m *ListContainerReq) Validate() error
Validate checks the field values on ListContainerReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListContainerReq) ValidateAll ¶
func (m *ListContainerReq) ValidateAll() error
ValidateAll checks the field values on ListContainerReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListContainerReqMultiError, or nil if none found.
type ListContainerReqMultiError ¶
type ListContainerReqMultiError []error
ListContainerReqMultiError is an error wrapping multiple validation errors returned by ListContainerReq.ValidateAll() if the designated constraints aren't met.
func (ListContainerReqMultiError) AllErrors ¶
func (m ListContainerReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListContainerReqMultiError) Error ¶
func (m ListContainerReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListContainerReqValidationError ¶
type ListContainerReqValidationError struct {
// contains filtered or unexported fields
}
ListContainerReqValidationError is the validation error returned by ListContainerReq.Validate if the designated constraints aren't met.
func (ListContainerReqValidationError) Cause ¶
func (e ListContainerReqValidationError) Cause() error
Cause function returns cause value.
func (ListContainerReqValidationError) Error ¶
func (e ListContainerReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListContainerReqValidationError) ErrorName ¶
func (e ListContainerReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListContainerReqValidationError) Field ¶
func (e ListContainerReqValidationError) Field() string
Field function returns field value.
func (ListContainerReqValidationError) Key ¶
func (e ListContainerReqValidationError) Key() bool
Key function returns key value.
func (ListContainerReqValidationError) Reason ¶
func (e ListContainerReqValidationError) Reason() string
Reason function returns reason value.
type ListContainerResp ¶
type ListContainerResp struct { List []*ContainerInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListContainerResp) Descriptor
deprecated
func (*ListContainerResp) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerResp.ProtoReflect.Descriptor instead.
func (*ListContainerResp) GetList ¶
func (x *ListContainerResp) GetList() []*ContainerInfo
func (*ListContainerResp) GetTotal ¶
func (x *ListContainerResp) GetTotal() int64
func (*ListContainerResp) ProtoMessage ¶
func (*ListContainerResp) ProtoMessage()
func (*ListContainerResp) ProtoReflect ¶
func (x *ListContainerResp) ProtoReflect() protoreflect.Message
func (*ListContainerResp) Reset ¶
func (x *ListContainerResp) Reset()
func (*ListContainerResp) String ¶
func (x *ListContainerResp) String() string
func (*ListContainerResp) Validate ¶
func (m *ListContainerResp) Validate() error
Validate checks the field values on ListContainerResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListContainerResp) ValidateAll ¶
func (m *ListContainerResp) ValidateAll() error
ValidateAll checks the field values on ListContainerResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListContainerRespMultiError, or nil if none found.
type ListContainerRespMultiError ¶
type ListContainerRespMultiError []error
ListContainerRespMultiError is an error wrapping multiple validation errors returned by ListContainerResp.ValidateAll() if the designated constraints aren't met.
func (ListContainerRespMultiError) AllErrors ¶
func (m ListContainerRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListContainerRespMultiError) Error ¶
func (m ListContainerRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListContainerRespValidationError ¶
type ListContainerRespValidationError struct {
// contains filtered or unexported fields
}
ListContainerRespValidationError is the validation error returned by ListContainerResp.Validate if the designated constraints aren't met.
func (ListContainerRespValidationError) Cause ¶
func (e ListContainerRespValidationError) Cause() error
Cause function returns cause value.
func (ListContainerRespValidationError) Error ¶
func (e ListContainerRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListContainerRespValidationError) ErrorName ¶
func (e ListContainerRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListContainerRespValidationError) Field ¶
func (e ListContainerRespValidationError) Field() string
Field function returns field value.
func (ListContainerRespValidationError) Key ¶
func (e ListContainerRespValidationError) Key() bool
Key function returns key value.
func (ListContainerRespValidationError) Reason ¶
func (e ListContainerRespValidationError) Reason() string
Reason function returns reason value.
type ListImageResult ¶
type ListImageResult struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Images []*ImageInfo `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*ListImageResult) Descriptor
deprecated
func (*ListImageResult) Descriptor() ([]byte, []int)
Deprecated: Use ListImageResult.ProtoReflect.Descriptor instead.
func (*ListImageResult) GetImages ¶
func (x *ListImageResult) GetImages() []*ImageInfo
func (*ListImageResult) GetTotal ¶
func (x *ListImageResult) GetTotal() int64
func (*ListImageResult) ProtoMessage ¶
func (*ListImageResult) ProtoMessage()
func (*ListImageResult) ProtoReflect ¶
func (x *ListImageResult) ProtoReflect() protoreflect.Message
func (*ListImageResult) Reset ¶
func (x *ListImageResult) Reset()
func (*ListImageResult) String ¶
func (x *ListImageResult) String() string
func (*ListImageResult) Validate ¶
func (m *ListImageResult) Validate() error
Validate checks the field values on ListImageResult with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListImageResult) ValidateAll ¶
func (m *ListImageResult) ValidateAll() error
ValidateAll checks the field values on ListImageResult with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListImageResultMultiError, or nil if none found.
type ListImageResultMultiError ¶
type ListImageResultMultiError []error
ListImageResultMultiError is an error wrapping multiple validation errors returned by ListImageResult.ValidateAll() if the designated constraints aren't met.
func (ListImageResultMultiError) AllErrors ¶
func (m ListImageResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListImageResultMultiError) Error ¶
func (m ListImageResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListImageResultValidationError ¶
type ListImageResultValidationError struct {
// contains filtered or unexported fields
}
ListImageResultValidationError is the validation error returned by ListImageResult.Validate if the designated constraints aren't met.
func (ListImageResultValidationError) Cause ¶
func (e ListImageResultValidationError) Cause() error
Cause function returns cause value.
func (ListImageResultValidationError) Error ¶
func (e ListImageResultValidationError) Error() string
Error satisfies the builtin error interface
func (ListImageResultValidationError) ErrorName ¶
func (e ListImageResultValidationError) ErrorName() string
ErrorName returns error name.
func (ListImageResultValidationError) Field ¶
func (e ListImageResultValidationError) Field() string
Field function returns field value.
func (ListImageResultValidationError) Key ¶
func (e ListImageResultValidationError) Key() bool
Key function returns key value.
func (ListImageResultValidationError) Reason ¶
func (e ListImageResultValidationError) Reason() string
Reason function returns reason value.
type ListImagesReq ¶
type ListImagesReq struct { Search string `protobuf:"bytes,1,opt,name=search,proto3" json:"search,omitempty"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListImagesReq) Descriptor
deprecated
func (*ListImagesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesReq.ProtoReflect.Descriptor instead.
func (*ListImagesReq) GetPage ¶
func (x *ListImagesReq) GetPage() int64
func (*ListImagesReq) GetSearch ¶
func (x *ListImagesReq) GetSearch() string
func (*ListImagesReq) GetSize ¶
func (x *ListImagesReq) GetSize() int64
func (*ListImagesReq) ProtoMessage ¶
func (*ListImagesReq) ProtoMessage()
func (*ListImagesReq) ProtoReflect ¶
func (x *ListImagesReq) ProtoReflect() protoreflect.Message
func (*ListImagesReq) Reset ¶
func (x *ListImagesReq) Reset()
func (*ListImagesReq) String ¶
func (x *ListImagesReq) String() string
func (*ListImagesReq) Validate ¶
func (m *ListImagesReq) Validate() error
Validate checks the field values on ListImagesReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListImagesReq) ValidateAll ¶
func (m *ListImagesReq) ValidateAll() error
ValidateAll checks the field values on ListImagesReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListImagesReqMultiError, or nil if none found.
type ListImagesReqMultiError ¶
type ListImagesReqMultiError []error
ListImagesReqMultiError is an error wrapping multiple validation errors returned by ListImagesReq.ValidateAll() if the designated constraints aren't met.
func (ListImagesReqMultiError) AllErrors ¶
func (m ListImagesReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListImagesReqMultiError) Error ¶
func (m ListImagesReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListImagesReqValidationError ¶
type ListImagesReqValidationError struct {
// contains filtered or unexported fields
}
ListImagesReqValidationError is the validation error returned by ListImagesReq.Validate if the designated constraints aren't met.
func (ListImagesReqValidationError) Cause ¶
func (e ListImagesReqValidationError) Cause() error
Cause function returns cause value.
func (ListImagesReqValidationError) Error ¶
func (e ListImagesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListImagesReqValidationError) ErrorName ¶
func (e ListImagesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListImagesReqValidationError) Field ¶
func (e ListImagesReqValidationError) Field() string
Field function returns field value.
func (ListImagesReqValidationError) Key ¶
func (e ListImagesReqValidationError) Key() bool
Key function returns key value.
func (ListImagesReqValidationError) Reason ¶
func (e ListImagesReqValidationError) Reason() string
Reason function returns reason value.
type LogContainerReq ¶
type LogContainerReq struct { InstanceId *ContainerId `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Since int64 `protobuf:"varint,2,opt,name=since,proto3" json:"since,omitempty"` Until int64 `protobuf:"varint,3,opt,name=until,proto3" json:"until,omitempty"` Timestamp bool `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Tail int64 `protobuf:"varint,5,opt,name=tail,proto3" json:"tail,omitempty"` // contains filtered or unexported fields }
func (*LogContainerReq) Descriptor
deprecated
func (*LogContainerReq) Descriptor() ([]byte, []int)
Deprecated: Use LogContainerReq.ProtoReflect.Descriptor instead.
func (*LogContainerReq) GetInstanceId ¶
func (x *LogContainerReq) GetInstanceId() *ContainerId
func (*LogContainerReq) GetSince ¶
func (x *LogContainerReq) GetSince() int64
func (*LogContainerReq) GetTail ¶
func (x *LogContainerReq) GetTail() int64
func (*LogContainerReq) GetTimestamp ¶
func (x *LogContainerReq) GetTimestamp() bool
func (*LogContainerReq) GetUntil ¶
func (x *LogContainerReq) GetUntil() int64
func (*LogContainerReq) ProtoMessage ¶
func (*LogContainerReq) ProtoMessage()
func (*LogContainerReq) ProtoReflect ¶
func (x *LogContainerReq) ProtoReflect() protoreflect.Message
func (*LogContainerReq) Reset ¶
func (x *LogContainerReq) Reset()
func (*LogContainerReq) String ¶
func (x *LogContainerReq) String() string
func (*LogContainerReq) Validate ¶
func (m *LogContainerReq) Validate() error
Validate checks the field values on LogContainerReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogContainerReq) ValidateAll ¶
func (m *LogContainerReq) ValidateAll() error
ValidateAll checks the field values on LogContainerReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogContainerReqMultiError, or nil if none found.
type LogContainerReqMultiError ¶
type LogContainerReqMultiError []error
LogContainerReqMultiError is an error wrapping multiple validation errors returned by LogContainerReq.ValidateAll() if the designated constraints aren't met.
func (LogContainerReqMultiError) AllErrors ¶
func (m LogContainerReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogContainerReqMultiError) Error ¶
func (m LogContainerReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogContainerReqValidationError ¶
type LogContainerReqValidationError struct {
// contains filtered or unexported fields
}
LogContainerReqValidationError is the validation error returned by LogContainerReq.Validate if the designated constraints aren't met.
func (LogContainerReqValidationError) Cause ¶
func (e LogContainerReqValidationError) Cause() error
Cause function returns cause value.
func (LogContainerReqValidationError) Error ¶
func (e LogContainerReqValidationError) Error() string
Error satisfies the builtin error interface
func (LogContainerReqValidationError) ErrorName ¶
func (e LogContainerReqValidationError) ErrorName() string
ErrorName returns error name.
func (LogContainerReqValidationError) Field ¶
func (e LogContainerReqValidationError) Field() string
Field function returns field value.
func (LogContainerReqValidationError) Key ¶
func (e LogContainerReqValidationError) Key() bool
Key function returns key value.
func (LogContainerReqValidationError) Reason ¶
func (e LogContainerReqValidationError) Reason() string
Reason function returns reason value.
type LogMessage ¶
type LogMessage struct { Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // message event, eg. say, whisper, announcement Event string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
server shard log player message
func (*LogMessage) Descriptor
deprecated
func (*LogMessage) Descriptor() ([]byte, []int)
Deprecated: Use LogMessage.ProtoReflect.Descriptor instead.
func (*LogMessage) GetEvent ¶
func (x *LogMessage) GetEvent() string
func (*LogMessage) GetMsg ¶
func (x *LogMessage) GetMsg() string
func (*LogMessage) GetTime ¶
func (x *LogMessage) GetTime() string
func (*LogMessage) ProtoMessage ¶
func (*LogMessage) ProtoMessage()
func (*LogMessage) ProtoReflect ¶
func (x *LogMessage) ProtoReflect() protoreflect.Message
func (*LogMessage) Reset ¶
func (x *LogMessage) Reset()
func (*LogMessage) String ¶
func (x *LogMessage) String() string
func (*LogMessage) Validate ¶
func (m *LogMessage) Validate() error
Validate checks the field values on LogMessage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogMessage) ValidateAll ¶
func (m *LogMessage) ValidateAll() error
ValidateAll checks the field values on LogMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogMessageMultiError, or nil if none found.
type LogMessageMultiError ¶
type LogMessageMultiError []error
LogMessageMultiError is an error wrapping multiple validation errors returned by LogMessage.ValidateAll() if the designated constraints aren't met.
func (LogMessageMultiError) AllErrors ¶
func (m LogMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogMessageMultiError) Error ¶
func (m LogMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogMessageValidationError ¶
type LogMessageValidationError struct {
// contains filtered or unexported fields
}
LogMessageValidationError is the validation error returned by LogMessage.Validate if the designated constraints aren't met.
func (LogMessageValidationError) Cause ¶
func (e LogMessageValidationError) Cause() error
Cause function returns cause value.
func (LogMessageValidationError) Error ¶
func (e LogMessageValidationError) Error() string
Error satisfies the builtin error interface
func (LogMessageValidationError) ErrorName ¶
func (e LogMessageValidationError) ErrorName() string
ErrorName returns error name.
func (LogMessageValidationError) Field ¶
func (e LogMessageValidationError) Field() string
Field function returns field value.
func (LogMessageValidationError) Key ¶
func (e LogMessageValidationError) Key() bool
Key function returns key value.
func (LogMessageValidationError) Reason ¶
func (e LogMessageValidationError) Reason() string
Reason function returns reason value.
type LogsRequest ¶
type LogsRequest struct { Target ControlTarget `protobuf:"varint,1,opt,name=target,proto3,enum=shard.ControlTarget" json:"target,omitempty"` InstanceId *ContainerId `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Lines int64 `protobuf:"varint,3,opt,name=lines,proto3" json:"lines,omitempty"` // contains filtered or unexported fields }
func (*LogsRequest) Descriptor
deprecated
func (*LogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
func (*LogsRequest) GetInstanceId ¶
func (x *LogsRequest) GetInstanceId() *ContainerId
func (*LogsRequest) GetLines ¶
func (x *LogsRequest) GetLines() int64
func (*LogsRequest) GetTarget ¶
func (x *LogsRequest) GetTarget() ControlTarget
func (*LogsRequest) ProtoMessage ¶
func (*LogsRequest) ProtoMessage()
func (*LogsRequest) ProtoReflect ¶
func (x *LogsRequest) ProtoReflect() protoreflect.Message
func (*LogsRequest) Reset ¶
func (x *LogsRequest) Reset()
func (*LogsRequest) String ¶
func (x *LogsRequest) String() string
func (*LogsRequest) Validate ¶
func (m *LogsRequest) Validate() error
Validate checks the field values on LogsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogsRequest) ValidateAll ¶
func (m *LogsRequest) ValidateAll() error
ValidateAll checks the field values on LogsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogsRequestMultiError, or nil if none found.
type LogsRequestMultiError ¶
type LogsRequestMultiError []error
LogsRequestMultiError is an error wrapping multiple validation errors returned by LogsRequest.ValidateAll() if the designated constraints aren't met.
func (LogsRequestMultiError) AllErrors ¶
func (m LogsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogsRequestMultiError) Error ¶
func (m LogsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogsRequestValidationError ¶
type LogsRequestValidationError struct {
// contains filtered or unexported fields
}
LogsRequestValidationError is the validation error returned by LogsRequest.Validate if the designated constraints aren't met.
func (LogsRequestValidationError) Cause ¶
func (e LogsRequestValidationError) Cause() error
Cause function returns cause value.
func (LogsRequestValidationError) Error ¶
func (e LogsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LogsRequestValidationError) ErrorName ¶
func (e LogsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LogsRequestValidationError) Field ¶
func (e LogsRequestValidationError) Field() string
Field function returns field value.
func (LogsRequestValidationError) Key ¶
func (e LogsRequestValidationError) Key() bool
Key function returns key value.
func (LogsRequestValidationError) Reason ¶
func (e LogsRequestValidationError) Reason() string
Reason function returns reason value.
type LogsResponse ¶
type LogsResponse struct { Logs string `protobuf:"bytes,1,opt,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*LogsResponse) Descriptor
deprecated
func (*LogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.
func (*LogsResponse) GetLogs ¶
func (x *LogsResponse) GetLogs() string
func (*LogsResponse) ProtoMessage ¶
func (*LogsResponse) ProtoMessage()
func (*LogsResponse) ProtoReflect ¶
func (x *LogsResponse) ProtoReflect() protoreflect.Message
func (*LogsResponse) Reset ¶
func (x *LogsResponse) Reset()
func (*LogsResponse) String ¶
func (x *LogsResponse) String() string
func (*LogsResponse) Validate ¶
func (m *LogsResponse) Validate() error
Validate checks the field values on LogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogsResponse) ValidateAll ¶
func (m *LogsResponse) ValidateAll() error
ValidateAll checks the field values on LogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogsResponseMultiError, or nil if none found.
type LogsResponseMultiError ¶
type LogsResponseMultiError []error
LogsResponseMultiError is an error wrapping multiple validation errors returned by LogsResponse.ValidateAll() if the designated constraints aren't met.
func (LogsResponseMultiError) AllErrors ¶
func (m LogsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogsResponseMultiError) Error ¶
func (m LogsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogsResponseValidationError ¶
type LogsResponseValidationError struct {
// contains filtered or unexported fields
}
LogsResponseValidationError is the validation error returned by LogsResponse.Validate if the designated constraints aren't met.
func (LogsResponseValidationError) Cause ¶
func (e LogsResponseValidationError) Cause() error
Cause function returns cause value.
func (LogsResponseValidationError) Error ¶
func (e LogsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LogsResponseValidationError) ErrorName ¶
func (e LogsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LogsResponseValidationError) Field ¶
func (e LogsResponseValidationError) Field() string
Field function returns field value.
func (LogsResponseValidationError) Key ¶
func (e LogsResponseValidationError) Key() bool
Key function returns key value.
func (LogsResponseValidationError) Reason ¶
func (e LogsResponseValidationError) Reason() string
Reason function returns reason value.
type MemoryHealth ¶
type MemoryHealth struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Used int64 `protobuf:"varint,2,opt,name=used,proto3" json:"used,omitempty"` Free int64 `protobuf:"varint,3,opt,name=free,proto3" json:"free,omitempty"` Usage float64 `protobuf:"fixed64,4,opt,name=usage,proto3" json:"usage,omitempty"` // contains filtered or unexported fields }
func (*MemoryHealth) Descriptor
deprecated
func (*MemoryHealth) Descriptor() ([]byte, []int)
Deprecated: Use MemoryHealth.ProtoReflect.Descriptor instead.
func (*MemoryHealth) GetFree ¶
func (x *MemoryHealth) GetFree() int64
func (*MemoryHealth) GetTotal ¶
func (x *MemoryHealth) GetTotal() int64
func (*MemoryHealth) GetUsage ¶
func (x *MemoryHealth) GetUsage() float64
func (*MemoryHealth) GetUsed ¶
func (x *MemoryHealth) GetUsed() int64
func (*MemoryHealth) ProtoMessage ¶
func (*MemoryHealth) ProtoMessage()
func (*MemoryHealth) ProtoReflect ¶
func (x *MemoryHealth) ProtoReflect() protoreflect.Message
func (*MemoryHealth) Reset ¶
func (x *MemoryHealth) Reset()
func (*MemoryHealth) String ¶
func (x *MemoryHealth) String() string
func (*MemoryHealth) Validate ¶
func (m *MemoryHealth) Validate() error
Validate checks the field values on MemoryHealth with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MemoryHealth) ValidateAll ¶
func (m *MemoryHealth) ValidateAll() error
ValidateAll checks the field values on MemoryHealth with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MemoryHealthMultiError, or nil if none found.
type MemoryHealthMultiError ¶
type MemoryHealthMultiError []error
MemoryHealthMultiError is an error wrapping multiple validation errors returned by MemoryHealth.ValidateAll() if the designated constraints aren't met.
func (MemoryHealthMultiError) AllErrors ¶
func (m MemoryHealthMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemoryHealthMultiError) Error ¶
func (m MemoryHealthMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemoryHealthValidationError ¶
type MemoryHealthValidationError struct {
// contains filtered or unexported fields
}
MemoryHealthValidationError is the validation error returned by MemoryHealth.Validate if the designated constraints aren't met.
func (MemoryHealthValidationError) Cause ¶
func (e MemoryHealthValidationError) Cause() error
Cause function returns cause value.
func (MemoryHealthValidationError) Error ¶
func (e MemoryHealthValidationError) Error() string
Error satisfies the builtin error interface
func (MemoryHealthValidationError) ErrorName ¶
func (e MemoryHealthValidationError) ErrorName() string
ErrorName returns error name.
func (MemoryHealthValidationError) Field ¶
func (e MemoryHealthValidationError) Field() string
Field function returns field value.
func (MemoryHealthValidationError) Key ¶
func (e MemoryHealthValidationError) Key() bool
Key function returns key value.
func (MemoryHealthValidationError) Reason ¶
func (e MemoryHealthValidationError) Reason() string
Reason function returns reason value.
type ModCompatible ¶
type ModCompatible struct { Dst bool `protobuf:"varint,1,opt,name=dst,proto3" json:"dst,omitempty"` DontStarve bool `protobuf:"varint,2,opt,name=dontStarve,proto3" json:"dontStarve,omitempty"` Giant bool `protobuf:"varint,3,opt,name=giant,proto3" json:"giant,omitempty"` ClientOnly bool `protobuf:"varint,4,opt,name=clientOnly,proto3" json:"clientOnly,omitempty"` AllClient bool `protobuf:"varint,5,opt,name=allClient,proto3" json:"allClient,omitempty"` // contains filtered or unexported fields }
func (*ModCompatible) Descriptor
deprecated
func (*ModCompatible) Descriptor() ([]byte, []int)
Deprecated: Use ModCompatible.ProtoReflect.Descriptor instead.
func (*ModCompatible) GetAllClient ¶
func (x *ModCompatible) GetAllClient() bool
func (*ModCompatible) GetClientOnly ¶
func (x *ModCompatible) GetClientOnly() bool
func (*ModCompatible) GetDontStarve ¶
func (x *ModCompatible) GetDontStarve() bool
func (*ModCompatible) GetDst ¶
func (x *ModCompatible) GetDst() bool
func (*ModCompatible) GetGiant ¶
func (x *ModCompatible) GetGiant() bool
func (*ModCompatible) ProtoMessage ¶
func (*ModCompatible) ProtoMessage()
func (*ModCompatible) ProtoReflect ¶
func (x *ModCompatible) ProtoReflect() protoreflect.Message
func (*ModCompatible) Reset ¶
func (x *ModCompatible) Reset()
func (*ModCompatible) String ¶
func (x *ModCompatible) String() string
func (*ModCompatible) Validate ¶
func (m *ModCompatible) Validate() error
Validate checks the field values on ModCompatible with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModCompatible) ValidateAll ¶
func (m *ModCompatible) ValidateAll() error
ValidateAll checks the field values on ModCompatible with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModCompatibleMultiError, or nil if none found.
type ModCompatibleMultiError ¶
type ModCompatibleMultiError []error
ModCompatibleMultiError is an error wrapping multiple validation errors returned by ModCompatible.ValidateAll() if the designated constraints aren't met.
func (ModCompatibleMultiError) AllErrors ¶
func (m ModCompatibleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModCompatibleMultiError) Error ¶
func (m ModCompatibleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModCompatibleValidationError ¶
type ModCompatibleValidationError struct {
// contains filtered or unexported fields
}
ModCompatibleValidationError is the validation error returned by ModCompatible.Validate if the designated constraints aren't met.
func (ModCompatibleValidationError) Cause ¶
func (e ModCompatibleValidationError) Cause() error
Cause function returns cause value.
func (ModCompatibleValidationError) Error ¶
func (e ModCompatibleValidationError) Error() string
Error satisfies the builtin error interface
func (ModCompatibleValidationError) ErrorName ¶
func (e ModCompatibleValidationError) ErrorName() string
ErrorName returns error name.
func (ModCompatibleValidationError) Field ¶
func (e ModCompatibleValidationError) Field() string
Field function returns field value.
func (ModCompatibleValidationError) Key ¶
func (e ModCompatibleValidationError) Key() bool
Key function returns key value.
func (ModCompatibleValidationError) Reason ¶
func (e ModCompatibleValidationError) Reason() string
Reason function returns reason value.
type ModConfiguration ¶
type ModConfiguration struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DefaultValue *anypb.Any `protobuf:"bytes,2,opt,name=defaultValue,proto3" json:"defaultValue,omitempty"` Options []*ModConfigurationItem `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*ModConfiguration) Descriptor
deprecated
func (*ModConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use ModConfiguration.ProtoReflect.Descriptor instead.
func (*ModConfiguration) GetDefaultValue ¶
func (x *ModConfiguration) GetDefaultValue() *anypb.Any
func (*ModConfiguration) GetName ¶
func (x *ModConfiguration) GetName() string
func (*ModConfiguration) GetOptions ¶
func (x *ModConfiguration) GetOptions() []*ModConfigurationItem
func (*ModConfiguration) ProtoMessage ¶
func (*ModConfiguration) ProtoMessage()
func (*ModConfiguration) ProtoReflect ¶
func (x *ModConfiguration) ProtoReflect() protoreflect.Message
func (*ModConfiguration) Reset ¶
func (x *ModConfiguration) Reset()
func (*ModConfiguration) String ¶
func (x *ModConfiguration) String() string
func (*ModConfiguration) Validate ¶
func (m *ModConfiguration) Validate() error
Validate checks the field values on ModConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModConfiguration) ValidateAll ¶
func (m *ModConfiguration) ValidateAll() error
ValidateAll checks the field values on ModConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModConfigurationMultiError, or nil if none found.
type ModConfigurationItem ¶
type ModConfigurationItem struct { Data *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*ModConfigurationItem) Descriptor
deprecated
func (*ModConfigurationItem) Descriptor() ([]byte, []int)
Deprecated: Use ModConfigurationItem.ProtoReflect.Descriptor instead.
func (*ModConfigurationItem) GetData ¶
func (x *ModConfigurationItem) GetData() *anypb.Any
func (*ModConfigurationItem) GetDescription ¶
func (x *ModConfigurationItem) GetDescription() string
func (*ModConfigurationItem) GetLabel ¶
func (x *ModConfigurationItem) GetLabel() string
func (*ModConfigurationItem) ProtoMessage ¶
func (*ModConfigurationItem) ProtoMessage()
func (*ModConfigurationItem) ProtoReflect ¶
func (x *ModConfigurationItem) ProtoReflect() protoreflect.Message
func (*ModConfigurationItem) Reset ¶
func (x *ModConfigurationItem) Reset()
func (*ModConfigurationItem) String ¶
func (x *ModConfigurationItem) String() string
func (*ModConfigurationItem) Validate ¶
func (m *ModConfigurationItem) Validate() error
Validate checks the field values on ModConfigurationItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModConfigurationItem) ValidateAll ¶
func (m *ModConfigurationItem) ValidateAll() error
ValidateAll checks the field values on ModConfigurationItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModConfigurationItemMultiError, or nil if none found.
type ModConfigurationItemMultiError ¶
type ModConfigurationItemMultiError []error
ModConfigurationItemMultiError is an error wrapping multiple validation errors returned by ModConfigurationItem.ValidateAll() if the designated constraints aren't met.
func (ModConfigurationItemMultiError) AllErrors ¶
func (m ModConfigurationItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModConfigurationItemMultiError) Error ¶
func (m ModConfigurationItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModConfigurationItemValidationError ¶
type ModConfigurationItemValidationError struct {
// contains filtered or unexported fields
}
ModConfigurationItemValidationError is the validation error returned by ModConfigurationItem.Validate if the designated constraints aren't met.
func (ModConfigurationItemValidationError) Cause ¶
func (e ModConfigurationItemValidationError) Cause() error
Cause function returns cause value.
func (ModConfigurationItemValidationError) Error ¶
func (e ModConfigurationItemValidationError) Error() string
Error satisfies the builtin error interface
func (ModConfigurationItemValidationError) ErrorName ¶
func (e ModConfigurationItemValidationError) ErrorName() string
ErrorName returns error name.
func (ModConfigurationItemValidationError) Field ¶
func (e ModConfigurationItemValidationError) Field() string
Field function returns field value.
func (ModConfigurationItemValidationError) Key ¶
func (e ModConfigurationItemValidationError) Key() bool
Key function returns key value.
func (ModConfigurationItemValidationError) Reason ¶
func (e ModConfigurationItemValidationError) Reason() string
Reason function returns reason value.
type ModConfigurationMultiError ¶
type ModConfigurationMultiError []error
ModConfigurationMultiError is an error wrapping multiple validation errors returned by ModConfiguration.ValidateAll() if the designated constraints aren't met.
func (ModConfigurationMultiError) AllErrors ¶
func (m ModConfigurationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModConfigurationMultiError) Error ¶
func (m ModConfigurationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModConfigurationValidationError ¶
type ModConfigurationValidationError struct {
// contains filtered or unexported fields
}
ModConfigurationValidationError is the validation error returned by ModConfiguration.Validate if the designated constraints aren't met.
func (ModConfigurationValidationError) Cause ¶
func (e ModConfigurationValidationError) Cause() error
Cause function returns cause value.
func (ModConfigurationValidationError) Error ¶
func (e ModConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (ModConfigurationValidationError) ErrorName ¶
func (e ModConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (ModConfigurationValidationError) Field ¶
func (e ModConfigurationValidationError) Field() string
Field function returns field value.
func (ModConfigurationValidationError) Key ¶
func (e ModConfigurationValidationError) Key() bool
Key function returns key value.
func (ModConfigurationValidationError) Reason ¶
func (e ModConfigurationValidationError) Reason() string
Reason function returns reason value.
type ModDetails ¶
type ModDetails struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Compatible *ModCompatible `protobuf:"bytes,5,opt,name=compatible,proto3" json:"compatible,omitempty"` Configurations []*ModConfiguration `protobuf:"bytes,6,rep,name=configurations,proto3" json:"configurations,omitempty"` // contains filtered or unexported fields }
func (*ModDetails) Descriptor
deprecated
func (*ModDetails) Descriptor() ([]byte, []int)
Deprecated: Use ModDetails.ProtoReflect.Descriptor instead.
func (*ModDetails) GetAuthor ¶
func (x *ModDetails) GetAuthor() string
func (*ModDetails) GetCompatible ¶
func (x *ModDetails) GetCompatible() *ModCompatible
func (*ModDetails) GetConfigurations ¶
func (x *ModDetails) GetConfigurations() []*ModConfiguration
func (*ModDetails) GetDescription ¶
func (x *ModDetails) GetDescription() string
func (*ModDetails) GetName ¶
func (x *ModDetails) GetName() string
func (*ModDetails) GetVersion ¶
func (x *ModDetails) GetVersion() string
func (*ModDetails) ProtoMessage ¶
func (*ModDetails) ProtoMessage()
func (*ModDetails) ProtoReflect ¶
func (x *ModDetails) ProtoReflect() protoreflect.Message
func (*ModDetails) Reset ¶
func (x *ModDetails) Reset()
func (*ModDetails) String ¶
func (x *ModDetails) String() string
func (*ModDetails) Validate ¶
func (m *ModDetails) Validate() error
Validate checks the field values on ModDetails with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModDetails) ValidateAll ¶
func (m *ModDetails) ValidateAll() error
ValidateAll checks the field values on ModDetails with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModDetailsMultiError, or nil if none found.
type ModDetailsMultiError ¶
type ModDetailsMultiError []error
ModDetailsMultiError is an error wrapping multiple validation errors returned by ModDetails.ValidateAll() if the designated constraints aren't met.
func (ModDetailsMultiError) AllErrors ¶
func (m ModDetailsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModDetailsMultiError) Error ¶
func (m ModDetailsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModDetailsValidationError ¶
type ModDetailsValidationError struct {
// contains filtered or unexported fields
}
ModDetailsValidationError is the validation error returned by ModDetails.Validate if the designated constraints aren't met.
func (ModDetailsValidationError) Cause ¶
func (e ModDetailsValidationError) Cause() error
Cause function returns cause value.
func (ModDetailsValidationError) Error ¶
func (e ModDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (ModDetailsValidationError) ErrorName ¶
func (e ModDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (ModDetailsValidationError) Field ¶
func (e ModDetailsValidationError) Field() string
Field function returns field value.
func (ModDetailsValidationError) Key ¶
func (e ModDetailsValidationError) Key() bool
Key function returns key value.
func (ModDetailsValidationError) Reason ¶
func (e ModDetailsValidationError) Reason() string
Reason function returns reason value.
type ModId ¶
type ModId struct { ModId string `protobuf:"bytes,1,opt,name=ModId,proto3" json:"ModId,omitempty"` InstanceId *ContainerId `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"` // contains filtered or unexported fields }
func (*ModId) Descriptor
deprecated
func (*ModId) GetInstanceId ¶
func (x *ModId) GetInstanceId() *ContainerId
func (*ModId) ProtoMessage ¶
func (*ModId) ProtoMessage()
func (*ModId) ProtoReflect ¶
func (x *ModId) ProtoReflect() protoreflect.Message
func (*ModId) Validate ¶
Validate checks the field values on ModId with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModId) ValidateAll ¶
ValidateAll checks the field values on ModId with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModIdMultiError, or nil if none found.
type ModIdMultiError ¶
type ModIdMultiError []error
ModIdMultiError is an error wrapping multiple validation errors returned by ModId.ValidateAll() if the designated constraints aren't met.
func (ModIdMultiError) AllErrors ¶
func (m ModIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModIdMultiError) Error ¶
func (m ModIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModIdValidationError ¶
type ModIdValidationError struct {
// contains filtered or unexported fields
}
ModIdValidationError is the validation error returned by ModId.Validate if the designated constraints aren't met.
func (ModIdValidationError) Cause ¶
func (e ModIdValidationError) Cause() error
Cause function returns cause value.
func (ModIdValidationError) Error ¶
func (e ModIdValidationError) Error() string
Error satisfies the builtin error interface
func (ModIdValidationError) ErrorName ¶
func (e ModIdValidationError) ErrorName() string
ErrorName returns error name.
func (ModIdValidationError) Field ¶
func (e ModIdValidationError) Field() string
Field function returns field value.
func (ModIdValidationError) Key ¶
func (e ModIdValidationError) Key() bool
Key function returns key value.
func (ModIdValidationError) Reason ¶
func (e ModIdValidationError) Reason() string
Reason function returns reason value.
type ModInfo ¶
type ModInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Preview string `protobuf:"bytes,3,opt,name=preview,proto3" json:"preview,omitempty"` Subscribe int64 `protobuf:"varint,5,opt,name=subscribe,proto3" json:"subscribe,omitempty"` Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` Updated int64 `protobuf:"varint,7,opt,name=updated,proto3" json:"updated,omitempty"` Created int64 `protobuf:"varint,8,opt,name=created,proto3" json:"created,omitempty"` Tags []*ModTag `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ModInfo) Descriptor
deprecated
func (*ModInfo) GetCreated ¶
func (*ModInfo) GetPreview ¶
func (*ModInfo) GetSubscribe ¶
func (*ModInfo) GetUpdated ¶
func (*ModInfo) ProtoMessage ¶
func (*ModInfo) ProtoMessage()
func (*ModInfo) ProtoReflect ¶
func (x *ModInfo) ProtoReflect() protoreflect.Message
func (*ModInfo) Validate ¶
Validate checks the field values on ModInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModInfo) ValidateAll ¶
ValidateAll checks the field values on ModInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModInfoMultiError, or nil if none found.
type ModInfoMultiError ¶
type ModInfoMultiError []error
ModInfoMultiError is an error wrapping multiple validation errors returned by ModInfo.ValidateAll() if the designated constraints aren't met.
func (ModInfoMultiError) AllErrors ¶
func (m ModInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModInfoMultiError) Error ¶
func (m ModInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModInfoValidationError ¶
type ModInfoValidationError struct {
// contains filtered or unexported fields
}
ModInfoValidationError is the validation error returned by ModInfo.Validate if the designated constraints aren't met.
func (ModInfoValidationError) Cause ¶
func (e ModInfoValidationError) Cause() error
Cause function returns cause value.
func (ModInfoValidationError) Error ¶
func (e ModInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ModInfoValidationError) ErrorName ¶
func (e ModInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ModInfoValidationError) Field ¶
func (e ModInfoValidationError) Field() string
Field function returns field value.
func (ModInfoValidationError) Key ¶
func (e ModInfoValidationError) Key() bool
Key function returns key value.
func (ModInfoValidationError) Reason ¶
func (e ModInfoValidationError) Reason() string
Reason function returns reason value.
type ModListReq ¶
type ModListReq struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Page string `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Size string `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ModListReq) Descriptor
deprecated
func (*ModListReq) Descriptor() ([]byte, []int)
Deprecated: Use ModListReq.ProtoReflect.Descriptor instead.
func (*ModListReq) GetPage ¶
func (x *ModListReq) GetPage() string
func (*ModListReq) GetSize ¶
func (x *ModListReq) GetSize() string
func (*ModListReq) GetText ¶
func (x *ModListReq) GetText() string
func (*ModListReq) ProtoMessage ¶
func (*ModListReq) ProtoMessage()
func (*ModListReq) ProtoReflect ¶
func (x *ModListReq) ProtoReflect() protoreflect.Message
func (*ModListReq) Reset ¶
func (x *ModListReq) Reset()
func (*ModListReq) String ¶
func (x *ModListReq) String() string
func (*ModListReq) Validate ¶
func (m *ModListReq) Validate() error
Validate checks the field values on ModListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModListReq) ValidateAll ¶
func (m *ModListReq) ValidateAll() error
ValidateAll checks the field values on ModListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModListReqMultiError, or nil if none found.
type ModListReqMultiError ¶
type ModListReqMultiError []error
ModListReqMultiError is an error wrapping multiple validation errors returned by ModListReq.ValidateAll() if the designated constraints aren't met.
func (ModListReqMultiError) AllErrors ¶
func (m ModListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModListReqMultiError) Error ¶
func (m ModListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModListReqValidationError ¶
type ModListReqValidationError struct {
// contains filtered or unexported fields
}
ModListReqValidationError is the validation error returned by ModListReq.Validate if the designated constraints aren't met.
func (ModListReqValidationError) Cause ¶
func (e ModListReqValidationError) Cause() error
Cause function returns cause value.
func (ModListReqValidationError) Error ¶
func (e ModListReqValidationError) Error() string
Error satisfies the builtin error interface
func (ModListReqValidationError) ErrorName ¶
func (e ModListReqValidationError) ErrorName() string
ErrorName returns error name.
func (ModListReqValidationError) Field ¶
func (e ModListReqValidationError) Field() string
Field function returns field value.
func (ModListReqValidationError) Key ¶
func (e ModListReqValidationError) Key() bool
Key function returns key value.
func (ModListReqValidationError) Reason ¶
func (e ModListReqValidationError) Reason() string
Reason function returns reason value.
type ModListResp ¶
type ModListResp struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ModInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ModListResp) Descriptor
deprecated
func (*ModListResp) Descriptor() ([]byte, []int)
Deprecated: Use ModListResp.ProtoReflect.Descriptor instead.
func (*ModListResp) GetList ¶
func (x *ModListResp) GetList() []*ModInfo
func (*ModListResp) GetTotal ¶
func (x *ModListResp) GetTotal() int64
func (*ModListResp) ProtoMessage ¶
func (*ModListResp) ProtoMessage()
func (*ModListResp) ProtoReflect ¶
func (x *ModListResp) ProtoReflect() protoreflect.Message
func (*ModListResp) Reset ¶
func (x *ModListResp) Reset()
func (*ModListResp) String ¶
func (x *ModListResp) String() string
func (*ModListResp) Validate ¶
func (m *ModListResp) Validate() error
Validate checks the field values on ModListResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModListResp) ValidateAll ¶
func (m *ModListResp) ValidateAll() error
ValidateAll checks the field values on ModListResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModListRespMultiError, or nil if none found.
type ModListRespMultiError ¶
type ModListRespMultiError []error
ModListRespMultiError is an error wrapping multiple validation errors returned by ModListResp.ValidateAll() if the designated constraints aren't met.
func (ModListRespMultiError) AllErrors ¶
func (m ModListRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModListRespMultiError) Error ¶
func (m ModListRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModListRespValidationError ¶
type ModListRespValidationError struct {
// contains filtered or unexported fields
}
ModListRespValidationError is the validation error returned by ModListResp.Validate if the designated constraints aren't met.
func (ModListRespValidationError) Cause ¶
func (e ModListRespValidationError) Cause() error
Cause function returns cause value.
func (ModListRespValidationError) Error ¶
func (e ModListRespValidationError) Error() string
Error satisfies the builtin error interface
func (ModListRespValidationError) ErrorName ¶
func (e ModListRespValidationError) ErrorName() string
ErrorName returns error name.
func (ModListRespValidationError) Field ¶
func (e ModListRespValidationError) Field() string
Field function returns field value.
func (ModListRespValidationError) Key ¶
func (e ModListRespValidationError) Key() bool
Key function returns key value.
func (ModListRespValidationError) Reason ¶
func (e ModListRespValidationError) Reason() string
Reason function returns reason value.
type ModServiceClient ¶
type ModServiceClient interface { GetWorkShopModList(ctx context.Context, in *ModListReq, opts ...grpc.CallOption) (*ModListResp, error) Subscribe(ctx context.Context, in *ModId, opts ...grpc.CallOption) (*Notify, error) Unsubscribe(ctx context.Context, in *ModId, opts ...grpc.CallOption) (*Notify, error) UpdateMod(ctx context.Context, in *ModId, opts ...grpc.CallOption) (*Notify, error) CheckUpdate(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*CheckUpdateResult, error) GetModSettings(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*ModSettings, error) SaveModSettings(ctx context.Context, in *SaveModSettingsReq, opts ...grpc.CallOption) (*Notify, error) GetRawModSettings(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*RawModSettings, error) SaveRawModSettings(ctx context.Context, in *SaveRawModSettingsReq, opts ...grpc.CallOption) (*Notify, error) }
ModServiceClient is the client API for ModService 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 NewModServiceClient ¶
func NewModServiceClient(cc grpc.ClientConnInterface) ModServiceClient
type ModServiceServer ¶
type ModServiceServer interface { GetWorkShopModList(context.Context, *ModListReq) (*ModListResp, error) Subscribe(context.Context, *ModId) (*Notify, error) Unsubscribe(context.Context, *ModId) (*Notify, error) UpdateMod(context.Context, *ModId) (*Notify, error) CheckUpdate(context.Context, *ContainerId) (*CheckUpdateResult, error) GetModSettings(context.Context, *ContainerId) (*ModSettings, error) SaveModSettings(context.Context, *SaveModSettingsReq) (*Notify, error) GetRawModSettings(context.Context, *ContainerId) (*RawModSettings, error) SaveRawModSettings(context.Context, *SaveRawModSettingsReq) (*Notify, error) // contains filtered or unexported methods }
ModServiceServer is the server API for ModService service. All implementations must embed UnimplementedModServiceServer for forward compatibility
type ModSettings ¶
type ModSettings struct { List []*ModSettings_ModSettingItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ModSettings) Descriptor
deprecated
func (*ModSettings) Descriptor() ([]byte, []int)
Deprecated: Use ModSettings.ProtoReflect.Descriptor instead.
func (*ModSettings) GetList ¶
func (x *ModSettings) GetList() []*ModSettings_ModSettingItem
func (*ModSettings) ProtoMessage ¶
func (*ModSettings) ProtoMessage()
func (*ModSettings) ProtoReflect ¶
func (x *ModSettings) ProtoReflect() protoreflect.Message
func (*ModSettings) Reset ¶
func (x *ModSettings) Reset()
func (*ModSettings) String ¶
func (x *ModSettings) String() string
func (*ModSettings) Validate ¶
func (m *ModSettings) Validate() error
Validate checks the field values on ModSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModSettings) ValidateAll ¶
func (m *ModSettings) ValidateAll() error
ValidateAll checks the field values on ModSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModSettingsMultiError, or nil if none found.
type ModSettingsMultiError ¶
type ModSettingsMultiError []error
ModSettingsMultiError is an error wrapping multiple validation errors returned by ModSettings.ValidateAll() if the designated constraints aren't met.
func (ModSettingsMultiError) AllErrors ¶
func (m ModSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModSettingsMultiError) Error ¶
func (m ModSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModSettingsValidationError ¶
type ModSettingsValidationError struct {
// contains filtered or unexported fields
}
ModSettingsValidationError is the validation error returned by ModSettings.Validate if the designated constraints aren't met.
func (ModSettingsValidationError) Cause ¶
func (e ModSettingsValidationError) Cause() error
Cause function returns cause value.
func (ModSettingsValidationError) Error ¶
func (e ModSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (ModSettingsValidationError) ErrorName ¶
func (e ModSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (ModSettingsValidationError) Field ¶
func (e ModSettingsValidationError) Field() string
Field function returns field value.
func (ModSettingsValidationError) Key ¶
func (e ModSettingsValidationError) Key() bool
Key function returns key value.
func (ModSettingsValidationError) Reason ¶
func (e ModSettingsValidationError) Reason() string
Reason function returns reason value.
type ModSettings_ModSettingItem ¶
type ModSettings_ModSettingItem struct { Options map[string]*anypb.Any `` /* 155-byte string literal not displayed */ Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*ModSettings_ModSettingItem) Descriptor
deprecated
func (*ModSettings_ModSettingItem) Descriptor() ([]byte, []int)
Deprecated: Use ModSettings_ModSettingItem.ProtoReflect.Descriptor instead.
func (*ModSettings_ModSettingItem) GetEnabled ¶
func (x *ModSettings_ModSettingItem) GetEnabled() bool
func (*ModSettings_ModSettingItem) GetOptions ¶
func (x *ModSettings_ModSettingItem) GetOptions() map[string]*anypb.Any
func (*ModSettings_ModSettingItem) ProtoMessage ¶
func (*ModSettings_ModSettingItem) ProtoMessage()
func (*ModSettings_ModSettingItem) ProtoReflect ¶
func (x *ModSettings_ModSettingItem) ProtoReflect() protoreflect.Message
func (*ModSettings_ModSettingItem) Reset ¶
func (x *ModSettings_ModSettingItem) Reset()
func (*ModSettings_ModSettingItem) String ¶
func (x *ModSettings_ModSettingItem) String() string
func (*ModSettings_ModSettingItem) Validate ¶
func (m *ModSettings_ModSettingItem) Validate() error
Validate checks the field values on ModSettings_ModSettingItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModSettings_ModSettingItem) ValidateAll ¶
func (m *ModSettings_ModSettingItem) ValidateAll() error
ValidateAll checks the field values on ModSettings_ModSettingItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModSettings_ModSettingItemMultiError, or nil if none found.
type ModSettings_ModSettingItemMultiError ¶
type ModSettings_ModSettingItemMultiError []error
ModSettings_ModSettingItemMultiError is an error wrapping multiple validation errors returned by ModSettings_ModSettingItem.ValidateAll() if the designated constraints aren't met.
func (ModSettings_ModSettingItemMultiError) AllErrors ¶
func (m ModSettings_ModSettingItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModSettings_ModSettingItemMultiError) Error ¶
func (m ModSettings_ModSettingItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModSettings_ModSettingItemValidationError ¶
type ModSettings_ModSettingItemValidationError struct {
// contains filtered or unexported fields
}
ModSettings_ModSettingItemValidationError is the validation error returned by ModSettings_ModSettingItem.Validate if the designated constraints aren't met.
func (ModSettings_ModSettingItemValidationError) Cause ¶
func (e ModSettings_ModSettingItemValidationError) Cause() error
Cause function returns cause value.
func (ModSettings_ModSettingItemValidationError) Error ¶
func (e ModSettings_ModSettingItemValidationError) Error() string
Error satisfies the builtin error interface
func (ModSettings_ModSettingItemValidationError) ErrorName ¶
func (e ModSettings_ModSettingItemValidationError) ErrorName() string
ErrorName returns error name.
func (ModSettings_ModSettingItemValidationError) Field ¶
func (e ModSettings_ModSettingItemValidationError) Field() string
Field function returns field value.
func (ModSettings_ModSettingItemValidationError) Key ¶
func (e ModSettings_ModSettingItemValidationError) Key() bool
Key function returns key value.
func (ModSettings_ModSettingItemValidationError) Reason ¶
func (e ModSettings_ModSettingItemValidationError) Reason() string
Reason function returns reason value.
type ModTag ¶
type ModTag struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ModTag) Descriptor
deprecated
func (*ModTag) ProtoMessage ¶
func (*ModTag) ProtoMessage()
func (*ModTag) ProtoReflect ¶
func (x *ModTag) ProtoReflect() protoreflect.Message
func (*ModTag) Validate ¶
Validate checks the field values on ModTag with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModTag) ValidateAll ¶
ValidateAll checks the field values on ModTag with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModTagMultiError, or nil if none found.
type ModTagMultiError ¶
type ModTagMultiError []error
ModTagMultiError is an error wrapping multiple validation errors returned by ModTag.ValidateAll() if the designated constraints aren't met.
func (ModTagMultiError) AllErrors ¶
func (m ModTagMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModTagMultiError) Error ¶
func (m ModTagMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModTagValidationError ¶
type ModTagValidationError struct {
// contains filtered or unexported fields
}
ModTagValidationError is the validation error returned by ModTag.Validate if the designated constraints aren't met.
func (ModTagValidationError) Cause ¶
func (e ModTagValidationError) Cause() error
Cause function returns cause value.
func (ModTagValidationError) Error ¶
func (e ModTagValidationError) Error() string
Error satisfies the builtin error interface
func (ModTagValidationError) ErrorName ¶
func (e ModTagValidationError) ErrorName() string
ErrorName returns error name.
func (ModTagValidationError) Field ¶
func (e ModTagValidationError) Field() string
Field function returns field value.
func (ModTagValidationError) Key ¶
func (e ModTagValidationError) Key() bool
Key function returns key value.
func (ModTagValidationError) Reason ¶
func (e ModTagValidationError) Reason() string
Reason function returns reason value.
type Notify ¶
type Notify struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Code int64 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
notify result used to represent an operation if is successful
func (*Notify) Descriptor
deprecated
func (*Notify) ProtoMessage ¶
func (*Notify) ProtoMessage()
func (*Notify) ProtoReflect ¶
func (x *Notify) ProtoReflect() protoreflect.Message
func (*Notify) Validate ¶
Validate checks the field values on Notify with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Notify) ValidateAll ¶
ValidateAll checks the field values on Notify with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NotifyMultiError, or nil if none found.
type NotifyMultiError ¶
type NotifyMultiError []error
NotifyMultiError is an error wrapping multiple validation errors returned by Notify.ValidateAll() if the designated constraints aren't met.
func (NotifyMultiError) AllErrors ¶
func (m NotifyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotifyMultiError) Error ¶
func (m NotifyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotifyValidationError ¶
type NotifyValidationError struct {
// contains filtered or unexported fields
}
NotifyValidationError is the validation error returned by Notify.Validate if the designated constraints aren't met.
func (NotifyValidationError) Cause ¶
func (e NotifyValidationError) Cause() error
Cause function returns cause value.
func (NotifyValidationError) Error ¶
func (e NotifyValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyValidationError) ErrorName ¶
func (e NotifyValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyValidationError) Field ¶
func (e NotifyValidationError) Field() string
Field function returns field value.
func (NotifyValidationError) Key ¶
func (e NotifyValidationError) Key() bool
Key function returns key value.
func (NotifyValidationError) Reason ¶
func (e NotifyValidationError) Reason() string
Reason function returns reason value.
type PlayerChatLog ¶
type PlayerChatLog struct { Messages []*LogMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*PlayerChatLog) Descriptor
deprecated
func (*PlayerChatLog) Descriptor() ([]byte, []int)
Deprecated: Use PlayerChatLog.ProtoReflect.Descriptor instead.
func (*PlayerChatLog) GetMessages ¶
func (x *PlayerChatLog) GetMessages() []*LogMessage
func (*PlayerChatLog) ProtoMessage ¶
func (*PlayerChatLog) ProtoMessage()
func (*PlayerChatLog) ProtoReflect ¶
func (x *PlayerChatLog) ProtoReflect() protoreflect.Message
func (*PlayerChatLog) Reset ¶
func (x *PlayerChatLog) Reset()
func (*PlayerChatLog) String ¶
func (x *PlayerChatLog) String() string
func (*PlayerChatLog) Validate ¶
func (m *PlayerChatLog) Validate() error
Validate checks the field values on PlayerChatLog with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PlayerChatLog) ValidateAll ¶
func (m *PlayerChatLog) ValidateAll() error
ValidateAll checks the field values on PlayerChatLog with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlayerChatLogMultiError, or nil if none found.
type PlayerChatLogMultiError ¶
type PlayerChatLogMultiError []error
PlayerChatLogMultiError is an error wrapping multiple validation errors returned by PlayerChatLog.ValidateAll() if the designated constraints aren't met.
func (PlayerChatLogMultiError) AllErrors ¶
func (m PlayerChatLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlayerChatLogMultiError) Error ¶
func (m PlayerChatLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlayerChatLogValidationError ¶
type PlayerChatLogValidationError struct {
// contains filtered or unexported fields
}
PlayerChatLogValidationError is the validation error returned by PlayerChatLog.Validate if the designated constraints aren't met.
func (PlayerChatLogValidationError) Cause ¶
func (e PlayerChatLogValidationError) Cause() error
Cause function returns cause value.
func (PlayerChatLogValidationError) Error ¶
func (e PlayerChatLogValidationError) Error() string
Error satisfies the builtin error interface
func (PlayerChatLogValidationError) ErrorName ¶
func (e PlayerChatLogValidationError) ErrorName() string
ErrorName returns error name.
func (PlayerChatLogValidationError) Field ¶
func (e PlayerChatLogValidationError) Field() string
Field function returns field value.
func (PlayerChatLogValidationError) Key ¶
func (e PlayerChatLogValidationError) Key() bool
Key function returns key value.
func (PlayerChatLogValidationError) Reason ¶
func (e PlayerChatLogValidationError) Reason() string
Reason function returns reason value.
type PlayerInfo ¶
type PlayerInfo struct { // steam user id SteamId uint64 `protobuf:"varint,1,opt,name=steamId,proto3" json:"steamId,omitempty"` // klei user id Kid string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` // dst player name, same as steam user name normally Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // dst role the player played, like wilson, wendy Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // if is server admin Admin bool `protobuf:"varint,5,opt,name=admin,proto3" json:"admin,omitempty"` // contains filtered or unexported fields }
func (*PlayerInfo) Descriptor
deprecated
func (*PlayerInfo) Descriptor() ([]byte, []int)
Deprecated: Use PlayerInfo.ProtoReflect.Descriptor instead.
func (*PlayerInfo) GetAdmin ¶
func (x *PlayerInfo) GetAdmin() bool
func (*PlayerInfo) GetKid ¶
func (x *PlayerInfo) GetKid() string
func (*PlayerInfo) GetName ¶
func (x *PlayerInfo) GetName() string
func (*PlayerInfo) GetRole ¶
func (x *PlayerInfo) GetRole() string
func (*PlayerInfo) GetSteamId ¶
func (x *PlayerInfo) GetSteamId() uint64
func (*PlayerInfo) ProtoMessage ¶
func (*PlayerInfo) ProtoMessage()
func (*PlayerInfo) ProtoReflect ¶
func (x *PlayerInfo) ProtoReflect() protoreflect.Message
func (*PlayerInfo) Reset ¶
func (x *PlayerInfo) Reset()
func (*PlayerInfo) String ¶
func (x *PlayerInfo) String() string
func (*PlayerInfo) Validate ¶
func (m *PlayerInfo) Validate() error
Validate checks the field values on PlayerInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PlayerInfo) ValidateAll ¶
func (m *PlayerInfo) ValidateAll() error
ValidateAll checks the field values on PlayerInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlayerInfoMultiError, or nil if none found.
type PlayerInfoMultiError ¶
type PlayerInfoMultiError []error
PlayerInfoMultiError is an error wrapping multiple validation errors returned by PlayerInfo.ValidateAll() if the designated constraints aren't met.
func (PlayerInfoMultiError) AllErrors ¶
func (m PlayerInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlayerInfoMultiError) Error ¶
func (m PlayerInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlayerInfoValidationError ¶
type PlayerInfoValidationError struct {
// contains filtered or unexported fields
}
PlayerInfoValidationError is the validation error returned by PlayerInfo.Validate if the designated constraints aren't met.
func (PlayerInfoValidationError) Cause ¶
func (e PlayerInfoValidationError) Cause() error
Cause function returns cause value.
func (PlayerInfoValidationError) Error ¶
func (e PlayerInfoValidationError) Error() string
Error satisfies the builtin error interface
func (PlayerInfoValidationError) ErrorName ¶
func (e PlayerInfoValidationError) ErrorName() string
ErrorName returns error name.
func (PlayerInfoValidationError) Field ¶
func (e PlayerInfoValidationError) Field() string
Field function returns field value.
func (PlayerInfoValidationError) Key ¶
func (e PlayerInfoValidationError) Key() bool
Key function returns key value.
func (PlayerInfoValidationError) Reason ¶
func (e PlayerInfoValidationError) Reason() string
Reason function returns reason value.
type PlayerListReq ¶
type PlayerListReq struct { InstanceId *ContainerId `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Kid *KleiID `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` // contains filtered or unexported fields }
func (*PlayerListReq) Descriptor
deprecated
func (*PlayerListReq) Descriptor() ([]byte, []int)
Deprecated: Use PlayerListReq.ProtoReflect.Descriptor instead.
func (*PlayerListReq) GetInstanceId ¶
func (x *PlayerListReq) GetInstanceId() *ContainerId
func (*PlayerListReq) GetKid ¶
func (x *PlayerListReq) GetKid() *KleiID
func (*PlayerListReq) ProtoMessage ¶
func (*PlayerListReq) ProtoMessage()
func (*PlayerListReq) ProtoReflect ¶
func (x *PlayerListReq) ProtoReflect() protoreflect.Message
func (*PlayerListReq) Reset ¶
func (x *PlayerListReq) Reset()
func (*PlayerListReq) String ¶
func (x *PlayerListReq) String() string
func (*PlayerListReq) Validate ¶
func (m *PlayerListReq) Validate() error
Validate checks the field values on PlayerListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PlayerListReq) ValidateAll ¶
func (m *PlayerListReq) ValidateAll() error
ValidateAll checks the field values on PlayerListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlayerListReqMultiError, or nil if none found.
type PlayerListReqMultiError ¶
type PlayerListReqMultiError []error
PlayerListReqMultiError is an error wrapping multiple validation errors returned by PlayerListReq.ValidateAll() if the designated constraints aren't met.
func (PlayerListReqMultiError) AllErrors ¶
func (m PlayerListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlayerListReqMultiError) Error ¶
func (m PlayerListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlayerListReqValidationError ¶
type PlayerListReqValidationError struct {
// contains filtered or unexported fields
}
PlayerListReqValidationError is the validation error returned by PlayerListReq.Validate if the designated constraints aren't met.
func (PlayerListReqValidationError) Cause ¶
func (e PlayerListReqValidationError) Cause() error
Cause function returns cause value.
func (PlayerListReqValidationError) Error ¶
func (e PlayerListReqValidationError) Error() string
Error satisfies the builtin error interface
func (PlayerListReqValidationError) ErrorName ¶
func (e PlayerListReqValidationError) ErrorName() string
ErrorName returns error name.
func (PlayerListReqValidationError) Field ¶
func (e PlayerListReqValidationError) Field() string
Field function returns field value.
func (PlayerListReqValidationError) Key ¶
func (e PlayerListReqValidationError) Key() bool
Key function returns key value.
func (PlayerListReqValidationError) Reason ¶
func (e PlayerListReqValidationError) Reason() string
Reason function returns reason value.
type PlayerListResp ¶
type PlayerListResp struct { List []*BasicPlayerInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PlayerListResp) Descriptor
deprecated
func (*PlayerListResp) Descriptor() ([]byte, []int)
Deprecated: Use PlayerListResp.ProtoReflect.Descriptor instead.
func (*PlayerListResp) GetList ¶
func (x *PlayerListResp) GetList() []*BasicPlayerInfo
func (*PlayerListResp) ProtoMessage ¶
func (*PlayerListResp) ProtoMessage()
func (*PlayerListResp) ProtoReflect ¶
func (x *PlayerListResp) ProtoReflect() protoreflect.Message
func (*PlayerListResp) Reset ¶
func (x *PlayerListResp) Reset()
func (*PlayerListResp) String ¶
func (x *PlayerListResp) String() string
func (*PlayerListResp) Validate ¶
func (m *PlayerListResp) Validate() error
Validate checks the field values on PlayerListResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PlayerListResp) ValidateAll ¶
func (m *PlayerListResp) ValidateAll() error
ValidateAll checks the field values on PlayerListResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlayerListRespMultiError, or nil if none found.
type PlayerListRespMultiError ¶
type PlayerListRespMultiError []error
PlayerListRespMultiError is an error wrapping multiple validation errors returned by PlayerListResp.ValidateAll() if the designated constraints aren't met.
func (PlayerListRespMultiError) AllErrors ¶
func (m PlayerListRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlayerListRespMultiError) Error ¶
func (m PlayerListRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlayerListRespValidationError ¶
type PlayerListRespValidationError struct {
// contains filtered or unexported fields
}
PlayerListRespValidationError is the validation error returned by PlayerListResp.Validate if the designated constraints aren't met.
func (PlayerListRespValidationError) Cause ¶
func (e PlayerListRespValidationError) Cause() error
Cause function returns cause value.
func (PlayerListRespValidationError) Error ¶
func (e PlayerListRespValidationError) Error() string
Error satisfies the builtin error interface
func (PlayerListRespValidationError) ErrorName ¶
func (e PlayerListRespValidationError) ErrorName() string
ErrorName returns error name.
func (PlayerListRespValidationError) Field ¶
func (e PlayerListRespValidationError) Field() string
Field function returns field value.
func (PlayerListRespValidationError) Key ¶
func (e PlayerListRespValidationError) Key() bool
Key function returns key value.
func (PlayerListRespValidationError) Reason ¶
func (e PlayerListRespValidationError) Reason() string
Reason function returns reason value.
type PlayerOperation ¶
type PlayerOperation int32
Player operation
const ( // kill a specific online player PlayerOperation_Kill PlayerOperation = 0 // kick a specific online player from the server PlayerOperation_Kick PlayerOperation = 1 // make the specific online player change his role PlayerOperation_ReRole PlayerOperation = 2 // / make the specific dead player reborn PlayerOperation_ReBorn PlayerOperation = 3 )
func (PlayerOperation) Descriptor ¶
func (PlayerOperation) Descriptor() protoreflect.EnumDescriptor
func (PlayerOperation) Enum ¶
func (x PlayerOperation) Enum() *PlayerOperation
func (PlayerOperation) EnumDescriptor
deprecated
func (PlayerOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlayerOperation.Descriptor instead.
func (PlayerOperation) Number ¶
func (x PlayerOperation) Number() protoreflect.EnumNumber
func (PlayerOperation) String ¶
func (x PlayerOperation) String() string
func (PlayerOperation) Type ¶
func (PlayerOperation) Type() protoreflect.EnumType
type PlayerServiceClient ¶
type PlayerServiceClient interface { GetPlayerStats(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*PlayerStatisticInfo, error) GetPlayerChatLog(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*PlayerChatLog, error) ExecutePlayer(ctx context.Context, in *ExecutePlayerReq, opts ...grpc.CallOption) (*Notify, error) GetWhiteList(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*PlayerListResp, error) GetBlackList(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*PlayerListResp, error) GetAdminList(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*PlayerListResp, error) AddWhiteList(ctx context.Context, in *PlayerListReq, opts ...grpc.CallOption) (*Notify, error) AddBlackList(ctx context.Context, in *PlayerListReq, opts ...grpc.CallOption) (*Notify, error) AddAdminList(ctx context.Context, in *PlayerListReq, opts ...grpc.CallOption) (*Notify, error) RemoveWhiteList(ctx context.Context, in *PlayerListReq, opts ...grpc.CallOption) (*Notify, error) RemoveBlackList(ctx context.Context, in *PlayerListReq, opts ...grpc.CallOption) (*Notify, error) RemoveAdminList(ctx context.Context, in *PlayerListReq, opts ...grpc.CallOption) (*Notify, error) }
PlayerServiceClient is the client API for PlayerService 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 NewPlayerServiceClient ¶
func NewPlayerServiceClient(cc grpc.ClientConnInterface) PlayerServiceClient
type PlayerServiceServer ¶
type PlayerServiceServer interface { GetPlayerStats(context.Context, *ContainerId) (*PlayerStatisticInfo, error) GetPlayerChatLog(context.Context, *ContainerId) (*PlayerChatLog, error) ExecutePlayer(context.Context, *ExecutePlayerReq) (*Notify, error) GetWhiteList(context.Context, *ContainerId) (*PlayerListResp, error) GetBlackList(context.Context, *ContainerId) (*PlayerListResp, error) GetAdminList(context.Context, *ContainerId) (*PlayerListResp, error) AddWhiteList(context.Context, *PlayerListReq) (*Notify, error) AddBlackList(context.Context, *PlayerListReq) (*Notify, error) AddAdminList(context.Context, *PlayerListReq) (*Notify, error) RemoveWhiteList(context.Context, *PlayerListReq) (*Notify, error) RemoveBlackList(context.Context, *PlayerListReq) (*Notify, error) RemoveAdminList(context.Context, *PlayerListReq) (*Notify, error) // contains filtered or unexported methods }
PlayerServiceServer is the server API for PlayerService service. All implementations must embed UnimplementedPlayerServiceServer for forward compatibility
type PlayerStatisticInfo ¶
type PlayerStatisticInfo struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Online int64 `protobuf:"varint,2,opt,name=online,proto3" json:"online,omitempty"` MasterOnline int64 `protobuf:"varint,3,opt,name=masterOnline,proto3" json:"masterOnline,omitempty"` CaveOnline int64 `protobuf:"varint,4,opt,name=caveOnline,proto3" json:"caveOnline,omitempty"` MasterOnlinePlayer []*PlayerInfo `protobuf:"bytes,6,rep,name=masterOnlinePlayer,proto3" json:"masterOnlinePlayer,omitempty"` CaveOnlinePlayer []*PlayerInfo `protobuf:"bytes,7,rep,name=caveOnlinePlayer,proto3" json:"caveOnlinePlayer,omitempty"` // contains filtered or unexported fields }
server player information
func (*PlayerStatisticInfo) Descriptor
deprecated
func (*PlayerStatisticInfo) Descriptor() ([]byte, []int)
Deprecated: Use PlayerStatisticInfo.ProtoReflect.Descriptor instead.
func (*PlayerStatisticInfo) GetCaveOnline ¶
func (x *PlayerStatisticInfo) GetCaveOnline() int64
func (*PlayerStatisticInfo) GetCaveOnlinePlayer ¶
func (x *PlayerStatisticInfo) GetCaveOnlinePlayer() []*PlayerInfo
func (*PlayerStatisticInfo) GetMasterOnline ¶
func (x *PlayerStatisticInfo) GetMasterOnline() int64
func (*PlayerStatisticInfo) GetMasterOnlinePlayer ¶
func (x *PlayerStatisticInfo) GetMasterOnlinePlayer() []*PlayerInfo
func (*PlayerStatisticInfo) GetOnline ¶
func (x *PlayerStatisticInfo) GetOnline() int64
func (*PlayerStatisticInfo) GetTotal ¶
func (x *PlayerStatisticInfo) GetTotal() int64
func (*PlayerStatisticInfo) ProtoMessage ¶
func (*PlayerStatisticInfo) ProtoMessage()
func (*PlayerStatisticInfo) ProtoReflect ¶
func (x *PlayerStatisticInfo) ProtoReflect() protoreflect.Message
func (*PlayerStatisticInfo) Reset ¶
func (x *PlayerStatisticInfo) Reset()
func (*PlayerStatisticInfo) String ¶
func (x *PlayerStatisticInfo) String() string
func (*PlayerStatisticInfo) Validate ¶
func (m *PlayerStatisticInfo) Validate() error
Validate checks the field values on PlayerStatisticInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PlayerStatisticInfo) ValidateAll ¶
func (m *PlayerStatisticInfo) ValidateAll() error
ValidateAll checks the field values on PlayerStatisticInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlayerStatisticInfoMultiError, or nil if none found.
type PlayerStatisticInfoMultiError ¶
type PlayerStatisticInfoMultiError []error
PlayerStatisticInfoMultiError is an error wrapping multiple validation errors returned by PlayerStatisticInfo.ValidateAll() if the designated constraints aren't met.
func (PlayerStatisticInfoMultiError) AllErrors ¶
func (m PlayerStatisticInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlayerStatisticInfoMultiError) Error ¶
func (m PlayerStatisticInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlayerStatisticInfoValidationError ¶
type PlayerStatisticInfoValidationError struct {
// contains filtered or unexported fields
}
PlayerStatisticInfoValidationError is the validation error returned by PlayerStatisticInfo.Validate if the designated constraints aren't met.
func (PlayerStatisticInfoValidationError) Cause ¶
func (e PlayerStatisticInfoValidationError) Cause() error
Cause function returns cause value.
func (PlayerStatisticInfoValidationError) Error ¶
func (e PlayerStatisticInfoValidationError) Error() string
Error satisfies the builtin error interface
func (PlayerStatisticInfoValidationError) ErrorName ¶
func (e PlayerStatisticInfoValidationError) ErrorName() string
ErrorName returns error name.
func (PlayerStatisticInfoValidationError) Field ¶
func (e PlayerStatisticInfoValidationError) Field() string
Field function returns field value.
func (PlayerStatisticInfoValidationError) Key ¶
func (e PlayerStatisticInfoValidationError) Key() bool
Key function returns key value.
func (PlayerStatisticInfoValidationError) Reason ¶
func (e PlayerStatisticInfoValidationError) Reason() string
Reason function returns reason value.
type PortBind ¶
type PortBind struct { Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` Host int64 `protobuf:"varint,2,opt,name=host,proto3" json:"host,omitempty"` Bind int64 `protobuf:"varint,3,opt,name=bind,proto3" json:"bind,omitempty"` // if auto is true, host will be same as bind Auto bool `protobuf:"varint,4,opt,name=auto,proto3" json:"auto,omitempty"` // contains filtered or unexported fields }
func (*PortBind) Descriptor
deprecated
func (*PortBind) GetProtocol ¶
func (*PortBind) ProtoMessage ¶
func (*PortBind) ProtoMessage()
func (*PortBind) ProtoReflect ¶
func (x *PortBind) ProtoReflect() protoreflect.Message
func (*PortBind) Validate ¶
Validate checks the field values on PortBind with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PortBind) ValidateAll ¶
ValidateAll checks the field values on PortBind with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PortBindMultiError, or nil if none found.
type PortBindMultiError ¶
type PortBindMultiError []error
PortBindMultiError is an error wrapping multiple validation errors returned by PortBind.ValidateAll() if the designated constraints aren't met.
func (PortBindMultiError) AllErrors ¶
func (m PortBindMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PortBindMultiError) Error ¶
func (m PortBindMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PortBindValidationError ¶
type PortBindValidationError struct {
// contains filtered or unexported fields
}
PortBindValidationError is the validation error returned by PortBind.Validate if the designated constraints aren't met.
func (PortBindValidationError) Cause ¶
func (e PortBindValidationError) Cause() error
Cause function returns cause value.
func (PortBindValidationError) Error ¶
func (e PortBindValidationError) Error() string
Error satisfies the builtin error interface
func (PortBindValidationError) ErrorName ¶
func (e PortBindValidationError) ErrorName() string
ErrorName returns error name.
func (PortBindValidationError) Field ¶
func (e PortBindValidationError) Field() string
Field function returns field value.
func (PortBindValidationError) Key ¶
func (e PortBindValidationError) Key() bool
Key function returns key value.
func (PortBindValidationError) Reason ¶
func (e PortBindValidationError) Reason() string
Reason function returns reason value.
type RawModSettings ¶
type RawModSettings struct { Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*RawModSettings) Descriptor
deprecated
func (*RawModSettings) Descriptor() ([]byte, []int)
Deprecated: Use RawModSettings.ProtoReflect.Descriptor instead.
func (*RawModSettings) GetConfig ¶
func (x *RawModSettings) GetConfig() string
func (*RawModSettings) ProtoMessage ¶
func (*RawModSettings) ProtoMessage()
func (*RawModSettings) ProtoReflect ¶
func (x *RawModSettings) ProtoReflect() protoreflect.Message
func (*RawModSettings) Reset ¶
func (x *RawModSettings) Reset()
func (*RawModSettings) String ¶
func (x *RawModSettings) String() string
func (*RawModSettings) Validate ¶
func (m *RawModSettings) Validate() error
Validate checks the field values on RawModSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RawModSettings) ValidateAll ¶
func (m *RawModSettings) ValidateAll() error
ValidateAll checks the field values on RawModSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RawModSettingsMultiError, or nil if none found.
type RawModSettingsMultiError ¶
type RawModSettingsMultiError []error
RawModSettingsMultiError is an error wrapping multiple validation errors returned by RawModSettings.ValidateAll() if the designated constraints aren't met.
func (RawModSettingsMultiError) AllErrors ¶
func (m RawModSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RawModSettingsMultiError) Error ¶
func (m RawModSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RawModSettingsValidationError ¶
type RawModSettingsValidationError struct {
// contains filtered or unexported fields
}
RawModSettingsValidationError is the validation error returned by RawModSettings.Validate if the designated constraints aren't met.
func (RawModSettingsValidationError) Cause ¶
func (e RawModSettingsValidationError) Cause() error
Cause function returns cause value.
func (RawModSettingsValidationError) Error ¶
func (e RawModSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (RawModSettingsValidationError) ErrorName ¶
func (e RawModSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (RawModSettingsValidationError) Field ¶
func (e RawModSettingsValidationError) Field() string
Field function returns field value.
func (RawModSettingsValidationError) Key ¶
func (e RawModSettingsValidationError) Key() bool
Key function returns key value.
func (RawModSettingsValidationError) Reason ¶
func (e RawModSettingsValidationError) Reason() string
Reason function returns reason value.
type RawWorldSetting ¶
type RawWorldSetting struct { RawLuaString string `protobuf:"bytes,1,opt,name=rawLuaString,proto3" json:"rawLuaString,omitempty"` // contains filtered or unexported fields }
func (*RawWorldSetting) Descriptor
deprecated
func (*RawWorldSetting) Descriptor() ([]byte, []int)
Deprecated: Use RawWorldSetting.ProtoReflect.Descriptor instead.
func (*RawWorldSetting) GetRawLuaString ¶
func (x *RawWorldSetting) GetRawLuaString() string
func (*RawWorldSetting) ProtoMessage ¶
func (*RawWorldSetting) ProtoMessage()
func (*RawWorldSetting) ProtoReflect ¶
func (x *RawWorldSetting) ProtoReflect() protoreflect.Message
func (*RawWorldSetting) Reset ¶
func (x *RawWorldSetting) Reset()
func (*RawWorldSetting) String ¶
func (x *RawWorldSetting) String() string
func (*RawWorldSetting) Validate ¶
func (m *RawWorldSetting) Validate() error
Validate checks the field values on RawWorldSetting with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RawWorldSetting) ValidateAll ¶
func (m *RawWorldSetting) ValidateAll() error
ValidateAll checks the field values on RawWorldSetting with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RawWorldSettingMultiError, or nil if none found.
type RawWorldSettingMultiError ¶
type RawWorldSettingMultiError []error
RawWorldSettingMultiError is an error wrapping multiple validation errors returned by RawWorldSetting.ValidateAll() if the designated constraints aren't met.
func (RawWorldSettingMultiError) AllErrors ¶
func (m RawWorldSettingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RawWorldSettingMultiError) Error ¶
func (m RawWorldSettingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RawWorldSettingValidationError ¶
type RawWorldSettingValidationError struct {
// contains filtered or unexported fields
}
RawWorldSettingValidationError is the validation error returned by RawWorldSetting.Validate if the designated constraints aren't met.
func (RawWorldSettingValidationError) Cause ¶
func (e RawWorldSettingValidationError) Cause() error
Cause function returns cause value.
func (RawWorldSettingValidationError) Error ¶
func (e RawWorldSettingValidationError) Error() string
Error satisfies the builtin error interface
func (RawWorldSettingValidationError) ErrorName ¶
func (e RawWorldSettingValidationError) ErrorName() string
ErrorName returns error name.
func (RawWorldSettingValidationError) Field ¶
func (e RawWorldSettingValidationError) Field() string
Field function returns field value.
func (RawWorldSettingValidationError) Key ¶
func (e RawWorldSettingValidationError) Key() bool
Key function returns key value.
func (RawWorldSettingValidationError) Reason ¶
func (e RawWorldSettingValidationError) Reason() string
Reason function returns reason value.
type Resource ¶
type Resource struct { Cpu int64 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory int64 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` Disk int64 `protobuf:"varint,3,opt,name=disk,proto3" json:"disk,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
func (*Resource) Validate ¶
Validate checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Resource) ValidateAll ¶
ValidateAll checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceMultiError, or nil if none found.
type ResourceMultiError ¶
type ResourceMultiError []error
ResourceMultiError is an error wrapping multiple validation errors returned by Resource.ValidateAll() if the designated constraints aren't met.
func (ResourceMultiError) AllErrors ¶
func (m ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceMultiError) Error ¶
func (m ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceValidationError ¶
type ResourceValidationError struct {
// contains filtered or unexported fields
}
ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.
func (ResourceValidationError) Cause ¶
func (e ResourceValidationError) Cause() error
Cause function returns cause value.
func (ResourceValidationError) Error ¶
func (e ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceValidationError) ErrorName ¶
func (e ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceValidationError) Field ¶
func (e ResourceValidationError) Field() string
Field function returns field value.
func (ResourceValidationError) Key ¶
func (e ResourceValidationError) Key() bool
Key function returns key value.
func (ResourceValidationError) Reason ¶
func (e ResourceValidationError) Reason() string
Reason function returns reason value.
type RoomSetting ¶
type RoomSetting struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` Slots int64 `protobuf:"varint,4,opt,name=slots,proto3" json:"slots,omitempty"` Pvp bool `protobuf:"varint,5,opt,name=pvp,proto3" json:"pvp,omitempty"` Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"` Paused bool `protobuf:"varint,7,opt,name=paused,proto3" json:"paused,omitempty"` Vote bool `protobuf:"varint,8,opt,name=vote,proto3" json:"vote,omitempty"` Kick bool `protobuf:"varint,9,opt,name=kick,proto3" json:"kick,omitempty"` // contains filtered or unexported fields }
func (*RoomSetting) Descriptor
deprecated
func (*RoomSetting) Descriptor() ([]byte, []int)
Deprecated: Use RoomSetting.ProtoReflect.Descriptor instead.
func (*RoomSetting) GetDescription ¶
func (x *RoomSetting) GetDescription() string
func (*RoomSetting) GetKick ¶
func (x *RoomSetting) GetKick() bool
func (*RoomSetting) GetMode ¶
func (x *RoomSetting) GetMode() string
func (*RoomSetting) GetName ¶
func (x *RoomSetting) GetName() string
func (*RoomSetting) GetPassword ¶
func (x *RoomSetting) GetPassword() string
func (*RoomSetting) GetPaused ¶
func (x *RoomSetting) GetPaused() bool
func (*RoomSetting) GetPvp ¶
func (x *RoomSetting) GetPvp() bool
func (*RoomSetting) GetSlots ¶
func (x *RoomSetting) GetSlots() int64
func (*RoomSetting) GetVote ¶
func (x *RoomSetting) GetVote() bool
func (*RoomSetting) ProtoMessage ¶
func (*RoomSetting) ProtoMessage()
func (*RoomSetting) ProtoReflect ¶
func (x *RoomSetting) ProtoReflect() protoreflect.Message
func (*RoomSetting) Reset ¶
func (x *RoomSetting) Reset()
func (*RoomSetting) String ¶
func (x *RoomSetting) String() string
func (*RoomSetting) Validate ¶
func (m *RoomSetting) Validate() error
Validate checks the field values on RoomSetting with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoomSetting) ValidateAll ¶
func (m *RoomSetting) ValidateAll() error
ValidateAll checks the field values on RoomSetting with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoomSettingMultiError, or nil if none found.
type RoomSettingMultiError ¶
type RoomSettingMultiError []error
RoomSettingMultiError is an error wrapping multiple validation errors returned by RoomSetting.ValidateAll() if the designated constraints aren't met.
func (RoomSettingMultiError) AllErrors ¶
func (m RoomSettingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoomSettingMultiError) Error ¶
func (m RoomSettingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoomSettingValidationError ¶
type RoomSettingValidationError struct {
// contains filtered or unexported fields
}
RoomSettingValidationError is the validation error returned by RoomSetting.Validate if the designated constraints aren't met.
func (RoomSettingValidationError) Cause ¶
func (e RoomSettingValidationError) Cause() error
Cause function returns cause value.
func (RoomSettingValidationError) Error ¶
func (e RoomSettingValidationError) Error() string
Error satisfies the builtin error interface
func (RoomSettingValidationError) ErrorName ¶
func (e RoomSettingValidationError) ErrorName() string
ErrorName returns error name.
func (RoomSettingValidationError) Field ¶
func (e RoomSettingValidationError) Field() string
Field function returns field value.
func (RoomSettingValidationError) Key ¶
func (e RoomSettingValidationError) Key() bool
Key function returns key value.
func (RoomSettingValidationError) Reason ¶
func (e RoomSettingValidationError) Reason() string
Reason function returns reason value.
type SaveModSettingsReq ¶
type SaveModSettingsReq struct { InstanceId *ContainerId `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Settings *ModSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*SaveModSettingsReq) Descriptor
deprecated
func (*SaveModSettingsReq) Descriptor() ([]byte, []int)
Deprecated: Use SaveModSettingsReq.ProtoReflect.Descriptor instead.
func (*SaveModSettingsReq) GetInstanceId ¶
func (x *SaveModSettingsReq) GetInstanceId() *ContainerId
func (*SaveModSettingsReq) GetSettings ¶
func (x *SaveModSettingsReq) GetSettings() *ModSettings
func (*SaveModSettingsReq) ProtoMessage ¶
func (*SaveModSettingsReq) ProtoMessage()
func (*SaveModSettingsReq) ProtoReflect ¶
func (x *SaveModSettingsReq) ProtoReflect() protoreflect.Message
func (*SaveModSettingsReq) Reset ¶
func (x *SaveModSettingsReq) Reset()
func (*SaveModSettingsReq) String ¶
func (x *SaveModSettingsReq) String() string
func (*SaveModSettingsReq) Validate ¶
func (m *SaveModSettingsReq) Validate() error
Validate checks the field values on SaveModSettingsReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SaveModSettingsReq) ValidateAll ¶
func (m *SaveModSettingsReq) ValidateAll() error
ValidateAll checks the field values on SaveModSettingsReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SaveModSettingsReqMultiError, or nil if none found.
type SaveModSettingsReqMultiError ¶
type SaveModSettingsReqMultiError []error
SaveModSettingsReqMultiError is an error wrapping multiple validation errors returned by SaveModSettingsReq.ValidateAll() if the designated constraints aren't met.
func (SaveModSettingsReqMultiError) AllErrors ¶
func (m SaveModSettingsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SaveModSettingsReqMultiError) Error ¶
func (m SaveModSettingsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SaveModSettingsReqValidationError ¶
type SaveModSettingsReqValidationError struct {
// contains filtered or unexported fields
}
SaveModSettingsReqValidationError is the validation error returned by SaveModSettingsReq.Validate if the designated constraints aren't met.
func (SaveModSettingsReqValidationError) Cause ¶
func (e SaveModSettingsReqValidationError) Cause() error
Cause function returns cause value.
func (SaveModSettingsReqValidationError) Error ¶
func (e SaveModSettingsReqValidationError) Error() string
Error satisfies the builtin error interface
func (SaveModSettingsReqValidationError) ErrorName ¶
func (e SaveModSettingsReqValidationError) ErrorName() string
ErrorName returns error name.
func (SaveModSettingsReqValidationError) Field ¶
func (e SaveModSettingsReqValidationError) Field() string
Field function returns field value.
func (SaveModSettingsReqValidationError) Key ¶
func (e SaveModSettingsReqValidationError) Key() bool
Key function returns key value.
func (SaveModSettingsReqValidationError) Reason ¶
func (e SaveModSettingsReqValidationError) Reason() string
Reason function returns reason value.
type SaveRawModSettingsReq ¶
type SaveRawModSettingsReq struct { InstanceId *ContainerId `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Settings string `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*SaveRawModSettingsReq) Descriptor
deprecated
func (*SaveRawModSettingsReq) Descriptor() ([]byte, []int)
Deprecated: Use SaveRawModSettingsReq.ProtoReflect.Descriptor instead.
func (*SaveRawModSettingsReq) GetInstanceId ¶
func (x *SaveRawModSettingsReq) GetInstanceId() *ContainerId
func (*SaveRawModSettingsReq) GetSettings ¶
func (x *SaveRawModSettingsReq) GetSettings() string
func (*SaveRawModSettingsReq) ProtoMessage ¶
func (*SaveRawModSettingsReq) ProtoMessage()
func (*SaveRawModSettingsReq) ProtoReflect ¶
func (x *SaveRawModSettingsReq) ProtoReflect() protoreflect.Message
func (*SaveRawModSettingsReq) Reset ¶
func (x *SaveRawModSettingsReq) Reset()
func (*SaveRawModSettingsReq) String ¶
func (x *SaveRawModSettingsReq) String() string
func (*SaveRawModSettingsReq) Validate ¶
func (m *SaveRawModSettingsReq) Validate() error
Validate checks the field values on SaveRawModSettingsReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SaveRawModSettingsReq) ValidateAll ¶
func (m *SaveRawModSettingsReq) ValidateAll() error
ValidateAll checks the field values on SaveRawModSettingsReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SaveRawModSettingsReqMultiError, or nil if none found.
type SaveRawModSettingsReqMultiError ¶
type SaveRawModSettingsReqMultiError []error
SaveRawModSettingsReqMultiError is an error wrapping multiple validation errors returned by SaveRawModSettingsReq.ValidateAll() if the designated constraints aren't met.
func (SaveRawModSettingsReqMultiError) AllErrors ¶
func (m SaveRawModSettingsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SaveRawModSettingsReqMultiError) Error ¶
func (m SaveRawModSettingsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SaveRawModSettingsReqValidationError ¶
type SaveRawModSettingsReqValidationError struct {
// contains filtered or unexported fields
}
SaveRawModSettingsReqValidationError is the validation error returned by SaveRawModSettingsReq.Validate if the designated constraints aren't met.
func (SaveRawModSettingsReqValidationError) Cause ¶
func (e SaveRawModSettingsReqValidationError) Cause() error
Cause function returns cause value.
func (SaveRawModSettingsReqValidationError) Error ¶
func (e SaveRawModSettingsReqValidationError) Error() string
Error satisfies the builtin error interface
func (SaveRawModSettingsReqValidationError) ErrorName ¶
func (e SaveRawModSettingsReqValidationError) ErrorName() string
ErrorName returns error name.
func (SaveRawModSettingsReqValidationError) Field ¶
func (e SaveRawModSettingsReqValidationError) Field() string
Field function returns field value.
func (SaveRawModSettingsReqValidationError) Key ¶
func (e SaveRawModSettingsReqValidationError) Key() bool
Key function returns key value.
func (SaveRawModSettingsReqValidationError) Reason ¶
func (e SaveRawModSettingsReqValidationError) Reason() string
Reason function returns reason value.
type ServerState ¶
type ServerState int32
const ( ServerState_Running ServerState = 0 ServerState_Starting ServerState = 1 ServerState_Stopping ServerState = 2 ServerState_Stopped ServerState = 3 )
func (ServerState) Descriptor ¶
func (ServerState) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (ServerState) Type() protoreflect.EnumType
type SettingPair ¶
type SettingPair struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SettingPair) Descriptor
deprecated
func (*SettingPair) Descriptor() ([]byte, []int)
Deprecated: Use SettingPair.ProtoReflect.Descriptor instead.
func (*SettingPair) GetKey ¶
func (x *SettingPair) GetKey() string
func (*SettingPair) GetValue ¶
func (x *SettingPair) GetValue() string
func (*SettingPair) ProtoMessage ¶
func (*SettingPair) ProtoMessage()
func (*SettingPair) ProtoReflect ¶
func (x *SettingPair) ProtoReflect() protoreflect.Message
func (*SettingPair) Reset ¶
func (x *SettingPair) Reset()
func (*SettingPair) String ¶
func (x *SettingPair) String() string
func (*SettingPair) Validate ¶
func (m *SettingPair) Validate() error
Validate checks the field values on SettingPair with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SettingPair) ValidateAll ¶
func (m *SettingPair) ValidateAll() error
ValidateAll checks the field values on SettingPair with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SettingPairMultiError, or nil if none found.
type SettingPairMultiError ¶
type SettingPairMultiError []error
SettingPairMultiError is an error wrapping multiple validation errors returned by SettingPair.ValidateAll() if the designated constraints aren't met.
func (SettingPairMultiError) AllErrors ¶
func (m SettingPairMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SettingPairMultiError) Error ¶
func (m SettingPairMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SettingPairValidationError ¶
type SettingPairValidationError struct {
// contains filtered or unexported fields
}
SettingPairValidationError is the validation error returned by SettingPair.Validate if the designated constraints aren't met.
func (SettingPairValidationError) Cause ¶
func (e SettingPairValidationError) Cause() error
Cause function returns cause value.
func (SettingPairValidationError) Error ¶
func (e SettingPairValidationError) Error() string
Error satisfies the builtin error interface
func (SettingPairValidationError) ErrorName ¶
func (e SettingPairValidationError) ErrorName() string
ErrorName returns error name.
func (SettingPairValidationError) Field ¶
func (e SettingPairValidationError) Field() string
Field function returns field value.
func (SettingPairValidationError) Key ¶
func (e SettingPairValidationError) Key() bool
Key function returns key value.
func (SettingPairValidationError) Reason ¶
func (e SettingPairValidationError) Reason() string
Reason function returns reason value.
type SettingServiceClient ¶
type SettingServiceClient interface { GetRoomSetting(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*RoomSetting, error) SaveRoomSetting(ctx context.Context, in *RoomSetting, opts ...grpc.CallOption) (*Notify, error) GetWorldSetting(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*WorldSetting, error) SaveWorldSetting(ctx context.Context, in *WorldSetting, opts ...grpc.CallOption) (*Notify, error) GetRawWorldSetting(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*RawWorldSetting, error) SaveRawWorldSetting(ctx context.Context, in *RawWorldSetting, opts ...grpc.CallOption) (*Notify, error) }
SettingServiceClient is the client API for SettingService 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 NewSettingServiceClient ¶
func NewSettingServiceClient(cc grpc.ClientConnInterface) SettingServiceClient
type SettingServiceServer ¶
type SettingServiceServer interface { GetRoomSetting(context.Context, *ContainerId) (*RoomSetting, error) SaveRoomSetting(context.Context, *RoomSetting) (*Notify, error) GetWorldSetting(context.Context, *ContainerId) (*WorldSetting, error) SaveWorldSetting(context.Context, *WorldSetting) (*Notify, error) GetRawWorldSetting(context.Context, *ContainerId) (*RawWorldSetting, error) SaveRawWorldSetting(context.Context, *RawWorldSetting) (*Notify, error) // contains filtered or unexported methods }
SettingServiceServer is the server API for SettingService service. All implementations must embed UnimplementedSettingServiceServer for forward compatibility
type ShardServiceClient ¶
type ShardServiceClient interface { Start(ctx context.Context, in *ControlRequest, opts ...grpc.CallOption) (*Notify, error) ReStart(ctx context.Context, in *ControlRequest, opts ...grpc.CallOption) (*Notify, error) Stop(ctx context.Context, in *ControlRequest, opts ...grpc.CallOption) (*Notify, error) State(ctx context.Context, in *ControlRequest, opts ...grpc.CallOption) (*StateResp, error) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (*LogsResponse, error) Execute(ctx context.Context, in *CommandRequest, opts ...grpc.CallOption) (*Notify, error) Version(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*VersionResp, error) Update(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) RollBack(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) Reset(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) Clear(ctx context.Context, in *ContainerId, opts ...grpc.CallOption) (*Notify, error) }
ShardServiceClient is the client API for ShardService 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 NewShardServiceClient ¶
func NewShardServiceClient(cc grpc.ClientConnInterface) ShardServiceClient
type ShardServiceServer ¶
type ShardServiceServer interface { Start(context.Context, *ControlRequest) (*Notify, error) ReStart(context.Context, *ControlRequest) (*Notify, error) Stop(context.Context, *ControlRequest) (*Notify, error) State(context.Context, *ControlRequest) (*StateResp, error) Logs(context.Context, *LogsRequest) (*LogsResponse, error) Execute(context.Context, *CommandRequest) (*Notify, error) Version(context.Context, *ContainerId) (*VersionResp, error) Update(context.Context, *ContainerId) (*Notify, error) RollBack(context.Context, *ContainerId) (*Notify, error) Reset(context.Context, *ContainerId) (*Notify, error) Clear(context.Context, *ContainerId) (*Notify, error) // contains filtered or unexported methods }
ShardServiceServer is the server API for ShardService service. All implementations must embed UnimplementedShardServiceServer for forward compatibility
type StateResp ¶
type StateResp struct { State ServerState `protobuf:"varint,1,opt,name=state,proto3,enum=shard.ServerState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*StateResp) Descriptor
deprecated
func (*StateResp) GetState ¶
func (x *StateResp) GetState() ServerState
func (*StateResp) ProtoMessage ¶
func (*StateResp) ProtoMessage()
func (*StateResp) ProtoReflect ¶
func (x *StateResp) ProtoReflect() protoreflect.Message
func (*StateResp) Validate ¶
Validate checks the field values on StateResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StateResp) ValidateAll ¶
ValidateAll checks the field values on StateResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StateRespMultiError, or nil if none found.
type StateRespMultiError ¶
type StateRespMultiError []error
StateRespMultiError is an error wrapping multiple validation errors returned by StateResp.ValidateAll() if the designated constraints aren't met.
func (StateRespMultiError) AllErrors ¶
func (m StateRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StateRespMultiError) Error ¶
func (m StateRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StateRespValidationError ¶
type StateRespValidationError struct {
// contains filtered or unexported fields
}
StateRespValidationError is the validation error returned by StateResp.Validate if the designated constraints aren't met.
func (StateRespValidationError) Cause ¶
func (e StateRespValidationError) Cause() error
Cause function returns cause value.
func (StateRespValidationError) Error ¶
func (e StateRespValidationError) Error() string
Error satisfies the builtin error interface
func (StateRespValidationError) ErrorName ¶
func (e StateRespValidationError) ErrorName() string
ErrorName returns error name.
func (StateRespValidationError) Field ¶
func (e StateRespValidationError) Field() string
Field function returns field value.
func (StateRespValidationError) Key ¶
func (e StateRespValidationError) Key() bool
Key function returns key value.
func (StateRespValidationError) Reason ¶
func (e StateRespValidationError) Reason() string
Reason function returns reason value.
type SystemInfo ¶
type SystemInfo struct { Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"` OsVersion string `protobuf:"bytes,2,opt,name=osVersion,proto3" json:"osVersion,omitempty"` Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"` GoVersion string `protobuf:"bytes,4,opt,name=goVersion,proto3" json:"goVersion,omitempty"` BuildVersion string `protobuf:"bytes,5,opt,name=buildVersion,proto3" json:"buildVersion,omitempty"` Docker *DockerInfo `protobuf:"bytes,6,opt,name=docker,proto3" json:"docker,omitempty"` Resource *Resource `protobuf:"bytes,7,opt,name=resource,proto3" json:"resource,omitempty"` CpuModel string `protobuf:"bytes,8,opt,name=cpuModel,proto3" json:"cpuModel,omitempty"` // contains filtered or unexported fields }
func (*SystemInfo) Descriptor
deprecated
func (*SystemInfo) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.
func (*SystemInfo) GetArch ¶
func (x *SystemInfo) GetArch() string
func (*SystemInfo) GetBuildVersion ¶
func (x *SystemInfo) GetBuildVersion() string
func (*SystemInfo) GetCpuModel ¶
func (x *SystemInfo) GetCpuModel() string
func (*SystemInfo) GetDocker ¶
func (x *SystemInfo) GetDocker() *DockerInfo
func (*SystemInfo) GetGoVersion ¶
func (x *SystemInfo) GetGoVersion() string
func (*SystemInfo) GetOs ¶
func (x *SystemInfo) GetOs() string
func (*SystemInfo) GetOsVersion ¶
func (x *SystemInfo) GetOsVersion() string
func (*SystemInfo) GetResource ¶
func (x *SystemInfo) GetResource() *Resource
func (*SystemInfo) ProtoMessage ¶
func (*SystemInfo) ProtoMessage()
func (*SystemInfo) ProtoReflect ¶
func (x *SystemInfo) ProtoReflect() protoreflect.Message
func (*SystemInfo) Reset ¶
func (x *SystemInfo) Reset()
func (*SystemInfo) String ¶
func (x *SystemInfo) String() string
func (*SystemInfo) Validate ¶
func (m *SystemInfo) Validate() error
Validate checks the field values on SystemInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SystemInfo) ValidateAll ¶
func (m *SystemInfo) ValidateAll() error
ValidateAll checks the field values on SystemInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SystemInfoMultiError, or nil if none found.
type SystemInfoMultiError ¶
type SystemInfoMultiError []error
SystemInfoMultiError is an error wrapping multiple validation errors returned by SystemInfo.ValidateAll() if the designated constraints aren't met.
func (SystemInfoMultiError) AllErrors ¶
func (m SystemInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SystemInfoMultiError) Error ¶
func (m SystemInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SystemInfoValidationError ¶
type SystemInfoValidationError struct {
// contains filtered or unexported fields
}
SystemInfoValidationError is the validation error returned by SystemInfo.Validate if the designated constraints aren't met.
func (SystemInfoValidationError) Cause ¶
func (e SystemInfoValidationError) Cause() error
Cause function returns cause value.
func (SystemInfoValidationError) Error ¶
func (e SystemInfoValidationError) Error() string
Error satisfies the builtin error interface
func (SystemInfoValidationError) ErrorName ¶
func (e SystemInfoValidationError) ErrorName() string
ErrorName returns error name.
func (SystemInfoValidationError) Field ¶
func (e SystemInfoValidationError) Field() string
Field function returns field value.
func (SystemInfoValidationError) Key ¶
func (e SystemInfoValidationError) Key() bool
Key function returns key value.
func (SystemInfoValidationError) Reason ¶
func (e SystemInfoValidationError) Reason() string
Reason function returns reason value.
type UnimplementedArchiveServiceServer ¶
type UnimplementedArchiveServiceServer struct { }
UnimplementedArchiveServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedArchiveServiceServer) CreateBackup ¶
func (UnimplementedArchiveServiceServer) DeleteBackUp ¶
func (UnimplementedArchiveServiceServer) DownloadBackup ¶
func (UnimplementedArchiveServiceServer) DownloadBackup(context.Context, *BackupOpt) (*BackupFile, error)
func (UnimplementedArchiveServiceServer) Info ¶
func (UnimplementedArchiveServiceServer) Info(context.Context, *ContainerId) (*ArchiveInfo, error)
func (UnimplementedArchiveServiceServer) ListBackups ¶
func (UnimplementedArchiveServiceServer) ListBackups(context.Context, *ContainerId) (*BackUpList, error)
func (UnimplementedArchiveServiceServer) RestoreBackUp ¶
func (UnimplementedArchiveServiceServer) UploadBackup ¶
func (UnimplementedArchiveServiceServer) UploadBackup(context.Context, *BackupFile) (*Notify, error)
type UnimplementedContainerServiceServer ¶
type UnimplementedContainerServiceServer struct { }
UnimplementedContainerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedContainerServiceServer) Create ¶
func (UnimplementedContainerServiceServer) Create(context.Context, *CreateContainerReq) (*CreateContainerResp, error)
func (UnimplementedContainerServiceServer) Delete ¶
func (UnimplementedContainerServiceServer) Delete(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedContainerServiceServer) ForceDelete ¶
func (UnimplementedContainerServiceServer) ForceDelete(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedContainerServiceServer) List ¶
func (UnimplementedContainerServiceServer) List(context.Context, *ListContainerReq) (*ListContainerResp, error)
func (UnimplementedContainerServiceServer) Log ¶
func (UnimplementedContainerServiceServer) Log(context.Context, *LogContainerReq) (*ContainerLog, error)
func (UnimplementedContainerServiceServer) Restart ¶
func (UnimplementedContainerServiceServer) Restart(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedContainerServiceServer) Start ¶
func (UnimplementedContainerServiceServer) Start(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedContainerServiceServer) Stats ¶
func (UnimplementedContainerServiceServer) Stats(context.Context, *ContainerId) (*HealthInfo, error)
func (UnimplementedContainerServiceServer) Stop ¶
func (UnimplementedContainerServiceServer) Stop(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedContainerServiceServer) UpdateQuota ¶
type UnimplementedCronJobServiceServer ¶
type UnimplementedCronJobServiceServer struct { }
UnimplementedCronJobServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCronJobServiceServer) Create ¶
func (UnimplementedCronJobServiceServer) Create(context.Context, *CreateJobReq) (*Notify, error)
func (UnimplementedCronJobServiceServer) Delete ¶
func (UnimplementedCronJobServiceServer) Delete(context.Context, *CreateJobReq) (*Notify, error)
func (UnimplementedCronJobServiceServer) List ¶
func (UnimplementedCronJobServiceServer) List(context.Context, *CreateJobReq) (*JobList, error)
type UnimplementedDaemonServiceServer ¶
type UnimplementedDaemonServiceServer struct { }
UnimplementedDaemonServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDaemonServiceServer) HealthCheck ¶
func (UnimplementedDaemonServiceServer) HealthCheck(context.Context, *emptypb.Empty) (*HealthInfo, error)
func (UnimplementedDaemonServiceServer) HostInfo ¶
func (UnimplementedDaemonServiceServer) HostInfo(context.Context, *emptypb.Empty) (*SystemInfo, error)
type UnimplementedImageServiceServer ¶
type UnimplementedImageServiceServer struct { }
UnimplementedImageServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedImageServiceServer) List ¶
func (UnimplementedImageServiceServer) List(context.Context, *ListImagesReq) (*ListImageResult, error)
type UnimplementedModServiceServer ¶
type UnimplementedModServiceServer struct { }
UnimplementedModServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedModServiceServer) CheckUpdate ¶
func (UnimplementedModServiceServer) CheckUpdate(context.Context, *ContainerId) (*CheckUpdateResult, error)
func (UnimplementedModServiceServer) GetModSettings ¶
func (UnimplementedModServiceServer) GetModSettings(context.Context, *ContainerId) (*ModSettings, error)
func (UnimplementedModServiceServer) GetRawModSettings ¶
func (UnimplementedModServiceServer) GetRawModSettings(context.Context, *ContainerId) (*RawModSettings, error)
func (UnimplementedModServiceServer) GetWorkShopModList ¶
func (UnimplementedModServiceServer) GetWorkShopModList(context.Context, *ModListReq) (*ModListResp, error)
func (UnimplementedModServiceServer) SaveModSettings ¶
func (UnimplementedModServiceServer) SaveModSettings(context.Context, *SaveModSettingsReq) (*Notify, error)
func (UnimplementedModServiceServer) SaveRawModSettings ¶
func (UnimplementedModServiceServer) SaveRawModSettings(context.Context, *SaveRawModSettingsReq) (*Notify, error)
func (UnimplementedModServiceServer) Unsubscribe ¶
type UnimplementedPlayerServiceServer ¶
type UnimplementedPlayerServiceServer struct { }
UnimplementedPlayerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPlayerServiceServer) AddAdminList ¶
func (UnimplementedPlayerServiceServer) AddAdminList(context.Context, *PlayerListReq) (*Notify, error)
func (UnimplementedPlayerServiceServer) AddBlackList ¶
func (UnimplementedPlayerServiceServer) AddBlackList(context.Context, *PlayerListReq) (*Notify, error)
func (UnimplementedPlayerServiceServer) AddWhiteList ¶
func (UnimplementedPlayerServiceServer) AddWhiteList(context.Context, *PlayerListReq) (*Notify, error)
func (UnimplementedPlayerServiceServer) ExecutePlayer ¶
func (UnimplementedPlayerServiceServer) ExecutePlayer(context.Context, *ExecutePlayerReq) (*Notify, error)
func (UnimplementedPlayerServiceServer) GetAdminList ¶
func (UnimplementedPlayerServiceServer) GetAdminList(context.Context, *ContainerId) (*PlayerListResp, error)
func (UnimplementedPlayerServiceServer) GetBlackList ¶
func (UnimplementedPlayerServiceServer) GetBlackList(context.Context, *ContainerId) (*PlayerListResp, error)
func (UnimplementedPlayerServiceServer) GetPlayerChatLog ¶
func (UnimplementedPlayerServiceServer) GetPlayerChatLog(context.Context, *ContainerId) (*PlayerChatLog, error)
func (UnimplementedPlayerServiceServer) GetPlayerStats ¶
func (UnimplementedPlayerServiceServer) GetPlayerStats(context.Context, *ContainerId) (*PlayerStatisticInfo, error)
func (UnimplementedPlayerServiceServer) GetWhiteList ¶
func (UnimplementedPlayerServiceServer) GetWhiteList(context.Context, *ContainerId) (*PlayerListResp, error)
func (UnimplementedPlayerServiceServer) RemoveAdminList ¶
func (UnimplementedPlayerServiceServer) RemoveAdminList(context.Context, *PlayerListReq) (*Notify, error)
func (UnimplementedPlayerServiceServer) RemoveBlackList ¶
func (UnimplementedPlayerServiceServer) RemoveBlackList(context.Context, *PlayerListReq) (*Notify, error)
func (UnimplementedPlayerServiceServer) RemoveWhiteList ¶
func (UnimplementedPlayerServiceServer) RemoveWhiteList(context.Context, *PlayerListReq) (*Notify, error)
type UnimplementedSettingServiceServer ¶
type UnimplementedSettingServiceServer struct { }
UnimplementedSettingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSettingServiceServer) GetRawWorldSetting ¶
func (UnimplementedSettingServiceServer) GetRawWorldSetting(context.Context, *ContainerId) (*RawWorldSetting, error)
func (UnimplementedSettingServiceServer) GetRoomSetting ¶
func (UnimplementedSettingServiceServer) GetRoomSetting(context.Context, *ContainerId) (*RoomSetting, error)
func (UnimplementedSettingServiceServer) GetWorldSetting ¶
func (UnimplementedSettingServiceServer) GetWorldSetting(context.Context, *ContainerId) (*WorldSetting, error)
func (UnimplementedSettingServiceServer) SaveRawWorldSetting ¶
func (UnimplementedSettingServiceServer) SaveRawWorldSetting(context.Context, *RawWorldSetting) (*Notify, error)
func (UnimplementedSettingServiceServer) SaveRoomSetting ¶
func (UnimplementedSettingServiceServer) SaveRoomSetting(context.Context, *RoomSetting) (*Notify, error)
func (UnimplementedSettingServiceServer) SaveWorldSetting ¶
func (UnimplementedSettingServiceServer) SaveWorldSetting(context.Context, *WorldSetting) (*Notify, error)
type UnimplementedShardServiceServer ¶
type UnimplementedShardServiceServer struct { }
UnimplementedShardServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedShardServiceServer) Clear ¶
func (UnimplementedShardServiceServer) Clear(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedShardServiceServer) Execute ¶
func (UnimplementedShardServiceServer) Execute(context.Context, *CommandRequest) (*Notify, error)
func (UnimplementedShardServiceServer) Logs ¶
func (UnimplementedShardServiceServer) Logs(context.Context, *LogsRequest) (*LogsResponse, error)
func (UnimplementedShardServiceServer) ReStart ¶
func (UnimplementedShardServiceServer) ReStart(context.Context, *ControlRequest) (*Notify, error)
func (UnimplementedShardServiceServer) Reset ¶
func (UnimplementedShardServiceServer) Reset(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedShardServiceServer) RollBack ¶
func (UnimplementedShardServiceServer) RollBack(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedShardServiceServer) Start ¶
func (UnimplementedShardServiceServer) Start(context.Context, *ControlRequest) (*Notify, error)
func (UnimplementedShardServiceServer) State ¶
func (UnimplementedShardServiceServer) State(context.Context, *ControlRequest) (*StateResp, error)
func (UnimplementedShardServiceServer) Stop ¶
func (UnimplementedShardServiceServer) Stop(context.Context, *ControlRequest) (*Notify, error)
func (UnimplementedShardServiceServer) Update ¶
func (UnimplementedShardServiceServer) Update(context.Context, *ContainerId) (*Notify, error)
func (UnimplementedShardServiceServer) Version ¶
func (UnimplementedShardServiceServer) Version(context.Context, *ContainerId) (*VersionResp, error)
type UnsafeArchiveServiceServer ¶
type UnsafeArchiveServiceServer interface {
// contains filtered or unexported methods
}
UnsafeArchiveServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ArchiveServiceServer will result in compilation errors.
type UnsafeContainerServiceServer ¶
type UnsafeContainerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeContainerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContainerServiceServer will result in compilation errors.
type UnsafeCronJobServiceServer ¶
type UnsafeCronJobServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCronJobServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CronJobServiceServer will result in compilation errors.
type UnsafeDaemonServiceServer ¶
type UnsafeDaemonServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDaemonServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaemonServiceServer will result in compilation errors.
type UnsafeImageServiceServer ¶
type UnsafeImageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeImageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImageServiceServer will result in compilation errors.
type UnsafeModServiceServer ¶
type UnsafeModServiceServer interface {
// contains filtered or unexported methods
}
UnsafeModServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModServiceServer will result in compilation errors.
type UnsafePlayerServiceServer ¶
type UnsafePlayerServiceServer interface {
// contains filtered or unexported methods
}
UnsafePlayerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlayerServiceServer will result in compilation errors.
type UnsafeSettingServiceServer ¶
type UnsafeSettingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSettingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SettingServiceServer will result in compilation errors.
type UnsafeShardServiceServer ¶
type UnsafeShardServiceServer interface {
// contains filtered or unexported methods
}
UnsafeShardServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShardServiceServer will result in compilation errors.
type VersionResp ¶
type VersionResp struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResp) Descriptor
deprecated
func (*VersionResp) Descriptor() ([]byte, []int)
Deprecated: Use VersionResp.ProtoReflect.Descriptor instead.
func (*VersionResp) GetVersion ¶
func (x *VersionResp) GetVersion() string
func (*VersionResp) ProtoMessage ¶
func (*VersionResp) ProtoMessage()
func (*VersionResp) ProtoReflect ¶
func (x *VersionResp) ProtoReflect() protoreflect.Message
func (*VersionResp) Reset ¶
func (x *VersionResp) Reset()
func (*VersionResp) String ¶
func (x *VersionResp) String() string
func (*VersionResp) Validate ¶
func (m *VersionResp) Validate() error
Validate checks the field values on VersionResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VersionResp) ValidateAll ¶
func (m *VersionResp) ValidateAll() error
ValidateAll checks the field values on VersionResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VersionRespMultiError, or nil if none found.
type VersionRespMultiError ¶
type VersionRespMultiError []error
VersionRespMultiError is an error wrapping multiple validation errors returned by VersionResp.ValidateAll() if the designated constraints aren't met.
func (VersionRespMultiError) AllErrors ¶
func (m VersionRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionRespMultiError) Error ¶
func (m VersionRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionRespValidationError ¶
type VersionRespValidationError struct {
// contains filtered or unexported fields
}
VersionRespValidationError is the validation error returned by VersionResp.Validate if the designated constraints aren't met.
func (VersionRespValidationError) Cause ¶
func (e VersionRespValidationError) Cause() error
Cause function returns cause value.
func (VersionRespValidationError) Error ¶
func (e VersionRespValidationError) Error() string
Error satisfies the builtin error interface
func (VersionRespValidationError) ErrorName ¶
func (e VersionRespValidationError) ErrorName() string
ErrorName returns error name.
func (VersionRespValidationError) Field ¶
func (e VersionRespValidationError) Field() string
Field function returns field value.
func (VersionRespValidationError) Key ¶
func (e VersionRespValidationError) Key() bool
Key function returns key value.
func (VersionRespValidationError) Reason ¶
func (e VersionRespValidationError) Reason() string
Reason function returns reason value.
type Volume ¶
type Volume struct { VType string `protobuf:"bytes,1,opt,name=vType,proto3" json:"vType,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Bind string `protobuf:"bytes,3,opt,name=bind,proto3" json:"bind,omitempty"` // contains filtered or unexported fields }
func (*Volume) Descriptor
deprecated
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
func (*Volume) Validate ¶
Validate checks the field values on Volume with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Volume) ValidateAll ¶
ValidateAll checks the field values on Volume with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VolumeMultiError, or nil if none found.
type VolumeMultiError ¶
type VolumeMultiError []error
VolumeMultiError is an error wrapping multiple validation errors returned by Volume.ValidateAll() if the designated constraints aren't met.
func (VolumeMultiError) AllErrors ¶
func (m VolumeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VolumeMultiError) Error ¶
func (m VolumeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VolumeValidationError ¶
type VolumeValidationError struct {
// contains filtered or unexported fields
}
VolumeValidationError is the validation error returned by Volume.Validate if the designated constraints aren't met.
func (VolumeValidationError) Cause ¶
func (e VolumeValidationError) Cause() error
Cause function returns cause value.
func (VolumeValidationError) Error ¶
func (e VolumeValidationError) Error() string
Error satisfies the builtin error interface
func (VolumeValidationError) ErrorName ¶
func (e VolumeValidationError) ErrorName() string
ErrorName returns error name.
func (VolumeValidationError) Field ¶
func (e VolumeValidationError) Field() string
Field function returns field value.
func (VolumeValidationError) Key ¶
func (e VolumeValidationError) Key() bool
Key function returns key value.
func (VolumeValidationError) Reason ¶
func (e VolumeValidationError) Reason() string
Reason function returns reason value.
type WorldSetting ¶
type WorldSetting struct { Master []*SettingPair `protobuf:"bytes,1,rep,name=master,proto3" json:"master,omitempty"` Cave []*SettingPair `protobuf:"bytes,2,rep,name=cave,proto3" json:"cave,omitempty"` // contains filtered or unexported fields }
func (*WorldSetting) Descriptor
deprecated
func (*WorldSetting) Descriptor() ([]byte, []int)
Deprecated: Use WorldSetting.ProtoReflect.Descriptor instead.
func (*WorldSetting) GetCave ¶
func (x *WorldSetting) GetCave() []*SettingPair
func (*WorldSetting) GetMaster ¶
func (x *WorldSetting) GetMaster() []*SettingPair
func (*WorldSetting) ProtoMessage ¶
func (*WorldSetting) ProtoMessage()
func (*WorldSetting) ProtoReflect ¶
func (x *WorldSetting) ProtoReflect() protoreflect.Message
func (*WorldSetting) Reset ¶
func (x *WorldSetting) Reset()
func (*WorldSetting) String ¶
func (x *WorldSetting) String() string
func (*WorldSetting) Validate ¶
func (m *WorldSetting) Validate() error
Validate checks the field values on WorldSetting with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WorldSetting) ValidateAll ¶
func (m *WorldSetting) ValidateAll() error
ValidateAll checks the field values on WorldSetting with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WorldSettingMultiError, or nil if none found.
type WorldSettingMultiError ¶
type WorldSettingMultiError []error
WorldSettingMultiError is an error wrapping multiple validation errors returned by WorldSetting.ValidateAll() if the designated constraints aren't met.
func (WorldSettingMultiError) AllErrors ¶
func (m WorldSettingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorldSettingMultiError) Error ¶
func (m WorldSettingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorldSettingValidationError ¶
type WorldSettingValidationError struct {
// contains filtered or unexported fields
}
WorldSettingValidationError is the validation error returned by WorldSetting.Validate if the designated constraints aren't met.
func (WorldSettingValidationError) Cause ¶
func (e WorldSettingValidationError) Cause() error
Cause function returns cause value.
func (WorldSettingValidationError) Error ¶
func (e WorldSettingValidationError) Error() string
Error satisfies the builtin error interface
func (WorldSettingValidationError) ErrorName ¶
func (e WorldSettingValidationError) ErrorName() string
ErrorName returns error name.
func (WorldSettingValidationError) Field ¶
func (e WorldSettingValidationError) Field() string
Field function returns field value.
func (WorldSettingValidationError) Key ¶
func (e WorldSettingValidationError) Key() bool
Key function returns key value.
func (WorldSettingValidationError) Reason ¶
func (e WorldSettingValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- archive.pb.go
- archive.pb.validate.go
- archive_grpc.pb.go
- cron.pb.go
- cron.pb.validate.go
- cron_grpc.pb.go
- daemon.pb.go
- daemon.pb.validate.go
- daemon_grpc.pb.go
- dst.pb.go
- dst.pb.validate.go
- mod.pb.go
- mod.pb.validate.go
- mod_grpc.pb.go
- player.pb.go
- player.pb.validate.go
- player_grpc.pb.go
- result.pb.go
- result.pb.validate.go
- setting.pb.go
- setting.pb.validate.go
- setting_grpc.pb.go
- shard.pb.go
- shard.pb.validate.go
- shard_grpc.pb.go