pb

package
v0.0.0-...-61209f9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const (
	CronJobService_Create_FullMethodName = "/cron.CronJobService/Create"
	CronJobService_Delete_FullMethodName = "/cron.CronJobService/Delete"
	CronJobService_List_FullMethodName   = "/cron.CronJobService/List"
)
View Source
const (
	DaemonService_HostInfo_FullMethodName    = "/daemon.DaemonService/HostInfo"
	DaemonService_HealthCheck_FullMethodName = "/daemon.DaemonService/HealthCheck"
)
View Source
const (
	ImageService_List_FullMethodName   = "/daemon.ImageService/List"
	ImageService_Remove_FullMethodName = "/daemon.ImageService/Remove"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
var File_archive_proto protoreflect.FileDescriptor
View Source
var File_daemon_proto protoreflect.FileDescriptor
View Source
var File_player_proto protoreflect.FileDescriptor
View Source
var File_result_proto protoreflect.FileDescriptor
View Source
var File_setting_proto protoreflect.FileDescriptor
View Source
var File_shard_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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

Cause function returns cause value.

func (ArchiveInfoValidationError) Error

Error satisfies the builtin error interface

func (ArchiveInfoValidationError) ErrorName

func (e ArchiveInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ArchiveInfoValidationError) Field

Field function returns field value.

func (ArchiveInfoValidationError) Key

Key function returns key value.

func (ArchiveInfoValidationError) Reason

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.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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

Error satisfies the builtin error interface

func (BackUpInfoValidationError) ErrorName

func (e BackUpInfoValidationError) ErrorName() string

ErrorName returns error name.

func (BackUpInfoValidationError) Field

Field function returns field value.

func (BackUpInfoValidationError) Key

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

Error satisfies the builtin error interface

func (BackUpListValidationError) ErrorName

func (e BackUpListValidationError) ErrorName() string

ErrorName returns error name.

func (BackUpListValidationError) Field

Field function returns field value.

func (BackUpListValidationError) Key

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

Error satisfies the builtin error interface

func (BackupFileValidationError) ErrorName

func (e BackupFileValidationError) ErrorName() string

ErrorName returns error name.

func (BackupFileValidationError) Field

Field function returns field value.

func (BackupFileValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use BackupOpt.ProtoReflect.Descriptor instead.

func (*BackupOpt) GetBackupName

func (x *BackupOpt) GetBackupName() string

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) Reset

func (x *BackupOpt) Reset()

func (*BackupOpt) String

func (x *BackupOpt) String() string

func (*BackupOpt) Validate

func (m *BackupOpt) Validate() error

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

func (m *BackupOpt) ValidateAll() error

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

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

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

Cause function returns cause value.

func (BasicPlayerInfoValidationError) Error

Error satisfies the builtin error interface

func (BasicPlayerInfoValidationError) ErrorName

func (e BasicPlayerInfoValidationError) ErrorName() string

ErrorName returns error name.

func (BasicPlayerInfoValidationError) Field

Field function returns field value.

func (BasicPlayerInfoValidationError) Key

Key function returns key value.

func (BasicPlayerInfoValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (CheckUpdateResultValidationError) Error

Error satisfies the builtin error interface

func (CheckUpdateResultValidationError) ErrorName

ErrorName returns error name.

func (CheckUpdateResultValidationError) Field

Field function returns field value.

func (CheckUpdateResultValidationError) Key

Key function returns key value.

func (CheckUpdateResultValidationError) Reason

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 (*CheckUpdateResult_CheckUpdateModItem) GetModId

func (*CheckUpdateResult_CheckUpdateModItem) GetName

func (*CheckUpdateResult_CheckUpdateModItem) GetVersion

func (*CheckUpdateResult_CheckUpdateModItem) ProtoMessage

func (*CheckUpdateResult_CheckUpdateModItem) ProtoMessage()

func (*CheckUpdateResult_CheckUpdateModItem) ProtoReflect

func (*CheckUpdateResult_CheckUpdateModItem) Reset

func (*CheckUpdateResult_CheckUpdateModItem) String

func (*CheckUpdateResult_CheckUpdateModItem) Validate

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

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

AllErrors returns a list of validation violation errors.

func (CheckUpdateResult_CheckUpdateModItemMultiError) Error

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

Cause function returns cause value.

func (CheckUpdateResult_CheckUpdateModItemValidationError) Error

Error satisfies the builtin error interface

func (CheckUpdateResult_CheckUpdateModItemValidationError) ErrorName

ErrorName returns error name.

func (CheckUpdateResult_CheckUpdateModItemValidationError) Field

Field function returns field value.

func (CheckUpdateResult_CheckUpdateModItemValidationError) Key

Key function returns key value.

func (CheckUpdateResult_CheckUpdateModItemValidationError) Reason

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

Cause function returns cause value.

func (CommandRequestValidationError) Error

Error satisfies the builtin error interface

func (CommandRequestValidationError) ErrorName

func (e CommandRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CommandRequestValidationError) Field

Field function returns field value.

func (CommandRequestValidationError) Key

Key function returns key value.

func (CommandRequestValidationError) Reason

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

Cause function returns cause value.

func (ContainerIdValidationError) Error

Error satisfies the builtin error interface

func (ContainerIdValidationError) ErrorName

func (e ContainerIdValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerIdValidationError) Field

Field function returns field value.

func (ContainerIdValidationError) Key

Key function returns key value.

func (ContainerIdValidationError) Reason

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

Cause function returns cause value.

func (ContainerInfoValidationError) Error

Error satisfies the builtin error interface

func (ContainerInfoValidationError) ErrorName

func (e ContainerInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerInfoValidationError) Field

Field function returns field value.

func (ContainerInfoValidationError) Key

Key function returns key value.

func (ContainerInfoValidationError) Reason

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

Cause function returns cause value.

func (ContainerLogValidationError) Error

Error satisfies the builtin error interface

func (ContainerLogValidationError) ErrorName

func (e ContainerLogValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerLogValidationError) Field

Field function returns field value.

func (ContainerLogValidationError) Key

Key function returns key value.

func (ContainerLogValidationError) Reason

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.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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) Enum

func (x ContainerState) Enum() *ContainerState

func (ContainerState) EnumDescriptor deprecated

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

Deprecated: Use ContainerState.Descriptor instead.

func (ContainerState) Number

func (ContainerState) String

func (x ContainerState) String() string

func (ContainerState) Type

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

Cause function returns cause value.

func (ControlRequestValidationError) Error

Error satisfies the builtin error interface

func (ControlRequestValidationError) ErrorName

func (e ControlRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ControlRequestValidationError) Field

Field function returns field value.

func (ControlRequestValidationError) Key

Key function returns key value.

func (ControlRequestValidationError) Reason

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) Enum

