service

package
v0.0.0-...-82ba225 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceAddBadRequestCode int = 400

ServiceAddBadRequestCode is the HTTP code returned for type ServiceAddBadRequest

View Source
const ServiceAddConflictCode int = 409

ServiceAddConflictCode is the HTTP code returned for type ServiceAddConflict

View Source
const ServiceAddCreatedCode int = 201

ServiceAddCreatedCode is the HTTP code returned for type ServiceAddCreated

View Source
const ServiceAddForbiddenCode int = 403

ServiceAddForbiddenCode is the HTTP code returned for type ServiceAddForbidden

View Source
const ServiceAddServiceUnavailableCode int = 503

ServiceAddServiceUnavailableCode is the HTTP code returned for type ServiceAddServiceUnavailable

View Source
const ServiceAddUnauthorizedCode int = 401

ServiceAddUnauthorizedCode is the HTTP code returned for type ServiceAddUnauthorized

View Source
const ServiceAddUnprocessableEntityCode int = 422

ServiceAddUnprocessableEntityCode is the HTTP code returned for type ServiceAddUnprocessableEntity

View Source
const ServiceArchiveBadRequestCode int = 400

ServiceArchiveBadRequestCode is the HTTP code returned for type ServiceArchiveBadRequest

View Source
const ServiceArchiveForbiddenCode int = 403

ServiceArchiveForbiddenCode is the HTTP code returned for type ServiceArchiveForbidden

View Source
const ServiceArchiveNotFoundCode int = 404

ServiceArchiveNotFoundCode is the HTTP code returned for type ServiceArchiveNotFound

View Source
const ServiceArchiveOKCode int = 200

ServiceArchiveOKCode is the HTTP code returned for type ServiceArchiveOK

View Source
const ServiceArchiveServiceUnavailableCode int = 503

ServiceArchiveServiceUnavailableCode is the HTTP code returned for type ServiceArchiveServiceUnavailable

View Source
const ServiceArchiveUnauthorizedCode int = 401

ServiceArchiveUnauthorizedCode is the HTTP code returned for type ServiceArchiveUnauthorized

View Source
const ServiceArchiveUnprocessableEntityCode int = 422

ServiceArchiveUnprocessableEntityCode is the HTTP code returned for type ServiceArchiveUnprocessableEntity

View Source
const ServiceCredentialsUpdateBadRequestCode int = 400

ServiceCredentialsUpdateBadRequestCode is the HTTP code returned for type ServiceCredentialsUpdateBadRequest

View Source
const ServiceCredentialsUpdateForbiddenCode int = 403

ServiceCredentialsUpdateForbiddenCode is the HTTP code returned for type ServiceCredentialsUpdateForbidden

View Source
const ServiceCredentialsUpdateOKCode int = 200

ServiceCredentialsUpdateOKCode is the HTTP code returned for type ServiceCredentialsUpdateOK

View Source
const ServiceCredentialsUpdateServiceUnavailableCode int = 503

ServiceCredentialsUpdateServiceUnavailableCode is the HTTP code returned for type ServiceCredentialsUpdateServiceUnavailable

View Source
const ServiceCredentialsUpdateUnauthorizedCode int = 401

ServiceCredentialsUpdateUnauthorizedCode is the HTTP code returned for type ServiceCredentialsUpdateUnauthorized

View Source
const ServiceCredentialsUpdateUnprocessableEntityCode int = 422

ServiceCredentialsUpdateUnprocessableEntityCode is the HTTP code returned for type ServiceCredentialsUpdateUnprocessableEntity

View Source
const ServiceDeleteBadRequestCode int = 400

ServiceDeleteBadRequestCode is the HTTP code returned for type ServiceDeleteBadRequest

View Source
const ServiceDeleteForbiddenCode int = 403

ServiceDeleteForbiddenCode is the HTTP code returned for type ServiceDeleteForbidden

View Source
const ServiceDeleteNotFoundCode int = 404

ServiceDeleteNotFoundCode is the HTTP code returned for type ServiceDeleteNotFound

View Source
const ServiceDeleteOKCode int = 200

ServiceDeleteOKCode is the HTTP code returned for type ServiceDeleteOK

View Source
const ServiceDeleteServiceUnavailableCode int = 503

ServiceDeleteServiceUnavailableCode is the HTTP code returned for type ServiceDeleteServiceUnavailable

View Source
const ServiceDeleteUnauthorizedCode int = 401

ServiceDeleteUnauthorizedCode is the HTTP code returned for type ServiceDeleteUnauthorized

View Source
const ServiceDeleteUnprocessableEntityCode int = 422

ServiceDeleteUnprocessableEntityCode is the HTTP code returned for type ServiceDeleteUnprocessableEntity

View Source
const ServiceEditBadRequestCode int = 400

ServiceEditBadRequestCode is the HTTP code returned for type ServiceEditBadRequest

View Source
const ServiceEditForbiddenCode int = 403

ServiceEditForbiddenCode is the HTTP code returned for type ServiceEditForbidden

View Source
const ServiceEditNotFoundCode int = 404

ServiceEditNotFoundCode is the HTTP code returned for type ServiceEditNotFound

View Source
const ServiceEditOKCode int = 200

ServiceEditOKCode is the HTTP code returned for type ServiceEditOK

View Source
const ServiceEditServiceUnavailableCode int = 503

ServiceEditServiceUnavailableCode is the HTTP code returned for type ServiceEditServiceUnavailable

View Source
const ServiceEditUnauthorizedCode int = 401

ServiceEditUnauthorizedCode is the HTTP code returned for type ServiceEditUnauthorized

View Source
const ServiceEditUnprocessableEntityCode int = 422

ServiceEditUnprocessableEntityCode is the HTTP code returned for type ServiceEditUnprocessableEntity

View Source
const ServiceExplainBadRequestCode int = 400

ServiceExplainBadRequestCode is the HTTP code returned for type ServiceExplainBadRequest

View Source
const ServiceExplainForbiddenCode int = 403

ServiceExplainForbiddenCode is the HTTP code returned for type ServiceExplainForbidden

View Source
const ServiceExplainOKCode int = 200

ServiceExplainOKCode is the HTTP code returned for type ServiceExplainOK

View Source
const ServiceExplainServiceUnavailableCode int = 503

ServiceExplainServiceUnavailableCode is the HTTP code returned for type ServiceExplainServiceUnavailable

View Source
const ServiceExplainUnauthorizedCode int = 401

ServiceExplainUnauthorizedCode is the HTTP code returned for type ServiceExplainUnauthorized

View Source
const ServiceExplainUnprocessableEntityCode int = 422

ServiceExplainUnprocessableEntityCode is the HTTP code returned for type ServiceExplainUnprocessableEntity

View Source
const ServiceGetBadRequestCode int = 400

ServiceGetBadRequestCode is the HTTP code returned for type ServiceGetBadRequest

View Source
const ServiceGetForbiddenCode int = 403

ServiceGetForbiddenCode is the HTTP code returned for type ServiceGetForbidden

View Source
const ServiceGetNotFoundCode int = 404

ServiceGetNotFoundCode is the HTTP code returned for type ServiceGetNotFound

View Source
const ServiceGetOKCode int = 200

ServiceGetOKCode is the HTTP code returned for type ServiceGetOK

View Source
const ServiceGetServiceUnavailableCode int = 503

ServiceGetServiceUnavailableCode is the HTTP code returned for type ServiceGetServiceUnavailable

View Source
const ServiceGetUnauthorizedCode int = 401

ServiceGetUnauthorizedCode is the HTTP code returned for type ServiceGetUnauthorized

View Source
const ServiceGetUnprocessableEntityCode int = 422

ServiceGetUnprocessableEntityCode is the HTTP code returned for type ServiceGetUnprocessableEntity

View Source
const ServiceListBadRequestCode int = 400

ServiceListBadRequestCode is the HTTP code returned for type ServiceListBadRequest

View Source
const ServiceListForbiddenCode int = 403

ServiceListForbiddenCode is the HTTP code returned for type ServiceListForbidden

View Source
const ServiceListOKCode int = 200

ServiceListOKCode is the HTTP code returned for type ServiceListOK

View Source
const ServiceListServiceUnavailableCode int = 503

ServiceListServiceUnavailableCode is the HTTP code returned for type ServiceListServiceUnavailable

View Source
const ServiceListUnauthorizedCode int = 401

ServiceListUnauthorizedCode is the HTTP code returned for type ServiceListUnauthorized

View Source
const ServiceListUnprocessableEntityCode int = 422

ServiceListUnprocessableEntityCode is the HTTP code returned for type ServiceListUnprocessableEntity

View Source
const ServiceLogsBadRequestCode int = 400

ServiceLogsBadRequestCode is the HTTP code returned for type ServiceLogsBadRequest

View Source
const ServiceLogsForbiddenCode int = 403

ServiceLogsForbiddenCode is the HTTP code returned for type ServiceLogsForbidden

View Source
const ServiceLogsOKCode int = 200

ServiceLogsOKCode is the HTTP code returned for type ServiceLogsOK

View Source
const ServiceLogsServiceUnavailableCode int = 503

ServiceLogsServiceUnavailableCode is the HTTP code returned for type ServiceLogsServiceUnavailable

View Source
const ServiceLogsUnauthorizedCode int = 401

ServiceLogsUnauthorizedCode is the HTTP code returned for type ServiceLogsUnauthorized

View Source
const ServiceLogsUnprocessableEntityCode int = 422

ServiceLogsUnprocessableEntityCode is the HTTP code returned for type ServiceLogsUnprocessableEntity

View Source
const ServiceSecretsListBadRequestCode int = 400

ServiceSecretsListBadRequestCode is the HTTP code returned for type ServiceSecretsListBadRequest

View Source
const ServiceSecretsListForbiddenCode int = 403

ServiceSecretsListForbiddenCode is the HTTP code returned for type ServiceSecretsListForbidden

View Source
const ServiceSecretsListOKCode int = 200

ServiceSecretsListOKCode is the HTTP code returned for type ServiceSecretsListOK

View Source
const ServiceSecretsListServiceUnavailableCode int = 503

ServiceSecretsListServiceUnavailableCode is the HTTP code returned for type ServiceSecretsListServiceUnavailable

View Source
const ServiceSecretsListUnauthorizedCode int = 401

ServiceSecretsListUnauthorizedCode is the HTTP code returned for type ServiceSecretsListUnauthorized

View Source
const ServiceUnarchiveBadRequestCode int = 400

ServiceUnarchiveBadRequestCode is the HTTP code returned for type ServiceUnarchiveBadRequest

View Source
const ServiceUnarchiveForbiddenCode int = 403

ServiceUnarchiveForbiddenCode is the HTTP code returned for type ServiceUnarchiveForbidden

View Source
const ServiceUnarchiveNotFoundCode int = 404

ServiceUnarchiveNotFoundCode is the HTTP code returned for type ServiceUnarchiveNotFound

View Source
const ServiceUnarchiveOKCode int = 200

ServiceUnarchiveOKCode is the HTTP code returned for type ServiceUnarchiveOK

View Source
const ServiceUnarchiveServiceUnavailableCode int = 503

ServiceUnarchiveServiceUnavailableCode is the HTTP code returned for type ServiceUnarchiveServiceUnavailable

View Source
const ServiceUnarchiveUnauthorizedCode int = 401

ServiceUnarchiveUnauthorizedCode is the HTTP code returned for type ServiceUnarchiveUnauthorized

View Source
const ServiceUnarchiveUnprocessableEntityCode int = 422

ServiceUnarchiveUnprocessableEntityCode is the HTTP code returned for type ServiceUnarchiveUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceAdd

type ServiceAdd struct {
	Context *middleware.Context
	Handler ServiceAddHandler
}
ServiceAdd swagger:route POST /services/ service serviceAdd

adds a service item

Adds service object

func NewServiceAdd

func NewServiceAdd(ctx *middleware.Context, handler ServiceAddHandler) *ServiceAdd

NewServiceAdd creates a new http.Handler for the service add operation

func (*ServiceAdd) ServeHTTP

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

type ServiceAddBadRequest

