# Functions
No description provided by the author
No description provided by the author
ParseLevel parses a level string into a logger Level value.
# Constants
LevelDebug debug level.
LevelError error level.
LevelFatal fatal level.
LevelInfo info level.
LevelKey is logger level key.
LevelTrace trace level.
LevelWarn warn level.
# Variables
No description provided by the author
# Structs
ActivateTenantsOption specifies options for updating tenants' active time.
CountTenantPendingTasksOption specifies options for counting the number of pending tasks of specified tenant.
FindActiveTenantsOption specifies options for finding active tenants.
FindPendingTasksOption specifies options for finding recent tasks.
GetTaskOption specifies the options for getting task by uid.
GetTaskStatusOption specifies the options for getting user task's status.
GetTenantOption specifies options for getting tenant entity.
No description provided by the author
No description provided by the author
Task details.
TaskContext contains worker info, task details.
TaskMessage defines the message that a worker sends to scheduler.
TaskMetadata metadata.
No description provided by the author
TaskRun task last run info.
TaskStatus is reported everytime HeartBeat method is called.
No description provided by the author
UpdateTaskStatusOption specifies the options for updating user tasks' status.
WorkerInfo contains essential info about the worker that tasks need.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
TaskHandler defines the most basic methods that a normal UserTask has to implement.
No description provided by the author
# Type aliases
Level is a logger level.
No description provided by the author
TaskHandlerFactory builds a new TaskHandler.
No description provided by the author