Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrTaskNotExists is returned when we can't find specific task from istio ErrTaskNotExists = errors.New("task isn't exists") )
View Source
var ( // ErrUnknownCmd defines invalid command error ErrUnknownCmd = errors.New("unknown command") )
View Source
var ( // TaskStatusChM stores task execution result into a channel map TaskStatusChM = make(map[string]chan Task) )
Functions ¶
func GetOrAddTaskStatusChM ¶
GetOrAddTaskStatusChM returns task channel from taskStatusChM group by operator, if channel is not exists, we makes a new one then return it.
func Push2TaskStatusCh ¶
func Push2TaskStatusCh(task Task)
Push2TaskStatusCh pushes task into taskStatusChM.
Types ¶
Click to show internal directories.
Click to hide internal directories.