datascanner

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT 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 datascanner API

func (*Client) GetDataScannerTasks

func (a *Client) GetDataScannerTasks(params *GetDataScannerTasksParams, opts ...ClientOption) (*GetDataScannerTasksOK, error)

GetDataScannerTasks - GetDataScannerTasks is a route for the data scanner to fetch pending tasks

func (*Client) GetImageRegistryCredentials

func (a *Client) GetImageRegistryCredentials(params *GetImageRegistryCredentialsParams, opts ...ClientOption) (*GetImageRegistryCredentialsOK, error)

GetImageRegistryCredentials - GetImageRegistryCredentials is a route that gets credentials in order to fetch the data scanner image.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDataScannerTasks

func (a *Client) UpdateDataScannerTasks(params *UpdateDataScannerTasksParams, opts ...ClientOption) (*UpdateDataScannerTasksOK, error)

UpdateDataScannerTasks - PatchDataScannerTasks is a route for the data scanner to report back on tasks statuses

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetDataScannerTasks(params *GetDataScannerTasksParams, opts ...ClientOption) (*GetDataScannerTasksOK, error)

	GetImageRegistryCredentials(params *GetImageRegistryCredentialsParams, opts ...ClientOption) (*GetImageRegistryCredentialsOK, error)

	UpdateDataScannerTasks(params *UpdateDataScannerTasksParams, opts ...ClientOption) (*UpdateDataScannerTasksOK, 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 datascanner API client.

type GetDataScannerTasksForbidden

type GetDataScannerTasksForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetDataScannerTasksForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDataScannerTasksForbidden

func NewGetDataScannerTasksForbidden() *GetDataScannerTasksForbidden

NewGetDataScannerTasksForbidden creates a GetDataScannerTasksForbidden with default headers values

func (*GetDataScannerTasksForbidden) Code

Code gets the status code for the get data scanner tasks forbidden response

func (*GetDataScannerTasksForbidden) Error

func (*GetDataScannerTasksForbidden) GetPayload

func (*GetDataScannerTasksForbidden) IsClientError

func (o *GetDataScannerTasksForbidden) IsClientError() bool

IsClientError returns true when this get data scanner tasks forbidden response has a 4xx status code

func (*GetDataScannerTasksForbidden) IsCode

func (o *GetDataScannerTasksForbidden) IsCode(code int) bool

IsCode returns true when this get data scanner tasks forbidden response a status code equal to that given

func (*GetDataScannerTasksForbidden) IsRedirect

func (o *GetDataScannerTasksForbidden) IsRedirect() bool

IsRedirect returns true when this get data scanner tasks forbidden response has a 3xx status code

func (*GetDataScannerTasksForbidden) IsServerError

func (o *GetDataScannerTasksForbidden) IsServerError() bool

IsServerError returns true when this get data scanner tasks forbidden response has a 5xx status code

func (*GetDataScannerTasksForbidden) IsSuccess

func (o *GetDataScannerTasksForbidden) IsSuccess() bool

IsSuccess returns true when this get data scanner tasks forbidden response has a 2xx status code

func (*GetDataScannerTasksForbidden) String

type GetDataScannerTasksOK

type GetDataScannerTasksOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload map[string]string
}

GetDataScannerTasksOK describes a response with status code 200, with default header values.

OK

func NewGetDataScannerTasksOK

func NewGetDataScannerTasksOK() *GetDataScannerTasksOK

NewGetDataScannerTasksOK creates a GetDataScannerTasksOK with default headers values

func (*GetDataScannerTasksOK) Code

func (o *GetDataScannerTasksOK) Code() int

Code gets the status code for the get data scanner tasks o k response

func (*GetDataScannerTasksOK) Error

func (o *GetDataScannerTasksOK) Error() string

func (*GetDataScannerTasksOK) GetPayload

func (o *GetDataScannerTasksOK) GetPayload() map[string]string

func (*GetDataScannerTasksOK) IsClientError

func (o *GetDataScannerTasksOK) IsClientError() bool

IsClientError returns true when this get data scanner tasks o k response has a 4xx status code

func (*GetDataScannerTasksOK) IsCode

func (o *GetDataScannerTasksOK) IsCode(code int) bool

IsCode returns true when this get data scanner tasks o k response a status code equal to that given

func (*GetDataScannerTasksOK) IsRedirect

func (o *GetDataScannerTasksOK) IsRedirect() bool

IsRedirect returns true when this get data scanner tasks o k response has a 3xx status code