func (x ControlTarget) Enum() *ControlTarget

func (ControlTarget) EnumDescriptor deprecated

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

Deprecated: Use ControlTarget.Descriptor instead.

func (ControlTarget) Number

func (ControlTarget) String

func (x ControlTarget) String() string

func (ControlTarget) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use CpuHealth.ProtoReflect.Descriptor instead.

func (*CpuHealth) GetCount

func (x *CpuHealth) GetCount() int64

func (*CpuHealth) GetUsage

func (x *CpuHealth) GetUsage() float64

func (*CpuHealth) ProtoMessage

func (*CpuHealth) ProtoMessage()

func (*CpuHealth) ProtoReflect

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

func (*CpuHealth) Reset

func (x *CpuHealth) Reset()

func (*CpuHealth) String

func (x *CpuHealth) String() string

func (*CpuHealth) Validate

func (m *CpuHealth) Validate() error

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

func (m *CpuHealth) ValidateAll() error

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

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

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

Cause function returns cause value.

func (CreateContainerReqValidationError) Error

Error satisfies the builtin error interface

func (CreateContainerReqValidationError) ErrorName

ErrorName returns error name.

func (CreateContainerReqValidationError) Field

Field function returns field value.

func (CreateContainerReqValidationError) Key

Key function returns key value.

func (CreateContainerReqValidationError) Reason

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

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

Cause function returns cause value.

func (CreateContainerRespValidationError) Error

Error satisfies the builtin error interface

func (CreateContainerRespValidationError) ErrorName

ErrorName returns error name.

func (CreateContainerRespValidationError) Field

Field function returns field value.

func (CreateContainerRespValidationError) Key

Key function returns key value.

func (CreateContainerRespValidationError) Reason

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

Cause function returns cause value.

func (CreateJobReqValidationError) Error

Error satisfies the builtin error interface

