Documentation ¶
Index ¶
- Constants
- type DeleteServiceServiceID
- type DeleteServiceServiceIDAccepted
- type DeleteServiceServiceIDConflict
- type DeleteServiceServiceIDForbidden
- type DeleteServiceServiceIDHandler
- type DeleteServiceServiceIDHandlerFunc
- type DeleteServiceServiceIDNotFound
- type DeleteServiceServiceIDParams
- type DeleteServiceServiceIDURL
- func (o *DeleteServiceServiceIDURL) Build() (*url.URL, error)
- func (o *DeleteServiceServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceServiceIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceServiceIDURL) SetBasePath(bp string)
- func (o *DeleteServiceServiceIDURL) String() string
- func (o *DeleteServiceServiceIDURL) StringFull(scheme, host string) string
- func (o *DeleteServiceServiceIDURL) WithBasePath(bp string) *DeleteServiceServiceIDURL
- type DeleteServiceServiceIDUnauthorized
- func (o *DeleteServiceServiceIDUnauthorized) SetPayload(payload *models.Error)
- func (o *DeleteServiceServiceIDUnauthorized) WithPayload(payload *models.Error) *DeleteServiceServiceIDUnauthorized
- func (o *DeleteServiceServiceIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceServiceIDUnprocessableEntity
- func (o *DeleteServiceServiceIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *DeleteServiceServiceIDUnprocessableEntity) WithPayload(payload *models.Error) *DeleteServiceServiceIDUnprocessableEntity
- func (o *DeleteServiceServiceIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetService
- type GetServiceBadRequest
- type GetServiceForbidden
- type GetServiceHandler
- type GetServiceHandlerFunc
- type GetServiceOK
- type GetServiceOKBody
- type GetServiceParams
- type GetServiceServiceID
- type GetServiceServiceIDEndpoints
- type GetServiceServiceIDEndpointsBadRequest
- func (o *GetServiceServiceIDEndpointsBadRequest) SetPayload(payload *models.Error)
- func (o *GetServiceServiceIDEndpointsBadRequest) WithPayload(payload *models.Error) *GetServiceServiceIDEndpointsBadRequest
- func (o *GetServiceServiceIDEndpointsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceServiceIDEndpointsForbidden
- type GetServiceServiceIDEndpointsHandler
- type GetServiceServiceIDEndpointsHandlerFunc
- type GetServiceServiceIDEndpointsNotFound
- func (o *GetServiceServiceIDEndpointsNotFound) SetPayload(payload *models.Error)
- func (o *GetServiceServiceIDEndpointsNotFound) WithPayload(payload *models.Error) *GetServiceServiceIDEndpointsNotFound
- func (o *GetServiceServiceIDEndpointsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceServiceIDEndpointsOK
- func (o *GetServiceServiceIDEndpointsOK) SetPayload(payload *GetServiceServiceIDEndpointsOKBody)
- func (o *GetServiceServiceIDEndpointsOK) WithPayload(payload *GetServiceServiceIDEndpointsOKBody) *GetServiceServiceIDEndpointsOK
- func (o *GetServiceServiceIDEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceServiceIDEndpointsOKBody
- func (o *GetServiceServiceIDEndpointsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetServiceServiceIDEndpointsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetServiceServiceIDEndpointsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetServiceServiceIDEndpointsOKBody) Validate(formats strfmt.Registry) error
- type GetServiceServiceIDEndpointsParams
- type GetServiceServiceIDEndpointsURL
- func (o *GetServiceServiceIDEndpointsURL) Build() (*url.URL, error)
- func (o *GetServiceServiceIDEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceServiceIDEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceServiceIDEndpointsURL) SetBasePath(bp string)
- func (o *GetServiceServiceIDEndpointsURL) String() string
- func (o *GetServiceServiceIDEndpointsURL) StringFull(scheme, host string) string
- func (o *GetServiceServiceIDEndpointsURL) WithBasePath(bp string) *GetServiceServiceIDEndpointsURL
- type GetServiceServiceIDEndpointsUnauthorized
- func (o *GetServiceServiceIDEndpointsUnauthorized) SetPayload(payload *models.Error)
- func (o *GetServiceServiceIDEndpointsUnauthorized) WithPayload(payload *models.Error) *GetServiceServiceIDEndpointsUnauthorized
- func (o *GetServiceServiceIDEndpointsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceServiceIDEndpointsUnprocessableEntity
- func (o *GetServiceServiceIDEndpointsUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *GetServiceServiceIDEndpointsUnprocessableEntity) WithPayload(payload *models.Error) *GetServiceServiceIDEndpointsUnprocessableEntity
- func (o *GetServiceServiceIDEndpointsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceServiceIDForbidden
- type GetServiceServiceIDHandler
- type GetServiceServiceIDHandlerFunc
- type GetServiceServiceIDNotFound
- type GetServiceServiceIDOK
- type GetServiceServiceIDParams
- type GetServiceServiceIDURL
- func (o *GetServiceServiceIDURL) Build() (*url.URL, error)
- func (o *GetServiceServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceServiceIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceServiceIDURL) SetBasePath(bp string)
- func (o *GetServiceServiceIDURL) String() string
- func (o *GetServiceServiceIDURL) StringFull(scheme, host string) string
- func (o *GetServiceServiceIDURL) WithBasePath(bp string) *GetServiceServiceIDURL
- type GetServiceServiceIDUnauthorized
- type GetServiceServiceIDUnprocessableEntity
- func (o *GetServiceServiceIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *GetServiceServiceIDUnprocessableEntity) WithPayload(payload *models.Error) *GetServiceServiceIDUnprocessableEntity
- func (o *GetServiceServiceIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceURL
- func (o *GetServiceURL) Build() (*url.URL, error)
- func (o *GetServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceURL) SetBasePath(bp string)
- func (o *GetServiceURL) String() string
- func (o *GetServiceURL) StringFull(scheme, host string) string
- func (o *GetServiceURL) WithBasePath(bp string) *GetServiceURL
- type GetServiceUnauthorized
- type GetServiceUnprocessableEntity
- type PostService
- type PostServiceConflict
- type PostServiceCreated
- type PostServiceForbidden
- type PostServiceHandler
- type PostServiceHandlerFunc
- type PostServiceParams
- type PostServiceURL
- func (o *PostServiceURL) Build() (*url.URL, error)
- func (o *PostServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *PostServiceURL) SetBasePath(bp string)
- func (o *PostServiceURL) String() string
- func (o *PostServiceURL) StringFull(scheme, host string) string
- func (o *PostServiceURL) WithBasePath(bp string) *PostServiceURL
- type PostServiceUnauthorized
- type PostServiceUnprocessableEntity
- type PutServiceServiceID
- type PutServiceServiceIDAcceptEndpoints
- type PutServiceServiceIDAcceptEndpointsBadRequest
- func (o *PutServiceServiceIDAcceptEndpointsBadRequest) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDAcceptEndpointsBadRequest) WithPayload(payload *models.Error) *PutServiceServiceIDAcceptEndpointsBadRequest
- func (o *PutServiceServiceIDAcceptEndpointsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDAcceptEndpointsForbidden
- func (o *PutServiceServiceIDAcceptEndpointsForbidden) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDAcceptEndpointsForbidden) WithPayload(payload *models.Error) *PutServiceServiceIDAcceptEndpointsForbidden
- func (o *PutServiceServiceIDAcceptEndpointsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDAcceptEndpointsHandler
- type PutServiceServiceIDAcceptEndpointsHandlerFunc
- type PutServiceServiceIDAcceptEndpointsNotFound
- type PutServiceServiceIDAcceptEndpointsOK
- func (o *PutServiceServiceIDAcceptEndpointsOK) SetPayload(payload []*models.EndpointConsumer)
- func (o *PutServiceServiceIDAcceptEndpointsOK) WithPayload(payload []*models.EndpointConsumer) *PutServiceServiceIDAcceptEndpointsOK
- func (o *PutServiceServiceIDAcceptEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDAcceptEndpointsParams
- type PutServiceServiceIDAcceptEndpointsURL
- func (o *PutServiceServiceIDAcceptEndpointsURL) Build() (*url.URL, error)
- func (o *PutServiceServiceIDAcceptEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutServiceServiceIDAcceptEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *PutServiceServiceIDAcceptEndpointsURL) SetBasePath(bp string)
- func (o *PutServiceServiceIDAcceptEndpointsURL) String() string
- func (o *PutServiceServiceIDAcceptEndpointsURL) StringFull(scheme, host string) string
- func (o *PutServiceServiceIDAcceptEndpointsURL) WithBasePath(bp string) *PutServiceServiceIDAcceptEndpointsURL
- type PutServiceServiceIDAcceptEndpointsUnauthorized
- func (o *PutServiceServiceIDAcceptEndpointsUnauthorized) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDAcceptEndpointsUnauthorized) WithPayload(payload *models.Error) *PutServiceServiceIDAcceptEndpointsUnauthorized
- func (o *PutServiceServiceIDAcceptEndpointsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDAcceptEndpointsUnprocessableEntity
- func (o *PutServiceServiceIDAcceptEndpointsUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDAcceptEndpointsUnprocessableEntity) WithPayload(payload *models.Error) *PutServiceServiceIDAcceptEndpointsUnprocessableEntity
- func (o *PutServiceServiceIDAcceptEndpointsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDConflict
- type PutServiceServiceIDForbidden
- type PutServiceServiceIDHandler
- type PutServiceServiceIDHandlerFunc
- type PutServiceServiceIDNotFound
- type PutServiceServiceIDOK
- type PutServiceServiceIDParams
- type PutServiceServiceIDRejectEndpoints
- type PutServiceServiceIDRejectEndpointsBadRequest
- func (o *PutServiceServiceIDRejectEndpointsBadRequest) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDRejectEndpointsBadRequest) WithPayload(payload *models.Error) *PutServiceServiceIDRejectEndpointsBadRequest
- func (o *PutServiceServiceIDRejectEndpointsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDRejectEndpointsForbidden
- func (o *PutServiceServiceIDRejectEndpointsForbidden) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDRejectEndpointsForbidden) WithPayload(payload *models.Error) *PutServiceServiceIDRejectEndpointsForbidden
- func (o *PutServiceServiceIDRejectEndpointsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDRejectEndpointsHandler
- type PutServiceServiceIDRejectEndpointsHandlerFunc
- type PutServiceServiceIDRejectEndpointsNotFound
- type PutServiceServiceIDRejectEndpointsOK
- func (o *PutServiceServiceIDRejectEndpointsOK) SetPayload(payload []*models.EndpointConsumer)
- func (o *PutServiceServiceIDRejectEndpointsOK) WithPayload(payload []*models.EndpointConsumer) *PutServiceServiceIDRejectEndpointsOK
- func (o *PutServiceServiceIDRejectEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDRejectEndpointsParams
- type PutServiceServiceIDRejectEndpointsURL
- func (o *PutServiceServiceIDRejectEndpointsURL) Build() (*url.URL, error)
- func (o *PutServiceServiceIDRejectEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutServiceServiceIDRejectEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *PutServiceServiceIDRejectEndpointsURL) SetBasePath(bp string)
- func (o *PutServiceServiceIDRejectEndpointsURL) String() string
- func (o *PutServiceServiceIDRejectEndpointsURL) StringFull(scheme, host string) string
- func (o *PutServiceServiceIDRejectEndpointsURL) WithBasePath(bp string) *PutServiceServiceIDRejectEndpointsURL
- type PutServiceServiceIDRejectEndpointsUnauthorized
- func (o *PutServiceServiceIDRejectEndpointsUnauthorized) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDRejectEndpointsUnauthorized) WithPayload(payload *models.Error) *PutServiceServiceIDRejectEndpointsUnauthorized
- func (o *PutServiceServiceIDRejectEndpointsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDRejectEndpointsUnprocessableEntity
- func (o *PutServiceServiceIDRejectEndpointsUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDRejectEndpointsUnprocessableEntity) WithPayload(payload *models.Error) *PutServiceServiceIDRejectEndpointsUnprocessableEntity
- func (o *PutServiceServiceIDRejectEndpointsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutServiceServiceIDURL
- func (o *PutServiceServiceIDURL) Build() (*url.URL, error)
- func (o *PutServiceServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutServiceServiceIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutServiceServiceIDURL) SetBasePath(bp string)
- func (o *PutServiceServiceIDURL) String() string
- func (o *PutServiceServiceIDURL) StringFull(scheme, host string) string
- func (o *PutServiceServiceIDURL) WithBasePath(bp string) *PutServiceServiceIDURL
- type PutServiceServiceIDUnauthorized
- type PutServiceServiceIDUnprocessableEntity
- func (o *PutServiceServiceIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *PutServiceServiceIDUnprocessableEntity) WithPayload(payload *models.Error) *PutServiceServiceIDUnprocessableEntity
- func (o *PutServiceServiceIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const DeleteServiceServiceIDAcceptedCode int = 202
DeleteServiceServiceIDAcceptedCode is the HTTP code returned for type DeleteServiceServiceIDAccepted
const DeleteServiceServiceIDConflictCode int = 409
DeleteServiceServiceIDConflictCode is the HTTP code returned for type DeleteServiceServiceIDConflict
const DeleteServiceServiceIDForbiddenCode int = 403
DeleteServiceServiceIDForbiddenCode is the HTTP code returned for type DeleteServiceServiceIDForbidden
const DeleteServiceServiceIDNotFoundCode int = 404
DeleteServiceServiceIDNotFoundCode is the HTTP code returned for type DeleteServiceServiceIDNotFound
DeleteServiceServiceIDUnauthorizedCode is the HTTP code returned for type DeleteServiceServiceIDUnauthorized
const DeleteServiceServiceIDUnprocessableEntityCode int = 422
DeleteServiceServiceIDUnprocessableEntityCode is the HTTP code returned for type DeleteServiceServiceIDUnprocessableEntity
const GetServiceBadRequestCode int = 400
GetServiceBadRequestCode is the HTTP code returned for type GetServiceBadRequest
const GetServiceForbiddenCode int = 403
GetServiceForbiddenCode is the HTTP code returned for type GetServiceForbidden
const GetServiceOKCode int = 200
GetServiceOKCode is the HTTP code returned for type GetServiceOK
const GetServiceServiceIDEndpointsBadRequestCode int = 400
GetServiceServiceIDEndpointsBadRequestCode is the HTTP code returned for type GetServiceServiceIDEndpointsBadRequest
const GetServiceServiceIDEndpointsForbiddenCode int = 403
GetServiceServiceIDEndpointsForbiddenCode is the HTTP code returned for type GetServiceServiceIDEndpointsForbidden
const GetServiceServiceIDEndpointsNotFoundCode int = 404
GetServiceServiceIDEndpointsNotFoundCode is the HTTP code returned for type GetServiceServiceIDEndpointsNotFound
const GetServiceServiceIDEndpointsOKCode int = 200
GetServiceServiceIDEndpointsOKCode is the HTTP code returned for type GetServiceServiceIDEndpointsOK
GetServiceServiceIDEndpointsUnauthorizedCode is the HTTP code returned for type GetServiceServiceIDEndpointsUnauthorized
const GetServiceServiceIDEndpointsUnprocessableEntityCode int = 422
GetServiceServiceIDEndpointsUnprocessableEntityCode is the HTTP code returned for type GetServiceServiceIDEndpointsUnprocessableEntity
const GetServiceServiceIDForbiddenCode int = 403
GetServiceServiceIDForbiddenCode is the HTTP code returned for type GetServiceServiceIDForbidden
const GetServiceServiceIDNotFoundCode int = 404
GetServiceServiceIDNotFoundCode is the HTTP code returned for type GetServiceServiceIDNotFound
const GetServiceServiceIDOKCode int = 200
GetServiceServiceIDOKCode is the HTTP code returned for type GetServiceServiceIDOK
GetServiceServiceIDUnauthorizedCode is the HTTP code returned for type GetServiceServiceIDUnauthorized
const GetServiceServiceIDUnprocessableEntityCode int = 422
GetServiceServiceIDUnprocessableEntityCode is the HTTP code returned for type GetServiceServiceIDUnprocessableEntity
GetServiceUnauthorizedCode is the HTTP code returned for type GetServiceUnauthorized
const GetServiceUnprocessableEntityCode int = 422
GetServiceUnprocessableEntityCode is the HTTP code returned for type GetServiceUnprocessableEntity
const PostServiceConflictCode int = 409
PostServiceConflictCode is the HTTP code returned for type PostServiceConflict
const PostServiceCreatedCode int = 201
PostServiceCreatedCode is the HTTP code returned for type PostServiceCreated
const PostServiceForbiddenCode int = 403
PostServiceForbiddenCode is the HTTP code returned for type PostServiceForbidden
PostServiceUnauthorizedCode is the HTTP code returned for type PostServiceUnauthorized
const PostServiceUnprocessableEntityCode int = 422
PostServiceUnprocessableEntityCode is the HTTP code returned for type PostServiceUnprocessableEntity
const PutServiceServiceIDAcceptEndpointsBadRequestCode int = 400
PutServiceServiceIDAcceptEndpointsBadRequestCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsBadRequest
const PutServiceServiceIDAcceptEndpointsForbiddenCode int = 403
PutServiceServiceIDAcceptEndpointsForbiddenCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsForbidden
const PutServiceServiceIDAcceptEndpointsNotFoundCode int = 404
PutServiceServiceIDAcceptEndpointsNotFoundCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsNotFound
const PutServiceServiceIDAcceptEndpointsOKCode int = 200
PutServiceServiceIDAcceptEndpointsOKCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsOK
PutServiceServiceIDAcceptEndpointsUnauthorizedCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsUnauthorized
const PutServiceServiceIDAcceptEndpointsUnprocessableEntityCode int = 422
PutServiceServiceIDAcceptEndpointsUnprocessableEntityCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsUnprocessableEntity
const PutServiceServiceIDConflictCode int = 409
PutServiceServiceIDConflictCode is the HTTP code returned for type PutServiceServiceIDConflict
const PutServiceServiceIDForbiddenCode int = 403
PutServiceServiceIDForbiddenCode is the HTTP code returned for type PutServiceServiceIDForbidden
const PutServiceServiceIDNotFoundCode int = 404
PutServiceServiceIDNotFoundCode is the HTTP code returned for type PutServiceServiceIDNotFound
const PutServiceServiceIDOKCode int = 200
PutServiceServiceIDOKCode is the HTTP code returned for type PutServiceServiceIDOK
const PutServiceServiceIDRejectEndpointsBadRequestCode int = 400
PutServiceServiceIDRejectEndpointsBadRequestCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsBadRequest
const PutServiceServiceIDRejectEndpointsForbiddenCode int = 403
PutServiceServiceIDRejectEndpointsForbiddenCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsForbidden
const PutServiceServiceIDRejectEndpointsNotFoundCode int = 404
PutServiceServiceIDRejectEndpointsNotFoundCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsNotFound
const PutServiceServiceIDRejectEndpointsOKCode int = 200
PutServiceServiceIDRejectEndpointsOKCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsOK
PutServiceServiceIDRejectEndpointsUnauthorizedCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsUnauthorized
const PutServiceServiceIDRejectEndpointsUnprocessableEntityCode int = 422
PutServiceServiceIDRejectEndpointsUnprocessableEntityCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsUnprocessableEntity
PutServiceServiceIDUnauthorizedCode is the HTTP code returned for type PutServiceServiceIDUnauthorized
const PutServiceServiceIDUnprocessableEntityCode int = 422
PutServiceServiceIDUnprocessableEntityCode is the HTTP code returned for type PutServiceServiceIDUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteServiceServiceID ¶
type DeleteServiceServiceID struct { Context *middleware.Context Handler DeleteServiceServiceIDHandler }
DeleteServiceServiceID swagger:route DELETE /service/{service_id} Service deleteServiceServiceId
Remove service from catalog ¶
Deletes this service. There **must** be no active associated endpoint for successfully deleting the service. Active endpoints can be rejected by the service owner via the `/service/{service_id}/reject_endpoints` API.
func NewDeleteServiceServiceID ¶
func NewDeleteServiceServiceID(ctx *middleware.Context, handler DeleteServiceServiceIDHandler) *DeleteServiceServiceID
NewDeleteServiceServiceID creates a new http.Handler for the delete service service ID operation
func (*DeleteServiceServiceID) ServeHTTP ¶
func (o *DeleteServiceServiceID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceServiceIDAccepted ¶
type DeleteServiceServiceIDAccepted struct { }
DeleteServiceServiceIDAccepted Delete request successfully accepted.
swagger:response deleteServiceServiceIdAccepted
func NewDeleteServiceServiceIDAccepted ¶
func NewDeleteServiceServiceIDAccepted() *DeleteServiceServiceIDAccepted
NewDeleteServiceServiceIDAccepted creates DeleteServiceServiceIDAccepted with default headers values
func (*DeleteServiceServiceIDAccepted) WriteResponse ¶
func (o *DeleteServiceServiceIDAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceServiceIDConflict ¶
type DeleteServiceServiceIDConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteServiceServiceIDConflict In use.
swagger:response deleteServiceServiceIdConflict
func NewDeleteServiceServiceIDConflict ¶
func NewDeleteServiceServiceIDConflict() *DeleteServiceServiceIDConflict
NewDeleteServiceServiceIDConflict creates DeleteServiceServiceIDConflict with default headers values
func (*DeleteServiceServiceIDConflict) SetPayload ¶
func (o *DeleteServiceServiceIDConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service service Id conflict response
func (*DeleteServiceServiceIDConflict) WithPayload ¶
func (o *DeleteServiceServiceIDConflict) WithPayload(payload *models.Error) *DeleteServiceServiceIDConflict
WithPayload adds the payload to the delete service service Id conflict response
func (*DeleteServiceServiceIDConflict) WriteResponse ¶
func (o *DeleteServiceServiceIDConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceServiceIDForbidden ¶
type DeleteServiceServiceIDForbidden struct { }
DeleteServiceServiceIDForbidden Forbidden
swagger:response deleteServiceServiceIdForbidden
func NewDeleteServiceServiceIDForbidden ¶
func NewDeleteServiceServiceIDForbidden() *DeleteServiceServiceIDForbidden
NewDeleteServiceServiceIDForbidden creates DeleteServiceServiceIDForbidden with default headers values
func (*DeleteServiceServiceIDForbidden) WriteResponse ¶
func (o *DeleteServiceServiceIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceServiceIDHandler ¶
type DeleteServiceServiceIDHandler interface {
Handle(DeleteServiceServiceIDParams, interface{}) middleware.Responder
}
DeleteServiceServiceIDHandler interface for that can handle valid delete service service ID params
type DeleteServiceServiceIDHandlerFunc ¶
type DeleteServiceServiceIDHandlerFunc func(DeleteServiceServiceIDParams, interface{}) middleware.Responder
DeleteServiceServiceIDHandlerFunc turns a function with the right signature into a delete service service ID handler
func (DeleteServiceServiceIDHandlerFunc) Handle ¶
func (fn DeleteServiceServiceIDHandlerFunc) Handle(params DeleteServiceServiceIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceServiceIDNotFound ¶
type DeleteServiceServiceIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteServiceServiceIDNotFound Not Found
swagger:response deleteServiceServiceIdNotFound
func NewDeleteServiceServiceIDNotFound ¶
func NewDeleteServiceServiceIDNotFound() *DeleteServiceServiceIDNotFound
NewDeleteServiceServiceIDNotFound creates DeleteServiceServiceIDNotFound with default headers values
func (*DeleteServiceServiceIDNotFound) SetPayload ¶
func (o *DeleteServiceServiceIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service service Id not found response
func (*DeleteServiceServiceIDNotFound) WithPayload ¶
func (o *DeleteServiceServiceIDNotFound) WithPayload(payload *models.Error) *DeleteServiceServiceIDNotFound
WithPayload adds the payload to the delete service service Id not found response
func (*DeleteServiceServiceIDNotFound) WriteResponse ¶
func (o *DeleteServiceServiceIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceServiceIDParams ¶
type DeleteServiceServiceIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The UUID of the service Required: true In: path */ ServiceID strfmt.UUID }
DeleteServiceServiceIDParams contains all the bound params for the delete service service ID operation typically these are obtained from a http.Request
swagger:parameters DeleteServiceServiceID
func NewDeleteServiceServiceIDParams ¶
func NewDeleteServiceServiceIDParams() DeleteServiceServiceIDParams
NewDeleteServiceServiceIDParams creates a new DeleteServiceServiceIDParams object
There are no default values defined in the spec.
func (*DeleteServiceServiceIDParams) BindRequest ¶
func (o *DeleteServiceServiceIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteServiceServiceIDParams() beforehand.
type DeleteServiceServiceIDURL ¶
type DeleteServiceServiceIDURL struct { ServiceID strfmt.UUID // contains filtered or unexported fields }
DeleteServiceServiceIDURL generates an URL for the delete service service ID operation
func (*DeleteServiceServiceIDURL) Build ¶
func (o *DeleteServiceServiceIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceServiceIDURL) BuildFull ¶
func (o *DeleteServiceServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceServiceIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceServiceIDURL) SetBasePath ¶
func (o *DeleteServiceServiceIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteServiceServiceIDURL) String ¶
func (o *DeleteServiceServiceIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceServiceIDURL) StringFull ¶
func (o *DeleteServiceServiceIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceServiceIDURL) WithBasePath ¶
func (o *DeleteServiceServiceIDURL) WithBasePath(bp string) *DeleteServiceServiceIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteServiceServiceIDUnauthorized ¶
DeleteServiceServiceIDUnauthorized Unauthorized
swagger:response deleteServiceServiceIdUnauthorized
func NewDeleteServiceServiceIDUnauthorized ¶
func NewDeleteServiceServiceIDUnauthorized() *DeleteServiceServiceIDUnauthorized
NewDeleteServiceServiceIDUnauthorized creates DeleteServiceServiceIDUnauthorized with default headers values
func (*DeleteServiceServiceIDUnauthorized) SetPayload ¶
func (o *DeleteServiceServiceIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service service Id unauthorized response
func (*DeleteServiceServiceIDUnauthorized) WithPayload ¶
func (o *DeleteServiceServiceIDUnauthorized) WithPayload(payload *models.Error) *DeleteServiceServiceIDUnauthorized
WithPayload adds the payload to the delete service service Id unauthorized response
func (*DeleteServiceServiceIDUnauthorized) WriteResponse ¶
func (o *DeleteServiceServiceIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceServiceIDUnprocessableEntity ¶
type DeleteServiceServiceIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteServiceServiceIDUnprocessableEntity Unprocessable Content
swagger:response deleteServiceServiceIdUnprocessableEntity
func NewDeleteServiceServiceIDUnprocessableEntity ¶
func NewDeleteServiceServiceIDUnprocessableEntity() *DeleteServiceServiceIDUnprocessableEntity
NewDeleteServiceServiceIDUnprocessableEntity creates DeleteServiceServiceIDUnprocessableEntity with default headers values
func (*DeleteServiceServiceIDUnprocessableEntity) SetPayload ¶
func (o *DeleteServiceServiceIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service service Id unprocessable entity response
func (*DeleteServiceServiceIDUnprocessableEntity) WithPayload ¶
func (o *DeleteServiceServiceIDUnprocessableEntity) WithPayload(payload *models.Error) *DeleteServiceServiceIDUnprocessableEntity
WithPayload adds the payload to the delete service service Id unprocessable entity response
func (*DeleteServiceServiceIDUnprocessableEntity) WriteResponse ¶
func (o *DeleteServiceServiceIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetService ¶
type GetService struct { Context *middleware.Context Handler GetServiceHandler }
GetService swagger:route GET /service Service getService
List services
func NewGetService ¶
func NewGetService(ctx *middleware.Context, handler GetServiceHandler) *GetService
NewGetService creates a new http.Handler for the get service operation
func (*GetService) ServeHTTP ¶
func (o *GetService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceBadRequest ¶
GetServiceBadRequest Bad request
swagger:response getServiceBadRequest
func NewGetServiceBadRequest ¶
func NewGetServiceBadRequest() *GetServiceBadRequest
NewGetServiceBadRequest creates GetServiceBadRequest with default headers values
func (*GetServiceBadRequest) SetPayload ¶
func (o *GetServiceBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service bad request response
func (*GetServiceBadRequest) WithPayload ¶
func (o *GetServiceBadRequest) WithPayload(payload *models.Error) *GetServiceBadRequest
WithPayload adds the payload to the get service bad request response
func (*GetServiceBadRequest) WriteResponse ¶
func (o *GetServiceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceForbidden ¶
type GetServiceForbidden struct { }
GetServiceForbidden Forbidden
swagger:response getServiceForbidden
func NewGetServiceForbidden ¶
func NewGetServiceForbidden() *GetServiceForbidden
NewGetServiceForbidden creates GetServiceForbidden with default headers values
func (*GetServiceForbidden) WriteResponse ¶
func (o *GetServiceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceHandler ¶
type GetServiceHandler interface {
Handle(GetServiceParams, interface{}) middleware.Responder
}
GetServiceHandler interface for that can handle valid get service params
type GetServiceHandlerFunc ¶
type GetServiceHandlerFunc func(GetServiceParams, interface{}) middleware.Responder
GetServiceHandlerFunc turns a function with the right signature into a get service handler
func (GetServiceHandlerFunc) Handle ¶
func (fn GetServiceHandlerFunc) Handle(params GetServiceParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetServiceOK ¶
type GetServiceOK struct { /* In: Body */ Payload *GetServiceOKBody `json:"body,omitempty"` }
GetServiceOK An array of services.
swagger:response getServiceOK
func NewGetServiceOK ¶
func NewGetServiceOK() *GetServiceOK
NewGetServiceOK creates GetServiceOK with default headers values
func (*GetServiceOK) SetPayload ¶
func (o *GetServiceOK) SetPayload(payload *GetServiceOKBody)
SetPayload sets the payload to the get service o k response
func (*GetServiceOK) WithPayload ¶
func (o *GetServiceOK) WithPayload(payload *GetServiceOKBody) *GetServiceOK
WithPayload adds the payload to the get service o k response
func (*GetServiceOK) WriteResponse ¶
func (o *GetServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceOKBody ¶
type GetServiceOKBody struct { // items Items []*models.Service `json:"items"` // links Links []*models.Link `json:"links,omitempty"` }
GetServiceOKBody get service o k body
swagger:model GetServiceOKBody
func (*GetServiceOKBody) ContextValidate ¶
ContextValidate validate this get service o k body based on the context it is used
func (*GetServiceOKBody) MarshalBinary ¶
func (o *GetServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceOKBody) UnmarshalBinary ¶
func (o *GetServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceParams ¶
type GetServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Sets the page size. In: query */ Limit *int64 /*Pagination ID of the last item in the previous list. In: query */ Marker *strfmt.UUID /*Filter for resources not having tags, multiple not-tags are considered as logical AND. Should be provided in a comma separated list. In: query */ NotTags []string /*Filter for resources not having tags, multiple tags are considered as logical OR. Should be provided in a comma separated list. In: query */ NotTagsAny []string /*Sets the page direction. In: query */ PageReverse *bool /*Filter for resources belonging or accessible by a specific project. Max Length: 32 Min Length: 32 In: query */ ProjectID *string /*Comma-separated list of sort keys, optionally prefix with - to reverse sort order. In: query */ Sort *string /*Filter for tags, multiple tags are considered as logical AND. Should be provided in a comma separated list. In: query */ Tags []string /*Filter for tags, multiple tags are considered as logical OR. Should be provided in a comma separated list. In: query */ TagsAny []string }
GetServiceParams contains all the bound params for the get service operation typically these are obtained from a http.Request
swagger:parameters GetService
func NewGetServiceParams ¶
func NewGetServiceParams() GetServiceParams
NewGetServiceParams creates a new GetServiceParams object
There are no default values defined in the spec.
func (*GetServiceParams) BindRequest ¶
func (o *GetServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetServiceParams() beforehand.
type GetServiceServiceID ¶
type GetServiceServiceID struct { Context *middleware.Context Handler GetServiceServiceIDHandler }
GetServiceServiceID swagger:route GET /service/{service_id} Service getServiceServiceId
Show details of an service
func NewGetServiceServiceID ¶
func NewGetServiceServiceID(ctx *middleware.Context, handler GetServiceServiceIDHandler) *GetServiceServiceID
NewGetServiceServiceID creates a new http.Handler for the get service service ID operation
func (*GetServiceServiceID) ServeHTTP ¶
func (o *GetServiceServiceID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceServiceIDEndpoints ¶
type GetServiceServiceIDEndpoints struct { Context *middleware.Context Handler GetServiceServiceIDEndpointsHandler }
GetServiceServiceIDEndpoints swagger:route GET /service/{service_id}/endpoints Service getServiceServiceIdEndpoints
List service endpoints consumers ¶
Provides a list of service consumers (endpoints).
This list can be used to accept or reject requests, or disable active endpoints. Rejected endpoints will be cleaned up after a specific time.
func NewGetServiceServiceIDEndpoints ¶
func NewGetServiceServiceIDEndpoints(ctx *middleware.Context, handler GetServiceServiceIDEndpointsHandler) *GetServiceServiceIDEndpoints
NewGetServiceServiceIDEndpoints creates a new http.Handler for the get service service ID endpoints operation
func (*GetServiceServiceIDEndpoints) ServeHTTP ¶
func (o *GetServiceServiceIDEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceServiceIDEndpointsBadRequest ¶
type GetServiceServiceIDEndpointsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceServiceIDEndpointsBadRequest Bad request
swagger:response getServiceServiceIdEndpointsBadRequest
func NewGetServiceServiceIDEndpointsBadRequest ¶
func NewGetServiceServiceIDEndpointsBadRequest() *GetServiceServiceIDEndpointsBadRequest
NewGetServiceServiceIDEndpointsBadRequest creates GetServiceServiceIDEndpointsBadRequest with default headers values
func (*GetServiceServiceIDEndpointsBadRequest) SetPayload ¶
func (o *GetServiceServiceIDEndpointsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service service Id endpoints bad request response
func (*GetServiceServiceIDEndpointsBadRequest) WithPayload ¶
func (o *GetServiceServiceIDEndpointsBadRequest) WithPayload(payload *models.Error) *GetServiceServiceIDEndpointsBadRequest
WithPayload adds the payload to the get service service Id endpoints bad request response
func (*GetServiceServiceIDEndpointsBadRequest) WriteResponse ¶
func (o *GetServiceServiceIDEndpointsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDEndpointsForbidden ¶
type GetServiceServiceIDEndpointsForbidden struct { }
GetServiceServiceIDEndpointsForbidden Forbidden
swagger:response getServiceServiceIdEndpointsForbidden
func NewGetServiceServiceIDEndpointsForbidden ¶
func NewGetServiceServiceIDEndpointsForbidden() *GetServiceServiceIDEndpointsForbidden
NewGetServiceServiceIDEndpointsForbidden creates GetServiceServiceIDEndpointsForbidden with default headers values
func (*GetServiceServiceIDEndpointsForbidden) WriteResponse ¶
func (o *GetServiceServiceIDEndpointsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDEndpointsHandler ¶
type GetServiceServiceIDEndpointsHandler interface {
Handle(GetServiceServiceIDEndpointsParams, interface{}) middleware.Responder
}
GetServiceServiceIDEndpointsHandler interface for that can handle valid get service service ID endpoints params
type GetServiceServiceIDEndpointsHandlerFunc ¶
type GetServiceServiceIDEndpointsHandlerFunc func(GetServiceServiceIDEndpointsParams, interface{}) middleware.Responder
GetServiceServiceIDEndpointsHandlerFunc turns a function with the right signature into a get service service ID endpoints handler
func (GetServiceServiceIDEndpointsHandlerFunc) Handle ¶
func (fn GetServiceServiceIDEndpointsHandlerFunc) Handle(params GetServiceServiceIDEndpointsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetServiceServiceIDEndpointsNotFound ¶
type GetServiceServiceIDEndpointsNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceServiceIDEndpointsNotFound Not Found
swagger:response getServiceServiceIdEndpointsNotFound
func NewGetServiceServiceIDEndpointsNotFound ¶
func NewGetServiceServiceIDEndpointsNotFound() *GetServiceServiceIDEndpointsNotFound
NewGetServiceServiceIDEndpointsNotFound creates GetServiceServiceIDEndpointsNotFound with default headers values
func (*GetServiceServiceIDEndpointsNotFound) SetPayload ¶
func (o *GetServiceServiceIDEndpointsNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service service Id endpoints not found response
func (*GetServiceServiceIDEndpointsNotFound) WithPayload ¶
func (o *GetServiceServiceIDEndpointsNotFound) WithPayload(payload *models.Error) *GetServiceServiceIDEndpointsNotFound
WithPayload adds the payload to the get service service Id endpoints not found response
func (*GetServiceServiceIDEndpointsNotFound) WriteResponse ¶
func (o *GetServiceServiceIDEndpointsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDEndpointsOK ¶
type GetServiceServiceIDEndpointsOK struct { /* In: Body */ Payload *GetServiceServiceIDEndpointsOKBody `json:"body,omitempty"` }
GetServiceServiceIDEndpointsOK An array of service endpoint consumers.
swagger:response getServiceServiceIdEndpointsOK
func NewGetServiceServiceIDEndpointsOK ¶
func NewGetServiceServiceIDEndpointsOK() *GetServiceServiceIDEndpointsOK
NewGetServiceServiceIDEndpointsOK creates GetServiceServiceIDEndpointsOK with default headers values
func (*GetServiceServiceIDEndpointsOK) SetPayload ¶
func (o *GetServiceServiceIDEndpointsOK) SetPayload(payload *GetServiceServiceIDEndpointsOKBody)
SetPayload sets the payload to the get service service Id endpoints o k response
func (*GetServiceServiceIDEndpointsOK) WithPayload ¶
func (o *GetServiceServiceIDEndpointsOK) WithPayload(payload *GetServiceServiceIDEndpointsOKBody) *GetServiceServiceIDEndpointsOK
WithPayload adds the payload to the get service service Id endpoints o k response
func (*GetServiceServiceIDEndpointsOK) WriteResponse ¶
func (o *GetServiceServiceIDEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDEndpointsOKBody ¶
type GetServiceServiceIDEndpointsOKBody struct { // items Items []*models.EndpointConsumer `json:"items"` // links Links []*models.Link `json:"links,omitempty"` }
GetServiceServiceIDEndpointsOKBody get service service ID endpoints o k body
swagger:model GetServiceServiceIDEndpointsOKBody
func (*GetServiceServiceIDEndpointsOKBody) ContextValidate ¶
func (o *GetServiceServiceIDEndpointsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get service service ID endpoints o k body based on the context it is used
func (*GetServiceServiceIDEndpointsOKBody) MarshalBinary ¶
func (o *GetServiceServiceIDEndpointsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceServiceIDEndpointsOKBody) UnmarshalBinary ¶
func (o *GetServiceServiceIDEndpointsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceServiceIDEndpointsParams ¶
type GetServiceServiceIDEndpointsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Sets the page size. In: query */ Limit *int64 /*Pagination ID of the last item in the previous list. In: query */ Marker *strfmt.UUID /*Sets the page direction. In: query */ PageReverse *bool /*The UUID of the service Required: true In: path */ ServiceID strfmt.UUID /*Comma-separated list of sort keys, optionally prefix with - to reverse sort order. In: query */ Sort *string }
GetServiceServiceIDEndpointsParams contains all the bound params for the get service service ID endpoints operation typically these are obtained from a http.Request
swagger:parameters GetServiceServiceIDEndpoints
func NewGetServiceServiceIDEndpointsParams ¶
func NewGetServiceServiceIDEndpointsParams() GetServiceServiceIDEndpointsParams
NewGetServiceServiceIDEndpointsParams creates a new GetServiceServiceIDEndpointsParams object
There are no default values defined in the spec.
func (*GetServiceServiceIDEndpointsParams) BindRequest ¶
func (o *GetServiceServiceIDEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetServiceServiceIDEndpointsParams() beforehand.
type GetServiceServiceIDEndpointsURL ¶
type GetServiceServiceIDEndpointsURL struct { ServiceID strfmt.UUID Limit *int64 Marker *strfmt.UUID PageReverse *bool Sort *string // contains filtered or unexported fields }
GetServiceServiceIDEndpointsURL generates an URL for the get service service ID endpoints operation
func (*GetServiceServiceIDEndpointsURL) Build ¶
func (o *GetServiceServiceIDEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceServiceIDEndpointsURL) BuildFull ¶
func (o *GetServiceServiceIDEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceServiceIDEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceServiceIDEndpointsURL) SetBasePath ¶
func (o *GetServiceServiceIDEndpointsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetServiceServiceIDEndpointsURL) String ¶
func (o *GetServiceServiceIDEndpointsURL) String() string
String returns the string representation of the path with query string
func (*GetServiceServiceIDEndpointsURL) StringFull ¶
func (o *GetServiceServiceIDEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceServiceIDEndpointsURL) WithBasePath ¶
func (o *GetServiceServiceIDEndpointsURL) WithBasePath(bp string) *GetServiceServiceIDEndpointsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetServiceServiceIDEndpointsUnauthorized ¶
type GetServiceServiceIDEndpointsUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
GetServiceServiceIDEndpointsUnauthorized Unauthorized
swagger:response getServiceServiceIdEndpointsUnauthorized
func NewGetServiceServiceIDEndpointsUnauthorized ¶
func NewGetServiceServiceIDEndpointsUnauthorized() *GetServiceServiceIDEndpointsUnauthorized
NewGetServiceServiceIDEndpointsUnauthorized creates GetServiceServiceIDEndpointsUnauthorized with default headers values
func (*GetServiceServiceIDEndpointsUnauthorized) SetPayload ¶
func (o *GetServiceServiceIDEndpointsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service service Id endpoints unauthorized response
func (*GetServiceServiceIDEndpointsUnauthorized) WithPayload ¶
func (o *GetServiceServiceIDEndpointsUnauthorized) WithPayload(payload *models.Error) *GetServiceServiceIDEndpointsUnauthorized
WithPayload adds the payload to the get service service Id endpoints unauthorized response
func (*GetServiceServiceIDEndpointsUnauthorized) WriteResponse ¶
func (o *GetServiceServiceIDEndpointsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDEndpointsUnprocessableEntity ¶
type GetServiceServiceIDEndpointsUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceServiceIDEndpointsUnprocessableEntity Unprocessable Content
swagger:response getServiceServiceIdEndpointsUnprocessableEntity
func NewGetServiceServiceIDEndpointsUnprocessableEntity ¶
func NewGetServiceServiceIDEndpointsUnprocessableEntity() *GetServiceServiceIDEndpointsUnprocessableEntity
NewGetServiceServiceIDEndpointsUnprocessableEntity creates GetServiceServiceIDEndpointsUnprocessableEntity with default headers values
func (*GetServiceServiceIDEndpointsUnprocessableEntity) SetPayload ¶
func (o *GetServiceServiceIDEndpointsUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service service Id endpoints unprocessable entity response
func (*GetServiceServiceIDEndpointsUnprocessableEntity) WithPayload ¶
func (o *GetServiceServiceIDEndpointsUnprocessableEntity) WithPayload(payload *models.Error) *GetServiceServiceIDEndpointsUnprocessableEntity
WithPayload adds the payload to the get service service Id endpoints unprocessable entity response
func (*GetServiceServiceIDEndpointsUnprocessableEntity) WriteResponse ¶
func (o *GetServiceServiceIDEndpointsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDForbidden ¶
type GetServiceServiceIDForbidden struct { }
GetServiceServiceIDForbidden Forbidden
swagger:response getServiceServiceIdForbidden
func NewGetServiceServiceIDForbidden ¶
func NewGetServiceServiceIDForbidden() *GetServiceServiceIDForbidden
NewGetServiceServiceIDForbidden creates GetServiceServiceIDForbidden with default headers values
func (*GetServiceServiceIDForbidden) WriteResponse ¶
func (o *GetServiceServiceIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDHandler ¶
type GetServiceServiceIDHandler interface {
Handle(GetServiceServiceIDParams, interface{}) middleware.Responder
}
GetServiceServiceIDHandler interface for that can handle valid get service service ID params
type GetServiceServiceIDHandlerFunc ¶
type GetServiceServiceIDHandlerFunc func(GetServiceServiceIDParams, interface{}) middleware.Responder
GetServiceServiceIDHandlerFunc turns a function with the right signature into a get service service ID handler
func (GetServiceServiceIDHandlerFunc) Handle ¶
func (fn GetServiceServiceIDHandlerFunc) Handle(params GetServiceServiceIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetServiceServiceIDNotFound ¶
type GetServiceServiceIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceServiceIDNotFound Not Found
swagger:response getServiceServiceIdNotFound
func NewGetServiceServiceIDNotFound ¶
func NewGetServiceServiceIDNotFound() *GetServiceServiceIDNotFound
NewGetServiceServiceIDNotFound creates GetServiceServiceIDNotFound with default headers values
func (*GetServiceServiceIDNotFound) SetPayload ¶
func (o *GetServiceServiceIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service service Id not found response
func (*GetServiceServiceIDNotFound) WithPayload ¶
func (o *GetServiceServiceIDNotFound) WithPayload(payload *models.Error) *GetServiceServiceIDNotFound
WithPayload adds the payload to the get service service Id not found response
func (*GetServiceServiceIDNotFound) WriteResponse ¶
func (o *GetServiceServiceIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDOK ¶
type GetServiceServiceIDOK struct { /* In: Body */ Payload *models.Service `json:"body,omitempty"` }
GetServiceServiceIDOK Service
swagger:response getServiceServiceIdOK
func NewGetServiceServiceIDOK ¶
func NewGetServiceServiceIDOK() *GetServiceServiceIDOK
NewGetServiceServiceIDOK creates GetServiceServiceIDOK with default headers values
func (*GetServiceServiceIDOK) SetPayload ¶
func (o *GetServiceServiceIDOK) SetPayload(payload *models.Service)
SetPayload sets the payload to the get service service Id o k response
func (*GetServiceServiceIDOK) WithPayload ¶
func (o *GetServiceServiceIDOK) WithPayload(payload *models.Service) *GetServiceServiceIDOK
WithPayload adds the payload to the get service service Id o k response
func (*GetServiceServiceIDOK) WriteResponse ¶
func (o *GetServiceServiceIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDParams ¶
type GetServiceServiceIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The UUID of the service Required: true In: path */ ServiceID strfmt.UUID }
GetServiceServiceIDParams contains all the bound params for the get service service ID operation typically these are obtained from a http.Request
swagger:parameters GetServiceServiceID
func NewGetServiceServiceIDParams ¶
func NewGetServiceServiceIDParams() GetServiceServiceIDParams
NewGetServiceServiceIDParams creates a new GetServiceServiceIDParams object
There are no default values defined in the spec.
func (*GetServiceServiceIDParams) BindRequest ¶
func (o *GetServiceServiceIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetServiceServiceIDParams() beforehand.
type GetServiceServiceIDURL ¶
type GetServiceServiceIDURL struct { ServiceID strfmt.UUID // contains filtered or unexported fields }
GetServiceServiceIDURL generates an URL for the get service service ID operation
func (*GetServiceServiceIDURL) Build ¶
func (o *GetServiceServiceIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceServiceIDURL) BuildFull ¶
func (o *GetServiceServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceServiceIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceServiceIDURL) SetBasePath ¶
func (o *GetServiceServiceIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetServiceServiceIDURL) String ¶
func (o *GetServiceServiceIDURL) String() string
String returns the string representation of the path with query string
func (*GetServiceServiceIDURL) StringFull ¶
func (o *GetServiceServiceIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceServiceIDURL) WithBasePath ¶
func (o *GetServiceServiceIDURL) WithBasePath(bp string) *GetServiceServiceIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetServiceServiceIDUnauthorized ¶
GetServiceServiceIDUnauthorized Unauthorized
swagger:response getServiceServiceIdUnauthorized
func NewGetServiceServiceIDUnauthorized ¶
func NewGetServiceServiceIDUnauthorized() *GetServiceServiceIDUnauthorized
NewGetServiceServiceIDUnauthorized creates GetServiceServiceIDUnauthorized with default headers values
func (*GetServiceServiceIDUnauthorized) SetPayload ¶
func (o *GetServiceServiceIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service service Id unauthorized response
func (*GetServiceServiceIDUnauthorized) WithPayload ¶
func (o *GetServiceServiceIDUnauthorized) WithPayload(payload *models.Error) *GetServiceServiceIDUnauthorized
WithPayload adds the payload to the get service service Id unauthorized response
func (*GetServiceServiceIDUnauthorized) WriteResponse ¶
func (o *GetServiceServiceIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceServiceIDUnprocessableEntity ¶
type GetServiceServiceIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceServiceIDUnprocessableEntity Unprocessable Content
swagger:response getServiceServiceIdUnprocessableEntity
func NewGetServiceServiceIDUnprocessableEntity ¶
func NewGetServiceServiceIDUnprocessableEntity() *GetServiceServiceIDUnprocessableEntity
NewGetServiceServiceIDUnprocessableEntity creates GetServiceServiceIDUnprocessableEntity with default headers values
func (*GetServiceServiceIDUnprocessableEntity) SetPayload ¶
func (o *GetServiceServiceIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service service Id unprocessable entity response
func (*GetServiceServiceIDUnprocessableEntity) WithPayload ¶
func (o *GetServiceServiceIDUnprocessableEntity) WithPayload(payload *models.Error) *GetServiceServiceIDUnprocessableEntity
WithPayload adds the payload to the get service service Id unprocessable entity response
func (*GetServiceServiceIDUnprocessableEntity) WriteResponse ¶
func (o *GetServiceServiceIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceURL ¶
type GetServiceURL struct { Limit *int64 Marker *strfmt.UUID NotTags []string NotTagsAny []string PageReverse *bool ProjectID *string Sort *string Tags []string TagsAny []string // contains filtered or unexported fields }
GetServiceURL generates an URL for the get service operation
func (*GetServiceURL) Build ¶
func (o *GetServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceURL) BuildFull ¶
func (o *GetServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceURL) SetBasePath ¶
func (o *GetServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetServiceURL) String ¶
func (o *GetServiceURL) String() string
String returns the string representation of the path with query string
func (*GetServiceURL) StringFull ¶
func (o *GetServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceURL) WithBasePath ¶
func (o *GetServiceURL) WithBasePath(bp string) *GetServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetServiceUnauthorized ¶
GetServiceUnauthorized Unauthorized
swagger:response getServiceUnauthorized
func NewGetServiceUnauthorized ¶
func NewGetServiceUnauthorized() *GetServiceUnauthorized
NewGetServiceUnauthorized creates GetServiceUnauthorized with default headers values
func (*GetServiceUnauthorized) SetPayload ¶
func (o *GetServiceUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service unauthorized response
func (*GetServiceUnauthorized) WithPayload ¶
func (o *GetServiceUnauthorized) WithPayload(payload *models.Error) *GetServiceUnauthorized
WithPayload adds the payload to the get service unauthorized response
func (*GetServiceUnauthorized) WriteResponse ¶
func (o *GetServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceUnprocessableEntity ¶
type GetServiceUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceUnprocessableEntity Unprocessable Content
swagger:response getServiceUnprocessableEntity
func NewGetServiceUnprocessableEntity ¶
func NewGetServiceUnprocessableEntity() *GetServiceUnprocessableEntity
NewGetServiceUnprocessableEntity creates GetServiceUnprocessableEntity with default headers values
func (*GetServiceUnprocessableEntity) SetPayload ¶
func (o *GetServiceUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service unprocessable entity response
func (*GetServiceUnprocessableEntity) WithPayload ¶
func (o *GetServiceUnprocessableEntity) WithPayload(payload *models.Error) *GetServiceUnprocessableEntity
WithPayload adds the payload to the get service unprocessable entity response
func (*GetServiceUnprocessableEntity) WriteResponse ¶
func (o *GetServiceUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostService ¶
type PostService struct { Context *middleware.Context Handler PostServiceHandler }
PostService swagger:route POST /service Service postService
Add a new service to the catalog
func NewPostService ¶
func NewPostService(ctx *middleware.Context, handler PostServiceHandler) *PostService
NewPostService creates a new http.Handler for the post service operation
func (*PostService) ServeHTTP ¶
func (o *PostService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostServiceConflict ¶
PostServiceConflict Duplicate entry
swagger:response postServiceConflict
func NewPostServiceConflict ¶
func NewPostServiceConflict() *PostServiceConflict
NewPostServiceConflict creates PostServiceConflict with default headers values
func (*PostServiceConflict) SetPayload ¶
func (o *PostServiceConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the post service conflict response
func (*PostServiceConflict) WithPayload ¶
func (o *PostServiceConflict) WithPayload(payload *models.Error) *PostServiceConflict
WithPayload adds the payload to the post service conflict response
func (*PostServiceConflict) WriteResponse ¶
func (o *PostServiceConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostServiceCreated ¶
PostServiceCreated Service
swagger:response postServiceCreated
func NewPostServiceCreated ¶
func NewPostServiceCreated() *PostServiceCreated
NewPostServiceCreated creates PostServiceCreated with default headers values
func (*PostServiceCreated) SetPayload ¶
func (o *PostServiceCreated) SetPayload(payload *models.Service)
SetPayload sets the payload to the post service created response
func (*PostServiceCreated) WithPayload ¶
func (o *PostServiceCreated) WithPayload(payload *models.Service) *PostServiceCreated
WithPayload adds the payload to the post service created response
func (*PostServiceCreated) WriteResponse ¶
func (o *PostServiceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostServiceForbidden ¶
PostServiceForbidden Forbidden
swagger:response postServiceForbidden
func NewPostServiceForbidden ¶
func NewPostServiceForbidden() *PostServiceForbidden
NewPostServiceForbidden creates PostServiceForbidden with default headers values
func (*PostServiceForbidden) SetPayload ¶
func (o *PostServiceForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the post service forbidden response
func (*PostServiceForbidden) WithPayload ¶
func (o *PostServiceForbidden) WithPayload(payload *models.Error) *PostServiceForbidden
WithPayload adds the payload to the post service forbidden response
func (*PostServiceForbidden) WriteResponse ¶
func (o *PostServiceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostServiceHandler ¶
type PostServiceHandler interface {
Handle(PostServiceParams, interface{}) middleware.Responder
}
PostServiceHandler interface for that can handle valid post service params
type PostServiceHandlerFunc ¶
type PostServiceHandlerFunc func(PostServiceParams, interface{}) middleware.Responder
PostServiceHandlerFunc turns a function with the right signature into a post service handler
func (PostServiceHandlerFunc) Handle ¶
func (fn PostServiceHandlerFunc) Handle(params PostServiceParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PostServiceParams ¶
type PostServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Service object that needs to be added to the catalog Required: true In: body */ Body *models.Service }
PostServiceParams contains all the bound params for the post service operation typically these are obtained from a http.Request
swagger:parameters PostService
func NewPostServiceParams ¶
func NewPostServiceParams() PostServiceParams
NewPostServiceParams creates a new PostServiceParams object
There are no default values defined in the spec.
func (*PostServiceParams) BindRequest ¶
func (o *PostServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostServiceParams() beforehand.
type PostServiceURL ¶
type PostServiceURL struct {
// contains filtered or unexported fields
}
PostServiceURL generates an URL for the post service operation
func (*PostServiceURL) Build ¶
func (o *PostServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostServiceURL) BuildFull ¶
func (o *PostServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostServiceURL) SetBasePath ¶
func (o *PostServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostServiceURL) String ¶
func (o *PostServiceURL) String() string
String returns the string representation of the path with query string
func (*PostServiceURL) StringFull ¶
func (o *PostServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostServiceURL) WithBasePath ¶
func (o *PostServiceURL) WithBasePath(bp string) *PostServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostServiceUnauthorized ¶
PostServiceUnauthorized Unauthorized
swagger:response postServiceUnauthorized
func NewPostServiceUnauthorized ¶
func NewPostServiceUnauthorized() *PostServiceUnauthorized
NewPostServiceUnauthorized creates PostServiceUnauthorized with default headers values
func (*PostServiceUnauthorized) SetPayload ¶
func (o *PostServiceUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the post service unauthorized response
func (*PostServiceUnauthorized) WithPayload ¶
func (o *PostServiceUnauthorized) WithPayload(payload *models.Error) *PostServiceUnauthorized
WithPayload adds the payload to the post service unauthorized response
func (*PostServiceUnauthorized) WriteResponse ¶
func (o *PostServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostServiceUnprocessableEntity ¶
type PostServiceUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PostServiceUnprocessableEntity Unprocessable Content
swagger:response postServiceUnprocessableEntity
func NewPostServiceUnprocessableEntity ¶
func NewPostServiceUnprocessableEntity() *PostServiceUnprocessableEntity
NewPostServiceUnprocessableEntity creates PostServiceUnprocessableEntity with default headers values
func (*PostServiceUnprocessableEntity) SetPayload ¶
func (o *PostServiceUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the post service unprocessable entity response
func (*PostServiceUnprocessableEntity) WithPayload ¶
func (o *PostServiceUnprocessableEntity) WithPayload(payload *models.Error) *PostServiceUnprocessableEntity
WithPayload adds the payload to the post service unprocessable entity response
func (*PostServiceUnprocessableEntity) WriteResponse ¶
func (o *PostServiceUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceID ¶
type PutServiceServiceID struct { Context *middleware.Context Handler PutServiceServiceIDHandler }
PutServiceServiceID swagger:route PUT /service/{service_id} Service putServiceServiceId
Update an existing service
func NewPutServiceServiceID ¶
func NewPutServiceServiceID(ctx *middleware.Context, handler PutServiceServiceIDHandler) *PutServiceServiceID
NewPutServiceServiceID creates a new http.Handler for the put service service ID operation
func (*PutServiceServiceID) ServeHTTP ¶
func (o *PutServiceServiceID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutServiceServiceIDAcceptEndpoints ¶
type PutServiceServiceIDAcceptEndpoints struct { Context *middleware.Context Handler PutServiceServiceIDAcceptEndpointsHandler }
PutServiceServiceIDAcceptEndpoints swagger:route PUT /service/{service_id}/accept_endpoints Service putServiceServiceIdAcceptEndpoints
Accept endpoints ¶
Specify a list of endpoint consumers (`endpoint_ids` and/or `project_ids`) whose endpoints should be accepted. * Existing active endpoints will be untouched. * Rejected endpoints will be accepted. * Pending endpoints will be accepted.
func NewPutServiceServiceIDAcceptEndpoints ¶
func NewPutServiceServiceIDAcceptEndpoints(ctx *middleware.Context, handler PutServiceServiceIDAcceptEndpointsHandler) *PutServiceServiceIDAcceptEndpoints
NewPutServiceServiceIDAcceptEndpoints creates a new http.Handler for the put service service ID accept endpoints operation
func (*PutServiceServiceIDAcceptEndpoints) ServeHTTP ¶
func (o *PutServiceServiceIDAcceptEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutServiceServiceIDAcceptEndpointsBadRequest ¶
type PutServiceServiceIDAcceptEndpointsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDAcceptEndpointsBadRequest Must declare at least one, endpoint_id(s) or project_id(s)
swagger:response putServiceServiceIdAcceptEndpointsBadRequest
func NewPutServiceServiceIDAcceptEndpointsBadRequest ¶
func NewPutServiceServiceIDAcceptEndpointsBadRequest() *PutServiceServiceIDAcceptEndpointsBadRequest
NewPutServiceServiceIDAcceptEndpointsBadRequest creates PutServiceServiceIDAcceptEndpointsBadRequest with default headers values
func (*PutServiceServiceIDAcceptEndpointsBadRequest) SetPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id accept endpoints bad request response
func (*PutServiceServiceIDAcceptEndpointsBadRequest) WithPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsBadRequest) WithPayload(payload *models.Error) *PutServiceServiceIDAcceptEndpointsBadRequest
WithPayload adds the payload to the put service service Id accept endpoints bad request response
func (*PutServiceServiceIDAcceptEndpointsBadRequest) WriteResponse ¶
func (o *PutServiceServiceIDAcceptEndpointsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDAcceptEndpointsForbidden ¶
type PutServiceServiceIDAcceptEndpointsForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDAcceptEndpointsForbidden Forbidden
swagger:response putServiceServiceIdAcceptEndpointsForbidden
func NewPutServiceServiceIDAcceptEndpointsForbidden ¶
func NewPutServiceServiceIDAcceptEndpointsForbidden() *PutServiceServiceIDAcceptEndpointsForbidden
NewPutServiceServiceIDAcceptEndpointsForbidden creates PutServiceServiceIDAcceptEndpointsForbidden with default headers values
func (*PutServiceServiceIDAcceptEndpointsForbidden) SetPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id accept endpoints forbidden response
func (*PutServiceServiceIDAcceptEndpointsForbidden) WithPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsForbidden) WithPayload(payload *models.Error) *PutServiceServiceIDAcceptEndpointsForbidden
WithPayload adds the payload to the put service service Id accept endpoints forbidden response
func (*PutServiceServiceIDAcceptEndpointsForbidden) WriteResponse ¶
func (o *PutServiceServiceIDAcceptEndpointsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDAcceptEndpointsHandler ¶
type PutServiceServiceIDAcceptEndpointsHandler interface {
Handle(PutServiceServiceIDAcceptEndpointsParams, interface{}) middleware.Responder
}
PutServiceServiceIDAcceptEndpointsHandler interface for that can handle valid put service service ID accept endpoints params
type PutServiceServiceIDAcceptEndpointsHandlerFunc ¶
type PutServiceServiceIDAcceptEndpointsHandlerFunc func(PutServiceServiceIDAcceptEndpointsParams, interface{}) middleware.Responder
PutServiceServiceIDAcceptEndpointsHandlerFunc turns a function with the right signature into a put service service ID accept endpoints handler
func (PutServiceServiceIDAcceptEndpointsHandlerFunc) Handle ¶
func (fn PutServiceServiceIDAcceptEndpointsHandlerFunc) Handle(params PutServiceServiceIDAcceptEndpointsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PutServiceServiceIDAcceptEndpointsNotFound ¶
type PutServiceServiceIDAcceptEndpointsNotFound struct { }
PutServiceServiceIDAcceptEndpointsNotFound Not Found
swagger:response putServiceServiceIdAcceptEndpointsNotFound
func NewPutServiceServiceIDAcceptEndpointsNotFound ¶
func NewPutServiceServiceIDAcceptEndpointsNotFound() *PutServiceServiceIDAcceptEndpointsNotFound
NewPutServiceServiceIDAcceptEndpointsNotFound creates PutServiceServiceIDAcceptEndpointsNotFound with default headers values
func (*PutServiceServiceIDAcceptEndpointsNotFound) WriteResponse ¶
func (o *PutServiceServiceIDAcceptEndpointsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDAcceptEndpointsOK ¶
type PutServiceServiceIDAcceptEndpointsOK struct { /* In: Body */ Payload []*models.EndpointConsumer `json:"body,omitempty"` }
PutServiceServiceIDAcceptEndpointsOK Ok
swagger:response putServiceServiceIdAcceptEndpointsOK
func NewPutServiceServiceIDAcceptEndpointsOK ¶
func NewPutServiceServiceIDAcceptEndpointsOK() *PutServiceServiceIDAcceptEndpointsOK
NewPutServiceServiceIDAcceptEndpointsOK creates PutServiceServiceIDAcceptEndpointsOK with default headers values
func (*PutServiceServiceIDAcceptEndpointsOK) SetPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsOK) SetPayload(payload []*models.EndpointConsumer)
SetPayload sets the payload to the put service service Id accept endpoints o k response
func (*PutServiceServiceIDAcceptEndpointsOK) WithPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsOK) WithPayload(payload []*models.EndpointConsumer) *PutServiceServiceIDAcceptEndpointsOK
WithPayload adds the payload to the put service service Id accept endpoints o k response
func (*PutServiceServiceIDAcceptEndpointsOK) WriteResponse ¶
func (o *PutServiceServiceIDAcceptEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDAcceptEndpointsParams ¶
type PutServiceServiceIDAcceptEndpointsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Service object that needs to be updated Required: true In: body */ Body *models.EndpointConsumerList /*The UUID of the service Required: true In: path */ ServiceID strfmt.UUID }
PutServiceServiceIDAcceptEndpointsParams contains all the bound params for the put service service ID accept endpoints operation typically these are obtained from a http.Request
swagger:parameters PutServiceServiceIDAcceptEndpoints
func NewPutServiceServiceIDAcceptEndpointsParams ¶
func NewPutServiceServiceIDAcceptEndpointsParams() PutServiceServiceIDAcceptEndpointsParams
NewPutServiceServiceIDAcceptEndpointsParams creates a new PutServiceServiceIDAcceptEndpointsParams object
There are no default values defined in the spec.
func (*PutServiceServiceIDAcceptEndpointsParams) BindRequest ¶
func (o *PutServiceServiceIDAcceptEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutServiceServiceIDAcceptEndpointsParams() beforehand.
type PutServiceServiceIDAcceptEndpointsURL ¶
type PutServiceServiceIDAcceptEndpointsURL struct { ServiceID strfmt.UUID // contains filtered or unexported fields }
PutServiceServiceIDAcceptEndpointsURL generates an URL for the put service service ID accept endpoints operation
func (*PutServiceServiceIDAcceptEndpointsURL) Build ¶
func (o *PutServiceServiceIDAcceptEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutServiceServiceIDAcceptEndpointsURL) BuildFull ¶
func (o *PutServiceServiceIDAcceptEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutServiceServiceIDAcceptEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutServiceServiceIDAcceptEndpointsURL) SetBasePath ¶
func (o *PutServiceServiceIDAcceptEndpointsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutServiceServiceIDAcceptEndpointsURL) String ¶
func (o *PutServiceServiceIDAcceptEndpointsURL) String() string
String returns the string representation of the path with query string
func (*PutServiceServiceIDAcceptEndpointsURL) StringFull ¶
func (o *PutServiceServiceIDAcceptEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutServiceServiceIDAcceptEndpointsURL) WithBasePath ¶
func (o *PutServiceServiceIDAcceptEndpointsURL) WithBasePath(bp string) *PutServiceServiceIDAcceptEndpointsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutServiceServiceIDAcceptEndpointsUnauthorized ¶
type PutServiceServiceIDAcceptEndpointsUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
PutServiceServiceIDAcceptEndpointsUnauthorized Unauthorized
swagger:response putServiceServiceIdAcceptEndpointsUnauthorized
func NewPutServiceServiceIDAcceptEndpointsUnauthorized ¶
func NewPutServiceServiceIDAcceptEndpointsUnauthorized() *PutServiceServiceIDAcceptEndpointsUnauthorized
NewPutServiceServiceIDAcceptEndpointsUnauthorized creates PutServiceServiceIDAcceptEndpointsUnauthorized with default headers values
func (*PutServiceServiceIDAcceptEndpointsUnauthorized) SetPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id accept endpoints unauthorized response
func (*PutServiceServiceIDAcceptEndpointsUnauthorized) WithPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsUnauthorized) WithPayload(payload *models.Error) *PutServiceServiceIDAcceptEndpointsUnauthorized
WithPayload adds the payload to the put service service Id accept endpoints unauthorized response
func (*PutServiceServiceIDAcceptEndpointsUnauthorized) WriteResponse ¶
func (o *PutServiceServiceIDAcceptEndpointsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDAcceptEndpointsUnprocessableEntity ¶
type PutServiceServiceIDAcceptEndpointsUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDAcceptEndpointsUnprocessableEntity Unprocessable Content
swagger:response putServiceServiceIdAcceptEndpointsUnprocessableEntity
func NewPutServiceServiceIDAcceptEndpointsUnprocessableEntity ¶
func NewPutServiceServiceIDAcceptEndpointsUnprocessableEntity() *PutServiceServiceIDAcceptEndpointsUnprocessableEntity
NewPutServiceServiceIDAcceptEndpointsUnprocessableEntity creates PutServiceServiceIDAcceptEndpointsUnprocessableEntity with default headers values
func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) SetPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id accept endpoints unprocessable entity response
func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) WithPayload ¶
func (o *PutServiceServiceIDAcceptEndpointsUnprocessableEntity) WithPayload(payload *models.Error) *PutServiceServiceIDAcceptEndpointsUnprocessableEntity
WithPayload adds the payload to the put service service Id accept endpoints unprocessable entity response
func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) WriteResponse ¶
func (o *PutServiceServiceIDAcceptEndpointsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDConflict ¶
type PutServiceServiceIDConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDConflict Duplicate entry
swagger:response putServiceServiceIdConflict
func NewPutServiceServiceIDConflict ¶
func NewPutServiceServiceIDConflict() *PutServiceServiceIDConflict
NewPutServiceServiceIDConflict creates PutServiceServiceIDConflict with default headers values
func (*PutServiceServiceIDConflict) SetPayload ¶
func (o *PutServiceServiceIDConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id conflict response
func (*PutServiceServiceIDConflict) WithPayload ¶
func (o *PutServiceServiceIDConflict) WithPayload(payload *models.Error) *PutServiceServiceIDConflict
WithPayload adds the payload to the put service service Id conflict response
func (*PutServiceServiceIDConflict) WriteResponse ¶
func (o *PutServiceServiceIDConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDForbidden ¶
type PutServiceServiceIDForbidden struct { }
PutServiceServiceIDForbidden Forbidden
swagger:response putServiceServiceIdForbidden
func NewPutServiceServiceIDForbidden ¶
func NewPutServiceServiceIDForbidden() *PutServiceServiceIDForbidden
NewPutServiceServiceIDForbidden creates PutServiceServiceIDForbidden with default headers values
func (*PutServiceServiceIDForbidden) WriteResponse ¶
func (o *PutServiceServiceIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDHandler ¶
type PutServiceServiceIDHandler interface {
Handle(PutServiceServiceIDParams, interface{}) middleware.Responder
}
PutServiceServiceIDHandler interface for that can handle valid put service service ID params
type PutServiceServiceIDHandlerFunc ¶
type PutServiceServiceIDHandlerFunc func(PutServiceServiceIDParams, interface{}) middleware.Responder
PutServiceServiceIDHandlerFunc turns a function with the right signature into a put service service ID handler
func (PutServiceServiceIDHandlerFunc) Handle ¶
func (fn PutServiceServiceIDHandlerFunc) Handle(params PutServiceServiceIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PutServiceServiceIDNotFound ¶
type PutServiceServiceIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDNotFound Not Found
swagger:response putServiceServiceIdNotFound
func NewPutServiceServiceIDNotFound ¶
func NewPutServiceServiceIDNotFound() *PutServiceServiceIDNotFound
NewPutServiceServiceIDNotFound creates PutServiceServiceIDNotFound with default headers values
func (*PutServiceServiceIDNotFound) SetPayload ¶
func (o *PutServiceServiceIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id not found response
func (*PutServiceServiceIDNotFound) WithPayload ¶
func (o *PutServiceServiceIDNotFound) WithPayload(payload *models.Error) *PutServiceServiceIDNotFound
WithPayload adds the payload to the put service service Id not found response
func (*PutServiceServiceIDNotFound) WriteResponse ¶
func (o *PutServiceServiceIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDOK ¶
type PutServiceServiceIDOK struct { /* In: Body */ Payload *models.Service `json:"body,omitempty"` }
PutServiceServiceIDOK Service
swagger:response putServiceServiceIdOK
func NewPutServiceServiceIDOK ¶
func NewPutServiceServiceIDOK() *PutServiceServiceIDOK
NewPutServiceServiceIDOK creates PutServiceServiceIDOK with default headers values
func (*PutServiceServiceIDOK) SetPayload ¶
func (o *PutServiceServiceIDOK) SetPayload(payload *models.Service)
SetPayload sets the payload to the put service service Id o k response
func (*PutServiceServiceIDOK) WithPayload ¶
func (o *PutServiceServiceIDOK) WithPayload(payload *models.Service) *PutServiceServiceIDOK
WithPayload adds the payload to the put service service Id o k response
func (*PutServiceServiceIDOK) WriteResponse ¶
func (o *PutServiceServiceIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDParams ¶
type PutServiceServiceIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Service object that needs to be updated Required: true In: body */ Body *models.ServiceUpdatable /*The UUID of the service Required: true In: path */ ServiceID strfmt.UUID }
PutServiceServiceIDParams contains all the bound params for the put service service ID operation typically these are obtained from a http.Request
swagger:parameters PutServiceServiceID
func NewPutServiceServiceIDParams ¶
func NewPutServiceServiceIDParams() PutServiceServiceIDParams
NewPutServiceServiceIDParams creates a new PutServiceServiceIDParams object
There are no default values defined in the spec.
func (*PutServiceServiceIDParams) BindRequest ¶
func (o *PutServiceServiceIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutServiceServiceIDParams() beforehand.
type PutServiceServiceIDRejectEndpoints ¶
type PutServiceServiceIDRejectEndpoints struct { Context *middleware.Context Handler PutServiceServiceIDRejectEndpointsHandler }
PutServiceServiceIDRejectEndpoints swagger:route PUT /service/{service_id}/reject_endpoints Service putServiceServiceIdRejectEndpoints
Reject endpoints ¶
Specify a list of consumers (`endpoint_ids` and/or `project_ids`) whose endpoints should be rejected. * Existing active endpoints will be rejected. * Rejected endpoints will be untouched. * Pending endpoints will be rejected.
func NewPutServiceServiceIDRejectEndpoints ¶
func NewPutServiceServiceIDRejectEndpoints(ctx *middleware.Context, handler PutServiceServiceIDRejectEndpointsHandler) *PutServiceServiceIDRejectEndpoints
NewPutServiceServiceIDRejectEndpoints creates a new http.Handler for the put service service ID reject endpoints operation
func (*PutServiceServiceIDRejectEndpoints) ServeHTTP ¶
func (o *PutServiceServiceIDRejectEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutServiceServiceIDRejectEndpointsBadRequest ¶
type PutServiceServiceIDRejectEndpointsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDRejectEndpointsBadRequest Must declare at least one, endpoint_id(s) or project_id(s)
swagger:response putServiceServiceIdRejectEndpointsBadRequest
func NewPutServiceServiceIDRejectEndpointsBadRequest ¶
func NewPutServiceServiceIDRejectEndpointsBadRequest() *PutServiceServiceIDRejectEndpointsBadRequest
NewPutServiceServiceIDRejectEndpointsBadRequest creates PutServiceServiceIDRejectEndpointsBadRequest with default headers values
func (*PutServiceServiceIDRejectEndpointsBadRequest) SetPayload ¶
func (o *PutServiceServiceIDRejectEndpointsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id reject endpoints bad request response
func (*PutServiceServiceIDRejectEndpointsBadRequest) WithPayload ¶
func (o *PutServiceServiceIDRejectEndpointsBadRequest) WithPayload(payload *models.Error) *PutServiceServiceIDRejectEndpointsBadRequest
WithPayload adds the payload to the put service service Id reject endpoints bad request response
func (*PutServiceServiceIDRejectEndpointsBadRequest) WriteResponse ¶
func (o *PutServiceServiceIDRejectEndpointsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDRejectEndpointsForbidden ¶
type PutServiceServiceIDRejectEndpointsForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDRejectEndpointsForbidden Forbidden
swagger:response putServiceServiceIdRejectEndpointsForbidden
func NewPutServiceServiceIDRejectEndpointsForbidden ¶
func NewPutServiceServiceIDRejectEndpointsForbidden() *PutServiceServiceIDRejectEndpointsForbidden
NewPutServiceServiceIDRejectEndpointsForbidden creates PutServiceServiceIDRejectEndpointsForbidden with default headers values
func (*PutServiceServiceIDRejectEndpointsForbidden) SetPayload ¶
func (o *PutServiceServiceIDRejectEndpointsForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id reject endpoints forbidden response
func (*PutServiceServiceIDRejectEndpointsForbidden) WithPayload ¶
func (o *PutServiceServiceIDRejectEndpointsForbidden) WithPayload(payload *models.Error) *PutServiceServiceIDRejectEndpointsForbidden
WithPayload adds the payload to the put service service Id reject endpoints forbidden response
func (*PutServiceServiceIDRejectEndpointsForbidden) WriteResponse ¶
func (o *PutServiceServiceIDRejectEndpointsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDRejectEndpointsHandler ¶
type PutServiceServiceIDRejectEndpointsHandler interface {
Handle(PutServiceServiceIDRejectEndpointsParams, interface{}) middleware.Responder
}
PutServiceServiceIDRejectEndpointsHandler interface for that can handle valid put service service ID reject endpoints params
type PutServiceServiceIDRejectEndpointsHandlerFunc ¶
type PutServiceServiceIDRejectEndpointsHandlerFunc func(PutServiceServiceIDRejectEndpointsParams, interface{}) middleware.Responder
PutServiceServiceIDRejectEndpointsHandlerFunc turns a function with the right signature into a put service service ID reject endpoints handler
func (PutServiceServiceIDRejectEndpointsHandlerFunc) Handle ¶
func (fn PutServiceServiceIDRejectEndpointsHandlerFunc) Handle(params PutServiceServiceIDRejectEndpointsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PutServiceServiceIDRejectEndpointsNotFound ¶
type PutServiceServiceIDRejectEndpointsNotFound struct { }
PutServiceServiceIDRejectEndpointsNotFound Not Found
swagger:response putServiceServiceIdRejectEndpointsNotFound
func NewPutServiceServiceIDRejectEndpointsNotFound ¶
func NewPutServiceServiceIDRejectEndpointsNotFound() *PutServiceServiceIDRejectEndpointsNotFound
NewPutServiceServiceIDRejectEndpointsNotFound creates PutServiceServiceIDRejectEndpointsNotFound with default headers values
func (*PutServiceServiceIDRejectEndpointsNotFound) WriteResponse ¶
func (o *PutServiceServiceIDRejectEndpointsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDRejectEndpointsOK ¶
type PutServiceServiceIDRejectEndpointsOK struct { /* In: Body */ Payload []*models.EndpointConsumer `json:"body,omitempty"` }
PutServiceServiceIDRejectEndpointsOK Ok
swagger:response putServiceServiceIdRejectEndpointsOK
func NewPutServiceServiceIDRejectEndpointsOK ¶
func NewPutServiceServiceIDRejectEndpointsOK() *PutServiceServiceIDRejectEndpointsOK
NewPutServiceServiceIDRejectEndpointsOK creates PutServiceServiceIDRejectEndpointsOK with default headers values
func (*PutServiceServiceIDRejectEndpointsOK) SetPayload ¶
func (o *PutServiceServiceIDRejectEndpointsOK) SetPayload(payload []*models.EndpointConsumer)
SetPayload sets the payload to the put service service Id reject endpoints o k response
func (*PutServiceServiceIDRejectEndpointsOK) WithPayload ¶
func (o *PutServiceServiceIDRejectEndpointsOK) WithPayload(payload []*models.EndpointConsumer) *PutServiceServiceIDRejectEndpointsOK
WithPayload adds the payload to the put service service Id reject endpoints o k response
func (*PutServiceServiceIDRejectEndpointsOK) WriteResponse ¶
func (o *PutServiceServiceIDRejectEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDRejectEndpointsParams ¶
type PutServiceServiceIDRejectEndpointsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Service object that needs to be updated Required: true In: body */ Body *models.EndpointConsumerList /*The UUID of the service Required: true In: path */ ServiceID strfmt.UUID }
PutServiceServiceIDRejectEndpointsParams contains all the bound params for the put service service ID reject endpoints operation typically these are obtained from a http.Request
swagger:parameters PutServiceServiceIDRejectEndpoints
func NewPutServiceServiceIDRejectEndpointsParams ¶
func NewPutServiceServiceIDRejectEndpointsParams() PutServiceServiceIDRejectEndpointsParams
NewPutServiceServiceIDRejectEndpointsParams creates a new PutServiceServiceIDRejectEndpointsParams object
There are no default values defined in the spec.
func (*PutServiceServiceIDRejectEndpointsParams) BindRequest ¶
func (o *PutServiceServiceIDRejectEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutServiceServiceIDRejectEndpointsParams() beforehand.
type PutServiceServiceIDRejectEndpointsURL ¶
type PutServiceServiceIDRejectEndpointsURL struct { ServiceID strfmt.UUID // contains filtered or unexported fields }
PutServiceServiceIDRejectEndpointsURL generates an URL for the put service service ID reject endpoints operation
func (*PutServiceServiceIDRejectEndpointsURL) Build ¶
func (o *PutServiceServiceIDRejectEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutServiceServiceIDRejectEndpointsURL) BuildFull ¶
func (o *PutServiceServiceIDRejectEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutServiceServiceIDRejectEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutServiceServiceIDRejectEndpointsURL) SetBasePath ¶
func (o *PutServiceServiceIDRejectEndpointsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutServiceServiceIDRejectEndpointsURL) String ¶
func (o *PutServiceServiceIDRejectEndpointsURL) String() string
String returns the string representation of the path with query string
func (*PutServiceServiceIDRejectEndpointsURL) StringFull ¶
func (o *PutServiceServiceIDRejectEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutServiceServiceIDRejectEndpointsURL) WithBasePath ¶
func (o *PutServiceServiceIDRejectEndpointsURL) WithBasePath(bp string) *PutServiceServiceIDRejectEndpointsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutServiceServiceIDRejectEndpointsUnauthorized ¶
type PutServiceServiceIDRejectEndpointsUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
PutServiceServiceIDRejectEndpointsUnauthorized Unauthorized
swagger:response putServiceServiceIdRejectEndpointsUnauthorized
func NewPutServiceServiceIDRejectEndpointsUnauthorized ¶
func NewPutServiceServiceIDRejectEndpointsUnauthorized() *PutServiceServiceIDRejectEndpointsUnauthorized
NewPutServiceServiceIDRejectEndpointsUnauthorized creates PutServiceServiceIDRejectEndpointsUnauthorized with default headers values
func (*PutServiceServiceIDRejectEndpointsUnauthorized) SetPayload ¶
func (o *PutServiceServiceIDRejectEndpointsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id reject endpoints unauthorized response
func (*PutServiceServiceIDRejectEndpointsUnauthorized) WithPayload ¶
func (o *PutServiceServiceIDRejectEndpointsUnauthorized) WithPayload(payload *models.Error) *PutServiceServiceIDRejectEndpointsUnauthorized
WithPayload adds the payload to the put service service Id reject endpoints unauthorized response
func (*PutServiceServiceIDRejectEndpointsUnauthorized) WriteResponse ¶
func (o *PutServiceServiceIDRejectEndpointsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDRejectEndpointsUnprocessableEntity ¶
type PutServiceServiceIDRejectEndpointsUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDRejectEndpointsUnprocessableEntity Unprocessable Content
swagger:response putServiceServiceIdRejectEndpointsUnprocessableEntity
func NewPutServiceServiceIDRejectEndpointsUnprocessableEntity ¶
func NewPutServiceServiceIDRejectEndpointsUnprocessableEntity() *PutServiceServiceIDRejectEndpointsUnprocessableEntity
NewPutServiceServiceIDRejectEndpointsUnprocessableEntity creates PutServiceServiceIDRejectEndpointsUnprocessableEntity with default headers values
func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) SetPayload ¶
func (o *PutServiceServiceIDRejectEndpointsUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id reject endpoints unprocessable entity response
func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) WithPayload ¶
func (o *PutServiceServiceIDRejectEndpointsUnprocessableEntity) WithPayload(payload *models.Error) *PutServiceServiceIDRejectEndpointsUnprocessableEntity
WithPayload adds the payload to the put service service Id reject endpoints unprocessable entity response
func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) WriteResponse ¶
func (o *PutServiceServiceIDRejectEndpointsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDURL ¶
type PutServiceServiceIDURL struct { ServiceID strfmt.UUID // contains filtered or unexported fields }
PutServiceServiceIDURL generates an URL for the put service service ID operation
func (*PutServiceServiceIDURL) Build ¶
func (o *PutServiceServiceIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutServiceServiceIDURL) BuildFull ¶
func (o *PutServiceServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutServiceServiceIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutServiceServiceIDURL) SetBasePath ¶
func (o *PutServiceServiceIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutServiceServiceIDURL) String ¶
func (o *PutServiceServiceIDURL) String() string
String returns the string representation of the path with query string
func (*PutServiceServiceIDURL) StringFull ¶
func (o *PutServiceServiceIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutServiceServiceIDURL) WithBasePath ¶
func (o *PutServiceServiceIDURL) WithBasePath(bp string) *PutServiceServiceIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutServiceServiceIDUnauthorized ¶
PutServiceServiceIDUnauthorized Unauthorized
swagger:response putServiceServiceIdUnauthorized
func NewPutServiceServiceIDUnauthorized ¶
func NewPutServiceServiceIDUnauthorized() *PutServiceServiceIDUnauthorized
NewPutServiceServiceIDUnauthorized creates PutServiceServiceIDUnauthorized with default headers values
func (*PutServiceServiceIDUnauthorized) SetPayload ¶
func (o *PutServiceServiceIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id unauthorized response
func (*PutServiceServiceIDUnauthorized) WithPayload ¶
func (o *PutServiceServiceIDUnauthorized) WithPayload(payload *models.Error) *PutServiceServiceIDUnauthorized
WithPayload adds the payload to the put service service Id unauthorized response
func (*PutServiceServiceIDUnauthorized) WriteResponse ¶
func (o *PutServiceServiceIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceServiceIDUnprocessableEntity ¶
type PutServiceServiceIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutServiceServiceIDUnprocessableEntity Unprocessable Content
swagger:response putServiceServiceIdUnprocessableEntity
func NewPutServiceServiceIDUnprocessableEntity ¶
func NewPutServiceServiceIDUnprocessableEntity() *PutServiceServiceIDUnprocessableEntity
NewPutServiceServiceIDUnprocessableEntity creates PutServiceServiceIDUnprocessableEntity with default headers values
func (*PutServiceServiceIDUnprocessableEntity) SetPayload ¶
func (o *PutServiceServiceIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the put service service Id unprocessable entity response
func (*PutServiceServiceIDUnprocessableEntity) WithPayload ¶
func (o *PutServiceServiceIDUnprocessableEntity) WithPayload(payload *models.Error) *PutServiceServiceIDUnprocessableEntity
WithPayload adds the payload to the put service service Id unprocessable entity response
func (*PutServiceServiceIDUnprocessableEntity) WriteResponse ¶
func (o *PutServiceServiceIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- delete_service_service_id.go
- delete_service_service_id_parameters.go
- delete_service_service_id_responses.go
- delete_service_service_id_urlbuilder.go
- get_service.go
- get_service_parameters.go
- get_service_responses.go
- get_service_service_id.go
- get_service_service_id_endpoints.go
- get_service_service_id_endpoints_parameters.go
- get_service_service_id_endpoints_responses.go
- get_service_service_id_endpoints_urlbuilder.go
- get_service_service_id_parameters.go
- get_service_service_id_responses.go
- get_service_service_id_urlbuilder.go
- get_service_urlbuilder.go
- post_service.go
- post_service_parameters.go
- post_service_responses.go
- post_service_urlbuilder.go
- put_service_service_id.go
- put_service_service_id_accept_endpoints.go
- put_service_service_id_accept_endpoints_parameters.go
- put_service_service_id_accept_endpoints_responses.go
- put_service_service_id_accept_endpoints_urlbuilder.go
- put_service_service_id_parameters.go
- put_service_service_id_reject_endpoints.go
- put_service_service_id_reject_endpoints_parameters.go
- put_service_service_id_reject_endpoints_responses.go
- put_service_service_id_reject_endpoints_urlbuilder.go
- put_service_service_id_responses.go
- put_service_service_id_urlbuilder.go