Documentation ¶
Index ¶
- Constants
- type DeleteEndpointEndpointID
- type DeleteEndpointEndpointIDAccepted
- type DeleteEndpointEndpointIDForbidden
- func (o *DeleteEndpointEndpointIDForbidden) SetPayload(payload *models.Error)
- func (o *DeleteEndpointEndpointIDForbidden) WithPayload(payload *models.Error) *DeleteEndpointEndpointIDForbidden
- func (o *DeleteEndpointEndpointIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEndpointEndpointIDHandler
- type DeleteEndpointEndpointIDHandlerFunc
- type DeleteEndpointEndpointIDNotFound
- type DeleteEndpointEndpointIDParams
- type DeleteEndpointEndpointIDURL
- func (o *DeleteEndpointEndpointIDURL) Build() (*url.URL, error)
- func (o *DeleteEndpointEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteEndpointEndpointIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteEndpointEndpointIDURL) SetBasePath(bp string)
- func (o *DeleteEndpointEndpointIDURL) String() string
- func (o *DeleteEndpointEndpointIDURL) StringFull(scheme, host string) string
- func (o *DeleteEndpointEndpointIDURL) WithBasePath(bp string) *DeleteEndpointEndpointIDURL
- type DeleteEndpointEndpointIDUnauthorized
- func (o *DeleteEndpointEndpointIDUnauthorized) SetPayload(payload *models.Error)
- func (o *DeleteEndpointEndpointIDUnauthorized) WithPayload(payload *models.Error) *DeleteEndpointEndpointIDUnauthorized
- func (o *DeleteEndpointEndpointIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEndpointEndpointIDUnprocessableEntity
- func (o *DeleteEndpointEndpointIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *DeleteEndpointEndpointIDUnprocessableEntity) WithPayload(payload *models.Error) *DeleteEndpointEndpointIDUnprocessableEntity
- func (o *DeleteEndpointEndpointIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEndpoint
- type GetEndpointBadRequest
- type GetEndpointEndpointID
- type GetEndpointEndpointIDForbidden
- type GetEndpointEndpointIDHandler
- type GetEndpointEndpointIDHandlerFunc
- type GetEndpointEndpointIDNotFound
- type GetEndpointEndpointIDOK
- type GetEndpointEndpointIDParams
- type GetEndpointEndpointIDURL
- func (o *GetEndpointEndpointIDURL) Build() (*url.URL, error)
- func (o *GetEndpointEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEndpointEndpointIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEndpointEndpointIDURL) SetBasePath(bp string)
- func (o *GetEndpointEndpointIDURL) String() string
- func (o *GetEndpointEndpointIDURL) StringFull(scheme, host string) string
- func (o *GetEndpointEndpointIDURL) WithBasePath(bp string) *GetEndpointEndpointIDURL
- type GetEndpointEndpointIDUnauthorized
- func (o *GetEndpointEndpointIDUnauthorized) SetPayload(payload *models.Error)
- func (o *GetEndpointEndpointIDUnauthorized) WithPayload(payload *models.Error) *GetEndpointEndpointIDUnauthorized
- func (o *GetEndpointEndpointIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEndpointEndpointIDUnprocessableEntity
- func (o *GetEndpointEndpointIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *GetEndpointEndpointIDUnprocessableEntity) WithPayload(payload *models.Error) *GetEndpointEndpointIDUnprocessableEntity
- func (o *GetEndpointEndpointIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEndpointForbidden
- type GetEndpointHandler
- type GetEndpointHandlerFunc
- type GetEndpointOK
- type GetEndpointOKBody
- type GetEndpointParams
- type GetEndpointURL
- func (o *GetEndpointURL) Build() (*url.URL, error)
- func (o *GetEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEndpointURL) SetBasePath(bp string)
- func (o *GetEndpointURL) String() string
- func (o *GetEndpointURL) StringFull(scheme, host string) string
- func (o *GetEndpointURL) WithBasePath(bp string) *GetEndpointURL
- type GetEndpointUnauthorized
- type GetEndpointUnprocessableEntity
- type PostEndpoint
- type PostEndpointBadRequest
- type PostEndpointCreated
- type PostEndpointForbidden
- type PostEndpointHandler
- type PostEndpointHandlerFunc
- type PostEndpointParams
- type PostEndpointURL
- func (o *PostEndpointURL) Build() (*url.URL, error)
- func (o *PostEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *PostEndpointURL) SetBasePath(bp string)
- func (o *PostEndpointURL) String() string
- func (o *PostEndpointURL) StringFull(scheme, host string) string
- func (o *PostEndpointURL) WithBasePath(bp string) *PostEndpointURL
- type PostEndpointUnauthorized
- type PostEndpointUnprocessableEntity
- type PutEndpointEndpointID
- type PutEndpointEndpointIDBody
- func (o *PutEndpointEndpointIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutEndpointEndpointIDBody) MarshalBinary() ([]byte, error)
- func (o *PutEndpointEndpointIDBody) UnmarshalBinary(b []byte) error
- func (o *PutEndpointEndpointIDBody) Validate(formats strfmt.Registry) error
- type PutEndpointEndpointIDForbidden
- type PutEndpointEndpointIDHandler
- type PutEndpointEndpointIDHandlerFunc
- type PutEndpointEndpointIDNotFound
- type PutEndpointEndpointIDOK
- type PutEndpointEndpointIDParams
- type PutEndpointEndpointIDURL
- func (o *PutEndpointEndpointIDURL) Build() (*url.URL, error)
- func (o *PutEndpointEndpointIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutEndpointEndpointIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutEndpointEndpointIDURL) SetBasePath(bp string)
- func (o *PutEndpointEndpointIDURL) String() string
- func (o *PutEndpointEndpointIDURL) StringFull(scheme, host string) string
- func (o *PutEndpointEndpointIDURL) WithBasePath(bp string) *PutEndpointEndpointIDURL
- type PutEndpointEndpointIDUnauthorized
- func (o *PutEndpointEndpointIDUnauthorized) SetPayload(payload *models.Error)
- func (o *PutEndpointEndpointIDUnauthorized) WithPayload(payload *models.Error) *PutEndpointEndpointIDUnauthorized
- func (o *PutEndpointEndpointIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutEndpointEndpointIDUnprocessableEntity
- func (o *PutEndpointEndpointIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *PutEndpointEndpointIDUnprocessableEntity) WithPayload(payload *models.Error) *PutEndpointEndpointIDUnprocessableEntity
- func (o *PutEndpointEndpointIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const DeleteEndpointEndpointIDAcceptedCode int = 202
DeleteEndpointEndpointIDAcceptedCode is the HTTP code returned for type DeleteEndpointEndpointIDAccepted
const DeleteEndpointEndpointIDForbiddenCode int = 403
DeleteEndpointEndpointIDForbiddenCode is the HTTP code returned for type DeleteEndpointEndpointIDForbidden
const DeleteEndpointEndpointIDNotFoundCode int = 404
DeleteEndpointEndpointIDNotFoundCode is the HTTP code returned for type DeleteEndpointEndpointIDNotFound
DeleteEndpointEndpointIDUnauthorizedCode is the HTTP code returned for type DeleteEndpointEndpointIDUnauthorized
const DeleteEndpointEndpointIDUnprocessableEntityCode int = 422
DeleteEndpointEndpointIDUnprocessableEntityCode is the HTTP code returned for type DeleteEndpointEndpointIDUnprocessableEntity
const GetEndpointBadRequestCode int = 400
GetEndpointBadRequestCode is the HTTP code returned for type GetEndpointBadRequest
const GetEndpointEndpointIDForbiddenCode int = 403
GetEndpointEndpointIDForbiddenCode is the HTTP code returned for type GetEndpointEndpointIDForbidden
const GetEndpointEndpointIDNotFoundCode int = 404
GetEndpointEndpointIDNotFoundCode is the HTTP code returned for type GetEndpointEndpointIDNotFound
const GetEndpointEndpointIDOKCode int = 200
GetEndpointEndpointIDOKCode is the HTTP code returned for type GetEndpointEndpointIDOK
GetEndpointEndpointIDUnauthorizedCode is the HTTP code returned for type GetEndpointEndpointIDUnauthorized
const GetEndpointEndpointIDUnprocessableEntityCode int = 422
GetEndpointEndpointIDUnprocessableEntityCode is the HTTP code returned for type GetEndpointEndpointIDUnprocessableEntity
const GetEndpointForbiddenCode int = 403
GetEndpointForbiddenCode is the HTTP code returned for type GetEndpointForbidden
const GetEndpointOKCode int = 200
GetEndpointOKCode is the HTTP code returned for type GetEndpointOK
GetEndpointUnauthorizedCode is the HTTP code returned for type GetEndpointUnauthorized
const GetEndpointUnprocessableEntityCode int = 422
GetEndpointUnprocessableEntityCode is the HTTP code returned for type GetEndpointUnprocessableEntity
const PostEndpointBadRequestCode int = 400
PostEndpointBadRequestCode is the HTTP code returned for type PostEndpointBadRequest
const PostEndpointCreatedCode int = 201
PostEndpointCreatedCode is the HTTP code returned for type PostEndpointCreated
const PostEndpointForbiddenCode int = 403
PostEndpointForbiddenCode is the HTTP code returned for type PostEndpointForbidden
PostEndpointUnauthorizedCode is the HTTP code returned for type PostEndpointUnauthorized
const PostEndpointUnprocessableEntityCode int = 422
PostEndpointUnprocessableEntityCode is the HTTP code returned for type PostEndpointUnprocessableEntity
const PutEndpointEndpointIDForbiddenCode int = 403
PutEndpointEndpointIDForbiddenCode is the HTTP code returned for type PutEndpointEndpointIDForbidden
const PutEndpointEndpointIDNotFoundCode int = 404
PutEndpointEndpointIDNotFoundCode is the HTTP code returned for type PutEndpointEndpointIDNotFound
const PutEndpointEndpointIDOKCode int = 200
PutEndpointEndpointIDOKCode is the HTTP code returned for type PutEndpointEndpointIDOK
PutEndpointEndpointIDUnauthorizedCode is the HTTP code returned for type PutEndpointEndpointIDUnauthorized
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 ¶
func (o *DeleteEndpointEndpointID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *DeleteEndpointEndpointIDForbidden) WithPayload(payload *models.Error) *DeleteEndpointEndpointIDForbidden
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 ¶
func (fn DeleteEndpointEndpointIDHandlerFunc) Handle(params DeleteEndpointEndpointIDParams, principal interface{}) middleware.Responder
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 ¶
func (o *DeleteEndpointEndpointIDParams) 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 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 ¶
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 ¶
func (o *DeleteEndpointEndpointIDURL) WithBasePath(bp string) *DeleteEndpointEndpointIDURL
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 ¶
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 ¶
func (o *DeleteEndpointEndpointIDUnauthorized) WithPayload(payload *models.Error) *DeleteEndpointEndpointIDUnauthorized
WithPayload adds the payload to the delete endpoint endpoint Id unauthorized response
func (*DeleteEndpointEndpointIDUnauthorized) WriteResponse ¶
func (o *DeleteEndpointEndpointIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DeleteEndpointEndpointIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete endpoint endpoint Id unprocessable entity response
func (*DeleteEndpointEndpointIDUnprocessableEntity) WithPayload ¶
func (o *DeleteEndpointEndpointIDUnprocessableEntity) WithPayload(payload *models.Error) *DeleteEndpointEndpointIDUnprocessableEntity
WithPayload adds the payload to the delete endpoint endpoint Id unprocessable entity response
func (*DeleteEndpointEndpointIDUnprocessableEntity) WriteResponse ¶
func (o *DeleteEndpointEndpointIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 ¶
func (o *GetEndpointEndpointIDForbidden) WithPayload(payload *models.Error) *GetEndpointEndpointIDForbidden
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 ¶
func (o *GetEndpointEndpointIDOK) WithPayload(payload *models.Endpoint) *GetEndpointEndpointIDOK
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 ¶
func (o *GetEndpointEndpointIDParams) 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 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 ¶
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 ¶
func (o *GetEndpointEndpointIDURL) WithBasePath(bp string) *GetEndpointEndpointIDURL
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 ¶
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 ¶
func (o *GetEndpointEndpointIDUnauthorized) WithPayload(payload *models.Error) *GetEndpointEndpointIDUnauthorized
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 ¶
func (o *GetEndpointEndpointIDUnprocessableEntity) WithPayload(payload *models.Error) *GetEndpointEndpointIDUnprocessableEntity
WithPayload adds the payload to the get endpoint endpoint Id unprocessable entity response
func (*GetEndpointEndpointIDUnprocessableEntity) WriteResponse ¶
func (o *GetEndpointEndpointIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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
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 ¶
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 ¶
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 ¶
func (o *GetEndpointUnprocessableEntity) WithPayload(payload *models.Error) *GetEndpointUnprocessableEntity
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *PostEndpointUnauthorized) WithPayload(payload *models.Error) *PostEndpointUnauthorized
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 ¶
func (o *PostEndpointUnprocessableEntity) WithPayload(payload *models.Error) *PostEndpointUnprocessableEntity
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
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 ¶
func (o *PutEndpointEndpointIDForbidden) WithPayload(payload *models.Error) *PutEndpointEndpointIDForbidden
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 ¶
func (o *PutEndpointEndpointIDNotFound) WithPayload(payload *models.Error) *PutEndpointEndpointIDNotFound
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 ¶
func (o *PutEndpointEndpointIDOK) WithPayload(payload *models.Endpoint) *PutEndpointEndpointIDOK
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 ¶
func (o *PutEndpointEndpointIDParams) 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 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 ¶
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 ¶
func (o *PutEndpointEndpointIDURL) WithBasePath(bp string) *PutEndpointEndpointIDURL
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 ¶
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 ¶
func (o *PutEndpointEndpointIDUnauthorized) WithPayload(payload *models.Error) *PutEndpointEndpointIDUnauthorized
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 ¶
func (o *PutEndpointEndpointIDUnprocessableEntity) WithPayload(payload *models.Error) *PutEndpointEndpointIDUnprocessableEntity
WithPayload adds the payload to the put endpoint endpoint Id unprocessable entity response
func (*PutEndpointEndpointIDUnprocessableEntity) WriteResponse ¶
func (o *PutEndpointEndpointIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- delete_endpoint_endpoint_id.go
- delete_endpoint_endpoint_id_parameters.go
- delete_endpoint_endpoint_id_responses.go
- delete_endpoint_endpoint_id_urlbuilder.go
- get_endpoint.go
- get_endpoint_endpoint_id.go
- get_endpoint_endpoint_id_parameters.go
- get_endpoint_endpoint_id_responses.go
- get_endpoint_endpoint_id_urlbuilder.go
- get_endpoint_parameters.go
- get_endpoint_responses.go
- get_endpoint_urlbuilder.go
- post_endpoint.go
- post_endpoint_parameters.go
- post_endpoint_responses.go
- post_endpoint_urlbuilder.go
- put_endpoint_endpoint_id.go
- put_endpoint_endpoint_id_parameters.go
- put_endpoint_endpoint_id_responses.go
- put_endpoint_endpoint_id_urlbuilder.go