mirror of
https://github.com/Luzifer/share.git
synced 2024-12-25 13:01:18 +00:00
70 lines
2.2 KiB
Go
70 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"
|
|
)
|