service

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteServiceServiceIDAcceptedCode int = 202

DeleteServiceServiceIDAcceptedCode is the HTTP code returned for type DeleteServiceServiceIDAccepted

View Source
const DeleteServiceServiceIDConflictCode int = 409

DeleteServiceServiceIDConflictCode is the HTTP code returned for type DeleteServiceServiceIDConflict

View Source
const DeleteServiceServiceIDForbiddenCode int = 403

DeleteServiceServiceIDForbiddenCode is the HTTP code returned for type DeleteServiceServiceIDForbidden

View Source
const DeleteServiceServiceIDNotFoundCode int = 404

DeleteServiceServiceIDNotFoundCode is the HTTP code returned for type DeleteServiceServiceIDNotFound

View Source
const DeleteServiceServiceIDUnauthorizedCode int = 401

DeleteServiceServiceIDUnauthorizedCode is the HTTP code returned for type DeleteServiceServiceIDUnauthorized

View Source
const DeleteServiceServiceIDUnprocessableEntityCode int = 422

DeleteServiceServiceIDUnprocessableEntityCode is the HTTP code returned for type DeleteServiceServiceIDUnprocessableEntity

View Source
const GetServiceBadRequestCode int = 400

GetServiceBadRequestCode is the HTTP code returned for type GetServiceBadRequest

View Source
const GetServiceForbiddenCode int = 403

GetServiceForbiddenCode is the HTTP code returned for type GetServiceForbidden

View Source
const GetServiceOKCode int = 200

GetServiceOKCode is the HTTP code returned for type GetServiceOK

View Source
const GetServiceServiceIDEndpointsBadRequestCode int = 400

GetServiceServiceIDEndpointsBadRequestCode is the HTTP code returned for type GetServiceServiceIDEndpointsBadRequest

View Source
const GetServiceServiceIDEndpointsForbiddenCode int = 403

GetServiceServiceIDEndpointsForbiddenCode is the HTTP code returned for type GetServiceServiceIDEndpointsForbidden

View Source
const GetServiceServiceIDEndpointsNotFoundCode int = 404

GetServiceServiceIDEndpointsNotFoundCode is the HTTP code returned for type GetServiceServiceIDEndpointsNotFound

View Source
const GetServiceServiceIDEndpointsOKCode int = 200

GetServiceServiceIDEndpointsOKCode is the HTTP code returned for type GetServiceServiceIDEndpointsOK

View Source
const GetServiceServiceIDEndpointsUnauthorizedCode int = 401

GetServiceServiceIDEndpointsUnauthorizedCode is the HTTP code returned for type GetServiceServiceIDEndpointsUnauthorized

View Source
const GetServiceServiceIDEndpointsUnprocessableEntityCode int = 422

GetServiceServiceIDEndpointsUnprocessableEntityCode is the HTTP code returned for type GetServiceServiceIDEndpointsUnprocessableEntity

View Source
const GetServiceServiceIDForbiddenCode int = 403

GetServiceServiceIDForbiddenCode is the HTTP code returned for type GetServiceServiceIDForbidden

View Source
const GetServiceServiceIDNotFoundCode int = 404

GetServiceServiceIDNotFoundCode is the HTTP code returned for type GetServiceServiceIDNotFound

View Source
const GetServiceServiceIDOKCode int = 200

GetServiceServiceIDOKCode is the HTTP code returned for type GetServiceServiceIDOK

View Source
const GetServiceServiceIDUnauthorizedCode int = 401

GetServiceServiceIDUnauthorizedCode is the HTTP code returned for type GetServiceServiceIDUnauthorized

View Source
const GetServiceServiceIDUnprocessableEntityCode int = 422

GetServiceServiceIDUnprocessableEntityCode is the HTTP code returned for type GetServiceServiceIDUnprocessableEntity

View Source
const GetServiceUnauthorizedCode int = 401

GetServiceUnauthorizedCode is the HTTP code returned for type GetServiceUnauthorized

View Source
const GetServiceUnprocessableEntityCode int = 422

GetServiceUnprocessableEntityCode is the HTTP code returned for type GetServiceUnprocessableEntity

View Source
const PostServiceConflictCode int = 409

PostServiceConflictCode is the HTTP code returned for type PostServiceConflict

View Source
const PostServiceCreatedCode int = 201

PostServiceCreatedCode is the HTTP code returned for type PostServiceCreated

View Source
const PostServiceForbiddenCode int = 403

PostServiceForbiddenCode is the HTTP code returned for type PostServiceForbidden

View Source
const PostServiceUnauthorizedCode int = 401

PostServiceUnauthorizedCode is the HTTP code returned for type PostServiceUnauthorized

View Source
const PostServiceUnprocessableEntityCode int = 422

PostServiceUnprocessableEntityCode is the HTTP code returned for type PostServiceUnprocessableEntity

View Source
const PutServiceServiceIDAcceptEndpointsBadRequestCode int = 400