func (CreateJobReqValidationError) ErrorName

func (e CreateJobReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateJobReqValidationError) Field

Field function returns field value.

func (CreateJobReqValidationError) Key

Key function returns key value.

func (CreateJobReqValidationError) Reason

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.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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

Error satisfies the builtin error interface

func (DockerInfoValidationError) ErrorName

func (e DockerInfoValidationError) ErrorName() string

ErrorName returns error name.

func (DockerInfoValidationError) Field

Field function returns field value.

func (DockerInfoValidationError) Key

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

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

Cause function returns cause value.

func (ExecutePlayerReqValidationError) Error

Error satisfies the builtin error interface

func (ExecutePlayerReqValidationError) ErrorName

ErrorName returns error name.

func (ExecutePlayerReqValidationError) Field

Field function returns field value.

func (ExecutePlayerReqValidationError) Key

Key function returns key value.

func (ExecutePlayerReqValidationError) Reason

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

Error satisfies the builtin error interface

func (HealthInfoValidationError) ErrorName

func (e HealthInfoValidationError) ErrorName() string

ErrorName returns error name.

func (HealthInfoValidationError) Field

Field function returns field value.

func (HealthInfoValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use ImageId.ProtoReflect.Descriptor instead.

func (*ImageId) GetId

func (x *ImageId) GetId() string

func (*ImageId) ProtoMessage

func (*ImageId) ProtoMessage()

func (*ImageId) ProtoReflect

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

func (*ImageId) Reset

func (x *ImageId) Reset()

func (*ImageId) String

func (x *ImageId) String() string

func (*ImageId) Validate

func (m *ImageId) Validate() error

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

func (m *ImageId) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use ImageInfo.ProtoReflect.Descriptor instead.

func (*ImageInfo) GetContainers

func (x *ImageInfo) GetContainers() int64

func (*ImageInfo) GetCreatedAt

func (x *ImageInfo) GetCreatedAt() int64

func (*ImageInfo) GetId

func (x *ImageInfo) GetId() string

func (*ImageInfo) GetLabels

func (x *ImageInfo) GetLabels() map[string]string

func (*ImageInfo) GetParentId

func (x *ImageInfo) GetParentId() string

func (*ImageInfo) GetSize

func (x *ImageInfo) GetSize() int64

func (*ImageInfo) ProtoMessage

func (*ImageInfo) ProtoMessage()

func (*ImageInfo) ProtoReflect

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

func (*ImageInfo) Reset

func (x *ImageInfo) Reset()

func (*ImageInfo) String

func (x *ImageInfo) String() string

func (*ImageInfo) Validate

func (m *ImageInfo) Validate() error

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

func (m *ImageInfo) ValidateAll() error

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

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.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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) Descriptor() ([]byte, []int)

Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.

func (*JobInfo) GetInstance

func (x *JobInfo) GetInstance() *ContainerId

func (*JobInfo) GetJobId

func (x *JobInfo) GetJobId() int64

func (*JobInfo) GetJobType

func (x *JobInfo) GetJobType() JobType

func (*JobInfo) GetLast

func (x *JobInfo) GetLast() int64

func (*JobInfo) GetName

func (x *JobInfo) GetName() string

func (*JobInfo) GetNext

func (x *JobInfo) GetNext() int64

func (*JobInfo) ProtoMessage

func (*JobInfo) ProtoMessage()

func (*JobInfo) ProtoReflect

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

func (*JobInfo) Reset

func (x *JobInfo) Reset()

func (*JobInfo) String

func (x *JobInfo) String() string

func (*JobInfo) Validate

func (m *JobInfo) Validate() error

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

func (m *JobInfo) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use JobList.ProtoReflect.Descriptor instead.

func (*JobList) GetList

func (x *JobList) GetList() []*JobInfo

func (*JobList) ProtoMessage

func (*JobList) ProtoMessage()

func (*JobList) ProtoReflect

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

func (*JobList) Reset

func (x *JobList) Reset()

func (*JobList) String

func (x *JobList) String() string

func (*JobList) Validate

func (m *JobList) Validate() error

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

func (m *JobList) ValidateAll() error

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
const (
	JobType_Boot   JobType = 0
	JobType_Stop   JobType = 1
	JobType_Update JobType = 2
	JobType_Reboot JobType = 3
	JobType_Backup JobType = 4
)

func (JobType) Descriptor

func (JobType) Descriptor() protoreflect.EnumDescriptor

func (JobType) Enum

func (x JobType) Enum() *JobType

func (JobType) EnumDescriptor deprecated

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

Deprecated: Use JobType.Descriptor instead.

func (JobType) Number

func (x JobType) Number() protoreflect.EnumNumber

func (JobType) String

func (x JobType) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use KleiID.ProtoReflect.Descriptor instead.

func (*KleiID) GetId

func (x *KleiID) GetId() string

func (*KleiID) ProtoMessage

func (*KleiID) ProtoMessage()

func (*KleiID) ProtoReflect

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

func (*KleiID) Reset

func (x *KleiID) Reset()

func (*KleiID) String

func (x *KleiID) String() string

func (*KleiID) Validate

func (m *KleiID) Validate() error

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

func (m *KleiID) ValidateAll() error

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

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

Cause function returns cause value.

func (ListContainerReqValidationError) Error

Error satisfies the builtin error interface

func (ListContainerReqValidationError) ErrorName

ErrorName returns error name.

func (ListContainerReqValidationError) Field

Field function returns field value.

func (ListContainerReqValidationError) Key

Key function returns key value.

func (ListContainerReqValidationError) Reason

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

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

Cause function returns cause value.

func (ListContainerRespValidationError) Error

Error satisfies the builtin error interface

func (ListContainerRespValidationError) ErrorName

ErrorName returns error name.

func (ListContainerRespValidationError) Field

Field function returns field value.

func (ListContainerRespValidationError) Key

Key function returns key value.

func (ListContainerRespValidationError) Reason

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

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

Cause function returns cause value.

func (ListImageResultValidationError) Error

Error satisfies the builtin error interface

func (ListImageResultValidationError) ErrorName

func (e ListImageResultValidationError) ErrorName() string

ErrorName returns error name.

func (ListImageResultValidationError) Field

Field function returns field value.

func (ListImageResultValidationError) Key

Key function returns key value.

func (ListImageResultValidationError) Reason

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

Cause function returns cause value.

func (ListImagesReqValidationError) Error

Error satisfies the builtin error interface

func (ListImagesReqValidationError) ErrorName

func (e ListImagesReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListImagesReqValidationError) Field

Field function returns field value.

func (ListImagesReqValidationError) Key

Key function returns key value.

func (ListImagesReqValidationError) Reason

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

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

Cause function returns cause value.

func (LogContainerReqValidationError) Error

Error satisfies the builtin error interface

func (LogContainerReqValidationError) ErrorName

func (e LogContainerReqValidationError) ErrorName() string

ErrorName returns error name.

func (LogContainerReqValidationError) Field

Field function returns field value.

func (LogContainerReqValidationError) Key

Key function returns key value.

func (LogContainerReqValidationError) Reason

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

Error satisfies the builtin error interface

func (LogMessageValidationError) ErrorName

func (e LogMessageValidationError) ErrorName() string

ErrorName returns error name.

func (LogMessageValidationError) Field

Field function returns field value.

func (LogMessageValidationError) Key

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

Cause function returns cause value.

func (LogsRequestValidationError) Error

Error satisfies the builtin error interface

func (LogsRequestValidationError) ErrorName

func (e LogsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LogsRequestValidationError) Field

Field function returns field value.

func (LogsRequestValidationError) Key

Key function returns key value.

func (LogsRequestValidationError) Reason

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

Cause function returns cause value.

func (LogsResponseValidationError) Error

Error satisfies the builtin error interface

func (LogsResponseValidationError) ErrorName

func (e LogsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LogsResponseValidationError) Field

Field function returns field value.

func (LogsResponseValidationError) Key

Key function returns key value.

func (LogsResponseValidationError) Reason

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

Cause function returns cause value.

func (MemoryHealthValidationError) Error

Error satisfies the builtin error interface

func (MemoryHealthValidationError) ErrorName

func (e MemoryHealthValidationError) ErrorName() string

ErrorName returns error name.

func (MemoryHealthValidationError) Field

Field function returns field value.

func (MemoryHealthValidationError) Key

Key function returns key value.

func (MemoryHealthValidationError) Reason

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

Cause function returns cause value.

func (ModCompatibleValidationError) Error

Error satisfies the builtin error interface

func (ModCompatibleValidationError) ErrorName

func (e ModCompatibleValidationError) ErrorName() string

ErrorName returns error name.

func (ModCompatibleValidationError) Field

Field function returns field value.

func (ModCompatibleValidationError) Key

Key function returns key value.

func (ModCompatibleValidationError) Reason

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

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

Cause function returns cause value.

func (ModConfigurationItemValidationError) Error

Error satisfies the builtin error interface

func (ModConfigurationItemValidationError) ErrorName

ErrorName returns error name.

func (ModConfigurationItemValidationError) Field

Field function returns field value.

func (ModConfigurationItemValidationError) Key

Key function returns key value.

func (ModConfigurationItemValidationError) Reason

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

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

Cause function returns cause value.

func (ModConfigurationValidationError) Error

Error satisfies the builtin error interface

func (ModConfigurationValidationError) ErrorName

ErrorName returns error name.

func (ModConfigurationValidationError) Field

Field function returns field value.

func (ModConfigurationValidationError) Key

Key function returns key value.

func (ModConfigurationValidationError) Reason

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

Error satisfies the builtin error interface

func (ModDetailsValidationError) ErrorName

func (e ModDetailsValidationError) ErrorName() string

ErrorName returns error name.

func (ModDetailsValidationError) Field

Field function returns field value.

func (ModDetailsValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use ModId.ProtoReflect.Descriptor instead.

func (*ModId) GetInstanceId

func (x *ModId) GetInstanceId() *ContainerId

func (*ModId) GetModId

func (x *ModId) GetModId() string

func (*ModId) ProtoMessage

func (*ModId) ProtoMessage()

func (*ModId) ProtoReflect

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

func (*ModId) Reset

func (x *ModId) Reset()

func (*ModId) String

func (x *ModId) String() string

func (*ModId) Validate

func (m *ModId) Validate() error

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

func (m *ModId) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use ModInfo.ProtoReflect.Descriptor instead.

func (*ModInfo) GetCreated

func (x *ModInfo) GetCreated() int64

func (*ModInfo) GetId

func (x *ModInfo) GetId() string

func (*ModInfo) GetName

func (x *ModInfo) GetName() string

func (*ModInfo) GetPreview

func (x *ModInfo) GetPreview() string

func (*ModInfo) GetSize

func (x *ModInfo) GetSize() int64

func (*ModInfo) GetSubscribe

func (x *ModInfo) GetSubscribe() int64

func (*ModInfo) GetTags

func (x *ModInfo) GetTags() []*ModTag

func (*ModInfo) GetUpdated

func (x *ModInfo) GetUpdated() int64

func (*ModInfo) ProtoMessage

func (*ModInfo) ProtoMessage()

func (*ModInfo) ProtoReflect

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

func (*ModInfo) Reset

func (x *ModInfo) Reset()

func (*ModInfo) String

func (x *ModInfo) String() string

func (*ModInfo) Validate

func (m *ModInfo) Validate() error

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

func (m *ModInfo) ValidateAll() error

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

Error satisfies the builtin error interface

func (ModListReqValidationError) ErrorName

func (e ModListReqValidationError) ErrorName() string

ErrorName returns error name.

func (ModListReqValidationError) Field

Field function returns field value.

func (ModListReqValidationError) Key

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

Cause function returns cause value.

func (ModListRespValidationError) Error

Error satisfies the builtin error interface

func (ModListRespValidationError) ErrorName

func (e ModListRespValidationError) ErrorName() string

ErrorName returns error name.

func (ModListRespValidationError) Field

Field function returns field value.

func (ModListRespValidationError) Key

Key function returns key value.

func (ModListRespValidationError) Reason

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.golang.ir/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

Cause function returns cause value.

func (ModSettingsValidationError) Error

Error satisfies the builtin error interface

func (ModSettingsValidationError) ErrorName

func (e ModSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (ModSettingsValidationError) Field

Field function returns field value.

func (ModSettingsValidationError) Key

Key function returns key value.

func (ModSettingsValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ModSettings_ModSettingItemMultiError) Error

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

Cause function returns cause value.

func (ModSettings_ModSettingItemValidationError) Error

Error satisfies the builtin error interface

func (ModSettings_ModSettingItemValidationError) ErrorName

ErrorName returns error name.

func (ModSettings_ModSettingItemValidationError) Field

Field function returns field value.

func (ModSettings_ModSettingItemValidationError) Key

Key function returns key value.

func (ModSettings_ModSettingItemValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use ModTag.ProtoReflect.Descriptor instead.

func (*ModTag) GetName

func (x *ModTag) GetName() string

func (*ModTag) GetTag

func (x *ModTag) GetTag() string

func (*ModTag) ProtoMessage

func (*ModTag) ProtoMessage()

func (*ModTag) ProtoReflect

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

func (*ModTag) Reset

func (x *ModTag) Reset()

func (*ModTag) String

func (x *ModTag) String() string

func (*ModTag) Validate

func (m *ModTag) Validate() error

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

func (m *ModTag) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Notify.ProtoReflect.Descriptor instead.

func (*Notify) GetCode

func (x *Notify) GetCode() int64

func (*Notify) GetMsg

func (x *Notify) GetMsg() string

func (*Notify) GetOk

func (x *Notify) GetOk() bool

func (*Notify) ProtoMessage

func (*Notify) ProtoMessage()

func (*Notify) ProtoReflect

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

func (*Notify) Reset

func (x *Notify) Reset()

func (*Notify) String

func (x *Notify) String() string

func (*Notify) Validate

func (m *Notify) Validate() error

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

func (m *Notify) ValidateAll() error

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

Cause function returns cause value.

func (PlayerChatLogValidationError) Error

Error satisfies the builtin error interface

func (PlayerChatLogValidationError) ErrorName

func (e PlayerChatLogValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerChatLogValidationError) Field

Field function returns field value.

func (PlayerChatLogValidationError) Key

Key function returns key value.

func (PlayerChatLogValidationError) Reason

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

Error satisfies the builtin error interface

func (PlayerInfoValidationError) ErrorName

func (e PlayerInfoValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerInfoValidationError) Field

Field function returns field value.

func (PlayerInfoValidationError) Key

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

Cause function returns cause value.

func (PlayerListReqValidationError) Error

Error satisfies the builtin error interface

func (PlayerListReqValidationError) ErrorName

func (e PlayerListReqValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerListReqValidationError) Field

Field function returns field value.

func (PlayerListReqValidationError) Key

Key function returns key value.

func (PlayerListReqValidationError) Reason

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

Cause function returns cause value.

func (PlayerListRespValidationError) Error

Error satisfies the builtin error interface

func (PlayerListRespValidationError) ErrorName

func (e PlayerListRespValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerListRespValidationError) Field

Field function returns field value.

func (PlayerListRespValidationError) Key

Key function returns key value.

func (PlayerListRespValidationError) Reason

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) Enum

func (x PlayerOperation) Enum() *PlayerOperation

func (PlayerOperation) EnumDescriptor deprecated

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

Deprecated: Use PlayerOperation.Descriptor instead.

func (PlayerOperation) Number

func (PlayerOperation) String

func (x PlayerOperation) String() string

func (PlayerOperation) Type

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.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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

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

Cause function returns cause value.

func (PlayerStatisticInfoValidationError) Error

Error satisfies the builtin error interface

func (PlayerStatisticInfoValidationError) ErrorName

ErrorName returns error name.

func (PlayerStatisticInfoValidationError) Field

Field function returns field value.

func (PlayerStatisticInfoValidationError) Key

Key function returns key value.

func (PlayerStatisticInfoValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use PortBind.ProtoReflect.Descriptor instead.

func (*PortBind) GetAuto

func (x *PortBind) GetAuto() bool

func (*PortBind) GetBind

func (x *PortBind) GetBind() int64

func (*PortBind) GetHost

func (x *PortBind) GetHost() int64

func (*PortBind) GetProtocol

func (x *PortBind) GetProtocol() string

func (*PortBind) ProtoMessage

func (*PortBind) ProtoMessage()

func (*PortBind) ProtoReflect

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

func (*PortBind) Reset

func (x *PortBind) Reset()

func (*PortBind) String

func (x *PortBind) String() string

func (*PortBind) Validate

func (m *PortBind) Validate() error

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

func (m *PortBind) ValidateAll() error

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

Cause function returns cause value.

func (RawModSettingsValidationError) Error

Error satisfies the builtin error interface

func (RawModSettingsValidationError) ErrorName

func (e RawModSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (RawModSettingsValidationError) Field

Field function returns field value.

func (RawModSettingsValidationError) Key

Key function returns key value.

func (RawModSettingsValidationError) Reason

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

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

Cause function returns cause value.

func (RawWorldSettingValidationError) Error

Error satisfies the builtin error interface

func (RawWorldSettingValidationError) ErrorName

func (e RawWorldSettingValidationError) ErrorName() string

ErrorName returns error name.

func (RawWorldSettingValidationError) Field

Field function returns field value.

func (RawWorldSettingValidationError) Key

Key function returns key value.

func (RawWorldSettingValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetCpu

func (x *Resource) GetCpu() int64

func (*Resource) GetDisk

func (x *Resource) GetDisk() int64

func (*Resource) GetMemory

func (x *Resource) GetMemory() int64

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate

func (m *Resource) Validate() error

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

func (m *Resource) ValidateAll() error

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

Cause function returns cause value.

func (RoomSettingValidationError) Error

Error satisfies the builtin error interface

func (RoomSettingValidationError) ErrorName

func (e RoomSettingValidationError) ErrorName() string

ErrorName returns error name.

func (RoomSettingValidationError) Field

Field function returns field value.

func (RoomSettingValidationError) Key

Key function returns key value.

func (RoomSettingValidationError) Reason

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

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

Cause function returns cause value.

func (SaveModSettingsReqValidationError) Error

Error satisfies the builtin error interface

func (SaveModSettingsReqValidationError) ErrorName

ErrorName returns error name.

func (SaveModSettingsReqValidationError) Field

Field function returns field value.

func (SaveModSettingsReqValidationError) Key

Key function returns key value.

func (SaveModSettingsReqValidationError) Reason

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

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

Cause function returns cause value.

func (SaveRawModSettingsReqValidationError) Error

Error satisfies the builtin error interface

func (SaveRawModSettingsReqValidationError) ErrorName

ErrorName returns error name.

func (SaveRawModSettingsReqValidationError) Field

Field function returns field value.

func (SaveRawModSettingsReqValidationError) Key

Key function returns key value.

func (SaveRawModSettingsReqValidationError) Reason

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) Enum

func (x ServerState) Enum() *ServerState

func (ServerState) EnumDescriptor deprecated

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

Deprecated: Use ServerState.Descriptor instead.

func (ServerState) Number

func (x ServerState) Number() protoreflect.EnumNumber

func (ServerState) String

func (x ServerState) String() string

func (ServerState) Type

type 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

Cause function returns cause value.

func (SettingPairValidationError) Error

Error satisfies the builtin error interface

func (SettingPairValidationError) ErrorName

func (e SettingPairValidationError) ErrorName() string

ErrorName returns error name.

func (SettingPairValidationError) Field

Field function returns field value.

func (SettingPairValidationError) Key

Key function returns key value.

func (SettingPairValidationError) Reason

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.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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) Descriptor() ([]byte, []int)

Deprecated: Use StateResp.ProtoReflect.Descriptor instead.

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) Reset

func (x *StateResp) Reset()

func (*StateResp) String

func (x *StateResp) String() string

func (*StateResp) Validate

func (m *StateResp) Validate() error

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

func (m *StateResp) ValidateAll() error

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

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

Error satisfies the builtin error interface

func (SystemInfoValidationError) ErrorName

func (e SystemInfoValidationError) ErrorName() string

ErrorName returns error name.

func (SystemInfoValidationError) Field

Field function returns field value.

func (SystemInfoValidationError) Key

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) Info

func (UnimplementedArchiveServiceServer) ListBackups

func (UnimplementedArchiveServiceServer) RestoreBackUp

func (UnimplementedArchiveServiceServer) UploadBackup

type UnimplementedContainerServiceServer

type UnimplementedContainerServiceServer struct {
}

UnimplementedContainerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedContainerServiceServer) Create

