Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAny = errors.New("any") Err403 = errors.New("bad request json body") Err406 = errors.New("create port err") ErrOpenstackCreateBulkPortsFailed = errors.New("openStack createbulkports err") ErrMarshalFailed = errors.New("json.Marshal Err") ErrUnmarshalFailed = errors.New("json.Unmarshal Err") ErrRestfulPostFailed = errors.New("restful post Err") ErrHTTPPostStatusCode = errors.New("restful post status code err") ErrRequestNeedAdminPermission = errors.New("request need admin permission") ErrCheckAllocationPools = errors.New("allocation pools check error") ErrTenantHasPodsInUse = errors.New("tenant has pods in use") ErrNetworkHasPortsInUse = errors.New("network has ports in use") ErrNetworkHasIGsInUse = errors.New("network has ip groups in use") ErrEtcdRestoreFromEtcdAdmToolFailed = errors.New("etcd restore from EtcdAdmTool failed err") ErrArgTypeMismatch = errors.New("argument type mismatch") )
View Source
var ( ErrJSON = errors.New("bad request json body") ErrAuth = errors.New("auth err") ErrDoing = errors.New("request is doning") ErrTmOut = errors.New("request time out") )
View Source
var ( ErrObjectPointerIsNil = errors.New("object pointer is nil") ErrRecordAlreadyExist = errors.New("record already exsit") ErrRecordNotExist = errors.New("record already exsit") ErrObjectTypeMismatch = errors.New("object type mismatch") )
View Source
var ( ErrNetworkNotExist = errors.New("network not exist") ErrNetworkTypeNotSupported = errors.New("network type not supported") ErrVlanTransparentConflictArgs = errors.New("vlan_transparent confict args") ErrInvalidVlanID = errors.New("invalid vlan ID") )
View Source
var ( ErrRequiredFieldIsNil = errors.New("required field is nil") ErrGatewayTypeError = errors.New("Gateway type error") )
Functions ¶
func IsCanNotFindErr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.