type ServiceAddBadRequest struct {

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

ServiceAddBadRequest invalid input, object invalid

swagger:response serviceAddBadRequest

func NewServiceAddBadRequest

func NewServiceAddBadRequest() *ServiceAddBadRequest

NewServiceAddBadRequest creates ServiceAddBadRequest with default headers values

func (*ServiceAddBadRequest) SetPayload

func (o *ServiceAddBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service add bad request response

func (*ServiceAddBadRequest) WithPayload

func (o *ServiceAddBadRequest) WithPayload(payload *models.Error) *ServiceAddBadRequest

WithPayload adds the payload to the service add bad request response

func (*ServiceAddBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceAddConflict

type ServiceAddConflict struct {
}

ServiceAddConflict item already exists

swagger:response serviceAddConflict

func NewServiceAddConflict

func NewServiceAddConflict() *ServiceAddConflict

NewServiceAddConflict creates ServiceAddConflict with default headers values

func (*ServiceAddConflict) WriteResponse

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

WriteResponse to the client

type ServiceAddCreated

type ServiceAddCreated struct {

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

ServiceAddCreated item created

swagger:response serviceAddCreated

func NewServiceAddCreated

func NewServiceAddCreated() *ServiceAddCreated

NewServiceAddCreated creates ServiceAddCreated with default headers values

func (*ServiceAddCreated) SetPayload

func (o *ServiceAddCreated) SetPayload(payload *models.Service)

SetPayload sets the payload to the service add created response

func (*ServiceAddCreated) WithPayload

func (o *ServiceAddCreated) WithPayload(payload *models.Service) *ServiceAddCreated

WithPayload adds the payload to the service add created response

func (*ServiceAddCreated) WriteResponse

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

WriteResponse to the client

type ServiceAddForbidden

type ServiceAddForbidden struct {
}

ServiceAddForbidden bad permissions

swagger:response serviceAddForbidden

func NewServiceAddForbidden

func NewServiceAddForbidden() *ServiceAddForbidden

NewServiceAddForbidden creates ServiceAddForbidden with default headers values

func (*ServiceAddForbidden) WriteResponse

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

WriteResponse to the client

type ServiceAddHandler

type ServiceAddHandler interface {
	Handle(ServiceAddParams, *models.Principal) middleware.Responder
}

ServiceAddHandler interface for that can handle valid service add params

type ServiceAddHandlerFunc

type ServiceAddHandlerFunc func(ServiceAddParams, *models.Principal) middleware.Responder

ServiceAddHandlerFunc turns a function with the right signature into a service add handler

func (ServiceAddHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceAddParams

type ServiceAddParams struct {

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

	/*service item
	  Required: true
	  In: body
	*/
	ServiceItem *models.Service
}

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

swagger:parameters serviceAdd

func NewServiceAddParams

func NewServiceAddParams() ServiceAddParams

NewServiceAddParams creates a new ServiceAddParams object

There are no default values defined in the spec.

func (*ServiceAddParams) BindRequest

func (o *ServiceAddParams) 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 NewServiceAddParams() beforehand.

type ServiceAddServiceUnavailable

type ServiceAddServiceUnavailable struct {

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

ServiceAddServiceUnavailable internal server error

swagger:response serviceAddServiceUnavailable

func NewServiceAddServiceUnavailable

func NewServiceAddServiceUnavailable() *ServiceAddServiceUnavailable

NewServiceAddServiceUnavailable creates ServiceAddServiceUnavailable with default headers values

func (*ServiceAddServiceUnavailable) SetPayload

func (o *ServiceAddServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service add service unavailable response

func (*ServiceAddServiceUnavailable) WithPayload

WithPayload adds the payload to the service add service unavailable response

func (*ServiceAddServiceUnavailable) WriteResponse

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

WriteResponse to the client

type ServiceAddUnauthorized

type ServiceAddUnauthorized struct {
}

ServiceAddUnauthorized bad authentication

swagger:response serviceAddUnauthorized

func NewServiceAddUnauthorized

func NewServiceAddUnauthorized() *ServiceAddUnauthorized

NewServiceAddUnauthorized creates ServiceAddUnauthorized with default headers values

func (*ServiceAddUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceAddUnprocessableEntity

type ServiceAddUnprocessableEntity struct {

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

ServiceAddUnprocessableEntity bad validation

swagger:response serviceAddUnprocessableEntity

func NewServiceAddUnprocessableEntity

func NewServiceAddUnprocessableEntity() *ServiceAddUnprocessableEntity

NewServiceAddUnprocessableEntity creates ServiceAddUnprocessableEntity with default headers values

func (*ServiceAddUnprocessableEntity) SetPayload

func (o *ServiceAddUnprocessableEntity) SetPayload(payload *models.Error)

SetPayload sets the payload to the service add unprocessable entity response

func (*ServiceAddUnprocessableEntity) WithPayload

WithPayload adds the payload to the service add unprocessable entity response

func (*ServiceAddUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ServiceArchive

type ServiceArchive struct {
	Context *middleware.Context
	Handler ServiceArchiveHandler
}
ServiceArchive swagger:route POST /services/{ServiceID}/archive service serviceArchive

archive service

archive service (for example, if user subscription got cancelled)

func NewServiceArchive

func NewServiceArchive(ctx *middleware.Context, handler ServiceArchiveHandler) *ServiceArchive

NewServiceArchive creates a new http.Handler for the service archive operation

func (*ServiceArchive) ServeHTTP

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

type ServiceArchiveBadRequest

type ServiceArchiveBadRequest struct {

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

ServiceArchiveBadRequest invalid input

swagger:response serviceArchiveBadRequest

func NewServiceArchiveBadRequest

func NewServiceArchiveBadRequest() *ServiceArchiveBadRequest

NewServiceArchiveBadRequest creates ServiceArchiveBadRequest with default headers values

func (*ServiceArchiveBadRequest) SetPayload

func (o *ServiceArchiveBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service archive bad request response

func (*ServiceArchiveBadRequest) WithPayload

WithPayload adds the payload to the service archive bad request response

func (*ServiceArchiveBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceArchiveForbidden

type ServiceArchiveForbidden struct {
}

ServiceArchiveForbidden bad permissions

swagger:response serviceArchiveForbidden

func NewServiceArchiveForbidden

func NewServiceArchiveForbidden() *ServiceArchiveForbidden

NewServiceArchiveForbidden creates ServiceArchiveForbidden with default headers values

func (*ServiceArchiveForbidden) WriteResponse

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

WriteResponse to the client

type ServiceArchiveHandler

type ServiceArchiveHandler interface {
	Handle(ServiceArchiveParams, *models.Principal) middleware.Responder
}

ServiceArchiveHandler interface for that can handle valid service archive params

type ServiceArchiveHandlerFunc

type ServiceArchiveHandlerFunc func(ServiceArchiveParams, *models.Principal) middleware.Responder

ServiceArchiveHandlerFunc turns a function with the right signature into a service archive handler

func (ServiceArchiveHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceArchiveNotFound

type ServiceArchiveNotFound struct {

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

ServiceArchiveNotFound service not found

swagger:response serviceArchiveNotFound

func NewServiceArchiveNotFound

func NewServiceArchiveNotFound() *ServiceArchiveNotFound

NewServiceArchiveNotFound creates ServiceArchiveNotFound with default headers values

func (*ServiceArchiveNotFound) SetPayload

func (o *ServiceArchiveNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the service archive not found response

func (*ServiceArchiveNotFound) WithPayload

func (o *ServiceArchiveNotFound) WithPayload(payload *models.Error) *ServiceArchiveNotFound

WithPayload adds the payload to the service archive not found response

func (*ServiceArchiveNotFound) WriteResponse

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

WriteResponse to the client

type ServiceArchiveOK

type ServiceArchiveOK struct {
}

ServiceArchiveOK service request to archive is sent

swagger:response serviceArchiveOK

func NewServiceArchiveOK

func NewServiceArchiveOK() *ServiceArchiveOK

NewServiceArchiveOK creates ServiceArchiveOK with default headers values

func (*ServiceArchiveOK) WriteResponse

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

WriteResponse to the client

type ServiceArchiveParams

type ServiceArchiveParams struct {

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

	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
}

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

swagger:parameters serviceArchive

func NewServiceArchiveParams

func NewServiceArchiveParams() ServiceArchiveParams

NewServiceArchiveParams creates a new ServiceArchiveParams object

There are no default values defined in the spec.

func (*ServiceArchiveParams) BindRequest

func (o *ServiceArchiveParams) 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 NewServiceArchiveParams() beforehand.

type ServiceArchiveServiceUnavailable

type ServiceArchiveServiceUnavailable struct {

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

ServiceArchiveServiceUnavailable internal service error

swagger:response serviceArchiveServiceUnavailable

func NewServiceArchiveServiceUnavailable

func NewServiceArchiveServiceUnavailable() *ServiceArchiveServiceUnavailable

NewServiceArchiveServiceUnavailable creates ServiceArchiveServiceUnavailable with default headers values

func (*ServiceArchiveServiceUnavailable) SetPayload

func (o *ServiceArchiveServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service archive service unavailable response

func (*ServiceArchiveServiceUnavailable) WithPayload

WithPayload adds the payload to the service archive service unavailable response

func (*ServiceArchiveServiceUnavailable) WriteResponse

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

WriteResponse to the client

type ServiceArchiveUnauthorized

type ServiceArchiveUnauthorized struct {
}

ServiceArchiveUnauthorized bad authentication

swagger:response serviceArchiveUnauthorized

func NewServiceArchiveUnauthorized

func NewServiceArchiveUnauthorized() *ServiceArchiveUnauthorized

NewServiceArchiveUnauthorized creates ServiceArchiveUnauthorized with default headers values

func (*ServiceArchiveUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceArchiveUnprocessableEntity

type ServiceArchiveUnprocessableEntity struct {
}

ServiceArchiveUnprocessableEntity bad validation

swagger:response serviceArchiveUnprocessableEntity

func NewServiceArchiveUnprocessableEntity

func NewServiceArchiveUnprocessableEntity() *ServiceArchiveUnprocessableEntity

NewServiceArchiveUnprocessableEntity creates ServiceArchiveUnprocessableEntity with default headers values

func (*ServiceArchiveUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ServiceCredentialsUpdate

type ServiceCredentialsUpdate struct {
	Context *middleware.Context
	Handler ServiceCredentialsUpdateHandler
}
ServiceCredentialsUpdate swagger:route POST /services/{ServiceID}/credentials service serviceCredentialsUpdate

updates service credentials

updates service credentials with passed data

func NewServiceCredentialsUpdate

func NewServiceCredentialsUpdate(ctx *middleware.Context, handler ServiceCredentialsUpdateHandler) *ServiceCredentialsUpdate

NewServiceCredentialsUpdate creates a new http.Handler for the service credentials update operation

func (*ServiceCredentialsUpdate) ServeHTTP

type ServiceCredentialsUpdateBadRequest

type ServiceCredentialsUpdateBadRequest struct {

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

ServiceCredentialsUpdateBadRequest invalid input

swagger:response serviceCredentialsUpdateBadRequest

func NewServiceCredentialsUpdateBadRequest

func NewServiceCredentialsUpdateBadRequest() *ServiceCredentialsUpdateBadRequest

NewServiceCredentialsUpdateBadRequest creates ServiceCredentialsUpdateBadRequest with default headers values

func (*ServiceCredentialsUpdateBadRequest) SetPayload

func (o *ServiceCredentialsUpdateBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service credentials update bad request response

func (*ServiceCredentialsUpdateBadRequest) WithPayload

WithPayload adds the payload to the service credentials update bad request response

func (*ServiceCredentialsUpdateBadRequest) WriteResponse

WriteResponse to the client

type ServiceCredentialsUpdateForbidden

type ServiceCredentialsUpdateForbidden struct {
}

ServiceCredentialsUpdateForbidden bad permissions

swagger:response serviceCredentialsUpdateForbidden

func NewServiceCredentialsUpdateForbidden

func NewServiceCredentialsUpdateForbidden() *ServiceCredentialsUpdateForbidden

NewServiceCredentialsUpdateForbidden creates ServiceCredentialsUpdateForbidden with default headers values

func (*ServiceCredentialsUpdateForbidden) WriteResponse

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

WriteResponse to the client

type ServiceCredentialsUpdateHandler

type ServiceCredentialsUpdateHandler interface {
	Handle(ServiceCredentialsUpdateParams, *models.Principal) middleware.Responder
}

ServiceCredentialsUpdateHandler interface for that can handle valid service credentials update params

type ServiceCredentialsUpdateHandlerFunc

type ServiceCredentialsUpdateHandlerFunc func(ServiceCredentialsUpdateParams, *models.Principal) middleware.Responder

ServiceCredentialsUpdateHandlerFunc turns a function with the right signature into a service credentials update handler

func (ServiceCredentialsUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceCredentialsUpdateOK

type ServiceCredentialsUpdateOK struct {
}

ServiceCredentialsUpdateOK credentials are updated

swagger:response serviceCredentialsUpdateOK

func NewServiceCredentialsUpdateOK

func NewServiceCredentialsUpdateOK() *ServiceCredentialsUpdateOK

NewServiceCredentialsUpdateOK creates ServiceCredentialsUpdateOK with default headers values

func (*ServiceCredentialsUpdateOK) WriteResponse

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

WriteResponse to the client

type ServiceCredentialsUpdateParams

type ServiceCredentialsUpdateParams struct {

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

	/*service credentials
	  In: body
	*/
	ServiceCredentials models.ServiceCredentials
	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
}

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

swagger:parameters serviceCredentialsUpdate

func NewServiceCredentialsUpdateParams

func NewServiceCredentialsUpdateParams() ServiceCredentialsUpdateParams

NewServiceCredentialsUpdateParams creates a new ServiceCredentialsUpdateParams object

There are no default values defined in the spec.

func (*ServiceCredentialsUpdateParams) 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 NewServiceCredentialsUpdateParams() beforehand.

type ServiceCredentialsUpdateServiceUnavailable

type ServiceCredentialsUpdateServiceUnavailable struct {

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

ServiceCredentialsUpdateServiceUnavailable internal service error

swagger:response serviceCredentialsUpdateServiceUnavailable

func NewServiceCredentialsUpdateServiceUnavailable

func NewServiceCredentialsUpdateServiceUnavailable() *ServiceCredentialsUpdateServiceUnavailable

NewServiceCredentialsUpdateServiceUnavailable creates ServiceCredentialsUpdateServiceUnavailable with default headers values

func (*ServiceCredentialsUpdateServiceUnavailable) SetPayload

SetPayload sets the payload to the service credentials update service unavailable response

func (*ServiceCredentialsUpdateServiceUnavailable) WithPayload

WithPayload adds the payload to the service credentials update service unavailable response

func (*ServiceCredentialsUpdateServiceUnavailable) WriteResponse

WriteResponse to the client

type ServiceCredentialsUpdateUnauthorized

type ServiceCredentialsUpdateUnauthorized struct {
}

ServiceCredentialsUpdateUnauthorized bad authentication

swagger:response serviceCredentialsUpdateUnauthorized

func NewServiceCredentialsUpdateUnauthorized

func NewServiceCredentialsUpdateUnauthorized() *ServiceCredentialsUpdateUnauthorized

NewServiceCredentialsUpdateUnauthorized creates ServiceCredentialsUpdateUnauthorized with default headers values

func (*ServiceCredentialsUpdateUnauthorized) WriteResponse

WriteResponse to the client

type ServiceCredentialsUpdateUnprocessableEntity

type ServiceCredentialsUpdateUnprocessableEntity struct {
}

ServiceCredentialsUpdateUnprocessableEntity bad validation

swagger:response serviceCredentialsUpdateUnprocessableEntity

func NewServiceCredentialsUpdateUnprocessableEntity

func NewServiceCredentialsUpdateUnprocessableEntity() *ServiceCredentialsUpdateUnprocessableEntity

NewServiceCredentialsUpdateUnprocessableEntity creates ServiceCredentialsUpdateUnprocessableEntity with default headers values

func (*ServiceCredentialsUpdateUnprocessableEntity) WriteResponse

WriteResponse to the client

type ServiceDelete

type ServiceDelete struct {
	Context *middleware.Context
	Handler ServiceDeleteHandler
}
ServiceDelete swagger:route DELETE /services/{ServiceID}/ service serviceDelete

deletes a service item

Deletes a service object

func NewServiceDelete

func NewServiceDelete(ctx *middleware.Context, handler ServiceDeleteHandler) *ServiceDelete

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

func (*ServiceDelete) ServeHTTP

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

type ServiceDeleteBadRequest

type ServiceDeleteBadRequest struct {

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

ServiceDeleteBadRequest invalid input, object invalid

swagger:response serviceDeleteBadRequest

func NewServiceDeleteBadRequest

func NewServiceDeleteBadRequest() *ServiceDeleteBadRequest

NewServiceDeleteBadRequest creates ServiceDeleteBadRequest with default headers values

func (*ServiceDeleteBadRequest) SetPayload

func (o *ServiceDeleteBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service delete bad request response

func (*ServiceDeleteBadRequest) WithPayload

func (o *ServiceDeleteBadRequest) WithPayload(payload *models.Error) *ServiceDeleteBadRequest

WithPayload adds the payload to the service delete bad request response

func (*ServiceDeleteBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceDeleteForbidden

type ServiceDeleteForbidden struct {
}

ServiceDeleteForbidden bad permissions

swagger:response serviceDeleteForbidden

func NewServiceDeleteForbidden

func NewServiceDeleteForbidden() *ServiceDeleteForbidden

NewServiceDeleteForbidden creates ServiceDeleteForbidden with default headers values

func (*ServiceDeleteForbidden) WriteResponse

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

WriteResponse to the client

type ServiceDeleteHandler

type ServiceDeleteHandler interface {
	Handle(ServiceDeleteParams, *models.Principal) middleware.Responder
}

ServiceDeleteHandler interface for that can handle valid service delete params

type ServiceDeleteHandlerFunc

type ServiceDeleteHandlerFunc func(ServiceDeleteParams, *models.Principal) middleware.Responder

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

func (ServiceDeleteHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceDeleteNotFound

type ServiceDeleteNotFound struct {

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

ServiceDeleteNotFound item not found

swagger:response serviceDeleteNotFound

func NewServiceDeleteNotFound

func NewServiceDeleteNotFound() *ServiceDeleteNotFound

NewServiceDeleteNotFound creates ServiceDeleteNotFound with default headers values

func (*ServiceDeleteNotFound) SetPayload

func (o *ServiceDeleteNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the service delete not found response

func (*ServiceDeleteNotFound) WithPayload

func (o *ServiceDeleteNotFound) WithPayload(payload *models.Error) *ServiceDeleteNotFound

WithPayload adds the payload to the service delete not found response

func (*ServiceDeleteNotFound) WriteResponse

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

WriteResponse to the client

type ServiceDeleteOK

type ServiceDeleteOK struct {
}

ServiceDeleteOK item deleted

swagger:response serviceDeleteOK

func NewServiceDeleteOK

func NewServiceDeleteOK() *ServiceDeleteOK

NewServiceDeleteOK creates ServiceDeleteOK with default headers values

func (*ServiceDeleteOK) WriteResponse

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

WriteResponse to the client

type ServiceDeleteParams

type ServiceDeleteParams struct {

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

	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
}

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

swagger:parameters serviceDelete

func NewServiceDeleteParams

func NewServiceDeleteParams() ServiceDeleteParams

NewServiceDeleteParams creates a new ServiceDeleteParams object

There are no default values defined in the spec.

func (*ServiceDeleteParams) BindRequest

func (o *ServiceDeleteParams) 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 NewServiceDeleteParams() beforehand.

type ServiceDeleteServiceUnavailable

type ServiceDeleteServiceUnavailable struct {

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

ServiceDeleteServiceUnavailable internal server error

swagger:response serviceDeleteServiceUnavailable

func NewServiceDeleteServiceUnavailable

func NewServiceDeleteServiceUnavailable() *ServiceDeleteServiceUnavailable

NewServiceDeleteServiceUnavailable creates ServiceDeleteServiceUnavailable with default headers values

func (*ServiceDeleteServiceUnavailable) SetPayload

func (o *ServiceDeleteServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service delete service unavailable response

func (*ServiceDeleteServiceUnavailable) WithPayload

WithPayload adds the payload to the service delete service unavailable response

func (*ServiceDeleteServiceUnavailable) WriteResponse

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

WriteResponse to the client

type ServiceDeleteUnauthorized

type ServiceDeleteUnauthorized struct {
}

ServiceDeleteUnauthorized bad authentication

swagger:response serviceDeleteUnauthorized

func NewServiceDeleteUnauthorized

func NewServiceDeleteUnauthorized() *ServiceDeleteUnauthorized

NewServiceDeleteUnauthorized creates ServiceDeleteUnauthorized with default headers values

func (*ServiceDeleteUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceDeleteUnprocessableEntity

type ServiceDeleteUnprocessableEntity struct {
}

ServiceDeleteUnprocessableEntity bad validation

swagger:response serviceDeleteUnprocessableEntity

func NewServiceDeleteUnprocessableEntity

func NewServiceDeleteUnprocessableEntity() *ServiceDeleteUnprocessableEntity

NewServiceDeleteUnprocessableEntity creates ServiceDeleteUnprocessableEntity with default headers values

func (*ServiceDeleteUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ServiceEdit

type ServiceEdit struct {
	Context *middleware.Context
	Handler ServiceEditHandler
}
ServiceEdit swagger:route PATCH /services/{ServiceID}/ service serviceEdit

edit a service item

Edit service object

func NewServiceEdit

func NewServiceEdit(ctx *middleware.Context, handler ServiceEditHandler) *ServiceEdit

NewServiceEdit creates a new http.Handler for the service edit operation

func (*ServiceEdit) ServeHTTP

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

type ServiceEditBadRequest

type ServiceEditBadRequest struct {

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

ServiceEditBadRequest invalid input, object invalid

swagger:response serviceEditBadRequest

func NewServiceEditBadRequest

func NewServiceEditBadRequest() *ServiceEditBadRequest

NewServiceEditBadRequest creates ServiceEditBadRequest with default headers values

func (*ServiceEditBadRequest) SetPayload

func (o *ServiceEditBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service edit bad request response

func (*ServiceEditBadRequest) WithPayload

func (o *ServiceEditBadRequest) WithPayload(payload *models.Error) *ServiceEditBadRequest

WithPayload adds the payload to the service edit bad request response

func (*ServiceEditBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceEditForbidden

type ServiceEditForbidden struct {
}

ServiceEditForbidden bad permissions

swagger:response serviceEditForbidden

func NewServiceEditForbidden

func NewServiceEditForbidden() *ServiceEditForbidden

NewServiceEditForbidden creates ServiceEditForbidden with default headers values

func (*ServiceEditForbidden) WriteResponse

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

WriteResponse to the client

type ServiceEditHandler

type ServiceEditHandler interface {
	Handle(ServiceEditParams, *models.Principal) middleware.Responder
}

ServiceEditHandler interface for that can handle valid service edit params

type ServiceEditHandlerFunc

type ServiceEditHandlerFunc func(ServiceEditParams, *models.Principal) middleware.Responder

ServiceEditHandlerFunc turns a function with the right signature into a service edit handler

func (ServiceEditHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceEditNotFound

type ServiceEditNotFound struct {

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

ServiceEditNotFound item not found

swagger:response serviceEditNotFound

func NewServiceEditNotFound

func NewServiceEditNotFound() *ServiceEditNotFound

NewServiceEditNotFound creates ServiceEditNotFound with default headers values

func (*ServiceEditNotFound) SetPayload

func (o *ServiceEditNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the service edit not found response

func (*ServiceEditNotFound) WithPayload

func (o *ServiceEditNotFound) WithPayload(payload *models.Error) *ServiceEditNotFound

WithPayload adds the payload to the service edit not found response

func (*ServiceEditNotFound) WriteResponse

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

WriteResponse to the client

type ServiceEditOK

type ServiceEditOK struct {

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

ServiceEditOK item edited

swagger:response serviceEditOK

func NewServiceEditOK

func NewServiceEditOK() *ServiceEditOK

NewServiceEditOK creates ServiceEditOK with default headers values

func (*ServiceEditOK) SetPayload

func (o *ServiceEditOK) SetPayload(payload *models.Service)

SetPayload sets the payload to the service edit o k response

func (*ServiceEditOK) WithPayload

func (o *ServiceEditOK) WithPayload(payload *models.Service) *ServiceEditOK

WithPayload adds the payload to the service edit o k response

func (*ServiceEditOK) WriteResponse

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

WriteResponse to the client

type ServiceEditParams

type ServiceEditParams struct {

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

	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
	/*service item
	  Required: true
	  In: body
	*/
	ServiceItem *models.Service
}

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

swagger:parameters serviceEdit

func NewServiceEditParams

func NewServiceEditParams() ServiceEditParams

NewServiceEditParams creates a new ServiceEditParams object

There are no default values defined in the spec.

func (*ServiceEditParams) BindRequest

func (o *ServiceEditParams) 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 NewServiceEditParams() beforehand.

type ServiceEditServiceUnavailable

type ServiceEditServiceUnavailable struct {

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

ServiceEditServiceUnavailable internal server error

swagger:response serviceEditServiceUnavailable

func NewServiceEditServiceUnavailable

func NewServiceEditServiceUnavailable() *ServiceEditServiceUnavailable

NewServiceEditServiceUnavailable creates ServiceEditServiceUnavailable with default headers values

func (*ServiceEditServiceUnavailable) SetPayload

func (o *ServiceEditServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service edit service unavailable response

func (*ServiceEditServiceUnavailable) WithPayload

WithPayload adds the payload to the service edit service unavailable response

func (*ServiceEditServiceUnavailable) WriteResponse

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

WriteResponse to the client

type ServiceEditUnauthorized

type ServiceEditUnauthorized struct {
}

ServiceEditUnauthorized bad authentication

swagger:response serviceEditUnauthorized

func NewServiceEditUnauthorized

func NewServiceEditUnauthorized() *ServiceEditUnauthorized

NewServiceEditUnauthorized creates ServiceEditUnauthorized with default headers values

func (*ServiceEditUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceEditUnprocessableEntity

type ServiceEditUnprocessableEntity struct {

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

ServiceEditUnprocessableEntity bad validation

swagger:response serviceEditUnprocessableEntity

func NewServiceEditUnprocessableEntity

func NewServiceEditUnprocessableEntity() *ServiceEditUnprocessableEntity

NewServiceEditUnprocessableEntity creates ServiceEditUnprocessableEntity with default headers values

func (*ServiceEditUnprocessableEntity) SetPayload

func (o *ServiceEditUnprocessableEntity) SetPayload(payload *models.Error)

SetPayload sets the payload to the service edit unprocessable entity response

func (*ServiceEditUnprocessableEntity) WithPayload

WithPayload adds the payload to the service edit unprocessable entity response

func (*ServiceEditUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ServiceExplain

type ServiceExplain struct {
	Context *middleware.Context
	Handler ServiceExplainHandler
}
ServiceExplain swagger:route GET /services/{ServiceID}/explain service serviceExplain

explain status of service

Explain status of service

func NewServiceExplain

func NewServiceExplain(ctx *middleware.Context, handler ServiceExplainHandler) *ServiceExplain

NewServiceExplain creates a new http.Handler for the service explain operation

func (*ServiceExplain) ServeHTTP

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

type ServiceExplainBadRequest

type ServiceExplainBadRequest struct {

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

ServiceExplainBadRequest bad input parameter

swagger:response serviceExplainBadRequest

func NewServiceExplainBadRequest

func NewServiceExplainBadRequest() *ServiceExplainBadRequest

NewServiceExplainBadRequest creates ServiceExplainBadRequest with default headers values

func (*ServiceExplainBadRequest) SetPayload

func (o *ServiceExplainBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service explain bad request response

func (*ServiceExplainBadRequest) WithPayload

WithPayload adds the payload to the service explain bad request response

func (*ServiceExplainBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceExplainForbidden

type ServiceExplainForbidden struct {
}

ServiceExplainForbidden bad permissions

swagger:response serviceExplainForbidden

func NewServiceExplainForbidden

func NewServiceExplainForbidden() *ServiceExplainForbidden

NewServiceExplainForbidden creates ServiceExplainForbidden with default headers values

func (*ServiceExplainForbidden) WriteResponse

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

WriteResponse to the client

type ServiceExplainHandler

type ServiceExplainHandler interface {
	Handle(ServiceExplainParams, *models.Principal) middleware.Responder
}

ServiceExplainHandler interface for that can handle valid service explain params

type ServiceExplainHandlerFunc

type ServiceExplainHandlerFunc func(ServiceExplainParams, *models.Principal) middleware.Responder

ServiceExplainHandlerFunc turns a function with the right signature into a service explain handler

func (ServiceExplainHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceExplainOK

type ServiceExplainOK struct {

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

ServiceExplainOK kuberlogic service explain

swagger:response serviceExplainOK

func NewServiceExplainOK

func NewServiceExplainOK() *ServiceExplainOK

NewServiceExplainOK creates ServiceExplainOK with default headers values

func (*ServiceExplainOK) SetPayload

func (o *ServiceExplainOK) SetPayload(payload *models.Explain)

SetPayload sets the payload to the service explain o k response

func (*ServiceExplainOK) WithPayload

func (o *ServiceExplainOK) WithPayload(payload *models.Explain) *ServiceExplainOK

WithPayload adds the payload to the service explain o k response

func (*ServiceExplainOK) WriteResponse

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

WriteResponse to the client

type ServiceExplainParams

type ServiceExplainParams struct {

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

	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
}

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

swagger:parameters serviceExplain

func NewServiceExplainParams

func NewServiceExplainParams() ServiceExplainParams

NewServiceExplainParams creates a new ServiceExplainParams object

There are no default values defined in the spec.

func (*ServiceExplainParams) BindRequest

func (o *ServiceExplainParams) 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 NewServiceExplainParams() beforehand.

type ServiceExplainServiceUnavailable

type ServiceExplainServiceUnavailable struct {

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

ServiceExplainServiceUnavailable internal server error

swagger:response serviceExplainServiceUnavailable

func NewServiceExplainServiceUnavailable

func NewServiceExplainServiceUnavailable() *ServiceExplainServiceUnavailable

NewServiceExplainServiceUnavailable creates ServiceExplainServiceUnavailable with default headers values

func (*ServiceExplainServiceUnavailable) SetPayload

func (o *ServiceExplainServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service explain service unavailable response

func (*ServiceExplainServiceUnavailable) WithPayload

WithPayload adds the payload to the service explain service unavailable response

func (*ServiceExplainServiceUnavailable) WriteResponse

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

WriteResponse to the client

type ServiceExplainUnauthorized

type ServiceExplainUnauthorized struct {
}

ServiceExplainUnauthorized bad authentication

swagger:response serviceExplainUnauthorized

func NewServiceExplainUnauthorized

func NewServiceExplainUnauthorized() *ServiceExplainUnauthorized

NewServiceExplainUnauthorized creates ServiceExplainUnauthorized with default headers values

func (*ServiceExplainUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceExplainUnprocessableEntity

type ServiceExplainUnprocessableEntity struct {

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

ServiceExplainUnprocessableEntity bad validation

swagger:response serviceExplainUnprocessableEntity

func NewServiceExplainUnprocessableEntity

func NewServiceExplainUnprocessableEntity() *ServiceExplainUnprocessableEntity

NewServiceExplainUnprocessableEntity creates ServiceExplainUnprocessableEntity with default headers values

func (*ServiceExplainUnprocessableEntity) SetPayload

func (o *ServiceExplainUnprocessableEntity) SetPayload(payload *models.Error)

SetPayload sets the payload to the service explain unprocessable entity response

func (*ServiceExplainUnprocessableEntity) WithPayload

WithPayload adds the payload to the service explain unprocessable entity response

func (*ServiceExplainUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ServiceGet

type ServiceGet struct {
	Context *middleware.Context
	Handler ServiceGetHandler
}
ServiceGet swagger:route GET /services/{ServiceID}/ service serviceGet

get a service item

Get service object

func NewServiceGet

func NewServiceGet(ctx *middleware.Context, handler ServiceGetHandler) *ServiceGet

NewServiceGet creates a new http.Handler for the service get operation

func (*ServiceGet) ServeHTTP

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

type ServiceGetBadRequest

type ServiceGetBadRequest struct {

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

ServiceGetBadRequest invalid input, object invalid

swagger:response serviceGetBadRequest

func NewServiceGetBadRequest

func NewServiceGetBadRequest() *ServiceGetBadRequest

NewServiceGetBadRequest creates ServiceGetBadRequest with default headers values

func (*ServiceGetBadRequest) SetPayload

func (o *ServiceGetBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service get bad request response

func (*ServiceGetBadRequest) WithPayload

func (o *ServiceGetBadRequest) WithPayload(payload *models.Error) *ServiceGetBadRequest

WithPayload adds the payload to the service get bad request response

func (*ServiceGetBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceGetForbidden

type ServiceGetForbidden struct {
}

ServiceGetForbidden bad permissions

swagger:response serviceGetForbidden

func NewServiceGetForbidden

func NewServiceGetForbidden() *ServiceGetForbidden

NewServiceGetForbidden creates ServiceGetForbidden with default headers values

func (*ServiceGetForbidden) WriteResponse

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

WriteResponse to the client

type ServiceGetHandler

type ServiceGetHandler interface {
	Handle(ServiceGetParams, *models.Principal) middleware.Responder
}

ServiceGetHandler interface for that can handle valid service get params

type ServiceGetHandlerFunc

type ServiceGetHandlerFunc func(ServiceGetParams, *models.Principal) middleware.Responder

ServiceGetHandlerFunc turns a function with the right signature into a service get handler

func (ServiceGetHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceGetNotFound

type ServiceGetNotFound struct {

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

ServiceGetNotFound item not found

swagger:response serviceGetNotFound

func NewServiceGetNotFound

func NewServiceGetNotFound() *ServiceGetNotFound

NewServiceGetNotFound creates ServiceGetNotFound with default headers values

func (*ServiceGetNotFound) SetPayload

func (o *ServiceGetNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the service get not found response

func (*ServiceGetNotFound) WithPayload

func (o *ServiceGetNotFound) WithPayload(payload *models.Error) *ServiceGetNotFound

WithPayload adds the payload to the service get not found response

func (*ServiceGetNotFound) WriteResponse

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

WriteResponse to the client

type ServiceGetOK

type ServiceGetOK struct {

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

ServiceGetOK item edited

swagger:response serviceGetOK

func NewServiceGetOK

func NewServiceGetOK() *ServiceGetOK

NewServiceGetOK creates ServiceGetOK with default headers values

func (*ServiceGetOK) SetPayload

func (o *ServiceGetOK) SetPayload(payload *models.Service)

SetPayload sets the payload to the service get o k response

func (*ServiceGetOK) WithPayload

func (o *ServiceGetOK) WithPayload(payload *models.Service) *ServiceGetOK

WithPayload adds the payload to the service get o k response

func (*ServiceGetOK) WriteResponse

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

WriteResponse to the client

type ServiceGetParams

type ServiceGetParams struct {

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

	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
}

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

swagger:parameters serviceGet

func NewServiceGetParams

func NewServiceGetParams() ServiceGetParams

NewServiceGetParams creates a new ServiceGetParams object

There are no default values defined in the spec.

func (*ServiceGetParams) BindRequest

func (o *ServiceGetParams) 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 NewServiceGetParams() beforehand.

type ServiceGetServiceUnavailable

type ServiceGetServiceUnavailable struct {

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

ServiceGetServiceUnavailable internal server error

swagger:response serviceGetServiceUnavailable

func NewServiceGetServiceUnavailable

func NewServiceGetServiceUnavailable() *ServiceGetServiceUnavailable

NewServiceGetServiceUnavailable creates ServiceGetServiceUnavailable with default headers values

func (*ServiceGetServiceUnavailable) SetPayload

func (o *ServiceGetServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service get service unavailable response

func (*ServiceGetServiceUnavailable) WithPayload

WithPayload adds the payload to the service get service unavailable response

func (*ServiceGetServiceUnavailable) WriteResponse

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

WriteResponse to the client

type ServiceGetUnauthorized

type ServiceGetUnauthorized struct {
}

ServiceGetUnauthorized bad authentication

swagger:response serviceGetUnauthorized

func NewServiceGetUnauthorized

func NewServiceGetUnauthorized() *ServiceGetUnauthorized

NewServiceGetUnauthorized creates ServiceGetUnauthorized with default headers values

func (*ServiceGetUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceGetUnprocessableEntity

type ServiceGetUnprocessableEntity struct {

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

ServiceGetUnprocessableEntity bad validation

swagger:response serviceGetUnprocessableEntity

func NewServiceGetUnprocessableEntity

func NewServiceGetUnprocessableEntity() *ServiceGetUnprocessableEntity

NewServiceGetUnprocessableEntity creates ServiceGetUnprocessableEntity with default headers values

func (*ServiceGetUnprocessableEntity) SetPayload

func (o *ServiceGetUnprocessableEntity) SetPayload(payload *models.Error)

SetPayload sets the payload to the service get unprocessable entity response

func (*ServiceGetUnprocessableEntity) WithPayload

WithPayload adds the payload to the service get unprocessable entity response

func (*ServiceGetUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ServiceList

type ServiceList struct {
	Context *middleware.Context
	Handler ServiceListHandler
}
ServiceList swagger:route GET /services/ service serviceList

lists all services

List of service objects

func NewServiceList

func NewServiceList(ctx *middleware.Context, handler ServiceListHandler) *ServiceList

NewServiceList creates a new http.Handler for the service list operation

func (*ServiceList) ServeHTTP

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

type ServiceListBadRequest

type ServiceListBadRequest struct {

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

ServiceListBadRequest bad input parameter

swagger:response serviceListBadRequest

func NewServiceListBadRequest

func NewServiceListBadRequest() *ServiceListBadRequest

NewServiceListBadRequest creates ServiceListBadRequest with default headers values

func (*ServiceListBadRequest) SetPayload

func (o *ServiceListBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service list bad request response

func (*ServiceListBadRequest) WithPayload

func (o *ServiceListBadRequest) WithPayload(payload *models.Error) *ServiceListBadRequest

WithPayload adds the payload to the service list bad request response

func (*ServiceListBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceListForbidden

type ServiceListForbidden struct {
}

ServiceListForbidden bad permissions

swagger:response serviceListForbidden

func NewServiceListForbidden

func NewServiceListForbidden() *ServiceListForbidden

NewServiceListForbidden creates ServiceListForbidden with default headers values

func (*ServiceListForbidden) WriteResponse

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

WriteResponse to the client

type ServiceListHandler

type ServiceListHandler interface {
	Handle(ServiceListParams, *models.Principal) middleware.Responder
}

ServiceListHandler interface for that can handle valid service list params

type ServiceListHandlerFunc

type ServiceListHandlerFunc func(ServiceListParams, *models.Principal) middleware.Responder

ServiceListHandlerFunc turns a function with the right signature into a service list handler

func (ServiceListHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceListOK

type ServiceListOK struct {

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

ServiceListOK search results matching criteria

swagger:response serviceListOK

func NewServiceListOK

func NewServiceListOK() *ServiceListOK

NewServiceListOK creates ServiceListOK with default headers values

func (*ServiceListOK) SetPayload

func (o *ServiceListOK) SetPayload(payload models.Services)

SetPayload sets the payload to the service list o k response

func (*ServiceListOK) WithPayload

func (o *ServiceListOK) WithPayload(payload models.Services) *ServiceListOK

WithPayload adds the payload to the service list o k response

func (*ServiceListOK) WriteResponse

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

WriteResponse to the client

type ServiceListParams

type ServiceListParams struct {

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

	/*subscription ID
	  In: query
	*/
	SubscriptionID *string
}

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

swagger:parameters serviceList

func NewServiceListParams

func NewServiceListParams() ServiceListParams

NewServiceListParams creates a new ServiceListParams object

There are no default values defined in the spec.

func (*ServiceListParams) BindRequest

func (o *ServiceListParams) 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 NewServiceListParams() beforehand.

type ServiceListServiceUnavailable

type ServiceListServiceUnavailable struct {

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

ServiceListServiceUnavailable internal server error

swagger:response serviceListServiceUnavailable

func NewServiceListServiceUnavailable

func NewServiceListServiceUnavailable() *ServiceListServiceUnavailable

NewServiceListServiceUnavailable creates ServiceListServiceUnavailable with default headers values

func (*ServiceListServiceUnavailable) SetPayload

func (o *ServiceListServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service list service unavailable response

func (*ServiceListServiceUnavailable) WithPayload

WithPayload adds the payload to the service list service unavailable response

func (*ServiceListServiceUnavailable) WriteResponse

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

WriteResponse to the client

type ServiceListUnauthorized

type ServiceListUnauthorized struct {
}

ServiceListUnauthorized bad authentication

swagger:response serviceListUnauthorized

func NewServiceListUnauthorized

func NewServiceListUnauthorized() *ServiceListUnauthorized

NewServiceListUnauthorized creates ServiceListUnauthorized with default headers values

func (*ServiceListUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceListUnprocessableEntity

type ServiceListUnprocessableEntity struct {

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

ServiceListUnprocessableEntity bad validation

swagger:response serviceListUnprocessableEntity

func NewServiceListUnprocessableEntity

func NewServiceListUnprocessableEntity() *ServiceListUnprocessableEntity

NewServiceListUnprocessableEntity creates ServiceListUnprocessableEntity with default headers values

func (*ServiceListUnprocessableEntity) SetPayload

func (o *ServiceListUnprocessableEntity) SetPayload(payload *models.Error)

SetPayload sets the payload to the service list unprocessable entity response

func (*ServiceListUnprocessableEntity) WithPayload

WithPayload adds the payload to the service list unprocessable entity response

func (*ServiceListUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ServiceLogs

type ServiceLogs struct {
	Context *middleware.Context
	Handler ServiceLogsHandler
}
ServiceLogs swagger:route GET /services/{ServiceID}/logs service serviceLogs

list service logs

List service pod logs

func NewServiceLogs

func NewServiceLogs(ctx *middleware.Context, handler ServiceLogsHandler) *ServiceLogs

NewServiceLogs creates a new http.Handler for the service logs operation

func (*ServiceLogs) ServeHTTP

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

type ServiceLogsBadRequest

type ServiceLogsBadRequest struct {

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

ServiceLogsBadRequest bad input parameter

swagger:response serviceLogsBadRequest

func NewServiceLogsBadRequest

func NewServiceLogsBadRequest() *ServiceLogsBadRequest

NewServiceLogsBadRequest creates ServiceLogsBadRequest with default headers values

func (*ServiceLogsBadRequest) SetPayload

func (o *ServiceLogsBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service logs bad request response

func (*ServiceLogsBadRequest) WithPayload

func (o *ServiceLogsBadRequest) WithPayload(payload *models.Error) *ServiceLogsBadRequest

WithPayload adds the payload to the service logs bad request response

func (*ServiceLogsBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceLogsForbidden

type ServiceLogsForbidden struct {
}

ServiceLogsForbidden bad permissions

swagger:response serviceLogsForbidden

func NewServiceLogsForbidden

func NewServiceLogsForbidden() *ServiceLogsForbidden

NewServiceLogsForbidden creates ServiceLogsForbidden with default headers values

func (*ServiceLogsForbidden) WriteResponse

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

WriteResponse to the client

type ServiceLogsHandler

type ServiceLogsHandler interface {
	Handle(ServiceLogsParams, *models.Principal) middleware.Responder
}

ServiceLogsHandler interface for that can handle valid service logs params

type ServiceLogsHandlerFunc

type ServiceLogsHandlerFunc func(ServiceLogsParams, *models.Principal) middleware.Responder

ServiceLogsHandlerFunc turns a function with the right signature into a service logs handler

func (ServiceLogsHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceLogsOK

type ServiceLogsOK struct {

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

ServiceLogsOK kuberlogic service logs

swagger:response serviceLogsOK

func NewServiceLogsOK

func NewServiceLogsOK() *ServiceLogsOK

NewServiceLogsOK creates ServiceLogsOK with default headers values

func (*ServiceLogsOK) SetPayload

func (o *ServiceLogsOK) SetPayload(payload models.Logs)

SetPayload sets the payload to the service logs o k response

func (*ServiceLogsOK) WithPayload

func (o *ServiceLogsOK) WithPayload(payload models.Logs) *ServiceLogsOK

WithPayload adds the payload to the service logs o k response

func (*ServiceLogsOK) WriteResponse

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

WriteResponse to the client

type ServiceLogsParams

type ServiceLogsParams struct {

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

	/*service pod container name to query logs by
	  In: query
	*/
	ContainerName *string
	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
}

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

swagger:parameters serviceLogs

func NewServiceLogsParams

func NewServiceLogsParams() ServiceLogsParams

NewServiceLogsParams creates a new ServiceLogsParams object

There are no default values defined in the spec.

func (*ServiceLogsParams) BindRequest

func (o *ServiceLogsParams) 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 NewServiceLogsParams() beforehand.

type ServiceLogsServiceUnavailable

type ServiceLogsServiceUnavailable struct {

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

ServiceLogsServiceUnavailable internal server error

swagger:response serviceLogsServiceUnavailable

func NewServiceLogsServiceUnavailable

func NewServiceLogsServiceUnavailable() *ServiceLogsServiceUnavailable

NewServiceLogsServiceUnavailable creates ServiceLogsServiceUnavailable with default headers values

func (*ServiceLogsServiceUnavailable) SetPayload

func (o *ServiceLogsServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service logs service unavailable response

func (*ServiceLogsServiceUnavailable) WithPayload

WithPayload adds the payload to the service logs service unavailable response

func (*ServiceLogsServiceUnavailable) WriteResponse

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

WriteResponse to the client

type ServiceLogsUnauthorized

type ServiceLogsUnauthorized struct {
}

ServiceLogsUnauthorized bad authentication

swagger:response serviceLogsUnauthorized

func NewServiceLogsUnauthorized

func NewServiceLogsUnauthorized() *ServiceLogsUnauthorized

NewServiceLogsUnauthorized creates ServiceLogsUnauthorized with default headers values

func (*ServiceLogsUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceLogsUnprocessableEntity

type ServiceLogsUnprocessableEntity struct {

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

ServiceLogsUnprocessableEntity bad validation

swagger:response serviceLogsUnprocessableEntity

func NewServiceLogsUnprocessableEntity

func NewServiceLogsUnprocessableEntity() *ServiceLogsUnprocessableEntity

NewServiceLogsUnprocessableEntity creates ServiceLogsUnprocessableEntity with default headers values

func (*ServiceLogsUnprocessableEntity) SetPayload

func (o *ServiceLogsUnprocessableEntity) SetPayload(payload *models.Error)

SetPayload sets the payload to the service logs unprocessable entity response

func (*ServiceLogsUnprocessableEntity) WithPayload

WithPayload adds the payload to the service logs unprocessable entity response

func (*ServiceLogsUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ServiceSecretsList

type ServiceSecretsList struct {
	Context *middleware.Context
	Handler ServiceSecretsListHandler
}
ServiceSecretsList swagger:route GET /services/{ServiceID}/secrets service serviceSecretsList

retrieves service secrets

retrieves service secrets

func NewServiceSecretsList

func NewServiceSecretsList(ctx *middleware.Context, handler ServiceSecretsListHandler) *ServiceSecretsList

NewServiceSecretsList creates a new http.Handler for the service secrets list operation

func (*ServiceSecretsList) ServeHTTP

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

type ServiceSecretsListBadRequest

type ServiceSecretsListBadRequest struct {

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

ServiceSecretsListBadRequest invalid input, object invalid

swagger:response serviceSecretsListBadRequest

func NewServiceSecretsListBadRequest

func NewServiceSecretsListBadRequest() *ServiceSecretsListBadRequest

NewServiceSecretsListBadRequest creates ServiceSecretsListBadRequest with default headers values

func (*ServiceSecretsListBadRequest) SetPayload

func (o *ServiceSecretsListBadRequest) SetPayload(payload *models.Error)

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

func (*ServiceSecretsListBadRequest) WithPayload

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

func (*ServiceSecretsListBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceSecretsListForbidden

type ServiceSecretsListForbidden struct {
}

ServiceSecretsListForbidden bad permissions

swagger:response serviceSecretsListForbidden

func NewServiceSecretsListForbidden

func NewServiceSecretsListForbidden() *ServiceSecretsListForbidden

NewServiceSecretsListForbidden creates ServiceSecretsListForbidden with default headers values

func (*ServiceSecretsListForbidden) WriteResponse

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

WriteResponse to the client

type ServiceSecretsListHandler

type ServiceSecretsListHandler interface {
	Handle(ServiceSecretsListParams, *models.Principal) middleware.Responder
}

ServiceSecretsListHandler interface for that can handle valid service secrets list params

type ServiceSecretsListHandlerFunc

type ServiceSecretsListHandlerFunc func(ServiceSecretsListParams, *models.Principal) middleware.Responder

ServiceSecretsListHandlerFunc turns a function with the right signature into a service secrets list handler

func (ServiceSecretsListHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceSecretsListOK

type ServiceSecretsListOK struct {

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

ServiceSecretsListOK service secrets

swagger:response serviceSecretsListOK

func NewServiceSecretsListOK

func NewServiceSecretsListOK() *ServiceSecretsListOK

NewServiceSecretsListOK creates ServiceSecretsListOK with default headers values

func (*ServiceSecretsListOK) SetPayload

func (o *ServiceSecretsListOK) SetPayload(payload models.ServiceSecrets)

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

func (*ServiceSecretsListOK) WithPayload

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

func (*ServiceSecretsListOK) WriteResponse

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

WriteResponse to the client

type ServiceSecretsListParams

type ServiceSecretsListParams struct {

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

	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
}

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

swagger:parameters serviceSecretsList

func NewServiceSecretsListParams

func NewServiceSecretsListParams() ServiceSecretsListParams

NewServiceSecretsListParams creates a new ServiceSecretsListParams object

There are no default values defined in the spec.

func (*ServiceSecretsListParams) 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 NewServiceSecretsListParams() beforehand.

type ServiceSecretsListServiceUnavailable

type ServiceSecretsListServiceUnavailable struct {

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

ServiceSecretsListServiceUnavailable internal service error

swagger:response serviceSecretsListServiceUnavailable

func NewServiceSecretsListServiceUnavailable

func NewServiceSecretsListServiceUnavailable() *ServiceSecretsListServiceUnavailable

NewServiceSecretsListServiceUnavailable creates ServiceSecretsListServiceUnavailable with default headers values

func (*ServiceSecretsListServiceUnavailable) SetPayload

func (o *ServiceSecretsListServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service secrets list service unavailable response

func (*ServiceSecretsListServiceUnavailable) WithPayload

WithPayload adds the payload to the service secrets list service unavailable response

func (*ServiceSecretsListServiceUnavailable) WriteResponse

WriteResponse to the client

type ServiceSecretsListUnauthorized

type ServiceSecretsListUnauthorized struct {
}

ServiceSecretsListUnauthorized bad authentication

swagger:response serviceSecretsListUnauthorized

func NewServiceSecretsListUnauthorized

func NewServiceSecretsListUnauthorized() *ServiceSecretsListUnauthorized

NewServiceSecretsListUnauthorized creates ServiceSecretsListUnauthorized with default headers values

func (*ServiceSecretsListUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceUnarchive

type ServiceUnarchive struct {
	Context *middleware.Context
	Handler ServiceUnarchiveHandler
}
ServiceUnarchive swagger:route POST /services/{ServiceID}/unarchive service serviceUnarchive

unarchive service

unarchive service (for example, if user subscription resumed from canceled state)

func NewServiceUnarchive

func NewServiceUnarchive(ctx *middleware.Context, handler ServiceUnarchiveHandler) *ServiceUnarchive

NewServiceUnarchive creates a new http.Handler for the service unarchive operation

func (*ServiceUnarchive) ServeHTTP

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

type ServiceUnarchiveBadRequest

type ServiceUnarchiveBadRequest struct {

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

ServiceUnarchiveBadRequest invalid input

swagger:response serviceUnarchiveBadRequest

func NewServiceUnarchiveBadRequest

func NewServiceUnarchiveBadRequest() *ServiceUnarchiveBadRequest

NewServiceUnarchiveBadRequest creates ServiceUnarchiveBadRequest with default headers values

func (*ServiceUnarchiveBadRequest) SetPayload

func (o *ServiceUnarchiveBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the service unarchive bad request response

func (*ServiceUnarchiveBadRequest) WithPayload

WithPayload adds the payload to the service unarchive bad request response

func (*ServiceUnarchiveBadRequest) WriteResponse

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

WriteResponse to the client

type ServiceUnarchiveForbidden

type ServiceUnarchiveForbidden struct {
}

ServiceUnarchiveForbidden bad permissions

swagger:response serviceUnarchiveForbidden

func NewServiceUnarchiveForbidden

func NewServiceUnarchiveForbidden() *ServiceUnarchiveForbidden

NewServiceUnarchiveForbidden creates ServiceUnarchiveForbidden with default headers values

func (*ServiceUnarchiveForbidden) WriteResponse

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

WriteResponse to the client

type ServiceUnarchiveHandler

type ServiceUnarchiveHandler interface {
	Handle(ServiceUnarchiveParams, *models.Principal) middleware.Responder
}

ServiceUnarchiveHandler interface for that can handle valid service unarchive params

type ServiceUnarchiveHandlerFunc

type ServiceUnarchiveHandlerFunc func(ServiceUnarchiveParams, *models.Principal) middleware.Responder

ServiceUnarchiveHandlerFunc turns a function with the right signature into a service unarchive handler

func (ServiceUnarchiveHandlerFunc) Handle

Handle executing the request and returning a response

type ServiceUnarchiveNotFound

type ServiceUnarchiveNotFound struct {

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

ServiceUnarchiveNotFound service not found

swagger:response serviceUnarchiveNotFound

func NewServiceUnarchiveNotFound

func NewServiceUnarchiveNotFound() *ServiceUnarchiveNotFound

NewServiceUnarchiveNotFound creates ServiceUnarchiveNotFound with default headers values

func (*ServiceUnarchiveNotFound) SetPayload

func (o *ServiceUnarchiveNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the service unarchive not found response

func (*ServiceUnarchiveNotFound) WithPayload

WithPayload adds the payload to the service unarchive not found response

func (*ServiceUnarchiveNotFound) WriteResponse

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

WriteResponse to the client

type ServiceUnarchiveOK

type ServiceUnarchiveOK struct {
}

ServiceUnarchiveOK service request to unarchive is sent

swagger:response serviceUnarchiveOK

func NewServiceUnarchiveOK

func NewServiceUnarchiveOK() *ServiceUnarchiveOK

NewServiceUnarchiveOK creates ServiceUnarchiveOK with default headers values

func (*ServiceUnarchiveOK) WriteResponse

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

WriteResponse to the client

type ServiceUnarchiveParams

type ServiceUnarchiveParams struct {

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

	/*service Resource ID
	  Required: true
	  Max Length: 20
	  Min Length: 3
	  Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?
	  In: path
	*/
	ServiceID string
}

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

swagger:parameters serviceUnarchive

func NewServiceUnarchiveParams

func NewServiceUnarchiveParams() ServiceUnarchiveParams

NewServiceUnarchiveParams creates a new ServiceUnarchiveParams object

There are no default values defined in the spec.

func (*ServiceUnarchiveParams) BindRequest

func (o *ServiceUnarchiveParams) 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 NewServiceUnarchiveParams() beforehand.

type ServiceUnarchiveServiceUnavailable

type ServiceUnarchiveServiceUnavailable struct {

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

ServiceUnarchiveServiceUnavailable internal service error

swagger:response serviceUnarchiveServiceUnavailable

func NewServiceUnarchiveServiceUnavailable

func NewServiceUnarchiveServiceUnavailable() *ServiceUnarchiveServiceUnavailable

NewServiceUnarchiveServiceUnavailable creates ServiceUnarchiveServiceUnavailable with default headers values

func (*ServiceUnarchiveServiceUnavailable) SetPayload

func (o *ServiceUnarchiveServiceUnavailable) SetPayload(payload *models.Error)

SetPayload sets the payload to the service unarchive service unavailable response

func (*ServiceUnarchiveServiceUnavailable) WithPayload

WithPayload adds the payload to the service unarchive service unavailable response

func (*ServiceUnarchiveServiceUnavailable) WriteResponse

WriteResponse to the client

type ServiceUnarchiveUnauthorized

type ServiceUnarchiveUnauthorized struct {
}

ServiceUnarchiveUnauthorized bad authentication

swagger:response serviceUnarchiveUnauthorized

func NewServiceUnarchiveUnauthorized

func NewServiceUnarchiveUnauthorized() *ServiceUnarchiveUnauthorized

NewServiceUnarchiveUnauthorized creates ServiceUnarchiveUnauthorized with default headers values

func (*ServiceUnarchiveUnauthorized) WriteResponse

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

WriteResponse to the client

type ServiceUnarchiveUnprocessableEntity

type ServiceUnarchiveUnprocessableEntity struct {
}

ServiceUnarchiveUnprocessableEntity bad validation

swagger:response serviceUnarchiveUnprocessableEntity

func NewServiceUnarchiveUnprocessableEntity

func NewServiceUnarchiveUnprocessableEntity() *ServiceUnarchiveUnprocessableEntity

NewServiceUnarchiveUnprocessableEntity creates ServiceUnarchiveUnprocessableEntity with default headers values

func (*ServiceUnarchiveUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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