mirror of
https://github.com/Luzifer/share.git
synced 2024-12-30 15:31:19 +00:00
71 lines
2.2 KiB
Go
71 lines
2.2 KiB
Go
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||
|
|
||
|
package servicediscovery
|
||
|
|
||
|
const (
|
||
|
|
||
|
// ErrCodeDuplicateRequest for service response error code
|
||
|
// "DuplicateRequest".
|
||
|
//
|
||
|
// This request tried to create an object that already exists.
|
||
|
ErrCodeDuplicateRequest = "DuplicateRequest"
|
||
|
|
||
|
// ErrCodeInstanceNotFound for service response error code
|
||
|
// "InstanceNotFound".
|
||
|
//
|
||
|
// No instance exists with the specified ID.
|
||
|
ErrCodeInstanceNotFound = "InstanceNotFound"
|
||
|
|
||
|
// ErrCodeInvalidInput for service response error code
|
||
|
// "InvalidInput".
|
||
|
//
|
||
|
// One or more specified values aren't valid. For example, when you're creating
|
||
|
// a namespace, the value of Name might not be a valid DNS name.
|
||
|
ErrCodeInvalidInput = "InvalidInput"
|
||
|
|
||
|
// ErrCodeNamespaceAlreadyExists for service response error code
|
||
|
// "NamespaceAlreadyExists".
|
||
|
//
|
||
|
// The namespace that you're trying to create already exists.
|
||
|
ErrCodeNamespaceAlreadyExists = "NamespaceAlreadyExists"
|
||
|
|
||
|
// ErrCodeNamespaceNotFound for service response error code
|
||
|
// "NamespaceNotFound".
|
||
|
//
|
||
|
// No namespace exists with the specified ID.
|
||
|
ErrCodeNamespaceNotFound = "NamespaceNotFound"
|
||
|
|
||
|
// ErrCodeOperationNotFound for service response error code
|
||
|
// "OperationNotFound".
|
||
|
//
|
||
|
// No operation exists with the specified ID.
|
||
|
ErrCodeOperationNotFound = "OperationNotFound"
|
||
|
|
||
|
// ErrCodeResourceInUse for service response error code
|
||
|
// "ResourceInUse".
|
||
|
//
|
||
|
// The specified resource can't be deleted because it contains other resources.
|
||
|
// For example, you can't delete a service that contains any instances.
|
||
|
ErrCodeResourceInUse = "ResourceInUse"
|
||
|
|
||
|
// ErrCodeResourceLimitExceeded for service response error code
|
||
|
// "ResourceLimitExceeded".
|
||
|
//
|
||
|
// The resource can't be created because you've reached the limit on the number
|
||
|
// of resources.
|
||
|
ErrCodeResourceLimitExceeded = "ResourceLimitExceeded"
|
||
|
|
||
|
// ErrCodeServiceAlreadyExists for service response error code
|
||
|
// "ServiceAlreadyExists".
|
||
|
//
|
||
|
// The service can't be created because a service with the same name already
|
||
|
// exists.
|
||
|
ErrCodeServiceAlreadyExists = "ServiceAlreadyExists"
|
||
|
|
||
|
// ErrCodeServiceNotFound for service response error code
|
||
|
// "ServiceNotFound".
|
||
|
//
|
||
|
// No service exists with the specified ID.
|
||
|
ErrCodeServiceNotFound = "ServiceNotFound"
|
||
|
)
|