service

package
v0.26.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DeleteServiceBadRequestCode int = 400

DeleteServiceBadRequestCode is the HTTP code returned for type DeleteServiceBadRequest

View Source
const DeleteServiceConflictCode int = 409

DeleteServiceConflictCode is the HTTP code returned for type DeleteServiceConflict

View Source
const DeleteServiceOKCode int = 200

DeleteServiceOKCode is the HTTP code returned for type DeleteServiceOK

View Source
const DeleteServiceTooManyRequestsCode int = 429

DeleteServiceTooManyRequestsCode is the HTTP code returned for type DeleteServiceTooManyRequests

View Source
const DeleteServiceUnauthorizedCode int = 401

DeleteServiceUnauthorizedCode is the HTTP code returned for type DeleteServiceUnauthorized

View Source
const DetailServiceNotFoundCode int = 404

DetailServiceNotFoundCode is the HTTP code returned for type DetailServiceNotFound

View Source
const DetailServiceOKCode int = 200

DetailServiceOKCode is the HTTP code returned for type DetailServiceOK

View Source
const DetailServiceTooManyRequestsCode int = 429

DetailServiceTooManyRequestsCode is the HTTP code returned for type DetailServiceTooManyRequests

View Source
const DetailServiceUnauthorizedCode int = 401

DetailServiceUnauthorizedCode is the HTTP code returned for type DetailServiceUnauthorized

View Source
const ListServiceEdgeRoutersBadRequestCode int = 400

ListServiceEdgeRoutersBadRequestCode is the HTTP code returned for type ListServiceEdgeRoutersBadRequest

View Source
const ListServiceEdgeRoutersNotFoundCode int = 404

ListServiceEdgeRoutersNotFoundCode is the HTTP code returned for type ListServiceEdgeRoutersNotFound

View Source
const ListServiceEdgeRoutersOKCode int = 200

ListServiceEdgeRoutersOKCode is the HTTP code returned for type ListServiceEdgeRoutersOK

View Source
const ListServiceEdgeRoutersTooManyRequestsCode int = 429

ListServiceEdgeRoutersTooManyRequestsCode is the HTTP code returned for type ListServiceEdgeRoutersTooManyRequests

View Source
const ListServiceEdgeRoutersUnauthorizedCode int = 401

ListServiceEdgeRoutersUnauthorizedCode is the HTTP code returned for type ListServiceEdgeRoutersUnauthorized

View Source
const ListServiceTerminatorsBadRequestCode int = 400

ListServiceTerminatorsBadRequestCode is the HTTP code returned for type ListServiceTerminatorsBadRequest

View Source
const ListServiceTerminatorsOKCode int = 200

ListServiceTerminatorsOKCode is the HTTP code returned for type ListServiceTerminatorsOK

View Source
const ListServiceTerminatorsTooManyRequestsCode int = 429

ListServiceTerminatorsTooManyRequestsCode is the HTTP code returned for type ListServiceTerminatorsTooManyRequests

View Source
const ListServiceTerminatorsUnauthorizedCode int = 401

ListServiceTerminatorsUnauthorizedCode is the HTTP code returned for type ListServiceTerminatorsUnauthorized

View Source
const ListServicesBadRequestCode int = 400

ListServicesBadRequestCode is the HTTP code returned for type ListServicesBadRequest

View Source
const ListServicesOKCode int = 200

ListServicesOKCode is the HTTP code returned for type ListServicesOK

View Source
const ListServicesTooManyRequestsCode int = 429

ListServicesTooManyRequestsCode is the HTTP code returned for type ListServicesTooManyRequests

View Source
const ListServicesUnauthorizedCode int = 401

ListServicesUnauthorizedCode is the HTTP code returned for type ListServicesUnauthorized

View Source
const PatchServiceBadRequestCode int = 400

PatchServiceBadRequestCode is the HTTP code returned for type PatchServiceBadRequest

View Source
const PatchServiceNotFoundCode int = 404

PatchServiceNotFoundCode is the HTTP code returned for type PatchServiceNotFound

View Source
const PatchServiceOKCode int = 200

PatchServiceOKCode is the HTTP code returned for type PatchServiceOK

View Source
const PatchServiceTooManyRequestsCode int = 429

PatchServiceTooManyRequestsCode is the HTTP code returned for type PatchServiceTooManyRequests

View Source
const PatchServiceUnauthorizedCode int = 401

PatchServiceUnauthorizedCode is the HTTP code returned for type PatchServiceUnauthorized

View Source
const UpdateServiceBadRequestCode int = 400

UpdateServiceBadRequestCode is the HTTP code returned for type UpdateServiceBadRequest

View Source
const UpdateServiceNotFoundCode int = 404

UpdateServiceNotFoundCode is the HTTP code returned for type UpdateServiceNotFound

View Source
const UpdateServiceOKCode int = 200

UpdateServiceOKCode is the HTTP code returned for type UpdateServiceOK

View Source
const UpdateServiceTooManyRequestsCode int = 429

UpdateServiceTooManyRequestsCode is the HTTP code returned for type UpdateServiceTooManyRequests

View Source
const UpdateServiceUnauthorizedCode int = 401

UpdateServiceUnauthorizedCode is the HTTP code returned for type UpdateServiceUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteService

type DeleteService struct {
	Context *middleware.Context
	Handler DeleteServiceHandler
}
DeleteService swagger:route DELETE /services/{id} Service deleteService

Delete a service

Delete a service by id. Requires admin access.

func NewDeleteService

