scan_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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 scan controller API

func (*Client) ReadScan

func (a *Client) ReadScan(params *ReadScanParams, authInfo runtime.ClientAuthInfoWriter) (*ReadScanOK, error)

ReadScan reads

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ReadScan(params *ReadScanParams, authInfo runtime.ClientAuthInfoWriter) (*ReadScanOK, 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 scan controller API client.

type ReadScanBadRequest

type ReadScanBadRequest struct {
	Payload *models.APIResult
}

ReadScanBadRequest handles this case with default header values.

Bad Request

func NewReadScanBadRequest

func NewReadScanBadRequest() *ReadScanBadRequest

NewReadScanBadRequest creates a ReadScanBadRequest with default headers values

func (*ReadScanBadRequest) Error

func (o *ReadScanBadRequest) Error() string

func (*ReadScanBadRequest) GetPayload

func (o *ReadScanBadRequest) GetPayload() *models.APIResult

type ReadScanConflict

type ReadScanConflict struct {
	Payload *models.APIResult
}

ReadScanConflict handles this case with default header values.

Conflict

func NewReadScanConflict

func NewReadScanConflict() *ReadScanConflict

NewReadScanConflict creates a ReadScanConflict with default headers values

func (*ReadScanConflict) Error

func (o *ReadScanConflict) Error() string

func (*ReadScanConflict) GetPayload

func (o *ReadScanConflict) GetPayload() *models.APIResult

type ReadScanForbidden

type ReadScanForbidden struct {
	Payload *models.APIResult
}

ReadScanForbidden handles this case with default header values.

Forbidden

func NewReadScanForbidden

func NewReadScanForbidden() *ReadScanForbidden

NewReadScanForbidden creates a ReadScanForbidden with default headers values

func (*ReadScanForbidden) Error

func (o *ReadScanForbidden) Error() string

func (*ReadScanForbidden) GetPayload

func (o *ReadScanForbidden) GetPayload() *models.APIResult

type ReadScanInternalServerError

type ReadScanInternalServerError struct {
	Payload *models.APIResult
}

ReadScanInternalServerError handles this case with default header values.

Internal Server Error

func NewReadScanInternalServerError

func NewReadScanInternalServerError() *ReadScanInternalServerError

NewReadScanInternalServerError creates a ReadScanInternalServerError with default headers values

func (*ReadScanInternalServerError) Error

func (*ReadScanInternalServerError) GetPayload

func (o *ReadScanInternalServerError) GetPayload() *models.APIResult

type ReadScanNotFound

type ReadScanNotFound struct {
	Payload *models.APIResult
}

ReadScanNotFound handles this case with default header values.

Not Found

func NewReadScanNotFound

func NewReadScanNotFound() *ReadScanNotFound

NewReadScanNotFound creates a ReadScanNotFound with default headers values

func (*ReadScanNotFound) Error

func (o *ReadScanNotFound) Error() string

func (*ReadScanNotFound) GetPayload

func (o *ReadScanNotFound) GetPayload() *models.APIResult

type ReadScanOK

type ReadScanOK struct {
	Payload *models.APIResultScan
}

ReadScanOK handles this case with default header values.

OK

func NewReadScanOK

func NewReadScanOK() *ReadScanOK

NewReadScanOK creates a ReadScanOK with default headers values

func (*ReadScanOK) Error

func (o *ReadScanOK) Error() string

func (*ReadScanOK) GetPayload

func (o *ReadScanOK) GetPayload() *models.APIResultScan

type ReadScanParams

type ReadScanParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*ID
	  id

	*/
	ID int64

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

ReadScanParams contains all the parameters to send to the API endpoint for the read scan operation typically these are written to a http.Request

func NewReadScanParams

func NewReadScanParams() *ReadScanParams

NewReadScanParams creates a new ReadScanParams object with the default values initialized.

func NewReadScanParamsWithContext

func NewReadScanParamsWithContext(ctx context.Context) *ReadScanParams

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

func NewReadScanParamsWithHTTPClient

func NewReadScanParamsWithHTTPClient(client *http.Client) *ReadScanParams

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

func NewReadScanParamsWithTimeout

func NewReadScanParamsWithTimeout(timeout time.Duration) *ReadScanParams

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

func (*ReadScanParams) SetContext

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

SetContext adds the context to the read scan params

func (*ReadScanParams) SetFields

func (o *ReadScanParams) SetFields(fields *string)

SetFields adds the fields to the read scan params

func (*ReadScanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read scan params

func (*ReadScanParams) SetID

func (o *ReadScanParams) SetID(id int64)

SetID adds the id to the read scan params

func (*ReadScanParams) SetTimeout

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

SetTimeout adds the timeout to the read scan params

func (*ReadScanParams) WithContext

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

WithContext adds the context to the read scan params

func (*ReadScanParams) WithFields

func (o *ReadScanParams) WithFields(fields *string) *ReadScanParams

WithFields adds the fields to the read scan params

func (*ReadScanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read scan params

func (*ReadScanParams) WithID

func (o *ReadScanParams) WithID(id int64) *ReadScanParams

WithID adds the id to the read scan params

func (*ReadScanParams) WithTimeout

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

WithTimeout adds the timeout to the read scan params

func (*ReadScanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadScanReader

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

ReadScanReader is a Reader for the ReadScan structure.

func (*ReadScanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadScanUnauthorized

type ReadScanUnauthorized struct {
	Payload *models.APIResult
}

ReadScanUnauthorized handles this case with default header values.

Unauthorized

func NewReadScanUnauthorized

func NewReadScanUnauthorized() *ReadScanUnauthorized

NewReadScanUnauthorized creates a ReadScanUnauthorized with default headers values

func (*ReadScanUnauthorized) Error

func (o *ReadScanUnauthorized) Error() string

func (*ReadScanUnauthorized) GetPayload

func (o *ReadScanUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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