PutServiceServiceIDAcceptEndpointsBadRequestCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsBadRequest

View Source
const PutServiceServiceIDAcceptEndpointsForbiddenCode int = 403

PutServiceServiceIDAcceptEndpointsForbiddenCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsForbidden

View Source
const PutServiceServiceIDAcceptEndpointsNotFoundCode int = 404

PutServiceServiceIDAcceptEndpointsNotFoundCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsNotFound

View Source
const PutServiceServiceIDAcceptEndpointsOKCode int = 200

PutServiceServiceIDAcceptEndpointsOKCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsOK

View Source
const PutServiceServiceIDAcceptEndpointsUnauthorizedCode int = 401

PutServiceServiceIDAcceptEndpointsUnauthorizedCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsUnauthorized

View Source
const PutServiceServiceIDAcceptEndpointsUnprocessableEntityCode int = 422

PutServiceServiceIDAcceptEndpointsUnprocessableEntityCode is the HTTP code returned for type PutServiceServiceIDAcceptEndpointsUnprocessableEntity

View Source
const PutServiceServiceIDConflictCode int = 409

PutServiceServiceIDConflictCode is the HTTP code returned for type PutServiceServiceIDConflict

View Source
const PutServiceServiceIDForbiddenCode int = 403

PutServiceServiceIDForbiddenCode is the HTTP code returned for type PutServiceServiceIDForbidden

View Source
const PutServiceServiceIDNotFoundCode int = 404

PutServiceServiceIDNotFoundCode is the HTTP code returned for type PutServiceServiceIDNotFound

View Source
const PutServiceServiceIDOKCode int = 200

PutServiceServiceIDOKCode is the HTTP code returned for type PutServiceServiceIDOK

View Source
const PutServiceServiceIDRejectEndpointsBadRequestCode int = 400

PutServiceServiceIDRejectEndpointsBadRequestCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsBadRequest

View Source
const PutServiceServiceIDRejectEndpointsForbiddenCode int = 403

PutServiceServiceIDRejectEndpointsForbiddenCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsForbidden

View Source
const PutServiceServiceIDRejectEndpointsNotFoundCode int = 404

PutServiceServiceIDRejectEndpointsNotFoundCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsNotFound

View Source
const PutServiceServiceIDRejectEndpointsOKCode int = 200

PutServiceServiceIDRejectEndpointsOKCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsOK

View Source
const PutServiceServiceIDRejectEndpointsUnauthorizedCode int = 401

PutServiceServiceIDRejectEndpointsUnauthorizedCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsUnauthorized

View Source
const PutServiceServiceIDRejectEndpointsUnprocessableEntityCode int = 422

PutServiceServiceIDRejectEndpointsUnprocessableEntityCode is the HTTP code returned for type PutServiceServiceIDRejectEndpointsUnprocessableEntity

View Source
const PutServiceServiceIDUnauthorizedCode int = 401

PutServiceServiceIDUnauthorizedCode is the HTTP code returned for type PutServiceServiceIDUnauthorized

View Source
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

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

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

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

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

func (o *DeleteServiceServiceIDURL) Must(u *url.URL, err error) *url.URL

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

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

type DeleteServiceServiceIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

WithPayload adds the payload to the delete service service Id unauthorized response

func (*DeleteServiceServiceIDUnauthorized) WriteResponse

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

WithPayload adds the payload to the delete service service Id unprocessable entity response

func (*DeleteServiceServiceIDUnprocessableEntity) WriteResponse

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

type GetServiceBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

func (o *GetServiceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetServiceOKBody) Validate

func (o *GetServiceOKBody) Validate(formats strfmt.Registry) error

Validate validates this get service o k body

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

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

WithPayload adds the payload to the get service service Id endpoints bad request response

func (*GetServiceServiceIDEndpointsBadRequest) WriteResponse

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

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

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

WithPayload adds the payload to the get service service Id endpoints not found response

func (*GetServiceServiceIDEndpointsNotFound) WriteResponse

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

SetPayload sets the payload to the get service service Id endpoints o k response

func (*GetServiceServiceIDEndpointsOK) WithPayload

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

func (*GetServiceServiceIDEndpointsOKBody) Validate

Validate validates this get service service ID endpoints o k body

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

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

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

