endpoint

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DeleteEndpointEndpointIDAcceptedCode int = 202

DeleteEndpointEndpointIDAcceptedCode is the HTTP code returned for type DeleteEndpointEndpointIDAccepted

View Source
const DeleteEndpointEndpointIDForbiddenCode int = 403

DeleteEndpointEndpointIDForbiddenCode is the HTTP code returned for type DeleteEndpointEndpointIDForbidden

View Source
const DeleteEndpointEndpointIDNotFoundCode int = 404

DeleteEndpointEndpointIDNotFoundCode is the HTTP code returned for type DeleteEndpointEndpointIDNotFound

View Source
const DeleteEndpointEndpointIDUnauthorizedCode int = 401

DeleteEndpointEndpointIDUnauthorizedCode is the HTTP code returned for type DeleteEndpointEndpointIDUnauthorized

View Source
const DeleteEndpointEndpointIDUnprocessableEntityCode int = 422

DeleteEndpointEndpointIDUnprocessableEntityCode is the HTTP code returned for type DeleteEndpointEndpointIDUnprocessableEntity

View Source
const GetEndpointBadRequestCode int = 400

GetEndpointBadRequestCode is the HTTP code returned for type GetEndpointBadRequest

View Source
const GetEndpointEndpointIDForbiddenCode int = 403

GetEndpointEndpointIDForbiddenCode is the HTTP code returned for type GetEndpointEndpointIDForbidden

View Source
const GetEndpointEndpointIDNotFoundCode int = 404

GetEndpointEndpointIDNotFoundCode is the HTTP code returned for type GetEndpointEndpointIDNotFound

View Source
const GetEndpointEndpointIDOKCode int = 200

GetEndpointEndpointIDOKCode is the HTTP code returned for type GetEndpointEndpointIDOK

View Source
const GetEndpointEndpointIDUnauthorizedCode int = 401

GetEndpointEndpointIDUnauthorizedCode is the HTTP code returned for type GetEndpointEndpointIDUnauthorized

View Source
const GetEndpointEndpointIDUnprocessableEntityCode int = 422

GetEndpointEndpointIDUnprocessableEntityCode is the HTTP code returned for type GetEndpointEndpointIDUnprocessableEntity

View Source
const GetEndpointForbiddenCode int = 403

GetEndpointForbiddenCode is the HTTP code returned for type GetEndpointForbidden

View Source
const GetEndpointOKCode int = 200

GetEndpointOKCode is the HTTP code returned for type GetEndpointOK

View Source
const GetEndpointUnauthorizedCode int = 401

GetEndpointUnauthorizedCode is the HTTP code returned for type GetEndpointUnauthorized

View Source
const GetEndpointUnprocessableEntityCode int = 422

GetEndpointUnprocessableEntityCode is the HTTP code returned for type GetEndpointUnprocessableEntity

View Source
const PostEndpointBadRequestCode int = 400

PostEndpointBadRequestCode is the HTTP code returned for type PostEndpointBadRequest

View Source
const PostEndpointCreatedCode int = 201

PostEndpointCreatedCode is the HTTP code returned for type PostEndpointCreated

View Source
const PostEndpointForbiddenCode int = 403

PostEndpointForbiddenCode is the HTTP code returned for type PostEndpointForbidden

View Source
const PostEndpointUnauthorizedCode int = 401

PostEndpointUnauthorizedCode is the HTTP code returned for type PostEndpointUnauthorized

View Source
const PostEndpointUnprocessableEntityCode int = 422

PostEndpointUnprocessableEntityCode is the HTTP code returned for type PostEndpointUnprocessableEntity

View Source
const PutEndpointEndpointIDForbiddenCode int = 403

PutEndpointEndpointIDForbiddenCode is the HTTP code returned for type PutEndpointEndpointIDForbidden

View Source
const PutEndpointEndpointIDNotFoundCode int = 404

PutEndpointEndpointIDNotFoundCode is the HTTP code returned for type PutEndpointEndpointIDNotFound

View Source
const PutEndpointEndpointIDOKCode int = 200

PutEndpointEndpointIDOKCode is the HTTP code returned for type PutEndpointEndpointIDOK

View Source
const PutEndpointEndpointIDUnauthorizedCode int = 401

PutEndpointEndpointIDUnauthorizedCode is the HTTP code returned for type PutEndpointEndpointIDUnauthorized

View Source
const PutEndpointEndpointIDUnprocessableEntityCode int = 422

PutEndpointEndpointIDUnprocessableEntityCode is the HTTP code returned for type PutEndpointEndpointIDUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteEndpointEndpointID

type DeleteEndpointEndpointID struct {
	Context *middleware.Context
	Handler DeleteEndpointEndpointIDHandler
}
DeleteEndpointEndpointID swagger:route DELETE /endpoint/{endpoint_id} Endpoint deleteEndpointEndpointId

Remove an existing endpoint

func NewDeleteEndpointEndpointID