func NewDeleteService(ctx *middleware.Context, handler DeleteServiceHandler) *DeleteService

NewDeleteService creates a new http.Handler for the delete service operation

func (*DeleteService) ServeHTTP

func (o *DeleteService) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteServiceBadRequest

type DeleteServiceBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteServiceBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response deleteServiceBadRequest

func NewDeleteServiceBadRequest

func NewDeleteServiceBadRequest() *DeleteServiceBadRequest

NewDeleteServiceBadRequest creates DeleteServiceBadRequest with default headers values

func (*DeleteServiceBadRequest) SetPayload

func (o *DeleteServiceBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete service bad request response

func (*DeleteServiceBadRequest) WithPayload

WithPayload adds the payload to the delete service bad request response

func (*DeleteServiceBadRequest) WriteResponse

func (o *DeleteServiceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteServiceConflict

type DeleteServiceConflict struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteServiceConflict The resource requested to be removed/altered cannot be as it is referenced by another object.

swagger:response deleteServiceConflict

func NewDeleteServiceConflict

func NewDeleteServiceConflict() *DeleteServiceConflict

NewDeleteServiceConflict creates DeleteServiceConflict with default headers values

func (*DeleteServiceConflict) SetPayload

func (o *DeleteServiceConflict) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete service conflict response

func (*DeleteServiceConflict) WithPayload

WithPayload adds the payload to the delete service conflict response

func (*DeleteServiceConflict) WriteResponse

func (o *DeleteServiceConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteServiceHandler

type DeleteServiceHandler interface {
	Handle(DeleteServiceParams, interface{}) middleware.Responder
}

DeleteServiceHandler interface for that can handle valid delete service params

type DeleteServiceHandlerFunc

type DeleteServiceHandlerFunc func(DeleteServiceParams, interface{}) middleware.Responder

DeleteServiceHandlerFunc turns a function with the right signature into a delete service handler

func (DeleteServiceHandlerFunc) Handle

func (fn DeleteServiceHandlerFunc) Handle(params DeleteServiceParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteServiceOK

type DeleteServiceOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

DeleteServiceOK The delete request was successful and the resource has been removed

swagger:response deleteServiceOK

func NewDeleteServiceOK

func NewDeleteServiceOK() *DeleteServiceOK

NewDeleteServiceOK creates DeleteServiceOK with default headers values

func (*DeleteServiceOK) SetPayload

func (o *DeleteServiceOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the delete service o k response

func (*DeleteServiceOK) WithPayload

func (o *DeleteServiceOK) WithPayload(payload *rest_model.Empty) *DeleteServiceOK

WithPayload adds the payload to the delete service o k response

func (*DeleteServiceOK) WriteResponse

func (o *DeleteServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteServiceParams

type DeleteServiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DeleteServiceParams contains all the bound params for the delete service operation typically these are obtained from a http.Request

swagger:parameters deleteService

func NewDeleteServiceParams

func NewDeleteServiceParams() DeleteServiceParams

NewDeleteServiceParams creates a new DeleteServiceParams object

There are no default values defined in the spec.

func (*DeleteServiceParams) BindRequest

func (o *DeleteServiceParams) 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 NewDeleteServiceParams() beforehand.

type DeleteServiceTooManyRequests added in v0.26.0

type DeleteServiceTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response deleteServiceTooManyRequests

func NewDeleteServiceTooManyRequests added in v0.26.0

func NewDeleteServiceTooManyRequests() *DeleteServiceTooManyRequests

NewDeleteServiceTooManyRequests creates DeleteServiceTooManyRequests with default headers values

func (*DeleteServiceTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the delete service too many requests response

func (*DeleteServiceTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the delete service too many requests response

func (*DeleteServiceTooManyRequests) WriteResponse added in v0.26.0

func (o *DeleteServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteServiceURL

type DeleteServiceURL struct {
	ID string
	// contains filtered or unexported fields
}

DeleteServiceURL generates an URL for the delete service operation

func (*DeleteServiceURL) Build

func (o *DeleteServiceURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteServiceURL) BuildFull

func (o *DeleteServiceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteServiceURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteServiceURL) SetBasePath

func (o *DeleteServiceURL) 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 (*DeleteServiceURL) String

func (o *DeleteServiceURL) String() string

String returns the string representation of the path with query string

func (*DeleteServiceURL) StringFull

func (o *DeleteServiceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteServiceURL) WithBasePath

func (o *DeleteServiceURL) WithBasePath(bp string) *DeleteServiceURL

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 DeleteServiceUnauthorized

type DeleteServiceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteServiceUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response deleteServiceUnauthorized

func NewDeleteServiceUnauthorized

func NewDeleteServiceUnauthorized() *DeleteServiceUnauthorized

NewDeleteServiceUnauthorized creates DeleteServiceUnauthorized with default headers values

func (*DeleteServiceUnauthorized) SetPayload

func (o *DeleteServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete service unauthorized response

func (*DeleteServiceUnauthorized) WithPayload

WithPayload adds the payload to the delete service unauthorized response

func (*DeleteServiceUnauthorized) WriteResponse

func (o *DeleteServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailService

type DetailService struct {
	Context *middleware.Context
	Handler DetailServiceHandler
}
DetailService swagger:route GET /services/{id} Service detailService

Retrieves a single service

Retrieves a single service by id. Requires admin access.

func NewDetailService

func NewDetailService(ctx *middleware.Context, handler DetailServiceHandler) *DetailService

NewDetailService creates a new http.Handler for the detail service operation

func (*DetailService) ServeHTTP

func (o *DetailService) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DetailServiceHandler

type DetailServiceHandler interface {
	Handle(DetailServiceParams, interface{}) middleware.Responder
}

DetailServiceHandler interface for that can handle valid detail service params

type DetailServiceHandlerFunc

type DetailServiceHandlerFunc func(DetailServiceParams, interface{}) middleware.Responder

DetailServiceHandlerFunc turns a function with the right signature into a detail service handler

func (DetailServiceHandlerFunc) Handle

func (fn DetailServiceHandlerFunc) Handle(params DetailServiceParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DetailServiceNotFound

type DetailServiceNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailServiceNotFound The requested resource does not exist

swagger:response detailServiceNotFound

func NewDetailServiceNotFound

func NewDetailServiceNotFound() *DetailServiceNotFound

NewDetailServiceNotFound creates DetailServiceNotFound with default headers values

func (*DetailServiceNotFound) SetPayload

func (o *DetailServiceNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail service not found response

func (*DetailServiceNotFound) WithPayload

WithPayload adds the payload to the detail service not found response

func (*DetailServiceNotFound) WriteResponse

func (o *DetailServiceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailServiceOK

type DetailServiceOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.DetailServiceEnvelope `json:"body,omitempty"`
}

DetailServiceOK A single service

swagger:response detailServiceOK

func NewDetailServiceOK

func NewDetailServiceOK() *DetailServiceOK

NewDetailServiceOK creates DetailServiceOK with default headers values

func (*DetailServiceOK) SetPayload

func (o *DetailServiceOK) SetPayload(payload *rest_model.DetailServiceEnvelope)

SetPayload sets the payload to the detail service o k response

func (*DetailServiceOK) WithPayload

WithPayload adds the payload to the detail service o k response

func (*DetailServiceOK) WriteResponse

func (o *DetailServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailServiceParams

type DetailServiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailServiceParams contains all the bound params for the detail service operation typically these are obtained from a http.Request

swagger:parameters detailService

func NewDetailServiceParams

func NewDetailServiceParams() DetailServiceParams

NewDetailServiceParams creates a new DetailServiceParams object

There are no default values defined in the spec.

func (*DetailServiceParams) BindRequest

func (o *DetailServiceParams) 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 NewDetailServiceParams() beforehand.

type DetailServiceTooManyRequests added in v0.26.0

type DetailServiceTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response detailServiceTooManyRequests

func NewDetailServiceTooManyRequests added in v0.26.0

func NewDetailServiceTooManyRequests() *DetailServiceTooManyRequests

NewDetailServiceTooManyRequests creates DetailServiceTooManyRequests with default headers values

func (*DetailServiceTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the detail service too many requests response

func (*DetailServiceTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the detail service too many requests response

func (*DetailServiceTooManyRequests) WriteResponse added in v0.26.0

func (o *DetailServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailServiceURL

type DetailServiceURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailServiceURL generates an URL for the detail service operation

func (*DetailServiceURL) Build

func (o *DetailServiceURL) Build() (*url.URL, error)

Build a url path and query string

func (*DetailServiceURL) BuildFull

func (o *DetailServiceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DetailServiceURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DetailServiceURL) SetBasePath

func (o *DetailServiceURL) 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 (*DetailServiceURL) String

func (o *DetailServiceURL) String() string

String returns the string representation of the path with query string

func (*DetailServiceURL) StringFull

func (o *DetailServiceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DetailServiceURL) WithBasePath

func (o *DetailServiceURL) WithBasePath(bp string) *DetailServiceURL

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 DetailServiceUnauthorized

type DetailServiceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailServiceUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response detailServiceUnauthorized

func NewDetailServiceUnauthorized

func NewDetailServiceUnauthorized() *DetailServiceUnauthorized

NewDetailServiceUnauthorized creates DetailServiceUnauthorized with default headers values

func (*DetailServiceUnauthorized) SetPayload

func (o *DetailServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail service unauthorized response

func (*DetailServiceUnauthorized) WithPayload

WithPayload adds the payload to the detail service unauthorized response

func (*DetailServiceUnauthorized) WriteResponse

func (o *DetailServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServiceEdgeRouters added in v0.26.1

type ListServiceEdgeRouters struct {
	Context *middleware.Context
	Handler ListServiceEdgeRoutersHandler
}
ListServiceEdgeRouters swagger:route GET /services/{id}/edge-routers Service listServiceEdgeRouters

List of edge routers permitted to handle traffic for the specified service

Retrieves the list of edge routers permitted to handle traffic for the specified service

func NewListServiceEdgeRouters added in v0.26.1

func NewListServiceEdgeRouters(ctx *middleware.Context, handler ListServiceEdgeRoutersHandler) *ListServiceEdgeRouters

NewListServiceEdgeRouters creates a new http.Handler for the list service edge routers operation

func (*ListServiceEdgeRouters) ServeHTTP added in v0.26.1

func (o *ListServiceEdgeRouters) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListServiceEdgeRoutersBadRequest added in v0.26.1

type ListServiceEdgeRoutersBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServiceEdgeRoutersBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response listServiceEdgeRoutersBadRequest

func NewListServiceEdgeRoutersBadRequest added in v0.26.1

func NewListServiceEdgeRoutersBadRequest() *ListServiceEdgeRoutersBadRequest

NewListServiceEdgeRoutersBadRequest creates ListServiceEdgeRoutersBadRequest with default headers values

func (*ListServiceEdgeRoutersBadRequest) SetPayload added in v0.26.1

SetPayload sets the payload to the list service edge routers bad request response

func (*ListServiceEdgeRoutersBadRequest) WithPayload added in v0.26.1

WithPayload adds the payload to the list service edge routers bad request response

func (*ListServiceEdgeRoutersBadRequest) WriteResponse added in v0.26.1

func (o *ListServiceEdgeRoutersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServiceEdgeRoutersHandler added in v0.26.1

type ListServiceEdgeRoutersHandler interface {
	Handle(ListServiceEdgeRoutersParams, interface{}) middleware.Responder
}

ListServiceEdgeRoutersHandler interface for that can handle valid list service edge routers params

type ListServiceEdgeRoutersHandlerFunc added in v0.26.1

type ListServiceEdgeRoutersHandlerFunc func(ListServiceEdgeRoutersParams, interface{}) middleware.Responder

ListServiceEdgeRoutersHandlerFunc turns a function with the right signature into a list service edge routers handler

func (ListServiceEdgeRoutersHandlerFunc) Handle added in v0.26.1

Handle executing the request and returning a response

type ListServiceEdgeRoutersNotFound added in v0.26.1

type ListServiceEdgeRoutersNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServiceEdgeRoutersNotFound The requested resource does not exist

swagger:response listServiceEdgeRoutersNotFound

func NewListServiceEdgeRoutersNotFound added in v0.26.1

func NewListServiceEdgeRoutersNotFound() *ListServiceEdgeRoutersNotFound

NewListServiceEdgeRoutersNotFound creates ListServiceEdgeRoutersNotFound with default headers values

func (*ListServiceEdgeRoutersNotFound) SetPayload added in v0.26.1

SetPayload sets the payload to the list service edge routers not found response

func (*ListServiceEdgeRoutersNotFound) WithPayload added in v0.26.1

WithPayload adds the payload to the list service edge routers not found response

func (*ListServiceEdgeRoutersNotFound) WriteResponse added in v0.26.1

func (o *ListServiceEdgeRoutersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServiceEdgeRoutersOK added in v0.26.1

type ListServiceEdgeRoutersOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListServiceEdgeRoutersEnvelope `json:"body,omitempty"`
}

ListServiceEdgeRoutersOK A list of edge routers suitable for dialing or binding the specified service by the authenticated identity

swagger:response listServiceEdgeRoutersOK

func NewListServiceEdgeRoutersOK added in v0.26.1

func NewListServiceEdgeRoutersOK() *ListServiceEdgeRoutersOK

NewListServiceEdgeRoutersOK creates ListServiceEdgeRoutersOK with default headers values

func (*ListServiceEdgeRoutersOK) SetPayload added in v0.26.1

SetPayload sets the payload to the list service edge routers o k response

func (*ListServiceEdgeRoutersOK) WithPayload added in v0.26.1

WithPayload adds the payload to the list service edge routers o k response

func (*ListServiceEdgeRoutersOK) WriteResponse added in v0.26.1

func (o *ListServiceEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServiceEdgeRoutersParams added in v0.26.1

type ListServiceEdgeRoutersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
	/*an optional JWT token use to authenticate the request. If provided, the token must be valid else a not authorized response is returned.
	  In: header
	*/
	SessionToken *string
}

ListServiceEdgeRoutersParams contains all the bound params for the list service edge routers operation typically these are obtained from a http.Request

swagger:parameters listServiceEdgeRouters

func NewListServiceEdgeRoutersParams added in v0.26.1

func NewListServiceEdgeRoutersParams() ListServiceEdgeRoutersParams

NewListServiceEdgeRoutersParams creates a new ListServiceEdgeRoutersParams object

There are no default values defined in the spec.

func (*ListServiceEdgeRoutersParams) BindRequest added in v0.26.1

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 NewListServiceEdgeRoutersParams() beforehand.

type ListServiceEdgeRoutersTooManyRequests added in v0.26.1

type ListServiceEdgeRoutersTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServiceEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response listServiceEdgeRoutersTooManyRequests

func NewListServiceEdgeRoutersTooManyRequests added in v0.26.1

func NewListServiceEdgeRoutersTooManyRequests() *ListServiceEdgeRoutersTooManyRequests

NewListServiceEdgeRoutersTooManyRequests creates ListServiceEdgeRoutersTooManyRequests with default headers values

func (*ListServiceEdgeRoutersTooManyRequests) SetPayload added in v0.26.1

SetPayload sets the payload to the list service edge routers too many requests response

func (*ListServiceEdgeRoutersTooManyRequests) WithPayload added in v0.26.1

WithPayload adds the payload to the list service edge routers too many requests response

func (*ListServiceEdgeRoutersTooManyRequests) WriteResponse added in v0.26.1

WriteResponse to the client

type ListServiceEdgeRoutersURL added in v0.26.1

type ListServiceEdgeRoutersURL struct {
	ID string

	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListServiceEdgeRoutersURL generates an URL for the list service edge routers operation

func (*ListServiceEdgeRoutersURL) Build added in v0.26.1

func (o *ListServiceEdgeRoutersURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListServiceEdgeRoutersURL) BuildFull added in v0.26.1

func (o *ListServiceEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListServiceEdgeRoutersURL) Must added in v0.26.1

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

Must is a helper function to panic when the url builder returns an error

func (*ListServiceEdgeRoutersURL) SetBasePath added in v0.26.1

func (o *ListServiceEdgeRoutersURL) 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 (*ListServiceEdgeRoutersURL) String added in v0.26.1

func (o *ListServiceEdgeRoutersURL) String() string

String returns the string representation of the path with query string

func (*ListServiceEdgeRoutersURL) StringFull added in v0.26.1

func (o *ListServiceEdgeRoutersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListServiceEdgeRoutersURL) WithBasePath added in v0.26.1

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 ListServiceEdgeRoutersUnauthorized added in v0.26.1

type ListServiceEdgeRoutersUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServiceEdgeRoutersUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response listServiceEdgeRoutersUnauthorized

func NewListServiceEdgeRoutersUnauthorized added in v0.26.1

func NewListServiceEdgeRoutersUnauthorized() *ListServiceEdgeRoutersUnauthorized

NewListServiceEdgeRoutersUnauthorized creates ListServiceEdgeRoutersUnauthorized with default headers values

func (*ListServiceEdgeRoutersUnauthorized) SetPayload added in v0.26.1

SetPayload sets the payload to the list service edge routers unauthorized response

func (*ListServiceEdgeRoutersUnauthorized) WithPayload added in v0.26.1

WithPayload adds the payload to the list service edge routers unauthorized response

func (*ListServiceEdgeRoutersUnauthorized) WriteResponse added in v0.26.1

WriteResponse to the client

type ListServiceTerminators

type ListServiceTerminators struct {
	Context *middleware.Context
	Handler ListServiceTerminatorsHandler
}
ListServiceTerminators swagger:route GET /services/{id}/terminators Service listServiceTerminators

List of terminators assigned to a service

Retrieves a list of terminator resources that are assigned specific service; supports filtering, sorting, and pagination.

func NewListServiceTerminators

func NewListServiceTerminators(ctx *middleware.Context, handler ListServiceTerminatorsHandler) *ListServiceTerminators

NewListServiceTerminators creates a new http.Handler for the list service terminators operation

func (*ListServiceTerminators) ServeHTTP

func (o *ListServiceTerminators) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListServiceTerminatorsBadRequest

type ListServiceTerminatorsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServiceTerminatorsBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response listServiceTerminatorsBadRequest

func NewListServiceTerminatorsBadRequest

func NewListServiceTerminatorsBadRequest() *ListServiceTerminatorsBadRequest

NewListServiceTerminatorsBadRequest creates ListServiceTerminatorsBadRequest with default headers values

func (*ListServiceTerminatorsBadRequest) SetPayload

SetPayload sets the payload to the list service terminators bad request response

func (*ListServiceTerminatorsBadRequest) WithPayload

WithPayload adds the payload to the list service terminators bad request response

func (*ListServiceTerminatorsBadRequest) WriteResponse

func (o *ListServiceTerminatorsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServiceTerminatorsHandler

type ListServiceTerminatorsHandler interface {
	Handle(ListServiceTerminatorsParams, interface{}) middleware.Responder
}

ListServiceTerminatorsHandler interface for that can handle valid list service terminators params

type ListServiceTerminatorsHandlerFunc

type ListServiceTerminatorsHandlerFunc func(ListServiceTerminatorsParams, interface{}) middleware.Responder

ListServiceTerminatorsHandlerFunc turns a function with the right signature into a list service terminators handler

func (ListServiceTerminatorsHandlerFunc) Handle

Handle executing the request and returning a response

type ListServiceTerminatorsOK

type ListServiceTerminatorsOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListClientTerminatorsEnvelope `json:"body,omitempty"`
}

ListServiceTerminatorsOK A list of terminators

swagger:response listServiceTerminatorsOK

func NewListServiceTerminatorsOK

func NewListServiceTerminatorsOK() *ListServiceTerminatorsOK

NewListServiceTerminatorsOK creates ListServiceTerminatorsOK with default headers values

func (*ListServiceTerminatorsOK) SetPayload

SetPayload sets the payload to the list service terminators o k response

func (*ListServiceTerminatorsOK) WithPayload

WithPayload adds the payload to the list service terminators o k response

func (*ListServiceTerminatorsOK) WriteResponse

func (o *ListServiceTerminatorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServiceTerminatorsParams

type ListServiceTerminatorsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
}

ListServiceTerminatorsParams contains all the bound params for the list service terminators operation typically these are obtained from a http.Request

swagger:parameters listServiceTerminators

func NewListServiceTerminatorsParams

func NewListServiceTerminatorsParams() ListServiceTerminatorsParams

NewListServiceTerminatorsParams creates a new ListServiceTerminatorsParams object

There are no default values defined in the spec.

func (*ListServiceTerminatorsParams) 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 NewListServiceTerminatorsParams() beforehand.

type ListServiceTerminatorsTooManyRequests added in v0.26.0

type ListServiceTerminatorsTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServiceTerminatorsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response listServiceTerminatorsTooManyRequests

func NewListServiceTerminatorsTooManyRequests added in v0.26.0

func NewListServiceTerminatorsTooManyRequests() *ListServiceTerminatorsTooManyRequests

NewListServiceTerminatorsTooManyRequests creates ListServiceTerminatorsTooManyRequests with default headers values

func (*ListServiceTerminatorsTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the list service terminators too many requests response

func (*ListServiceTerminatorsTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the list service terminators too many requests response

func (*ListServiceTerminatorsTooManyRequests) WriteResponse added in v0.26.0

WriteResponse to the client

type ListServiceTerminatorsURL

type ListServiceTerminatorsURL struct {
	ID string

	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListServiceTerminatorsURL generates an URL for the list service terminators operation

func (*ListServiceTerminatorsURL) Build

func (o *ListServiceTerminatorsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListServiceTerminatorsURL) BuildFull

func (o *ListServiceTerminatorsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListServiceTerminatorsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListServiceTerminatorsURL) SetBasePath

func (o *ListServiceTerminatorsURL) 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 (*ListServiceTerminatorsURL) String

func (o *ListServiceTerminatorsURL) String() string

String returns the string representation of the path with query string

func (*ListServiceTerminatorsURL) StringFull

func (o *ListServiceTerminatorsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListServiceTerminatorsURL) 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 ListServiceTerminatorsUnauthorized

type ListServiceTerminatorsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServiceTerminatorsUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response listServiceTerminatorsUnauthorized

func NewListServiceTerminatorsUnauthorized

func NewListServiceTerminatorsUnauthorized() *ListServiceTerminatorsUnauthorized

NewListServiceTerminatorsUnauthorized creates ListServiceTerminatorsUnauthorized with default headers values

func (*ListServiceTerminatorsUnauthorized) SetPayload

SetPayload sets the payload to the list service terminators unauthorized response

func (*ListServiceTerminatorsUnauthorized) WithPayload

WithPayload adds the payload to the list service terminators unauthorized response

func (*ListServiceTerminatorsUnauthorized) WriteResponse

WriteResponse to the client

type ListServices

type ListServices struct {
	Context *middleware.Context
	Handler ListServicesHandler
}
ListServices swagger:route GET /services Service listServices

List services

Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access.

func NewListServices

func NewListServices(ctx *middleware.Context, handler ListServicesHandler) *ListServices

NewListServices creates a new http.Handler for the list services operation

func (*ListServices) ServeHTTP

func (o *ListServices) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListServicesBadRequest

type ListServicesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServicesBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response listServicesBadRequest

func NewListServicesBadRequest

func NewListServicesBadRequest() *ListServicesBadRequest

NewListServicesBadRequest creates ListServicesBadRequest with default headers values

func (*ListServicesBadRequest) SetPayload

func (o *ListServicesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the list services bad request response

func (*ListServicesBadRequest) WithPayload

WithPayload adds the payload to the list services bad request response

func (*ListServicesBadRequest) WriteResponse

func (o *ListServicesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServicesHandler

type ListServicesHandler interface {
	Handle(ListServicesParams, interface{}) middleware.Responder
}

ListServicesHandler interface for that can handle valid list services params

type ListServicesHandlerFunc

type ListServicesHandlerFunc func(ListServicesParams, interface{}) middleware.Responder

ListServicesHandlerFunc turns a function with the right signature into a list services handler

func (ListServicesHandlerFunc) Handle

func (fn ListServicesHandlerFunc) Handle(params ListServicesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListServicesOK

type ListServicesOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListServicesEnvelope `json:"body,omitempty"`
}

ListServicesOK A list of services

swagger:response listServicesOK

func NewListServicesOK

func NewListServicesOK() *ListServicesOK

NewListServicesOK creates ListServicesOK with default headers values

func (*ListServicesOK) SetPayload

func (o *ListServicesOK) SetPayload(payload *rest_model.ListServicesEnvelope)

SetPayload sets the payload to the list services o k response

func (*ListServicesOK) WithPayload

WithPayload adds the payload to the list services o k response

func (*ListServicesOK) WriteResponse

func (o *ListServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServicesParams

type ListServicesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
	/*
	  In: query
	  Collection Format: multi
	*/
	RoleFilter []string
	/*
	  In: query
	*/
	RoleSemantic *string
}

ListServicesParams contains all the bound params for the list services operation typically these are obtained from a http.Request

swagger:parameters listServices

func NewListServicesParams

func NewListServicesParams() ListServicesParams

NewListServicesParams creates a new ListServicesParams object

There are no default values defined in the spec.

func (*ListServicesParams) BindRequest

func (o *ListServicesParams) 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 NewListServicesParams() beforehand.

type ListServicesTooManyRequests added in v0.26.0

type ListServicesTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServicesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response listServicesTooManyRequests

func NewListServicesTooManyRequests added in v0.26.0

func NewListServicesTooManyRequests() *ListServicesTooManyRequests

NewListServicesTooManyRequests creates ListServicesTooManyRequests with default headers values

func (*ListServicesTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the list services too many requests response

func (*ListServicesTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the list services too many requests response

func (*ListServicesTooManyRequests) WriteResponse added in v0.26.0

func (o *ListServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListServicesURL

type ListServicesURL struct {
	Filter       *string
	Limit        *int64
	Offset       *int64
	RoleFilter   []string
	RoleSemantic *string
	// contains filtered or unexported fields
}

ListServicesURL generates an URL for the list services operation

func (*ListServicesURL) Build

func (o *ListServicesURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListServicesURL) BuildFull

func (o *ListServicesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListServicesURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListServicesURL) SetBasePath

func (o *ListServicesURL) 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 (*ListServicesURL) String

func (o *ListServicesURL) String() string

String returns the string representation of the path with query string

func (*ListServicesURL) StringFull

func (o *ListServicesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListServicesURL) WithBasePath

func (o *ListServicesURL) WithBasePath(bp string) *ListServicesURL

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 ListServicesUnauthorized

type ListServicesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListServicesUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response listServicesUnauthorized

func NewListServicesUnauthorized

func NewListServicesUnauthorized() *ListServicesUnauthorized

NewListServicesUnauthorized creates ListServicesUnauthorized with default headers values

func (*ListServicesUnauthorized) SetPayload

func (o *ListServicesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the list services unauthorized response

func (*ListServicesUnauthorized) WithPayload

WithPayload adds the payload to the list services unauthorized response

func (*ListServicesUnauthorized) WriteResponse

func (o *ListServicesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchService

type PatchService struct {
	Context *middleware.Context
	Handler PatchServiceHandler
}
PatchService swagger:route PATCH /services/{id} Service patchService

Update the supplied fields on a service

Update the supplied fields on a service. Requires admin access.

func NewPatchService

func NewPatchService(ctx *middleware.Context, handler PatchServiceHandler) *PatchService

NewPatchService creates a new http.Handler for the patch service operation

func (*PatchService) ServeHTTP

func (o *PatchService) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchServiceBadRequest

type PatchServiceBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchServiceBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response patchServiceBadRequest

func NewPatchServiceBadRequest

func NewPatchServiceBadRequest() *PatchServiceBadRequest

NewPatchServiceBadRequest creates PatchServiceBadRequest with default headers values

func (*PatchServiceBadRequest) SetPayload

func (o *PatchServiceBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch service bad request response

func (*PatchServiceBadRequest) WithPayload

WithPayload adds the payload to the patch service bad request response

func (*PatchServiceBadRequest) WriteResponse

func (o *PatchServiceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchServiceHandler

type PatchServiceHandler interface {
	Handle(PatchServiceParams, interface{}) middleware.Responder
}

PatchServiceHandler interface for that can handle valid patch service params

type PatchServiceHandlerFunc

type PatchServiceHandlerFunc func(PatchServiceParams, interface{}) middleware.Responder

PatchServiceHandlerFunc turns a function with the right signature into a patch service handler

func (PatchServiceHandlerFunc) Handle

func (fn PatchServiceHandlerFunc) Handle(params PatchServiceParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PatchServiceNotFound

type PatchServiceNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchServiceNotFound The requested resource does not exist

swagger:response patchServiceNotFound

func NewPatchServiceNotFound

func NewPatchServiceNotFound() *PatchServiceNotFound

NewPatchServiceNotFound creates PatchServiceNotFound with default headers values

func (*PatchServiceNotFound) SetPayload

func (o *PatchServiceNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch service not found response

func (*PatchServiceNotFound) WithPayload

WithPayload adds the payload to the patch service not found response

func (*PatchServiceNotFound) WriteResponse

func (o *PatchServiceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchServiceOK

type PatchServiceOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

PatchServiceOK The patch request was successful and the resource has been altered

swagger:response patchServiceOK

func NewPatchServiceOK

func NewPatchServiceOK() *PatchServiceOK

NewPatchServiceOK creates PatchServiceOK with default headers values

func (*PatchServiceOK) SetPayload

func (o *PatchServiceOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the patch service o k response

func (*PatchServiceOK) WithPayload

func (o *PatchServiceOK) WithPayload(payload *rest_model.Empty) *PatchServiceOK

WithPayload adds the payload to the patch service o k response

func (*PatchServiceOK) WriteResponse

func (o *PatchServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchServiceParams

type PatchServiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*A service patch object
	  Required: true
	  In: body
	*/
	Service *rest_model.ServicePatch
}

PatchServiceParams contains all the bound params for the patch service operation typically these are obtained from a http.Request

swagger:parameters patchService

func NewPatchServiceParams

func NewPatchServiceParams() PatchServiceParams

NewPatchServiceParams creates a new PatchServiceParams object

There are no default values defined in the spec.

func (*PatchServiceParams) BindRequest

func (o *PatchServiceParams) 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 NewPatchServiceParams() beforehand.

type PatchServiceTooManyRequests added in v0.26.0

type PatchServiceTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response patchServiceTooManyRequests

func NewPatchServiceTooManyRequests added in v0.26.0

func NewPatchServiceTooManyRequests() *PatchServiceTooManyRequests

NewPatchServiceTooManyRequests creates PatchServiceTooManyRequests with default headers values

func (*PatchServiceTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the patch service too many requests response

func (*PatchServiceTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the patch service too many requests response

func (*PatchServiceTooManyRequests) WriteResponse added in v0.26.0

func (o *PatchServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchServiceURL

type PatchServiceURL struct {
	ID string
	// contains filtered or unexported fields
}

PatchServiceURL generates an URL for the patch service operation

func (*PatchServiceURL) Build

func (o *PatchServiceURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchServiceURL) BuildFull

func (o *PatchServiceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchServiceURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*PatchServiceURL) SetBasePath

func (o *PatchServiceURL) 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 (*PatchServiceURL) String

func (o *PatchServiceURL) String() string

String returns the string representation of the path with query string

func (*PatchServiceURL) StringFull

func (o *PatchServiceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchServiceURL) WithBasePath

func (o *PatchServiceURL) WithBasePath(bp string) *PatchServiceURL

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 PatchServiceUnauthorized

type PatchServiceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchServiceUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response patchServiceUnauthorized

func NewPatchServiceUnauthorized

func NewPatchServiceUnauthorized() *PatchServiceUnauthorized

NewPatchServiceUnauthorized creates PatchServiceUnauthorized with default headers values

func (*PatchServiceUnauthorized) SetPayload

func (o *PatchServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch service unauthorized response

func (*PatchServiceUnauthorized) WithPayload

WithPayload adds the payload to the patch service unauthorized response

func (*PatchServiceUnauthorized) WriteResponse

func (o *PatchServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateService

type UpdateService struct {
	Context *middleware.Context
	Handler UpdateServiceHandler
}
UpdateService swagger:route PUT /services/{id} Service updateService

Update all fields on a service

Update all fields on a service by id. Requires admin access.

func NewUpdateService

func NewUpdateService(ctx *middleware.Context, handler UpdateServiceHandler) *UpdateService

NewUpdateService creates a new http.Handler for the update service operation

func (*UpdateService) ServeHTTP

func (o *UpdateService) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateServiceBadRequest

type UpdateServiceBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateServiceBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response updateServiceBadRequest

func NewUpdateServiceBadRequest

func NewUpdateServiceBadRequest() *UpdateServiceBadRequest

NewUpdateServiceBadRequest creates UpdateServiceBadRequest with default headers values

func (*UpdateServiceBadRequest) SetPayload

func (o *UpdateServiceBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update service bad request response

func (*UpdateServiceBadRequest) WithPayload

WithPayload adds the payload to the update service bad request response

func (*UpdateServiceBadRequest) WriteResponse

func (o *UpdateServiceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateServiceHandler

type UpdateServiceHandler interface {
	Handle(UpdateServiceParams, interface{}) middleware.Responder
}

UpdateServiceHandler interface for that can handle valid update service params

type UpdateServiceHandlerFunc

type UpdateServiceHandlerFunc func(UpdateServiceParams, interface{}) middleware.Responder

UpdateServiceHandlerFunc turns a function with the right signature into a update service handler

func (UpdateServiceHandlerFunc) Handle

func (fn UpdateServiceHandlerFunc) Handle(params UpdateServiceParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateServiceNotFound

type UpdateServiceNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateServiceNotFound The requested resource does not exist

swagger:response updateServiceNotFound

func NewUpdateServiceNotFound

func NewUpdateServiceNotFound() *UpdateServiceNotFound

NewUpdateServiceNotFound creates UpdateServiceNotFound with default headers values

func (*UpdateServiceNotFound) SetPayload

func (o *UpdateServiceNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update service not found response

func (*UpdateServiceNotFound) WithPayload

WithPayload adds the payload to the update service not found response

func (*UpdateServiceNotFound) WriteResponse

func (o *UpdateServiceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateServiceOK

type UpdateServiceOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

UpdateServiceOK The update request was successful and the resource has been altered

swagger:response updateServiceOK

func NewUpdateServiceOK

func NewUpdateServiceOK() *UpdateServiceOK

NewUpdateServiceOK creates UpdateServiceOK with default headers values

func (*UpdateServiceOK) SetPayload

func (o *UpdateServiceOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the update service o k response

func (*UpdateServiceOK) WithPayload

func (o *UpdateServiceOK) WithPayload(payload *rest_model.Empty) *UpdateServiceOK

WithPayload adds the payload to the update service o k response

func (*UpdateServiceOK) WriteResponse

func (o *UpdateServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateServiceParams

type UpdateServiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*A service update object
	  Required: true
	  In: body
	*/
	Service *rest_model.ServiceUpdate
}

UpdateServiceParams contains all the bound params for the update service operation typically these are obtained from a http.Request

swagger:parameters updateService

func NewUpdateServiceParams

func NewUpdateServiceParams() UpdateServiceParams

NewUpdateServiceParams creates a new UpdateServiceParams object

There are no default values defined in the spec.

func (*UpdateServiceParams) BindRequest

func (o *UpdateServiceParams) 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 NewUpdateServiceParams() beforehand.

type UpdateServiceTooManyRequests added in v0.26.0

type UpdateServiceTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response updateServiceTooManyRequests

func NewUpdateServiceTooManyRequests added in v0.26.0

func NewUpdateServiceTooManyRequests() *UpdateServiceTooManyRequests

NewUpdateServiceTooManyRequests creates UpdateServiceTooManyRequests with default headers values

func (*UpdateServiceTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the update service too many requests response

func (*UpdateServiceTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the update service too many requests response

func (*UpdateServiceTooManyRequests) WriteResponse added in v0.26.0

func (o *UpdateServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateServiceURL

type UpdateServiceURL struct {
	ID string
	// contains filtered or unexported fields
}

UpdateServiceURL generates an URL for the update service operation

func (*UpdateServiceURL) Build

func (o *UpdateServiceURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateServiceURL) BuildFull

func (o *UpdateServiceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateServiceURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*UpdateServiceURL) SetBasePath

func (o *UpdateServiceURL) 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 (*UpdateServiceURL) String

func (o *UpdateServiceURL) String() string

String returns the string representation of the path with query string

func (*UpdateServiceURL) StringFull

func (o *UpdateServiceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateServiceURL) WithBasePath

func (o *UpdateServiceURL) WithBasePath(bp string) *UpdateServiceURL

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 UpdateServiceUnauthorized

type UpdateServiceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateServiceUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response updateServiceUnauthorized

func NewUpdateServiceUnauthorized

func NewUpdateServiceUnauthorized() *UpdateServiceUnauthorized

NewUpdateServiceUnauthorized creates UpdateServiceUnauthorized with default headers values

func (*UpdateServiceUnauthorized) SetPayload

func (o *UpdateServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update service unauthorized response

func (*UpdateServiceUnauthorized) WithPayload

WithPayload adds the payload to the update service unauthorized response

func (*UpdateServiceUnauthorized) WriteResponse

func (o *UpdateServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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