func (*GetDataScannerTasksOK) IsServerError

func (o *GetDataScannerTasksOK) IsServerError() bool

IsServerError returns true when this get data scanner tasks o k response has a 5xx status code

func (*GetDataScannerTasksOK) IsSuccess

func (o *GetDataScannerTasksOK) IsSuccess() bool

IsSuccess returns true when this get data scanner tasks o k response has a 2xx status code

func (*GetDataScannerTasksOK) String

func (o *GetDataScannerTasksOK) String() string

type GetDataScannerTasksParams

type GetDataScannerTasksParams struct {

	/* XScannerID.

	   ID of the data scanner
	*/
	XScannerID string

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

GetDataScannerTasksParams contains all the parameters to send to the API endpoint

for the get data scanner tasks operation.

Typically these are written to a http.Request.

func NewGetDataScannerTasksParams

func NewGetDataScannerTasksParams() *GetDataScannerTasksParams

NewGetDataScannerTasksParams creates a new GetDataScannerTasksParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDataScannerTasksParamsWithContext

func NewGetDataScannerTasksParamsWithContext(ctx context.Context) *GetDataScannerTasksParams

NewGetDataScannerTasksParamsWithContext creates a new GetDataScannerTasksParams object with the ability to set a context for a request.

func NewGetDataScannerTasksParamsWithHTTPClient

func NewGetDataScannerTasksParamsWithHTTPClient(client *http.Client) *GetDataScannerTasksParams

NewGetDataScannerTasksParamsWithHTTPClient creates a new GetDataScannerTasksParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataScannerTasksParamsWithTimeout

func NewGetDataScannerTasksParamsWithTimeout(timeout time.Duration) *GetDataScannerTasksParams

NewGetDataScannerTasksParamsWithTimeout creates a new GetDataScannerTasksParams object with the ability to set a timeout on a request.

func (*GetDataScannerTasksParams) SetContext

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

SetContext adds the context to the get data scanner tasks params

func (*GetDataScannerTasksParams) SetDefaults

func (o *GetDataScannerTasksParams) SetDefaults()

SetDefaults hydrates default values in the get data scanner tasks params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataScannerTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data scanner tasks params

func (*GetDataScannerTasksParams) SetTimeout

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

SetTimeout adds the timeout to the get data scanner tasks params

func (*GetDataScannerTasksParams) SetXScannerID

func (o *GetDataScannerTasksParams) SetXScannerID(xScannerID string)

SetXScannerID adds the xScannerId to the get data scanner tasks params

func (*GetDataScannerTasksParams) WithContext

WithContext adds the context to the get data scanner tasks params

func (*GetDataScannerTasksParams) WithDefaults

WithDefaults hydrates default values in the get data scanner tasks params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataScannerTasksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data scanner tasks params

func (*GetDataScannerTasksParams) WithTimeout

WithTimeout adds the timeout to the get data scanner tasks params

func (*GetDataScannerTasksParams) WithXScannerID

func (o *GetDataScannerTasksParams) WithXScannerID(xScannerID string) *GetDataScannerTasksParams

WithXScannerID adds the xScannerID to the get data scanner tasks params

func (*GetDataScannerTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataScannerTasksReader

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

GetDataScannerTasksReader is a Reader for the GetDataScannerTasks structure.

func (*GetDataScannerTasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataScannerTasksTooManyRequests

type GetDataScannerTasksTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetDataScannerTasksTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetDataScannerTasksTooManyRequests

func NewGetDataScannerTasksTooManyRequests() *GetDataScannerTasksTooManyRequests

NewGetDataScannerTasksTooManyRequests creates a GetDataScannerTasksTooManyRequests with default headers values

func (*GetDataScannerTasksTooManyRequests) Code

Code gets the status code for the get data scanner tasks too many requests response

func (*GetDataScannerTasksTooManyRequests) Error

func (*GetDataScannerTasksTooManyRequests) GetPayload

func (*GetDataScannerTasksTooManyRequests) IsClientError

func (o *GetDataScannerTasksTooManyRequests) IsClientError() bool

IsClientError returns true when this get data scanner tasks too many requests response has a 4xx status code

func (*GetDataScannerTasksTooManyRequests) IsCode

IsCode returns true when this get data scanner tasks too many requests response a status code equal to that given

func (*GetDataScannerTasksTooManyRequests) IsRedirect

func (o *GetDataScannerTasksTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get data scanner tasks too many requests response has a 3xx status code

func (*GetDataScannerTasksTooManyRequests) IsServerError

func (o *GetDataScannerTasksTooManyRequests) IsServerError() bool

IsServerError returns true when this get data scanner tasks too many requests response has a 5xx status code

func (*GetDataScannerTasksTooManyRequests) IsSuccess

IsSuccess returns true when this get data scanner tasks too many requests response has a 2xx status code

func (*GetDataScannerTasksTooManyRequests) String

type GetImageRegistryCredentialsForbidden

type GetImageRegistryCredentialsForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetImageRegistryCredentialsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetImageRegistryCredentialsForbidden

func NewGetImageRegistryCredentialsForbidden() *GetImageRegistryCredentialsForbidden

NewGetImageRegistryCredentialsForbidden creates a GetImageRegistryCredentialsForbidden with default headers values

func (*GetImageRegistryCredentialsForbidden) Code

Code gets the status code for the get image registry credentials forbidden response

func (*GetImageRegistryCredentialsForbidden) Error

func (*GetImageRegistryCredentialsForbidden) GetPayload

func (*GetImageRegistryCredentialsForbidden) IsClientError

func (o *GetImageRegistryCredentialsForbidden) IsClientError() bool

IsClientError returns true when this get image registry credentials forbidden response has a 4xx status code

func (*GetImageRegistryCredentialsForbidden) IsCode

IsCode returns true when this get image registry credentials forbidden response a status code equal to that given

func (*GetImageRegistryCredentialsForbidden) IsRedirect

IsRedirect returns true when this get image registry credentials forbidden response has a 3xx status code

func (*GetImageRegistryCredentialsForbidden) IsServerError

func (o *GetImageRegistryCredentialsForbidden) IsServerError() bool

IsServerError returns true when this get image registry credentials forbidden response has a 5xx status code

func (*GetImageRegistryCredentialsForbidden) IsSuccess

IsSuccess returns true when this get image registry credentials forbidden response has a 2xx status code

func (*GetImageRegistryCredentialsForbidden) String

type GetImageRegistryCredentialsInternalServerError

type GetImageRegistryCredentialsInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload string
}

GetImageRegistryCredentialsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetImageRegistryCredentialsInternalServerError

func NewGetImageRegistryCredentialsInternalServerError() *GetImageRegistryCredentialsInternalServerError

NewGetImageRegistryCredentialsInternalServerError creates a GetImageRegistryCredentialsInternalServerError with default headers values

func (*GetImageRegistryCredentialsInternalServerError) Code

Code gets the status code for the get image registry credentials internal server error response

func (*GetImageRegistryCredentialsInternalServerError) Error

func (*GetImageRegistryCredentialsInternalServerError) GetPayload

func (*GetImageRegistryCredentialsInternalServerError) IsClientError

IsClientError returns true when this get image registry credentials internal server error response has a 4xx status code

func (*GetImageRegistryCredentialsInternalServerError) IsCode

IsCode returns true when this get image registry credentials internal server error response a status code equal to that given

func (*GetImageRegistryCredentialsInternalServerError) IsRedirect

IsRedirect returns true when this get image registry credentials internal server error response has a 3xx status code

func (*GetImageRegistryCredentialsInternalServerError) IsServerError

IsServerError returns true when this get image registry credentials internal server error response has a 5xx status code

func (*GetImageRegistryCredentialsInternalServerError) IsSuccess

IsSuccess returns true when this get image registry credentials internal server error response has a 2xx status code

func (*GetImageRegistryCredentialsInternalServerError) String

type GetImageRegistryCredentialsOK

type GetImageRegistryCredentialsOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload map[string]string
}

GetImageRegistryCredentialsOK describes a response with status code 200, with default header values.

OK

func NewGetImageRegistryCredentialsOK

func NewGetImageRegistryCredentialsOK() *GetImageRegistryCredentialsOK

NewGetImageRegistryCredentialsOK creates a GetImageRegistryCredentialsOK with default headers values

func (*GetImageRegistryCredentialsOK) Code

Code gets the status code for the get image registry credentials o k response

func (*GetImageRegistryCredentialsOK) Error

func (*GetImageRegistryCredentialsOK) GetPayload

func (o *GetImageRegistryCredentialsOK) GetPayload() map[string]string

func (*GetImageRegistryCredentialsOK) IsClientError

func (o *GetImageRegistryCredentialsOK) IsClientError() bool

IsClientError returns true when this get image registry credentials o k response has a 4xx status code

func (*GetImageRegistryCredentialsOK) IsCode

func (o *GetImageRegistryCredentialsOK) IsCode(code int) bool

IsCode returns true when this get image registry credentials o k response a status code equal to that given

func (*GetImageRegistryCredentialsOK) IsRedirect

func (o *GetImageRegistryCredentialsOK) IsRedirect() bool

IsRedirect returns true when this get image registry credentials o k response has a 3xx status code

func (*GetImageRegistryCredentialsOK) IsServerError

func (o *GetImageRegistryCredentialsOK) IsServerError() bool

IsServerError returns true when this get image registry credentials o k response has a 5xx status code

func (*GetImageRegistryCredentialsOK) IsSuccess

func (o *GetImageRegistryCredentialsOK) IsSuccess() bool

IsSuccess returns true when this get image registry credentials o k response has a 2xx status code

func (*GetImageRegistryCredentialsOK) String

type GetImageRegistryCredentialsParams

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

GetImageRegistryCredentialsParams contains all the parameters to send to the API endpoint

for the get image registry credentials operation.

Typically these are written to a http.Request.

func NewGetImageRegistryCredentialsParams

func NewGetImageRegistryCredentialsParams() *GetImageRegistryCredentialsParams

NewGetImageRegistryCredentialsParams creates a new GetImageRegistryCredentialsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetImageRegistryCredentialsParamsWithContext

func NewGetImageRegistryCredentialsParamsWithContext(ctx context.Context) *GetImageRegistryCredentialsParams

NewGetImageRegistryCredentialsParamsWithContext creates a new GetImageRegistryCredentialsParams object with the ability to set a context for a request.

func NewGetImageRegistryCredentialsParamsWithHTTPClient

func NewGetImageRegistryCredentialsParamsWithHTTPClient(client *http.Client) *GetImageRegistryCredentialsParams

NewGetImageRegistryCredentialsParamsWithHTTPClient creates a new GetImageRegistryCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewGetImageRegistryCredentialsParamsWithTimeout

func NewGetImageRegistryCredentialsParamsWithTimeout(timeout time.Duration) *GetImageRegistryCredentialsParams

NewGetImageRegistryCredentialsParamsWithTimeout creates a new GetImageRegistryCredentialsParams object with the ability to set a timeout on a request.

func (*GetImageRegistryCredentialsParams) SetContext

SetContext adds the context to the get image registry credentials params

func (*GetImageRegistryCredentialsParams) SetDefaults

func (o *GetImageRegistryCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the get image registry credentials params (not the query body).

All values with no default are reset to their zero value.

func (*GetImageRegistryCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get image registry credentials params

func (*GetImageRegistryCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the get image registry credentials params

func (*GetImageRegistryCredentialsParams) WithContext

WithContext adds the context to the get image registry credentials params

func (*GetImageRegistryCredentialsParams) WithDefaults

WithDefaults hydrates default values in the get image registry credentials params (not the query body).

All values with no default are reset to their zero value.

func (*GetImageRegistryCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get image registry credentials params

func (*GetImageRegistryCredentialsParams) WithTimeout

WithTimeout adds the timeout to the get image registry credentials params

func (*GetImageRegistryCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetImageRegistryCredentialsReader

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

GetImageRegistryCredentialsReader is a Reader for the GetImageRegistryCredentials structure.

func (*GetImageRegistryCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetImageRegistryCredentialsTooManyRequests

type GetImageRegistryCredentialsTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetImageRegistryCredentialsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetImageRegistryCredentialsTooManyRequests

func NewGetImageRegistryCredentialsTooManyRequests() *GetImageRegistryCredentialsTooManyRequests

NewGetImageRegistryCredentialsTooManyRequests creates a GetImageRegistryCredentialsTooManyRequests with default headers values

func (*GetImageRegistryCredentialsTooManyRequests) Code

Code gets the status code for the get image registry credentials too many requests response

func (*GetImageRegistryCredentialsTooManyRequests) Error

func (*GetImageRegistryCredentialsTooManyRequests) GetPayload

func (*GetImageRegistryCredentialsTooManyRequests) IsClientError

IsClientError returns true when this get image registry credentials too many requests response has a 4xx status code

func (*GetImageRegistryCredentialsTooManyRequests) IsCode

IsCode returns true when this get image registry credentials too many requests response a status code equal to that given

func (*GetImageRegistryCredentialsTooManyRequests) IsRedirect

IsRedirect returns true when this get image registry credentials too many requests response has a 3xx status code

func (*GetImageRegistryCredentialsTooManyRequests) IsServerError

IsServerError returns true when this get image registry credentials too many requests response has a 5xx status code

func (*GetImageRegistryCredentialsTooManyRequests) IsSuccess

IsSuccess returns true when this get image registry credentials too many requests response has a 2xx status code

func (*GetImageRegistryCredentialsTooManyRequests) String

type UpdateDataScannerTasksForbidden

type UpdateDataScannerTasksForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UpdateDataScannerTasksForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateDataScannerTasksForbidden

func NewUpdateDataScannerTasksForbidden() *UpdateDataScannerTasksForbidden

NewUpdateDataScannerTasksForbidden creates a UpdateDataScannerTasksForbidden with default headers values

func (*UpdateDataScannerTasksForbidden) Code

Code gets the status code for the update data scanner tasks forbidden response

func (*UpdateDataScannerTasksForbidden) Error

func (*UpdateDataScannerTasksForbidden) GetPayload

func (*UpdateDataScannerTasksForbidden) IsClientError

func (o *UpdateDataScannerTasksForbidden) IsClientError() bool

IsClientError returns true when this update data scanner tasks forbidden response has a 4xx status code

func (*UpdateDataScannerTasksForbidden) IsCode

func (o *UpdateDataScannerTasksForbidden) IsCode(code int) bool

IsCode returns true when this update data scanner tasks forbidden response a status code equal to that given

func (*UpdateDataScannerTasksForbidden) IsRedirect

func (o *UpdateDataScannerTasksForbidden) IsRedirect() bool

IsRedirect returns true when this update data scanner tasks forbidden response has a 3xx status code

func (*UpdateDataScannerTasksForbidden) IsServerError

func (o *UpdateDataScannerTasksForbidden) IsServerError() bool

IsServerError returns true when this update data scanner tasks forbidden response has a 5xx status code

func (*UpdateDataScannerTasksForbidden) IsSuccess

func (o *UpdateDataScannerTasksForbidden) IsSuccess() bool

IsSuccess returns true when this update data scanner tasks forbidden response has a 2xx status code

func (*UpdateDataScannerTasksForbidden) String

type UpdateDataScannerTasksOK

type UpdateDataScannerTasksOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload map[string]string
}

UpdateDataScannerTasksOK describes a response with status code 200, with default header values.

OK

func NewUpdateDataScannerTasksOK

func NewUpdateDataScannerTasksOK() *UpdateDataScannerTasksOK

NewUpdateDataScannerTasksOK creates a UpdateDataScannerTasksOK with default headers values

func (*UpdateDataScannerTasksOK) Code

func (o *UpdateDataScannerTasksOK) Code() int

Code gets the status code for the update data scanner tasks o k response

func (*UpdateDataScannerTasksOK) Error

func (o *UpdateDataScannerTasksOK) Error() string

func (*UpdateDataScannerTasksOK) GetPayload

func (o *UpdateDataScannerTasksOK) GetPayload() map[string]string

func (*UpdateDataScannerTasksOK) IsClientError

func (o *UpdateDataScannerTasksOK) IsClientError() bool

IsClientError returns true when this update data scanner tasks o k response has a 4xx status code

func (*UpdateDataScannerTasksOK) IsCode

func (o *UpdateDataScannerTasksOK) IsCode(code int) bool

IsCode returns true when this update data scanner tasks o k response a status code equal to that given

func (*UpdateDataScannerTasksOK) IsRedirect

func (o *UpdateDataScannerTasksOK) IsRedirect() bool

IsRedirect returns true when this update data scanner tasks o k response has a 3xx status code

func (*UpdateDataScannerTasksOK) IsServerError

func (o *UpdateDataScannerTasksOK) IsServerError() bool

IsServerError returns true when this update data scanner tasks o k response has a 5xx status code

func (*UpdateDataScannerTasksOK) IsSuccess

func (o *UpdateDataScannerTasksOK) IsSuccess() bool

IsSuccess returns true when this update data scanner tasks o k response has a 2xx status code

func (*UpdateDataScannerTasksOK) String

func (o *UpdateDataScannerTasksOK) String() string

type UpdateDataScannerTasksParams

type UpdateDataScannerTasksParams struct {

	/* XMachineID.

	   Provider ID of machine
	*/
	XMachineID string

	/* XScannerID.

	   ID of the data scanner
	*/
	XScannerID string

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

UpdateDataScannerTasksParams contains all the parameters to send to the API endpoint

for the update data scanner tasks operation.

Typically these are written to a http.Request.

func NewUpdateDataScannerTasksParams

func NewUpdateDataScannerTasksParams() *UpdateDataScannerTasksParams

NewUpdateDataScannerTasksParams creates a new UpdateDataScannerTasksParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDataScannerTasksParamsWithContext

func NewUpdateDataScannerTasksParamsWithContext(ctx context.Context) *UpdateDataScannerTasksParams

NewUpdateDataScannerTasksParamsWithContext creates a new UpdateDataScannerTasksParams object with the ability to set a context for a request.

func NewUpdateDataScannerTasksParamsWithHTTPClient

func NewUpdateDataScannerTasksParamsWithHTTPClient(client *http.Client) *UpdateDataScannerTasksParams

NewUpdateDataScannerTasksParamsWithHTTPClient creates a new UpdateDataScannerTasksParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDataScannerTasksParamsWithTimeout

func NewUpdateDataScannerTasksParamsWithTimeout(timeout time.Duration) *UpdateDataScannerTasksParams

NewUpdateDataScannerTasksParamsWithTimeout creates a new UpdateDataScannerTasksParams object with the ability to set a timeout on a request.

func (*UpdateDataScannerTasksParams) SetContext

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

SetContext adds the context to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) SetDefaults

func (o *UpdateDataScannerTasksParams) SetDefaults()

SetDefaults hydrates default values in the update data scanner tasks params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDataScannerTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) SetTimeout

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

SetTimeout adds the timeout to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) SetXMachineID added in v0.9.0

func (o *UpdateDataScannerTasksParams) SetXMachineID(xMachineID string)

SetXMachineID adds the xMachineId to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) SetXScannerID

func (o *UpdateDataScannerTasksParams) SetXScannerID(xScannerID string)

SetXScannerID adds the xScannerId to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) WithContext

WithContext adds the context to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) WithDefaults

WithDefaults hydrates default values in the update data scanner tasks params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDataScannerTasksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) WithTimeout

WithTimeout adds the timeout to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) WithXMachineID added in v0.9.0