func (UnimplementedContainerServiceServer) Delete

func (UnimplementedContainerServiceServer) ForceDelete

func (UnimplementedContainerServiceServer) List

func (UnimplementedContainerServiceServer) Log

func (UnimplementedContainerServiceServer) Restart

func (UnimplementedContainerServiceServer) Start

func (UnimplementedContainerServiceServer) Stats

func (UnimplementedContainerServiceServer) Stop

func (UnimplementedContainerServiceServer) UpdateQuota

type UnimplementedCronJobServiceServer

type UnimplementedCronJobServiceServer struct {
}

UnimplementedCronJobServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCronJobServiceServer) Create

func (UnimplementedCronJobServiceServer) Delete

func (UnimplementedCronJobServiceServer) List

type UnimplementedDaemonServiceServer

type UnimplementedDaemonServiceServer struct {
}

UnimplementedDaemonServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDaemonServiceServer) HealthCheck

func (UnimplementedDaemonServiceServer) HostInfo

type UnimplementedImageServiceServer

type UnimplementedImageServiceServer struct {
}

UnimplementedImageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedImageServiceServer) List

func (UnimplementedImageServiceServer) Remove

type UnimplementedModServiceServer

type UnimplementedModServiceServer struct {
}

UnimplementedModServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedModServiceServer) CheckUpdate