func (o *GetServiceServiceIDEndpointsURL) Must(u *url.URL, err error) *url.URL

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

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

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 {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

WithPayload adds the payload to the get service service Id endpoints unauthorized response

func (*GetServiceServiceIDEndpointsUnauthorized) WriteResponse

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

SetPayload sets the payload to the get service service Id endpoints unprocessable entity response

func (*GetServiceServiceIDEndpointsUnprocessableEntity) WithPayload

WithPayload adds the payload to the get service service Id endpoints unprocessable entity response

func (*GetServiceServiceIDEndpointsUnprocessableEntity) WriteResponse

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

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

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

func (o *GetServiceServiceIDURL) Must(u *url.URL, err error) *url.URL

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

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

type GetServiceServiceIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

WithPayload adds the payload to the get service service Id unprocessable entity response

func (*GetServiceServiceIDUnprocessableEntity) WriteResponse

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

func (o *GetServiceURL) Must(u *url.URL, err error) *url.URL

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

type GetServiceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

type PostServiceConflict struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

type PostServiceCreated struct {

	/*
	  In: Body
	*/
	Payload *models.Service `json:"body,omitempty"`
}

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

type PostServiceForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

func (o *PostServiceURL) Must(u *url.URL, err error) *url.URL

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

type PostServiceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

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

SetPayload sets the payload to the put service service Id accept endpoints bad request response

func (*PutServiceServiceIDAcceptEndpointsBadRequest) WithPayload

WithPayload adds the payload to the put service service Id accept endpoints bad request response

func (*PutServiceServiceIDAcceptEndpointsBadRequest) WriteResponse

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

SetPayload sets the payload to the put service service Id accept endpoints forbidden response

func (*PutServiceServiceIDAcceptEndpointsForbidden) WithPayload

WithPayload adds the payload to the put service service Id accept endpoints forbidden response

func (*PutServiceServiceIDAcceptEndpointsForbidden) WriteResponse

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

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

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

SetPayload sets the payload to the put service service Id accept endpoints o k response

func (*PutServiceServiceIDAcceptEndpointsOK) WithPayload

WithPayload adds the payload to the put service service Id accept endpoints o k response

func (*PutServiceServiceIDAcceptEndpointsOK) WriteResponse

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

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

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

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

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 {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

PutServiceServiceIDAcceptEndpointsUnauthorized Unauthorized

swagger:response putServiceServiceIdAcceptEndpointsUnauthorized

func NewPutServiceServiceIDAcceptEndpointsUnauthorized

func NewPutServiceServiceIDAcceptEndpointsUnauthorized() *PutServiceServiceIDAcceptEndpointsUnauthorized

NewPutServiceServiceIDAcceptEndpointsUnauthorized creates PutServiceServiceIDAcceptEndpointsUnauthorized with default headers values

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) SetPayload

SetPayload sets the payload to the put service service Id accept endpoints unauthorized response

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) WithPayload

WithPayload adds the payload to the put service service Id accept endpoints unauthorized response

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) WriteResponse

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

SetPayload sets the payload to the put service service Id accept endpoints unprocessable entity response

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) WithPayload

WithPayload adds the payload to the put service service Id accept endpoints unprocessable entity response

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) WriteResponse

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

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

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

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

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

SetPayload sets the payload to the put service service Id reject endpoints bad request response

func (*PutServiceServiceIDRejectEndpointsBadRequest) WithPayload

WithPayload adds the payload to the put service service Id reject endpoints bad request response

func (*PutServiceServiceIDRejectEndpointsBadRequest) WriteResponse

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

SetPayload sets the payload to the put service service Id reject endpoints forbidden response

func (*PutServiceServiceIDRejectEndpointsForbidden) WithPayload

WithPayload adds the payload to the put service service Id reject endpoints forbidden response

func (*PutServiceServiceIDRejectEndpointsForbidden) WriteResponse

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

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

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

SetPayload sets the payload to the put service service Id reject endpoints o k response

func (*PutServiceServiceIDRejectEndpointsOK) WithPayload

WithPayload adds the payload to the put service service Id reject endpoints o k response

func (*PutServiceServiceIDRejectEndpointsOK) WriteResponse

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

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

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

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

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 {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

PutServiceServiceIDRejectEndpointsUnauthorized Unauthorized

swagger:response putServiceServiceIdRejectEndpointsUnauthorized

func NewPutServiceServiceIDRejectEndpointsUnauthorized

func NewPutServiceServiceIDRejectEndpointsUnauthorized() *PutServiceServiceIDRejectEndpointsUnauthorized

NewPutServiceServiceIDRejectEndpointsUnauthorized creates PutServiceServiceIDRejectEndpointsUnauthorized with default headers values

func (*PutServiceServiceIDRejectEndpointsUnauthorized) SetPayload

SetPayload sets the payload to the put service service Id reject endpoints unauthorized response

func (*PutServiceServiceIDRejectEndpointsUnauthorized) WithPayload

WithPayload adds the payload to the put service service Id reject endpoints unauthorized response

func (*PutServiceServiceIDRejectEndpointsUnauthorized) WriteResponse

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

SetPayload sets the payload to the put service service Id reject endpoints unprocessable entity response

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) WithPayload

WithPayload adds the payload to the put service service Id reject endpoints unprocessable entity response

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) WriteResponse

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

func (o *PutServiceServiceIDURL) Must(u *url.URL, err error) *url.URL

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

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

type PutServiceServiceIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

WithPayload adds the payload to the put service service Id unprocessable entity response

func (*PutServiceServiceIDUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL