()
| 33 | ID() int |
| 34 | Name() string |
| 35 | IsMaster() bool |
| 36 | // CreateTask creates a task on the node. It does not have effect on master node. |
| 37 | CreateTask(ctx context.Context, taskType string, state string) (int, error) |
| 38 | // GetTask returns the task summary of the task with the given id. |