func (UnimplementedModServiceServer) GetModSettings

func (UnimplementedModServiceServer) GetRawModSettings

func (UnimplementedModServiceServer) GetWorkShopModList

func (UnimplementedModServiceServer) SaveModSettings

func (UnimplementedModServiceServer) SaveRawModSettings

func (UnimplementedModServiceServer) Subscribe

func (UnimplementedModServiceServer) Unsubscribe

func (UnimplementedModServiceServer) UpdateMod

type UnimplementedPlayerServiceServer

type UnimplementedPlayerServiceServer struct {
}

UnimplementedPlayerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPlayerServiceServer) AddAdminList

func (UnimplementedPlayerServiceServer) AddBlackList

func (UnimplementedPlayerServiceServer) AddWhiteList

func (UnimplementedPlayerServiceServer) ExecutePlayer

func (UnimplementedPlayerServiceServer) GetAdminList

func (UnimplementedPlayerServiceServer) GetBlackList

func (UnimplementedPlayerServiceServer) GetPlayerChatLog

func (UnimplementedPlayerServiceServer) GetPlayerStats

func (UnimplementedPlayerServiceServer) GetWhiteList

func (UnimplementedPlayerServiceServer) RemoveAdminList

func (UnimplementedPlayerServiceServer) RemoveBlackList

