package
0.0.0-20221031024503-f27324fd241b
Repository: https://github.com/xiaomi/naftis.git
Documentation: pkg.go.dev
# Functions
GetOrAddTaskStatusChM returns task channel from taskStatusChM group by operator, if channel is not exists, we makes a new one then return it.
Init initializes executor package.
NewCrdExecutor returns a istiocrd executor.
Push2TaskStatusCh pushes task into taskStatusChM.
# Variables
DefaultExecutor defines default task executor.
ErrTaskNotExists is returned when we can't find specific task from istio.
ErrUnknownCmd defines invalid command error.
TaskStatusChM stores task execution result into a channel map.
# Interfaces
Executor will dispatch and execute task from channel.
# Type aliases
Task is an alias of model.Task.