func NewDeleteEndpointEndpointID(ctx *middleware.Context, handler DeleteEndpointEndpointIDHandler) *DeleteEndpointEndpointID

NewDeleteEndpointEndpointID creates a new http.Handler for the delete endpoint endpoint ID operation

func (*DeleteEndpointEndpointID) ServeHTTP

type DeleteEndpointEndpointIDAccepted

type DeleteEndpointEndpointIDAccepted struct {
}

DeleteEndpointEndpointIDAccepted Delete request successfully accepted.

swagger:response deleteEndpointEndpointIdAccepted

func NewDeleteEndpointEndpointIDAccepted

func NewDeleteEndpointEndpointIDAccepted() *DeleteEndpointEndpointIDAccepted

NewDeleteEndpointEndpointIDAccepted creates DeleteEndpointEndpointIDAccepted with default headers values

func (*DeleteEndpointEndpointIDAccepted) WriteResponse

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

WriteResponse to the client

type DeleteEndpointEndpointIDForbidden

type DeleteEndpointEndpointIDForbidden struct {

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

DeleteEndpointEndpointIDForbidden Forbidden

swagger:response deleteEndpointEndpointIdForbidden

func NewDeleteEndpointEndpointIDForbidden

func NewDeleteEndpointEndpointIDForbidden() *DeleteEndpointEndpointIDForbidden

NewDeleteEndpointEndpointIDForbidden creates DeleteEndpointEndpointIDForbidden with default headers values

func (*DeleteEndpointEndpointIDForbidden) SetPayload

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

SetPayload sets the payload to the delete endpoint endpoint Id forbidden response

func (*DeleteEndpointEndpointIDForbidden) WithPayload

WithPayload adds the payload to the delete endpoint endpoint Id forbidden response

func (*DeleteEndpointEndpointIDForbidden) WriteResponse

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

WriteResponse to the client

type DeleteEndpointEndpointIDHandler

type DeleteEndpointEndpointIDHandler interface {
	Handle(DeleteEndpointEndpointIDParams, interface{}) middleware.Responder
}

DeleteEndpointEndpointIDHandler interface for that can handle valid delete endpoint endpoint ID params

type DeleteEndpointEndpointIDHandlerFunc

type DeleteEndpointEndpointIDHandlerFunc func(DeleteEndpointEndpointIDParams, interface{}) middleware.Responder

DeleteEndpointEndpointIDHandlerFunc turns a function with the right signature into a delete endpoint endpoint ID handler

func (DeleteEndpointEndpointIDHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteEndpointEndpointIDNotFound

type DeleteEndpointEndpointIDNotFound struct {
}

DeleteEndpointEndpointIDNotFound Not Found

swagger:response deleteEndpointEndpointIdNotFound

func NewDeleteEndpointEndpointIDNotFound

func NewDeleteEndpointEndpointIDNotFound() *DeleteEndpointEndpointIDNotFound

NewDeleteEndpointEndpointIDNotFound creates DeleteEndpointEndpointIDNotFound with default headers values

func (*DeleteEndpointEndpointIDNotFound) WriteResponse

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

WriteResponse to the client

type DeleteEndpointEndpointIDParams

type DeleteEndpointEndpointIDParams struct {

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

	/*The UUID of the endpoint
	  Required: true
	  In: path
	*/
	EndpointID strfmt.UUID
}

DeleteEndpointEndpointIDParams contains all the bound params for the delete endpoint endpoint ID operation typically these are obtained from a http.Request

swagger:parameters DeleteEndpointEndpointID

func NewDeleteEndpointEndpointIDParams

func NewDeleteEndpointEndpointIDParams() DeleteEndpointEndpointIDParams

NewDeleteEndpointEndpointIDParams creates a new DeleteEndpointEndpointIDParams object

There are no default values defined in the spec.

func (*DeleteEndpointEndpointIDParams) 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 NewDeleteEndpointEndpointIDParams() beforehand.

type DeleteEndpointEndpointIDURL

type DeleteEndpointEndpointIDURL struct {
	EndpointID strfmt.UUID
	// contains filtered or unexported fields
}

DeleteEndpointEndpointIDURL generates an URL for the delete endpoint endpoint ID operation

func (*DeleteEndpointEndpointIDURL) Build

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

Build a url path and query string

func (*DeleteEndpointEndpointIDURL) BuildFull

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

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

func (*DeleteEndpointEndpointIDURL) Must

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

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

func (*DeleteEndpointEndpointIDURL) SetBasePath

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

func (o *DeleteEndpointEndpointIDURL) String() string

String returns the string representation of the path with query string

func (*DeleteEndpointEndpointIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteEndpointEndpointIDURL) 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 DeleteEndpointEndpointIDUnauthorized

type DeleteEndpointEndpointIDUnauthorized struct {

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

DeleteEndpointEndpointIDUnauthorized Unauthorized

swagger:response deleteEndpointEndpointIdUnauthorized

func NewDeleteEndpointEndpointIDUnauthorized

func NewDeleteEndpointEndpointIDUnauthorized() *DeleteEndpointEndpointIDUnauthorized

NewDeleteEndpointEndpointIDUnauthorized creates DeleteEndpointEndpointIDUnauthorized with default headers values

func (*DeleteEndpointEndpointIDUnauthorized) SetPayload

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

SetPayload sets the payload to the delete endpoint endpoint Id unauthorized response

func (*DeleteEndpointEndpointIDUnauthorized) WithPayload

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

func (*DeleteEndpointEndpointIDUnauthorized) WriteResponse

WriteResponse to the client

type DeleteEndpointEndpointIDUnprocessableEntity

type DeleteEndpointEndpointIDUnprocessableEntity struct {

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

DeleteEndpointEndpointIDUnprocessableEntity Unprocessable Content

swagger:response deleteEndpointEndpointIdUnprocessableEntity

func NewDeleteEndpointEndpointIDUnprocessableEntity

func NewDeleteEndpointEndpointIDUnprocessableEntity() *DeleteEndpointEndpointIDUnprocessableEntity

NewDeleteEndpointEndpointIDUnprocessableEntity creates DeleteEndpointEndpointIDUnprocessableEntity with default headers values

func (*DeleteEndpointEndpointIDUnprocessableEntity) SetPayload

SetPayload sets the payload to the delete endpoint endpoint Id unprocessable entity response

func (*DeleteEndpointEndpointIDUnprocessableEntity) WithPayload

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

func (*DeleteEndpointEndpointIDUnprocessableEntity) WriteResponse

WriteResponse to the client

type GetEndpoint

type GetEndpoint struct {
	Context *middleware.Context
	Handler GetEndpointHandler
}
GetEndpoint swagger:route GET /endpoint Endpoint getEndpoint

List existing service endpoints

func NewGetEndpoint

func NewGetEndpoint(ctx *middleware.Context, handler GetEndpointHandler) *GetEndpoint

NewGetEndpoint creates a new http.Handler for the get endpoint operation

func (*GetEndpoint) ServeHTTP

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

type GetEndpointBadRequest

type GetEndpointBadRequest struct {

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

GetEndpointBadRequest Bad request

swagger:response getEndpointBadRequest

func NewGetEndpointBadRequest

func NewGetEndpointBadRequest() *GetEndpointBadRequest

NewGetEndpointBadRequest creates GetEndpointBadRequest with default headers values

func (*GetEndpointBadRequest) SetPayload

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

SetPayload sets the payload to the get endpoint bad request response

func (*GetEndpointBadRequest) WithPayload

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

WithPayload adds the payload to the get endpoint bad request response

func (*GetEndpointBadRequest) WriteResponse

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

WriteResponse to the client

type GetEndpointEndpointID

type GetEndpointEndpointID struct {
	Context *middleware.Context
	Handler GetEndpointEndpointIDHandler
}
GetEndpointEndpointID swagger:route GET /endpoint/{endpoint_id} Endpoint getEndpointEndpointId

Show existing service endpoint

func NewGetEndpointEndpointID

func NewGetEndpointEndpointID(ctx *middleware.Context, handler GetEndpointEndpointIDHandler) *GetEndpointEndpointID

NewGetEndpointEndpointID creates a new http.Handler for the get endpoint endpoint ID operation

func (*GetEndpointEndpointID) ServeHTTP

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

type GetEndpointEndpointIDForbidden

type GetEndpointEndpointIDForbidden struct {

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

GetEndpointEndpointIDForbidden Forbidden

swagger:response getEndpointEndpointIdForbidden

func NewGetEndpointEndpointIDForbidden

func NewGetEndpointEndpointIDForbidden() *GetEndpointEndpointIDForbidden

NewGetEndpointEndpointIDForbidden creates GetEndpointEndpointIDForbidden with default headers values

func (*GetEndpointEndpointIDForbidden) SetPayload

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

SetPayload sets the payload to the get endpoint endpoint Id forbidden response

func (*GetEndpointEndpointIDForbidden) WithPayload

WithPayload adds the payload to the get endpoint endpoint Id forbidden response

func (*GetEndpointEndpointIDForbidden) WriteResponse

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

WriteResponse to the client

type GetEndpointEndpointIDHandler

type GetEndpointEndpointIDHandler interface {
	Handle(GetEndpointEndpointIDParams, interface{}) middleware.Responder
}

GetEndpointEndpointIDHandler interface for that can handle valid get endpoint endpoint ID params

type GetEndpointEndpointIDHandlerFunc

type GetEndpointEndpointIDHandlerFunc func(GetEndpointEndpointIDParams, interface{}) middleware.Responder

GetEndpointEndpointIDHandlerFunc turns a function with the right signature into a get endpoint endpoint ID handler

func (GetEndpointEndpointIDHandlerFunc) Handle

func (fn GetEndpointEndpointIDHandlerFunc) Handle(params GetEndpointEndpointIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetEndpointEndpointIDNotFound

type GetEndpointEndpointIDNotFound struct {
}

GetEndpointEndpointIDNotFound Not Found

swagger:response getEndpointEndpointIdNotFound

func NewGetEndpointEndpointIDNotFound

func NewGetEndpointEndpointIDNotFound() *GetEndpointEndpointIDNotFound

NewGetEndpointEndpointIDNotFound creates GetEndpointEndpointIDNotFound with default headers values

func (*GetEndpointEndpointIDNotFound) WriteResponse

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

WriteResponse to the client

type GetEndpointEndpointIDOK

type GetEndpointEndpointIDOK struct {

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

GetEndpointEndpointIDOK An endpoint detail.

swagger:response getEndpointEndpointIdOK

func NewGetEndpointEndpointIDOK

func NewGetEndpointEndpointIDOK() *GetEndpointEndpointIDOK

NewGetEndpointEndpointIDOK creates GetEndpointEndpointIDOK with default headers values

func (*GetEndpointEndpointIDOK) SetPayload

func (o *GetEndpointEndpointIDOK) SetPayload(payload *models.Endpoint)

SetPayload sets the payload to the get endpoint endpoint Id o k response

func (*GetEndpointEndpointIDOK) WithPayload

WithPayload adds the payload to the get endpoint endpoint Id o k response

func (*GetEndpointEndpointIDOK) WriteResponse

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

WriteResponse to the client

type GetEndpointEndpointIDParams

type GetEndpointEndpointIDParams struct {

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

	/*The UUID of the endpoint
	  Required: true
	  In: path
	*/
	EndpointID strfmt.UUID
}

GetEndpointEndpointIDParams contains all the bound params for the get endpoint endpoint ID operation typically these are obtained from a http.Request

swagger:parameters GetEndpointEndpointID

func NewGetEndpointEndpointIDParams

func NewGetEndpointEndpointIDParams() GetEndpointEndpointIDParams

NewGetEndpointEndpointIDParams creates a new GetEndpointEndpointIDParams object

There are no default values defined in the spec.

func (*GetEndpointEndpointIDParams) 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 NewGetEndpointEndpointIDParams() beforehand.

type GetEndpointEndpointIDURL

type GetEndpointEndpointIDURL struct {
	EndpointID strfmt.UUID
	// contains filtered or unexported fields
}

GetEndpointEndpointIDURL generates an URL for the get endpoint endpoint ID operation

func (*GetEndpointEndpointIDURL) Build

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

Build a url path and query string

func (*GetEndpointEndpointIDURL) BuildFull

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

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

func (*GetEndpointEndpointIDURL) Must

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

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

func (*GetEndpointEndpointIDURL) SetBasePath

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

func (o *GetEndpointEndpointIDURL) String() string

String returns the string representation of the path with query string

func (*GetEndpointEndpointIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetEndpointEndpointIDURL) 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 GetEndpointEndpointIDUnauthorized

type GetEndpointEndpointIDUnauthorized struct {

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

GetEndpointEndpointIDUnauthorized Unauthorized

swagger:response getEndpointEndpointIdUnauthorized

func NewGetEndpointEndpointIDUnauthorized

func NewGetEndpointEndpointIDUnauthorized() *GetEndpointEndpointIDUnauthorized

NewGetEndpointEndpointIDUnauthorized creates GetEndpointEndpointIDUnauthorized with default headers values

func (*GetEndpointEndpointIDUnauthorized) SetPayload

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

SetPayload sets the payload to the get endpoint endpoint Id unauthorized response

func (*GetEndpointEndpointIDUnauthorized) WithPayload

WithPayload adds the payload to the get endpoint endpoint Id unauthorized response

func (*GetEndpointEndpointIDUnauthorized) WriteResponse

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

WriteResponse to the client

type GetEndpointEndpointIDUnprocessableEntity

type GetEndpointEndpointIDUnprocessableEntity struct {

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

GetEndpointEndpointIDUnprocessableEntity Unprocessable Content

swagger:response getEndpointEndpointIdUnprocessableEntity

func NewGetEndpointEndpointIDUnprocessableEntity

func NewGetEndpointEndpointIDUnprocessableEntity() *GetEndpointEndpointIDUnprocessableEntity

NewGetEndpointEndpointIDUnprocessableEntity creates GetEndpointEndpointIDUnprocessableEntity with default headers values

func (*GetEndpointEndpointIDUnprocessableEntity) SetPayload

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

SetPayload sets the payload to the get endpoint endpoint Id unprocessable entity response

func (*GetEndpointEndpointIDUnprocessableEntity) WithPayload

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

func (*GetEndpointEndpointIDUnprocessableEntity) WriteResponse

WriteResponse to the client

type GetEndpointForbidden

type GetEndpointForbidden struct {
}

GetEndpointForbidden Forbidden

swagger:response getEndpointForbidden

func NewGetEndpointForbidden

func NewGetEndpointForbidden() *GetEndpointForbidden

NewGetEndpointForbidden creates GetEndpointForbidden with default headers values

func (*GetEndpointForbidden) WriteResponse

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

WriteResponse to the client

type GetEndpointHandler

type GetEndpointHandler interface {
	Handle(GetEndpointParams, interface{}) middleware.Responder
}

GetEndpointHandler interface for that can handle valid get endpoint params

type GetEndpointHandlerFunc

type GetEndpointHandlerFunc func(GetEndpointParams, interface{}) middleware.Responder

GetEndpointHandlerFunc turns a function with the right signature into a get endpoint handler

func (GetEndpointHandlerFunc) Handle

func (fn GetEndpointHandlerFunc) Handle(params GetEndpointParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetEndpointOK

type GetEndpointOK struct {

	/*
	  In: Body
	*/
	Payload *GetEndpointOKBody `json:"body,omitempty"`
}

GetEndpointOK An array of endpoints.

swagger:response getEndpointOK

func NewGetEndpointOK

func NewGetEndpointOK() *GetEndpointOK

NewGetEndpointOK creates GetEndpointOK with default headers values

func (*GetEndpointOK) SetPayload

func (o *GetEndpointOK) SetPayload(payload *GetEndpointOKBody)

SetPayload sets the payload to the get endpoint o k response

func (*GetEndpointOK) WithPayload

func (o *GetEndpointOK) WithPayload(payload *GetEndpointOKBody) *GetEndpointOK

WithPayload adds the payload to the get endpoint o k response

func (*GetEndpointOK) WriteResponse

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

WriteResponse to the client

type GetEndpointOKBody

type GetEndpointOKBody struct {

	// items
	Items []*models.Endpoint `json:"items"`

	// links
	Links []*models.Link `json:"links,omitempty"`
}

GetEndpointOKBody get endpoint o k body

swagger:model GetEndpointOKBody

func (*GetEndpointOKBody) ContextValidate

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

ContextValidate validate this get endpoint o k body based on the context it is used

func (*GetEndpointOKBody) MarshalBinary

func (o *GetEndpointOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetEndpointOKBody) UnmarshalBinary

func (o *GetEndpointOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEndpointOKBody) Validate

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

Validate validates this get endpoint o k body

type GetEndpointParams

type GetEndpointParams struct {

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

	/*Sets the page size.
	  In: query
	*/
	Limit *int64
	/*Pagination ID of the last item in the previous list.
	  In: query
	*/
	Marker *strfmt.UUID
	/*Filter for resources not having tags, multiple not-tags are considered as logical AND.
	Should be provided in a comma separated list.

	  In: query
	*/
	NotTags []string
	/*Filter for resources not having tags, multiple tags are considered as logical OR.
	Should be provided in a comma separated list.

	  In: query
	*/
	NotTagsAny []string
	/*Sets the page direction.
	  In: query
	*/
	PageReverse *bool
	/*Filter for resources belonging or accessible by a specific project.

	  Max Length: 32
	  Min Length: 32
	  In: query
	*/
	ProjectID *string
	/*Comma-separated list of sort keys, optionally prefix with - to reverse sort order.
	  In: query
	*/
	Sort *string
	/*Filter for tags, multiple tags are considered as logical AND.
	Should be provided in a comma separated list.

	  In: query
	*/
	Tags []string
	/*Filter for tags, multiple tags are considered as logical OR.
	Should be provided in a comma separated list.

	  In: query
	*/
	TagsAny []string
}

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

swagger:parameters GetEndpoint

func NewGetEndpointParams

func NewGetEndpointParams() GetEndpointParams

NewGetEndpointParams creates a new GetEndpointParams object

There are no default values defined in the spec.

func (*GetEndpointParams) BindRequest

func (o *GetEndpointParams) 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 NewGetEndpointParams() beforehand.

type GetEndpointURL

type GetEndpointURL struct {
	Limit       *int64
	Marker      *strfmt.UUID
	NotTags     []string
	NotTagsAny  []string
	PageReverse *bool
	ProjectID   *string
	Sort        *string
	Tags        []string
	TagsAny     []string
	// contains filtered or unexported fields
}

GetEndpointURL generates an URL for the get endpoint operation

func (*GetEndpointURL) Build

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

Build a url path and query string

func (*GetEndpointURL) BuildFull

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

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

func (*GetEndpointURL) Must

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

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

func (*GetEndpointURL) SetBasePath

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

func (o *GetEndpointURL) String() string

String returns the string representation of the path with query string

func (*GetEndpointURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetEndpointURL) WithBasePath

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

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 GetEndpointUnauthorized

type GetEndpointUnauthorized struct {

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

GetEndpointUnauthorized Unauthorized

swagger:response getEndpointUnauthorized

func NewGetEndpointUnauthorized

func NewGetEndpointUnauthorized() *GetEndpointUnauthorized

NewGetEndpointUnauthorized creates GetEndpointUnauthorized with default headers values

func (*GetEndpointUnauthorized) SetPayload

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

SetPayload sets the payload to the get endpoint unauthorized response

func (*GetEndpointUnauthorized) WithPayload

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

WithPayload adds the payload to the get endpoint unauthorized response

func (*GetEndpointUnauthorized) WriteResponse

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

WriteResponse to the client

type GetEndpointUnprocessableEntity

type GetEndpointUnprocessableEntity struct {

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

GetEndpointUnprocessableEntity Unprocessable Content

swagger:response getEndpointUnprocessableEntity

func NewGetEndpointUnprocessableEntity

func NewGetEndpointUnprocessableEntity() *GetEndpointUnprocessableEntity

NewGetEndpointUnprocessableEntity creates GetEndpointUnprocessableEntity with default headers values

func (*GetEndpointUnprocessableEntity) SetPayload

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

SetPayload sets the payload to the get endpoint unprocessable entity response

func (*GetEndpointUnprocessableEntity) WithPayload

WithPayload adds the payload to the get endpoint unprocessable entity response

func (*GetEndpointUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type PostEndpoint

type PostEndpoint struct {
	Context *middleware.Context
	Handler PostEndpointHandler
}
PostEndpoint swagger:route POST /endpoint Endpoint postEndpoint

Create endpoint for accessing a service

func NewPostEndpoint

func NewPostEndpoint(ctx *middleware.Context, handler PostEndpointHandler) *PostEndpoint

NewPostEndpoint creates a new http.Handler for the post endpoint operation

func (*PostEndpoint) ServeHTTP

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

type PostEndpointBadRequest

type PostEndpointBadRequest struct {

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

PostEndpointBadRequest Bad request

swagger:response postEndpointBadRequest

func NewPostEndpointBadRequest

func NewPostEndpointBadRequest() *PostEndpointBadRequest

NewPostEndpointBadRequest creates PostEndpointBadRequest with default headers values

func (*PostEndpointBadRequest) SetPayload

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

SetPayload sets the payload to the post endpoint bad request response

func (*PostEndpointBadRequest) WithPayload

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

WithPayload adds the payload to the post endpoint bad request response

func (*PostEndpointBadRequest) WriteResponse

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

WriteResponse to the client

type PostEndpointCreated

type PostEndpointCreated struct {

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

PostEndpointCreated Endpoint

swagger:response postEndpointCreated

func NewPostEndpointCreated

func NewPostEndpointCreated() *PostEndpointCreated

NewPostEndpointCreated creates PostEndpointCreated with default headers values

func (*PostEndpointCreated) SetPayload

func (o *PostEndpointCreated) SetPayload(payload *models.Endpoint)

SetPayload sets the payload to the post endpoint created response

func (*PostEndpointCreated) WithPayload

func (o *PostEndpointCreated) WithPayload(payload *models.Endpoint) *PostEndpointCreated

WithPayload adds the payload to the post endpoint created response

func (*PostEndpointCreated) WriteResponse

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

WriteResponse to the client

type PostEndpointForbidden

type PostEndpointForbidden struct {

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

PostEndpointForbidden Forbidden

swagger:response postEndpointForbidden

func NewPostEndpointForbidden

func NewPostEndpointForbidden() *PostEndpointForbidden

NewPostEndpointForbidden creates PostEndpointForbidden with default headers values

func (*PostEndpointForbidden) SetPayload

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

SetPayload sets the payload to the post endpoint forbidden response

func (*PostEndpointForbidden) WithPayload

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

WithPayload adds the payload to the post endpoint forbidden response

func (*PostEndpointForbidden) WriteResponse

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

WriteResponse to the client

type PostEndpointHandler

type PostEndpointHandler interface {
	Handle(PostEndpointParams, interface{}) middleware.Responder
}

PostEndpointHandler interface for that can handle valid post endpoint params

type PostEndpointHandlerFunc

type PostEndpointHandlerFunc func(PostEndpointParams, interface{}) middleware.Responder

PostEndpointHandlerFunc turns a function with the right signature into a post endpoint handler

func (PostEndpointHandlerFunc) Handle

func (fn PostEndpointHandlerFunc) Handle(params PostEndpointParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PostEndpointParams

type PostEndpointParams struct {

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

	/*Service and target network to inject. Only one of `target_network`, `target_subnet` or `target_port` must be specified.
	  Required: true
	  In: body
	*/
	Body *models.Endpoint
}

PostEndpointParams contains all the bound params for the post endpoint operation typically these are obtained from a http.Request

swagger:parameters PostEndpoint

func NewPostEndpointParams

func NewPostEndpointParams() PostEndpointParams

NewPostEndpointParams creates a new PostEndpointParams object

There are no default values defined in the spec.

func (*PostEndpointParams) BindRequest

func (o *PostEndpointParams) 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 NewPostEndpointParams() beforehand.

type PostEndpointURL

type PostEndpointURL struct {
	// contains filtered or unexported fields
}

PostEndpointURL generates an URL for the post endpoint operation

func (*PostEndpointURL) Build

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

Build a url path and query string

func (*PostEndpointURL) BuildFull

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

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

func (*PostEndpointURL) Must

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

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

func (*PostEndpointURL) SetBasePath

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

func (o *PostEndpointURL) String() string

String returns the string representation of the path with query string

func (*PostEndpointURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostEndpointURL) WithBasePath

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

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 PostEndpointUnauthorized

type PostEndpointUnauthorized struct {

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

PostEndpointUnauthorized Unauthorized

swagger:response postEndpointUnauthorized

func NewPostEndpointUnauthorized

func NewPostEndpointUnauthorized() *PostEndpointUnauthorized

NewPostEndpointUnauthorized creates PostEndpointUnauthorized with default headers values

func (*PostEndpointUnauthorized) SetPayload

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

SetPayload sets the payload to the post endpoint unauthorized response

func (*PostEndpointUnauthorized) WithPayload

WithPayload adds the payload to the post endpoint unauthorized response

func (*PostEndpointUnauthorized) WriteResponse

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

WriteResponse to the client

type PostEndpointUnprocessableEntity

type PostEndpointUnprocessableEntity struct {

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

PostEndpointUnprocessableEntity Unprocessable Content

swagger:response postEndpointUnprocessableEntity

func NewPostEndpointUnprocessableEntity

func NewPostEndpointUnprocessableEntity() *PostEndpointUnprocessableEntity

NewPostEndpointUnprocessableEntity creates PostEndpointUnprocessableEntity with default headers values

func (*PostEndpointUnprocessableEntity) SetPayload

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

SetPayload sets the payload to the post endpoint unprocessable entity response

func (*PostEndpointUnprocessableEntity) WithPayload

WithPayload adds the payload to the post endpoint unprocessable entity response

func (*PostEndpointUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type PutEndpointEndpointID

type PutEndpointEndpointID struct {
	Context *middleware.Context
	Handler PutEndpointEndpointIDHandler
}
PutEndpointEndpointID swagger:route PUT /endpoint/{endpoint_id} Endpoint putEndpointEndpointId

Update an existing endpoint

func NewPutEndpointEndpointID

func NewPutEndpointEndpointID(ctx *middleware.Context, handler PutEndpointEndpointIDHandler) *PutEndpointEndpointID

NewPutEndpointEndpointID creates a new http.Handler for the put endpoint endpoint ID operation

func (*PutEndpointEndpointID) ServeHTTP

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

type PutEndpointEndpointIDBody

type PutEndpointEndpointIDBody struct {

	// Description of the endpoint.
	// Example: An example of an endpoint.
	// Max Length: 255
	Description *string `json:"description,omitempty"`

	// Name of the endpoint.
	// Example: Example endpoint.
	// Max Length: 64
	Name *string `json:"name,omitempty"`

	// The list of tags on the resource.
	Tags []string `json:"tags"`
}

PutEndpointEndpointIDBody put endpoint endpoint ID body

swagger:model PutEndpointEndpointIDBody

func (*PutEndpointEndpointIDBody) ContextValidate

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

ContextValidate validates this put endpoint endpoint ID body based on context it is used

func (*PutEndpointEndpointIDBody) MarshalBinary

func (o *PutEndpointEndpointIDBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutEndpointEndpointIDBody) UnmarshalBinary

func (o *PutEndpointEndpointIDBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutEndpointEndpointIDBody) Validate

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

Validate validates this put endpoint endpoint ID body

type PutEndpointEndpointIDForbidden

type PutEndpointEndpointIDForbidden struct {

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

PutEndpointEndpointIDForbidden Forbidden

swagger:response putEndpointEndpointIdForbidden

func NewPutEndpointEndpointIDForbidden

func NewPutEndpointEndpointIDForbidden() *PutEndpointEndpointIDForbidden

NewPutEndpointEndpointIDForbidden creates PutEndpointEndpointIDForbidden with default headers values

func (*PutEndpointEndpointIDForbidden) SetPayload

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

SetPayload sets the payload to the put endpoint endpoint Id forbidden response

func (*PutEndpointEndpointIDForbidden) WithPayload

WithPayload adds the payload to the put endpoint endpoint Id forbidden response

func (*PutEndpointEndpointIDForbidden) WriteResponse

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

WriteResponse to the client

type PutEndpointEndpointIDHandler

type PutEndpointEndpointIDHandler interface {
	Handle(PutEndpointEndpointIDParams, interface{}) middleware.Responder
}

PutEndpointEndpointIDHandler interface for that can handle valid put endpoint endpoint ID params

type PutEndpointEndpointIDHandlerFunc

type PutEndpointEndpointIDHandlerFunc func(PutEndpointEndpointIDParams, interface{}) middleware.Responder

PutEndpointEndpointIDHandlerFunc turns a function with the right signature into a put endpoint endpoint ID handler

func (PutEndpointEndpointIDHandlerFunc) Handle

func (fn PutEndpointEndpointIDHandlerFunc) Handle(params PutEndpointEndpointIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PutEndpointEndpointIDNotFound

type PutEndpointEndpointIDNotFound struct {

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

PutEndpointEndpointIDNotFound Not Found

swagger:response putEndpointEndpointIdNotFound

func NewPutEndpointEndpointIDNotFound

func NewPutEndpointEndpointIDNotFound() *PutEndpointEndpointIDNotFound

NewPutEndpointEndpointIDNotFound creates PutEndpointEndpointIDNotFound with default headers values

func (*PutEndpointEndpointIDNotFound) SetPayload

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

SetPayload sets the payload to the put endpoint endpoint Id not found response

func (*PutEndpointEndpointIDNotFound) WithPayload

WithPayload adds the payload to the put endpoint endpoint Id not found response

func (*PutEndpointEndpointIDNotFound) WriteResponse

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

WriteResponse to the client

type PutEndpointEndpointIDOK

type PutEndpointEndpointIDOK struct {

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

PutEndpointEndpointIDOK Endpoint

swagger:response putEndpointEndpointIdOK

func NewPutEndpointEndpointIDOK

func NewPutEndpointEndpointIDOK() *PutEndpointEndpointIDOK

NewPutEndpointEndpointIDOK creates PutEndpointEndpointIDOK with default headers values

func (*PutEndpointEndpointIDOK) SetPayload

func (o *PutEndpointEndpointIDOK) SetPayload(payload *models.Endpoint)

SetPayload sets the payload to the put endpoint endpoint Id o k response

func (*PutEndpointEndpointIDOK) WithPayload

WithPayload adds the payload to the put endpoint endpoint Id o k response

func (*PutEndpointEndpointIDOK) WriteResponse

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

WriteResponse to the client

type PutEndpointEndpointIDParams

type PutEndpointEndpointIDParams struct {

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

	/*Endpoint object that needs to be updated
	  Required: true
	  In: body
	*/
	Body PutEndpointEndpointIDBody
	/*The UUID of the endpoint
	  Required: true
	  In: path
	*/
	EndpointID strfmt.UUID
}

PutEndpointEndpointIDParams contains all the bound params for the put endpoint endpoint ID operation typically these are obtained from a http.Request

swagger:parameters PutEndpointEndpointID

func NewPutEndpointEndpointIDParams

func NewPutEndpointEndpointIDParams() PutEndpointEndpointIDParams

NewPutEndpointEndpointIDParams creates a new PutEndpointEndpointIDParams object

There are no default values defined in the spec.

func (*PutEndpointEndpointIDParams) 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 NewPutEndpointEndpointIDParams() beforehand.

type PutEndpointEndpointIDURL

type PutEndpointEndpointIDURL struct {
	EndpointID strfmt.UUID
	// contains filtered or unexported fields
}

PutEndpointEndpointIDURL generates an URL for the put endpoint endpoint ID operation

func (*PutEndpointEndpointIDURL) Build

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

Build a url path and query string

func (*PutEndpointEndpointIDURL) BuildFull

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

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

func (*PutEndpointEndpointIDURL) Must

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

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

func (*PutEndpointEndpointIDURL) SetBasePath

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

func (o *PutEndpointEndpointIDURL) String() string

String returns the string representation of the path with query string

func (*PutEndpointEndpointIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PutEndpointEndpointIDURL) 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 PutEndpointEndpointIDUnauthorized

type PutEndpointEndpointIDUnauthorized struct {

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

PutEndpointEndpointIDUnauthorized Unauthorized

swagger:response putEndpointEndpointIdUnauthorized

func NewPutEndpointEndpointIDUnauthorized

func NewPutEndpointEndpointIDUnauthorized() *PutEndpointEndpointIDUnauthorized

NewPutEndpointEndpointIDUnauthorized creates PutEndpointEndpointIDUnauthorized with default headers values

func (*PutEndpointEndpointIDUnauthorized) SetPayload

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

SetPayload sets the payload to the put endpoint endpoint Id unauthorized response

func (*PutEndpointEndpointIDUnauthorized) WithPayload

WithPayload adds the payload to the put endpoint endpoint Id unauthorized response

func (*PutEndpointEndpointIDUnauthorized) WriteResponse

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

WriteResponse to the client

type PutEndpointEndpointIDUnprocessableEntity

type PutEndpointEndpointIDUnprocessableEntity struct {

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

PutEndpointEndpointIDUnprocessableEntity Unprocessable Content

swagger:response putEndpointEndpointIdUnprocessableEntity

func NewPutEndpointEndpointIDUnprocessableEntity

func NewPutEndpointEndpointIDUnprocessableEntity() *PutEndpointEndpointIDUnprocessableEntity

NewPutEndpointEndpointIDUnprocessableEntity creates PutEndpointEndpointIDUnprocessableEntity with default headers values

func (*PutEndpointEndpointIDUnprocessableEntity) SetPayload

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

SetPayload sets the payload to the put endpoint endpoint Id unprocessable entity response

func (*PutEndpointEndpointIDUnprocessableEntity) WithPayload

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

func (*PutEndpointEndpointIDUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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