func (UnimplementedPlayerServiceServer) RemoveWhiteList

type UnimplementedSettingServiceServer

type UnimplementedSettingServiceServer struct {
}

UnimplementedSettingServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSettingServiceServer) GetRawWorldSetting

func (UnimplementedSettingServiceServer) GetRoomSetting

func (UnimplementedSettingServiceServer) GetWorldSetting

func (UnimplementedSettingServiceServer) SaveRawWorldSetting

func (UnimplementedSettingServiceServer) SaveRoomSetting

func (UnimplementedSettingServiceServer) SaveWorldSetting

type UnimplementedShardServiceServer

type UnimplementedShardServiceServer struct {
}

UnimplementedShardServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedShardServiceServer) Clear

func (UnimplementedShardServiceServer) Execute

func (UnimplementedShardServiceServer) Logs

func (UnimplementedShardServiceServer) ReStart

func (UnimplementedShardServiceServer) Reset

func (UnimplementedShardServiceServer) RollBack

func (UnimplementedShardServiceServer) Start

func (UnimplementedShardServiceServer) State

func (UnimplementedShardServiceServer) Stop

func (UnimplementedShardServiceServer) Update

func (UnimplementedShardServiceServer) Version

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

Cause function returns cause value.

func (VersionRespValidationError) Error

Error satisfies the builtin error interface

func (VersionRespValidationError) ErrorName

func (e VersionRespValidationError) ErrorName() string

ErrorName returns error name.

func (VersionRespValidationError) Field

Field function returns field value.

func (VersionRespValidationError) Key

Key function returns key value.

func (VersionRespValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetBind

func (x *Volume) GetBind() string

func (*Volume) GetHost

func (x *Volume) GetHost() string

func (*Volume) GetVType

func (x *Volume) GetVType() string

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

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

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

func (*Volume) Validate

func (m *Volume) Validate() error

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

func (m *Volume) ValidateAll() error

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

Cause function returns cause value.

func (WorldSettingValidationError) Error

Error satisfies the builtin error interface

func (WorldSettingValidationError) ErrorName

func (e WorldSettingValidationError) ErrorName() string

ErrorName returns error name.

func (WorldSettingValidationError) Field

Field function returns field value.

func (WorldSettingValidationError) Key

Key function returns key value.

func (WorldSettingValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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