Documentation ¶
Index ¶
- Variables
- func ConfigureTransport() micro.Option
- func DeepEqualFields(x, y interface{}, fieldsToCompare []string) bool
- func GetErrorPoolHasAlreadyAMonitor(poolID *strfmt.UUID) *models.Error
- func GetErrorPoolNotFound(poolID *strfmt.UUID) *models.Error
- func GetQuotaMetResponse(resource string) *models.Error
- func InetAton(ip net.IP) (uint32, error)
- func InetNtoa(val uint32) net.IP
- func SetModelDefaults(s interface{}) error
- func UUIDsDifference(a, b []strfmt.UUID) []strfmt.UUID
- type ResourcesNotFoundError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PolicyForbidden = &models.Error{Code: 403, Message: "policy does not allow this request to be performed"} NotFound = &models.Error{Code: 404, Message: "not found"} ProviderUnchangeable = &models.Error{Code: 400, Message: "provider cannot be changed"} InvalidMarker = &models.Error{Code: 400, Message: "invalid marker"} PoolIDImmutable = &models.Error{Code: 400, Message: "invalid value for 'pool_id': change of immutable attribute 'pool_id' not allowed"} PoolIDRequired = &models.Error{Code: 400, Message: "invalid value for 'pool_id': 'pool_id' is required"} DuplicateMember = &models.Error{Code: 409, Message: "invalid value for 'address' and 'port': endpoint already exists in pool"} DuplicateDomain = &models.Error{Code: 409, Message: "invalid value for 'domain' and 'provider': domain already exists"} DatacenterInUse = &models.Error{Code: 409, Message: "datacenter is in use"} MySQLForeignKeyViolation = &mysql.MySQLError{Number: 1451} )
View Source
var (
SwaggerSpec *loads.Document
)
Functions ¶
func ConfigureTransport ¶
func ConfigureTransport() micro.Option
func DeepEqualFields ¶
DeepEqualFields like reflect.DeepEqual, but with field array to compare
func GetQuotaMetResponse ¶
func SetModelDefaults ¶
func SetModelDefaults(s interface{}) error
Types ¶
type ResourcesNotFoundError ¶
func (ResourcesNotFoundError) Error ¶
func (rnf ResourcesNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.