mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f2614f2107
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
23 lines
680 B
Go
23 lines
680 B
Go
package agent
|
|
|
|
import (
|
|
"errors"
|
|
"fmt"
|
|
)
|
|
|
|
var (
|
|
// ErrClosed is returned when an operation fails because the resource is closed.
|
|
ErrClosed = errors.New("agent: closed")
|
|
|
|
errNodeNotRegistered = fmt.Errorf("node not registered")
|
|
|
|
errAgentStarted = errors.New("agent: already started")
|
|
errAgentNotStarted = errors.New("agent: not started")
|
|
|
|
errTaskNoContoller = errors.New("agent: no task controller")
|
|
errTaskNotAssigned = errors.New("agent: task not assigned")
|
|
errTaskStatusUpdateNoChange = errors.New("agent: no change in task status")
|
|
errTaskUnknown = errors.New("agent: task unknown")
|
|
|
|
errTaskInvalid = errors.New("task: invalid")
|
|
)
|