recorder

package
v0.0.0-...-c34bea4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteRecorderIDFailureCode int = 500

DeleteRecorderIDFailureCode is the HTTP code returned for type DeleteRecorderIDFailure

View Source
const DeleteRecorderIDNotFoundCode int = 404

DeleteRecorderIDNotFoundCode is the HTTP code returned for type DeleteRecorderIDNotFound

View Source
const DeleteRecorderIDOKCode int = 200

DeleteRecorderIDOKCode is the HTTP code returned for type DeleteRecorderIDOK

View Source
const GetRecorderIDNotFoundCode int = 404

GetRecorderIDNotFoundCode is the HTTP code returned for type GetRecorderIDNotFound

View Source
const GetRecorderIDOKCode int = 200

GetRecorderIDOKCode is the HTTP code returned for type GetRecorderIDOK

View Source
const GetRecorderMasksOKCode int = 200

GetRecorderMasksOKCode is the HTTP code returned for type GetRecorderMasksOK

View Source
const GetRecorderOKCode int = 200

GetRecorderOKCode is the HTTP code returned for type GetRecorderOK

View Source
const PutRecorderIDCreatedCode int = 201

PutRecorderIDCreatedCode is the HTTP code returned for type PutRecorderIDCreated

View Source
const PutRecorderIDFailureCode int = 500

PutRecorderIDFailureCode is the HTTP code returned for type PutRecorderIDFailure

View Source
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

type DeleteRecorderIDFailure struct {

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

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

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

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

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

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

type GetRecorderIDOK struct {

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

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

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

type GetRecorderMasksParams struct {

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

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

type GetRecorderOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Recorder `json:"body,omitempty"`
}

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

type GetRecorderParams struct {

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

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

type PutRecorderIDFailure struct {

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

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

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.

Jump to

Keyboard shortcuts

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