recorder

package
v1.12.11 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for recorder API

func (*Client) DeleteRecorderID

func (a *Client) DeleteRecorderID(params *DeleteRecorderIDParams) (*DeleteRecorderIDOK, error)

DeleteRecorderID deletes a recorder

func (*Client) GetRecorder

func (a *Client) GetRecorder(params *GetRecorderParams) (*GetRecorderOK, error)

GetRecorder retrieves list of all recorders

func (*Client) GetRecorderID

func (a *Client) GetRecorderID(params *GetRecorderIDParams) (*GetRecorderIDOK, error)

GetRecorderID retrieves configuration of a recorder

func (*Client) GetRecorderMasks

func (a *Client) GetRecorderMasks(params *GetRecorderMasksParams) (*GetRecorderMasksOK, error)

GetRecorderMasks retrieves list of all recorder masks

func (*Client) PutRecorderID

func (a *Client) PutRecorderID(params *PutRecorderIDParams) (*PutRecorderIDOK, *PutRecorderIDCreated, error)

PutRecorderID creates or update recorder

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteRecorderID(params *DeleteRecorderIDParams) (*DeleteRecorderIDOK, error)

	GetRecorder(params *GetRecorderParams) (*GetRecorderOK, error)

	GetRecorderID(params *GetRecorderIDParams) (*GetRecorderIDOK, error)

	GetRecorderMasks(params *GetRecorderMasksParams) (*GetRecorderMasksOK, error)

	PutRecorderID(params *PutRecorderIDParams) (*PutRecorderIDOK, *PutRecorderIDCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new recorder API client.

type DeleteRecorderIDFailure

type DeleteRecorderIDFailure struct {
	Payload models.Error
}

DeleteRecorderIDFailure handles this case with default header values.

Recorder deletion failed

func NewDeleteRecorderIDFailure

func NewDeleteRecorderIDFailure() *DeleteRecorderIDFailure

NewDeleteRecorderIDFailure creates a DeleteRecorderIDFailure with default headers values

func (*DeleteRecorderIDFailure) Error

func (o *DeleteRecorderIDFailure) Error() string

func (*DeleteRecorderIDFailure) GetPayload

func (o *DeleteRecorderIDFailure) GetPayload() models.Error

type DeleteRecorderIDNotFound

type DeleteRecorderIDNotFound struct {
}

DeleteRecorderIDNotFound handles this case with default header values.

Recorder not found

func NewDeleteRecorderIDNotFound

func NewDeleteRecorderIDNotFound() *DeleteRecorderIDNotFound

NewDeleteRecorderIDNotFound creates a DeleteRecorderIDNotFound with default headers values

func (*DeleteRecorderIDNotFound) Error

func (o *DeleteRecorderIDNotFound) Error() string

type DeleteRecorderIDOK

type DeleteRecorderIDOK struct {
}

DeleteRecorderIDOK handles this case with default header values.

Success

func NewDeleteRecorderIDOK

func NewDeleteRecorderIDOK() *DeleteRecorderIDOK

NewDeleteRecorderIDOK creates a DeleteRecorderIDOK with default headers values

func (*DeleteRecorderIDOK) Error

func (o *DeleteRecorderIDOK) Error() string

type DeleteRecorderIDParams

type DeleteRecorderIDParams struct {

	/*ID
	  ID of recorder

	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteRecorderIDParams contains all the parameters to send to the API endpoint for the delete recorder ID operation typically these are written to a http.Request

func NewDeleteRecorderIDParams

func NewDeleteRecorderIDParams() *DeleteRecorderIDParams

NewDeleteRecorderIDParams creates a new DeleteRecorderIDParams object with the default values initialized.

func NewDeleteRecorderIDParamsWithContext

func NewDeleteRecorderIDParamsWithContext(ctx context.Context) *DeleteRecorderIDParams

NewDeleteRecorderIDParamsWithContext creates a new DeleteRecorderIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRecorderIDParamsWithHTTPClient

func NewDeleteRecorderIDParamsWithHTTPClient(client *http.Client) *DeleteRecorderIDParams

NewDeleteRecorderIDParamsWithHTTPClient creates a new DeleteRecorderIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRecorderIDParamsWithTimeout

func NewDeleteRecorderIDParamsWithTimeout(timeout time.Duration) *DeleteRecorderIDParams

NewDeleteRecorderIDParamsWithTimeout creates a new DeleteRecorderIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRecorderIDParams) SetContext

func (o *DeleteRecorderIDParams) SetContext(ctx context.Context)

SetContext adds the context to the delete recorder ID params

func (*DeleteRecorderIDParams) SetHTTPClient

func (o *DeleteRecorderIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete recorder ID params

func (*DeleteRecorderIDParams) SetID

func (o *DeleteRecorderIDParams) SetID(id int64)

SetID adds the id to the delete recorder ID params

func (*DeleteRecorderIDParams) SetTimeout

func (o *DeleteRecorderIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete recorder ID params

func (*DeleteRecorderIDParams) WithContext

WithContext adds the context to the delete recorder ID params

func (*DeleteRecorderIDParams) WithHTTPClient

func (o *DeleteRecorderIDParams) WithHTTPClient(client *http.Client) *DeleteRecorderIDParams

WithHTTPClient adds the HTTPClient to the delete recorder ID params

func (*DeleteRecorderIDParams) WithID

WithID adds the id to the delete recorder ID params

func (*DeleteRecorderIDParams) WithTimeout

WithTimeout adds the timeout to the delete recorder ID params

func (*DeleteRecorderIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRecorderIDReader

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

DeleteRecorderIDReader is a Reader for the DeleteRecorderID structure.

func (*DeleteRecorderIDReader) ReadResponse

func (o *DeleteRecorderIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRecorderIDNotFound

type GetRecorderIDNotFound struct {
}

GetRecorderIDNotFound handles this case with default header values.

Recorder not found

func NewGetRecorderIDNotFound

func NewGetRecorderIDNotFound() *GetRecorderIDNotFound

NewGetRecorderIDNotFound creates a GetRecorderIDNotFound with default headers values

func (*GetRecorderIDNotFound) Error

func (o *GetRecorderIDNotFound) Error() string

type GetRecorderIDOK

type GetRecorderIDOK struct {
	Payload *models.Recorder
}

GetRecorderIDOK handles this case with default header values.

Success

func NewGetRecorderIDOK

func NewGetRecorderIDOK() *GetRecorderIDOK

NewGetRecorderIDOK creates a GetRecorderIDOK with default headers values

func (*GetRecorderIDOK) Error

func (o *GetRecorderIDOK) Error() string

func (*GetRecorderIDOK) GetPayload

func (o *GetRecorderIDOK) GetPayload() *models.Recorder

type GetRecorderIDParams

type GetRecorderIDParams struct {

	/*ID
	  ID of recorder

	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRecorderIDParams contains all the parameters to send to the API endpoint for the get recorder ID operation typically these are written to a http.Request

func NewGetRecorderIDParams

func NewGetRecorderIDParams() *GetRecorderIDParams

NewGetRecorderIDParams creates a new GetRecorderIDParams object with the default values initialized.

func NewGetRecorderIDParamsWithContext

func NewGetRecorderIDParamsWithContext(ctx context.Context) *GetRecorderIDParams

NewGetRecorderIDParamsWithContext creates a new GetRecorderIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetRecorderIDParamsWithHTTPClient

func NewGetRecorderIDParamsWithHTTPClient(client *http.Client) *GetRecorderIDParams

NewGetRecorderIDParamsWithHTTPClient creates a new GetRecorderIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRecorderIDParamsWithTimeout

func NewGetRecorderIDParamsWithTimeout(timeout time.Duration) *GetRecorderIDParams

NewGetRecorderIDParamsWithTimeout creates a new GetRecorderIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRecorderIDParams) SetContext

func (o *GetRecorderIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get recorder ID params

func (*GetRecorderIDParams) SetHTTPClient

func (o *GetRecorderIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get recorder ID params

func (*GetRecorderIDParams) SetID

func (o *GetRecorderIDParams) SetID(id int64)

SetID adds the id to the get recorder ID params

func (*GetRecorderIDParams) SetTimeout

func (o *GetRecorderIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get recorder ID params

func (*GetRecorderIDParams) WithContext

WithContext adds the context to the get recorder ID params

func (*GetRecorderIDParams) WithHTTPClient

func (o *GetRecorderIDParams) WithHTTPClient(client *http.Client) *GetRecorderIDParams

WithHTTPClient adds the HTTPClient to the get recorder ID params

func (*GetRecorderIDParams) WithID

WithID adds the id to the get recorder ID params

func (*GetRecorderIDParams) WithTimeout

func (o *GetRecorderIDParams) WithTimeout(timeout time.Duration) *GetRecorderIDParams

WithTimeout adds the timeout to the get recorder ID params

func (*GetRecorderIDParams) WriteToRequest

func (o *GetRecorderIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRecorderIDReader

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

GetRecorderIDReader is a Reader for the GetRecorderID structure.

func (*GetRecorderIDReader) ReadResponse

func (o *GetRecorderIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRecorderMasksOK

type GetRecorderMasksOK struct {
	Payload []*models.RecorderMask
}

GetRecorderMasksOK handles this case with default header values.

Success

func NewGetRecorderMasksOK

func NewGetRecorderMasksOK() *GetRecorderMasksOK

NewGetRecorderMasksOK creates a GetRecorderMasksOK with default headers values

func (*GetRecorderMasksOK) Error

func (o *GetRecorderMasksOK) Error() string

func (*GetRecorderMasksOK) GetPayload

func (o *GetRecorderMasksOK) GetPayload() []*models.RecorderMask

type GetRecorderMasksParams

type GetRecorderMasksParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRecorderMasksParams contains all the parameters to send to the API endpoint for the get recorder masks operation typically these are written to a http.Request

func NewGetRecorderMasksParams

func NewGetRecorderMasksParams() *GetRecorderMasksParams

NewGetRecorderMasksParams creates a new GetRecorderMasksParams object with the default values initialized.

func NewGetRecorderMasksParamsWithContext

func NewGetRecorderMasksParamsWithContext(ctx context.Context) *GetRecorderMasksParams

NewGetRecorderMasksParamsWithContext creates a new GetRecorderMasksParams object with the default values initialized, and the ability to set a context for a request

func NewGetRecorderMasksParamsWithHTTPClient

func NewGetRecorderMasksParamsWithHTTPClient(client *http.Client) *GetRecorderMasksParams

NewGetRecorderMasksParamsWithHTTPClient creates a new GetRecorderMasksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRecorderMasksParamsWithTimeout

func NewGetRecorderMasksParamsWithTimeout(timeout time.Duration) *GetRecorderMasksParams

NewGetRecorderMasksParamsWithTimeout creates a new GetRecorderMasksParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRecorderMasksParams) SetContext

func (o *GetRecorderMasksParams) SetContext(ctx context.Context)

SetContext adds the context to the get recorder masks params

func (*GetRecorderMasksParams) SetHTTPClient

func (o *GetRecorderMasksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get recorder masks params

func (*GetRecorderMasksParams) SetTimeout

func (o *GetRecorderMasksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get recorder masks params

func (*GetRecorderMasksParams) WithContext

WithContext adds the context to the get recorder masks params

func (*GetRecorderMasksParams) WithHTTPClient

func (o *GetRecorderMasksParams) WithHTTPClient(client *http.Client) *GetRecorderMasksParams

WithHTTPClient adds the HTTPClient to the get recorder masks params

func (*GetRecorderMasksParams) WithTimeout

WithTimeout adds the timeout to the get recorder masks params

func (*GetRecorderMasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRecorderMasksReader

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

GetRecorderMasksReader is a Reader for the GetRecorderMasks structure.

func (*GetRecorderMasksReader) ReadResponse

func (o *GetRecorderMasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRecorderOK

type GetRecorderOK struct {
	Payload []*models.Recorder
}

GetRecorderOK handles this case with default header values.

Success

func NewGetRecorderOK

func NewGetRecorderOK() *GetRecorderOK

NewGetRecorderOK creates a GetRecorderOK with default headers values

func (*GetRecorderOK) Error

func (o *GetRecorderOK) Error() string

func (*GetRecorderOK) GetPayload

func (o *GetRecorderOK) GetPayload() []*models.Recorder

type GetRecorderParams

type GetRecorderParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRecorderParams contains all the parameters to send to the API endpoint for the get recorder operation typically these are written to a http.Request

func NewGetRecorderParams

func NewGetRecorderParams() *GetRecorderParams

NewGetRecorderParams creates a new GetRecorderParams object with the default values initialized.

func NewGetRecorderParamsWithContext

func NewGetRecorderParamsWithContext(ctx context.Context) *GetRecorderParams

NewGetRecorderParamsWithContext creates a new GetRecorderParams object with the default values initialized, and the ability to set a context for a request

func NewGetRecorderParamsWithHTTPClient

func NewGetRecorderParamsWithHTTPClient(client *http.Client) *GetRecorderParams

NewGetRecorderParamsWithHTTPClient creates a new GetRecorderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRecorderParamsWithTimeout

func NewGetRecorderParamsWithTimeout(timeout time.Duration) *GetRecorderParams

NewGetRecorderParamsWithTimeout creates a new GetRecorderParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRecorderParams) SetContext

func (o *GetRecorderParams) SetContext(ctx context.Context)

SetContext adds the context to the get recorder params

func (*GetRecorderParams) SetHTTPClient

func (o *GetRecorderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get recorder params

func (*GetRecorderParams) SetTimeout

func (o *GetRecorderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get recorder params

func (*GetRecorderParams) WithContext

func (o *GetRecorderParams) WithContext(ctx context.Context) *GetRecorderParams

WithContext adds the context to the get recorder params

func (*GetRecorderParams) WithHTTPClient

func (o *GetRecorderParams) WithHTTPClient(client *http.Client) *GetRecorderParams

WithHTTPClient adds the HTTPClient to the get recorder params

func (*GetRecorderParams) WithTimeout

func (o *GetRecorderParams) WithTimeout(timeout time.Duration) *GetRecorderParams

WithTimeout adds the timeout to the get recorder params

func (*GetRecorderParams) WriteToRequest

func (o *GetRecorderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRecorderReader

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

GetRecorderReader is a Reader for the GetRecorder structure.

func (*GetRecorderReader) ReadResponse

func (o *GetRecorderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutRecorderIDCreated

type PutRecorderIDCreated struct {
}

PutRecorderIDCreated handles this case with default header values.

Created

func NewPutRecorderIDCreated

func NewPutRecorderIDCreated() *PutRecorderIDCreated

NewPutRecorderIDCreated creates a PutRecorderIDCreated with default headers values

func (*PutRecorderIDCreated) Error

func (o *PutRecorderIDCreated) Error() string

type PutRecorderIDFailure

type PutRecorderIDFailure struct {
	Payload models.Error
}

PutRecorderIDFailure handles this case with default header values.

Error while creating recorder

func NewPutRecorderIDFailure

func NewPutRecorderIDFailure() *PutRecorderIDFailure

NewPutRecorderIDFailure creates a PutRecorderIDFailure with default headers values

func (*PutRecorderIDFailure) Error

func (o *PutRecorderIDFailure) Error() string

func (*PutRecorderIDFailure) GetPayload

func (o *PutRecorderIDFailure) GetPayload() models.Error

type PutRecorderIDOK

type PutRecorderIDOK struct {
}

PutRecorderIDOK handles this case with default header values.

Updated

func NewPutRecorderIDOK

func NewPutRecorderIDOK() *PutRecorderIDOK

NewPutRecorderIDOK creates a PutRecorderIDOK with default headers values

func (*PutRecorderIDOK) Error

func (o *PutRecorderIDOK) Error() string

type PutRecorderIDParams

type PutRecorderIDParams struct {

	/*Config
	  Recorder configuration

	*/
	Config *models.RecorderSpec
	/*ID
	  ID of recorder

	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutRecorderIDParams contains all the parameters to send to the API endpoint for the put recorder ID operation typically these are written to a http.Request

func NewPutRecorderIDParams

func NewPutRecorderIDParams() *PutRecorderIDParams

NewPutRecorderIDParams creates a new PutRecorderIDParams object with the default values initialized.

func NewPutRecorderIDParamsWithContext

func NewPutRecorderIDParamsWithContext(ctx context.Context) *PutRecorderIDParams

NewPutRecorderIDParamsWithContext creates a new PutRecorderIDParams object with the default values initialized, and the ability to set a context for a request

func NewPutRecorderIDParamsWithHTTPClient

func NewPutRecorderIDParamsWithHTTPClient(client *http.Client) *PutRecorderIDParams

NewPutRecorderIDParamsWithHTTPClient creates a new PutRecorderIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutRecorderIDParamsWithTimeout

func NewPutRecorderIDParamsWithTimeout(timeout time.Duration) *PutRecorderIDParams

NewPutRecorderIDParamsWithTimeout creates a new PutRecorderIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutRecorderIDParams) SetConfig

func (o *PutRecorderIDParams) SetConfig(config *models.RecorderSpec)

SetConfig adds the config to the put recorder ID params

func (*PutRecorderIDParams) SetContext

func (o *PutRecorderIDParams) SetContext(ctx context.Context)

SetContext adds the context to the put recorder ID params

func (*PutRecorderIDParams) SetHTTPClient

func (o *PutRecorderIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put recorder ID params

func (*PutRecorderIDParams) SetID

func (o *PutRecorderIDParams) SetID(id int64)

SetID adds the id to the put recorder ID params

func (*PutRecorderIDParams) SetTimeout

func (o *PutRecorderIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put recorder ID params

func (*PutRecorderIDParams) WithConfig

WithConfig adds the config to the put recorder ID params

func (*PutRecorderIDParams) WithContext

WithContext adds the context to the put recorder ID params

func (*PutRecorderIDParams) WithHTTPClient

func (o *PutRecorderIDParams) WithHTTPClient(client *http.Client) *PutRecorderIDParams

WithHTTPClient adds the HTTPClient to the put recorder ID params

func (*PutRecorderIDParams) WithID

WithID adds the id to the put recorder ID params

func (*PutRecorderIDParams) WithTimeout

func (o *PutRecorderIDParams) WithTimeout(timeout time.Duration) *PutRecorderIDParams

WithTimeout adds the timeout to the put recorder ID params

func (*PutRecorderIDParams) WriteToRequest

func (o *PutRecorderIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutRecorderIDReader

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

PutRecorderIDReader is a Reader for the PutRecorderID structure.

func (*PutRecorderIDReader) ReadResponse

func (o *PutRecorderIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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