mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 06:09:39 +08:00
18 lines
374 B
Go
18 lines
374 B
Go
package cloudprovider
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
const (
|
|
CloudVMStatusRunning = "running"
|
|
CloudVMStatusSuspend = "suspend"
|
|
CloudVMStatusStopped = "stopped"
|
|
CloudVMStatusOther = "other"
|
|
)
|
|
|
|
var ErrNotFound = errors.New("id not found")
|
|
var ErrDuplicateId = errors.New("duplicate id")
|
|
var ErrInvalidStatus = errors.New("invalid status")
|
|
var ErrTimeout = errors.New("timeout")
|