func (o *UpdateDataScannerTasksParams) WithXMachineID(xMachineID string) *UpdateDataScannerTasksParams

WithXMachineID adds the xMachineID to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) WithXScannerID

func (o *UpdateDataScannerTasksParams) WithXScannerID(xScannerID string) *UpdateDataScannerTasksParams

WithXScannerID adds the xScannerID to the update data scanner tasks params

func (*UpdateDataScannerTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDataScannerTasksReader

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

UpdateDataScannerTasksReader is a Reader for the UpdateDataScannerTasks structure.

func (*UpdateDataScannerTasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDataScannerTasksTooManyRequests

type UpdateDataScannerTasksTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

UpdateDataScannerTasksTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateDataScannerTasksTooManyRequests

func NewUpdateDataScannerTasksTooManyRequests() *UpdateDataScannerTasksTooManyRequests

NewUpdateDataScannerTasksTooManyRequests creates a UpdateDataScannerTasksTooManyRequests with default headers values

func (*UpdateDataScannerTasksTooManyRequests) Code

Code gets the status code for the update data scanner tasks too many requests response

func (*UpdateDataScannerTasksTooManyRequests) Error

func (*UpdateDataScannerTasksTooManyRequests) GetPayload

func (*UpdateDataScannerTasksTooManyRequests) IsClientError

func (o *UpdateDataScannerTasksTooManyRequests) IsClientError() bool

IsClientError returns true when this update data scanner tasks too many requests response has a 4xx status code

func (*UpdateDataScannerTasksTooManyRequests) IsCode

IsCode returns true when this update data scanner tasks too many requests response a status code equal to that given

func (*UpdateDataScannerTasksTooManyRequests) IsRedirect

IsRedirect returns true when this update data scanner tasks too many requests response has a 3xx status code

func (*UpdateDataScannerTasksTooManyRequests) IsServerError

func (o *UpdateDataScannerTasksTooManyRequests) IsServerError() bool

IsServerError returns true when this update data scanner tasks too many requests response has a 5xx status code

func (*UpdateDataScannerTasksTooManyRequests) IsSuccess

IsSuccess returns true when this update data scanner tasks too many requests response has a 2xx status code

func (*UpdateDataScannerTasksTooManyRequests) String

Jump to

Keyboard shortcuts

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