Documentation ¶
Index ¶
- Constants
- type DeleteRecorderID
- type DeleteRecorderIDFailure
- type DeleteRecorderIDHandler
- type DeleteRecorderIDHandlerFunc
- type DeleteRecorderIDNotFound
- type DeleteRecorderIDOK
- type DeleteRecorderIDParams
- type GetRecorder
- type GetRecorderHandler
- type GetRecorderHandlerFunc
- type GetRecorderID
- type GetRecorderIDHandler
- type GetRecorderIDHandlerFunc
- type GetRecorderIDNotFound
- type GetRecorderIDOK
- type GetRecorderIDParams
- type GetRecorderMasks
- type GetRecorderMasksHandler
- type GetRecorderMasksHandlerFunc
- type GetRecorderMasksOK
- type GetRecorderMasksParams
- type GetRecorderOK
- type GetRecorderParams
- type PutRecorderID
- type PutRecorderIDCreated
- type PutRecorderIDFailure
- type PutRecorderIDHandler
- type PutRecorderIDHandlerFunc
- type PutRecorderIDOK
- type PutRecorderIDParams
Constants ¶
const DeleteRecorderIDFailureCode int = 500
DeleteRecorderIDFailureCode is the HTTP code returned for type DeleteRecorderIDFailure
const DeleteRecorderIDNotFoundCode int = 404
DeleteRecorderIDNotFoundCode is the HTTP code returned for type DeleteRecorderIDNotFound
const DeleteRecorderIDOKCode int = 200
DeleteRecorderIDOKCode is the HTTP code returned for type DeleteRecorderIDOK
const GetRecorderIDNotFoundCode int = 404
GetRecorderIDNotFoundCode is the HTTP code returned for type GetRecorderIDNotFound
const GetRecorderIDOKCode int = 200
GetRecorderIDOKCode is the HTTP code returned for type GetRecorderIDOK
const GetRecorderMasksOKCode int = 200
GetRecorderMasksOKCode is the HTTP code returned for type GetRecorderMasksOK
const GetRecorderOKCode int = 200
GetRecorderOKCode is the HTTP code returned for type GetRecorderOK
const PutRecorderIDCreatedCode int = 201
PutRecorderIDCreatedCode is the HTTP code returned for type PutRecorderIDCreated
const PutRecorderIDFailureCode int = 500
PutRecorderIDFailureCode is the HTTP code returned for type PutRecorderIDFailure
const PutRecorderIDOKCode int = 200
PutRecorderIDOKCode is the HTTP code returned for type PutRecorderIDOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteRecorderID ¶
type DeleteRecorderID struct { Context *middleware.Context Handler DeleteRecorderIDHandler }
DeleteRecorderID swagger:route DELETE /recorder/{id} recorder deleteRecorderId
Delete a recorder
func NewDeleteRecorderID ¶
func NewDeleteRecorderID(ctx *middleware.Context, handler DeleteRecorderIDHandler) *DeleteRecorderID
NewDeleteRecorderID creates a new http.Handler for the delete recorder ID operation
func (*DeleteRecorderID) ServeHTTP ¶
func (o *DeleteRecorderID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteRecorderIDFailure ¶
DeleteRecorderIDFailure Recorder deletion failed
swagger:response deleteRecorderIdFailure
func NewDeleteRecorderIDFailure ¶
func NewDeleteRecorderIDFailure() *DeleteRecorderIDFailure
NewDeleteRecorderIDFailure creates DeleteRecorderIDFailure with default headers values
func (*DeleteRecorderIDFailure) SetPayload ¶
func (o *DeleteRecorderIDFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the delete recorder Id failure response
func (*DeleteRecorderIDFailure) WithPayload ¶
func (o *DeleteRecorderIDFailure) WithPayload(payload models.Error) *DeleteRecorderIDFailure
WithPayload adds the payload to the delete recorder Id failure response
func (*DeleteRecorderIDFailure) WriteResponse ¶
func (o *DeleteRecorderIDFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRecorderIDHandler ¶
type DeleteRecorderIDHandler interface {
Handle(DeleteRecorderIDParams) middleware.Responder
}
DeleteRecorderIDHandler interface for that can handle valid delete recorder ID params
type DeleteRecorderIDHandlerFunc ¶
type DeleteRecorderIDHandlerFunc func(DeleteRecorderIDParams) middleware.Responder
DeleteRecorderIDHandlerFunc turns a function with the right signature into a delete recorder ID handler
func (DeleteRecorderIDHandlerFunc) Handle ¶
func (fn DeleteRecorderIDHandlerFunc) Handle(params DeleteRecorderIDParams) middleware.Responder
Handle executing the request and returning a response
type DeleteRecorderIDNotFound ¶
type DeleteRecorderIDNotFound struct { }
DeleteRecorderIDNotFound Recorder not found
swagger:response deleteRecorderIdNotFound
func NewDeleteRecorderIDNotFound ¶
func NewDeleteRecorderIDNotFound() *DeleteRecorderIDNotFound
NewDeleteRecorderIDNotFound creates DeleteRecorderIDNotFound with default headers values
func (*DeleteRecorderIDNotFound) WriteResponse ¶
func (o *DeleteRecorderIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRecorderIDOK ¶
type DeleteRecorderIDOK struct { }
DeleteRecorderIDOK Success
swagger:response deleteRecorderIdOK
func NewDeleteRecorderIDOK ¶
func NewDeleteRecorderIDOK() *DeleteRecorderIDOK
NewDeleteRecorderIDOK creates DeleteRecorderIDOK with default headers values
func (*DeleteRecorderIDOK) WriteResponse ¶
func (o *DeleteRecorderIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRecorderIDParams ¶
type DeleteRecorderIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of recorder Required: true In: path */ ID int64 }
DeleteRecorderIDParams contains all the bound params for the delete recorder ID operation typically these are obtained from a http.Request
swagger:parameters DeleteRecorderID
func NewDeleteRecorderIDParams ¶
func NewDeleteRecorderIDParams() DeleteRecorderIDParams
NewDeleteRecorderIDParams creates a new DeleteRecorderIDParams object no default values defined in spec.
func (*DeleteRecorderIDParams) BindRequest ¶
func (o *DeleteRecorderIDParams) 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 NewDeleteRecorderIDParams() beforehand.
type GetRecorder ¶
type GetRecorder struct { Context *middleware.Context Handler GetRecorderHandler }
GetRecorder swagger:route GET /recorder recorder getRecorder
Retrieve list of all recorders
func NewGetRecorder ¶
func NewGetRecorder(ctx *middleware.Context, handler GetRecorderHandler) *GetRecorder
NewGetRecorder creates a new http.Handler for the get recorder operation
func (*GetRecorder) ServeHTTP ¶
func (o *GetRecorder) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRecorderHandler ¶
type GetRecorderHandler interface {
Handle(GetRecorderParams) middleware.Responder
}
GetRecorderHandler interface for that can handle valid get recorder params
type GetRecorderHandlerFunc ¶
type GetRecorderHandlerFunc func(GetRecorderParams) middleware.Responder
GetRecorderHandlerFunc turns a function with the right signature into a get recorder handler
func (GetRecorderHandlerFunc) Handle ¶
func (fn GetRecorderHandlerFunc) Handle(params GetRecorderParams) middleware.Responder
Handle executing the request and returning a response
type GetRecorderID ¶
type GetRecorderID struct { Context *middleware.Context Handler GetRecorderIDHandler }
GetRecorderID swagger:route GET /recorder/{id} recorder getRecorderId
Retrieve configuration of a recorder
func NewGetRecorderID ¶
func NewGetRecorderID(ctx *middleware.Context, handler GetRecorderIDHandler) *GetRecorderID
NewGetRecorderID creates a new http.Handler for the get recorder ID operation
func (*GetRecorderID) ServeHTTP ¶
func (o *GetRecorderID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRecorderIDHandler ¶
type GetRecorderIDHandler interface {
Handle(GetRecorderIDParams) middleware.Responder
}
GetRecorderIDHandler interface for that can handle valid get recorder ID params
type GetRecorderIDHandlerFunc ¶
type GetRecorderIDHandlerFunc func(GetRecorderIDParams) middleware.Responder
GetRecorderIDHandlerFunc turns a function with the right signature into a get recorder ID handler
func (GetRecorderIDHandlerFunc) Handle ¶
func (fn GetRecorderIDHandlerFunc) Handle(params GetRecorderIDParams) middleware.Responder
Handle executing the request and returning a response
type GetRecorderIDNotFound ¶
type GetRecorderIDNotFound struct { }
GetRecorderIDNotFound Recorder not found
swagger:response getRecorderIdNotFound
func NewGetRecorderIDNotFound ¶
func NewGetRecorderIDNotFound() *GetRecorderIDNotFound
NewGetRecorderIDNotFound creates GetRecorderIDNotFound with default headers values
func (*GetRecorderIDNotFound) WriteResponse ¶
func (o *GetRecorderIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRecorderIDOK ¶
GetRecorderIDOK Success
swagger:response getRecorderIdOK
func NewGetRecorderIDOK ¶
func NewGetRecorderIDOK() *GetRecorderIDOK
NewGetRecorderIDOK creates GetRecorderIDOK with default headers values
func (*GetRecorderIDOK) SetPayload ¶
func (o *GetRecorderIDOK) SetPayload(payload *models.Recorder)
SetPayload sets the payload to the get recorder Id o k response
func (*GetRecorderIDOK) WithPayload ¶
func (o *GetRecorderIDOK) WithPayload(payload *models.Recorder) *GetRecorderIDOK
WithPayload adds the payload to the get recorder Id o k response
func (*GetRecorderIDOK) WriteResponse ¶
func (o *GetRecorderIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRecorderIDParams ¶
type GetRecorderIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of recorder Required: true In: path */ ID int64 }
GetRecorderIDParams contains all the bound params for the get recorder ID operation typically these are obtained from a http.Request
swagger:parameters GetRecorderID
func NewGetRecorderIDParams ¶
func NewGetRecorderIDParams() GetRecorderIDParams
NewGetRecorderIDParams creates a new GetRecorderIDParams object no default values defined in spec.
func (*GetRecorderIDParams) BindRequest ¶
func (o *GetRecorderIDParams) 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 NewGetRecorderIDParams() beforehand.
type GetRecorderMasks ¶
type GetRecorderMasks struct { Context *middleware.Context Handler GetRecorderMasksHandler }
GetRecorderMasks swagger:route GET /recorder/masks recorder getRecorderMasks
Retrieve list of all recorder masks
func NewGetRecorderMasks ¶
func NewGetRecorderMasks(ctx *middleware.Context, handler GetRecorderMasksHandler) *GetRecorderMasks
NewGetRecorderMasks creates a new http.Handler for the get recorder masks operation
func (*GetRecorderMasks) ServeHTTP ¶
func (o *GetRecorderMasks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRecorderMasksHandler ¶
type GetRecorderMasksHandler interface {
Handle(GetRecorderMasksParams) middleware.Responder
}
GetRecorderMasksHandler interface for that can handle valid get recorder masks params
type GetRecorderMasksHandlerFunc ¶
type GetRecorderMasksHandlerFunc func(GetRecorderMasksParams) middleware.Responder
GetRecorderMasksHandlerFunc turns a function with the right signature into a get recorder masks handler
func (GetRecorderMasksHandlerFunc) Handle ¶
func (fn GetRecorderMasksHandlerFunc) Handle(params GetRecorderMasksParams) middleware.Responder
Handle executing the request and returning a response
type GetRecorderMasksOK ¶
type GetRecorderMasksOK struct { /* In: Body */ Payload []*models.RecorderMask `json:"body,omitempty"` }
GetRecorderMasksOK Success
swagger:response getRecorderMasksOK
func NewGetRecorderMasksOK ¶
func NewGetRecorderMasksOK() *GetRecorderMasksOK
NewGetRecorderMasksOK creates GetRecorderMasksOK with default headers values
func (*GetRecorderMasksOK) SetPayload ¶
func (o *GetRecorderMasksOK) SetPayload(payload []*models.RecorderMask)
SetPayload sets the payload to the get recorder masks o k response
func (*GetRecorderMasksOK) WithPayload ¶
func (o *GetRecorderMasksOK) WithPayload(payload []*models.RecorderMask) *GetRecorderMasksOK
WithPayload adds the payload to the get recorder masks o k response
func (*GetRecorderMasksOK) WriteResponse ¶
func (o *GetRecorderMasksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRecorderMasksParams ¶
GetRecorderMasksParams contains all the bound params for the get recorder masks operation typically these are obtained from a http.Request
swagger:parameters GetRecorderMasks
func NewGetRecorderMasksParams ¶
func NewGetRecorderMasksParams() GetRecorderMasksParams
NewGetRecorderMasksParams creates a new GetRecorderMasksParams object no default values defined in spec.
func (*GetRecorderMasksParams) BindRequest ¶
func (o *GetRecorderMasksParams) 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 NewGetRecorderMasksParams() beforehand.
type GetRecorderOK ¶
GetRecorderOK Success
swagger:response getRecorderOK
func NewGetRecorderOK ¶
func NewGetRecorderOK() *GetRecorderOK
NewGetRecorderOK creates GetRecorderOK with default headers values
func (*GetRecorderOK) SetPayload ¶
func (o *GetRecorderOK) SetPayload(payload []*models.Recorder)
SetPayload sets the payload to the get recorder o k response
func (*GetRecorderOK) WithPayload ¶
func (o *GetRecorderOK) WithPayload(payload []*models.Recorder) *GetRecorderOK
WithPayload adds the payload to the get recorder o k response
func (*GetRecorderOK) WriteResponse ¶
func (o *GetRecorderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRecorderParams ¶
GetRecorderParams contains all the bound params for the get recorder operation typically these are obtained from a http.Request
swagger:parameters GetRecorder
func NewGetRecorderParams ¶
func NewGetRecorderParams() GetRecorderParams
NewGetRecorderParams creates a new GetRecorderParams object no default values defined in spec.
func (*GetRecorderParams) BindRequest ¶
func (o *GetRecorderParams) 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 NewGetRecorderParams() beforehand.
type PutRecorderID ¶
type PutRecorderID struct { Context *middleware.Context Handler PutRecorderIDHandler }
PutRecorderID swagger:route PUT /recorder/{id} recorder putRecorderId
Create or update recorder
func NewPutRecorderID ¶
func NewPutRecorderID(ctx *middleware.Context, handler PutRecorderIDHandler) *PutRecorderID
NewPutRecorderID creates a new http.Handler for the put recorder ID operation
func (*PutRecorderID) ServeHTTP ¶
func (o *PutRecorderID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutRecorderIDCreated ¶
type PutRecorderIDCreated struct { }
PutRecorderIDCreated Created
swagger:response putRecorderIdCreated
func NewPutRecorderIDCreated ¶
func NewPutRecorderIDCreated() *PutRecorderIDCreated
NewPutRecorderIDCreated creates PutRecorderIDCreated with default headers values
func (*PutRecorderIDCreated) WriteResponse ¶
func (o *PutRecorderIDCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRecorderIDFailure ¶
PutRecorderIDFailure Error while creating recorder
swagger:response putRecorderIdFailure
func NewPutRecorderIDFailure ¶
func NewPutRecorderIDFailure() *PutRecorderIDFailure
NewPutRecorderIDFailure creates PutRecorderIDFailure with default headers values
func (*PutRecorderIDFailure) SetPayload ¶
func (o *PutRecorderIDFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the put recorder Id failure response
func (*PutRecorderIDFailure) WithPayload ¶
func (o *PutRecorderIDFailure) WithPayload(payload models.Error) *PutRecorderIDFailure
WithPayload adds the payload to the put recorder Id failure response
func (*PutRecorderIDFailure) WriteResponse ¶
func (o *PutRecorderIDFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRecorderIDHandler ¶
type PutRecorderIDHandler interface {
Handle(PutRecorderIDParams) middleware.Responder
}
PutRecorderIDHandler interface for that can handle valid put recorder ID params
type PutRecorderIDHandlerFunc ¶
type PutRecorderIDHandlerFunc func(PutRecorderIDParams) middleware.Responder
PutRecorderIDHandlerFunc turns a function with the right signature into a put recorder ID handler
func (PutRecorderIDHandlerFunc) Handle ¶
func (fn PutRecorderIDHandlerFunc) Handle(params PutRecorderIDParams) middleware.Responder
Handle executing the request and returning a response
type PutRecorderIDOK ¶
type PutRecorderIDOK struct { }
PutRecorderIDOK Updated
swagger:response putRecorderIdOK
func NewPutRecorderIDOK ¶
func NewPutRecorderIDOK() *PutRecorderIDOK
NewPutRecorderIDOK creates PutRecorderIDOK with default headers values
func (*PutRecorderIDOK) WriteResponse ¶
func (o *PutRecorderIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRecorderIDParams ¶
type PutRecorderIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Recorder configuration Required: true In: body */ Config *models.RecorderSpec /*ID of recorder Required: true In: path */ ID int64 }
PutRecorderIDParams contains all the bound params for the put recorder ID operation typically these are obtained from a http.Request
swagger:parameters PutRecorderID
func NewPutRecorderIDParams ¶
func NewPutRecorderIDParams() PutRecorderIDParams
NewPutRecorderIDParams creates a new PutRecorderIDParams object no default values defined in spec.
func (*PutRecorderIDParams) BindRequest ¶
func (o *PutRecorderIDParams) 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 NewPutRecorderIDParams() beforehand.
Source Files ¶
- delete_recorder_id.go
- delete_recorder_id_parameters.go
- delete_recorder_id_responses.go
- get_recorder.go
- get_recorder_id.go
- get_recorder_id_parameters.go
- get_recorder_id_responses.go
- get_recorder_masks.go
- get_recorder_masks_parameters.go
- get_recorder_masks_responses.go
- get_recorder_parameters.go
- get_recorder_responses.go
- put_recorder_id.go
- put_recorder_id_parameters.go
- put_recorder_id_responses.go