Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TaskState_name = map[int32]string{ 0: "TASK_STATE_RESERVE", 1: "TASK_STATE_PENDING", 2: "TASK_STATE_RUNNING", 3: "TASK_STATE_SUCCEED", 4: "TASK_STATE_FAILED", 5: "TASK_STATE_STOPPING", 6: "TASK_STATE_STOPPED", } TaskState_value = map[string]int32{ "TASK_STATE_RESERVE": 0, "TASK_STATE_PENDING": 1, "TASK_STATE_RUNNING": 2, "TASK_STATE_SUCCEED": 3, "TASK_STATE_FAILED": 4, "TASK_STATE_STOPPING": 5, "TASK_STATE_STOPPED": 6, } )
Enum value maps for TaskState.
View Source
var File_pkg_scheduler_types_task_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TaskState ¶
type TaskState int32
const ( TaskState_TASK_STATE_RESERVE TaskState = 0 TaskState_TASK_STATE_PENDING TaskState = 1 TaskState_TASK_STATE_RUNNING TaskState = 2 TaskState_TASK_STATE_SUCCEED TaskState = 3 TaskState_TASK_STATE_FAILED TaskState = 4 TaskState_TASK_STATE_STOPPING TaskState = 5 TaskState_TASK_STATE_STOPPED TaskState = 6 )
func (TaskState) Descriptor ¶
func (TaskState) Descriptor() protoreflect.EnumDescriptor
func (TaskState) EnumDescriptor
deprecated
func (TaskState) Number ¶
func (x TaskState) Number() protoreflect.EnumNumber
func (TaskState) Type ¶
func (TaskState) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.