Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrQuit = errors.New("operation does not need to continue") ErrNoSpace = errors.New("no space on clusters") ErrNoAvailableActionNode = errors.New("no available node for requested action") ErrCreate = errors.New("not possible to create shadow on data node") ErrNotEmpty = errors.New("path is not empty") ErrLock = errors.New("path/file is locked") ErrRepair = errors.New("inconsistency detected, require repairing") ErrZombie = errors.New("path/file is zombie") ErrZombieAlive = errors.New("zombie file is still alive, try again to kill") ErrJoinConflict = errors.New("joining source folders will have conflict in target") ErrSync = errors.New("syncing is failed") ErrTooManyErrors = errors.New("too many error occurred, operation is canceled") ErrSnapshot = errors.New("snapshot operation is failed") ErrExists = errors.New("cluster is already exists") ErrPing = errors.New("node is not reachable") ErrJoin = errors.New("node joining to cluster is failed") ErrMode = errors.New("setting node mode is failed") ErrLastNode = errors.New("last node of the cluster can not be removed") ErrRegistered = errors.New("node already registered") ErrNoAvailableClusterNode = errors.New("no available node on the cluster") ErrNotAvailableForClusterAction = errors.New("cluster is not available for cluster wide actions") ErrNoDiskSpace = errors.New("no available disk space for this operation") ErrNotFound = errors.New("cluster/node not found") ErrShowUsage = errors.New("show usage") ErrProcessing = errors.New("another operation in progress") ErrParalyzed = errors.New("cluster is paralyzed") ErrReadonly = errors.New("cluster is readonly") ErrOffline = errors.New("cluster is offline") ErrMaintain = errors.New("cluster is in maintain mode") ErrRemote = errors.New("remote call execution is failed") )
Functions ¶
func IsDialError ¶
func NewUploadError ¶
Types ¶
type BulkError ¶
type BulkError struct {
// contains filtered or unexported fields
}
BulkError struct is to keep multiple error that can be occurred in execution
func NewBulkError ¶
func NewBulkError() *BulkError
NewBulkError creates empty BulkError struct definition
func (*BulkError) ContainsType ¶
type UploadError ¶
type UploadError struct {
// contains filtered or unexported fields
}
func (*UploadError) Error ¶
func (u *UploadError) Error() string
Click to show internal directories.
Click to hide internal directories.