Documentation
¶
Index ¶
- type Client
- func (a *Client) GetDataScannerTasks(params *GetDataScannerTasksParams, opts ...ClientOption) (*GetDataScannerTasksOK, error)
- func (a *Client) GetImageRegistryCredentials(params *GetImageRegistryCredentialsParams, opts ...ClientOption) (*GetImageRegistryCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDataScannerTasks(params *UpdateDataScannerTasksParams, opts ...ClientOption) (*UpdateDataScannerTasksOK, error)
- type ClientOption
- type ClientService
- type GetDataScannerTasksForbidden
- func (o *GetDataScannerTasksForbidden) Code() int
- func (o *GetDataScannerTasksForbidden) Error() string
- func (o *GetDataScannerTasksForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetDataScannerTasksForbidden) IsClientError() bool
- func (o *GetDataScannerTasksForbidden) IsCode(code int) bool
- func (o *GetDataScannerTasksForbidden) IsRedirect() bool
- func (o *GetDataScannerTasksForbidden) IsServerError() bool
- func (o *GetDataScannerTasksForbidden) IsSuccess() bool
- func (o *GetDataScannerTasksForbidden) String() string
- type GetDataScannerTasksOK
- func (o *GetDataScannerTasksOK) Code() int
- func (o *GetDataScannerTasksOK) Error() string
- func (o *GetDataScannerTasksOK) GetPayload() map[string]string
- func (o *GetDataScannerTasksOK) IsClientError() bool
- func (o *GetDataScannerTasksOK) IsCode(code int) bool
- func (o *GetDataScannerTasksOK) IsRedirect() bool
- func (o *GetDataScannerTasksOK) IsServerError() bool
- func (o *GetDataScannerTasksOK) IsSuccess() bool
- func (o *GetDataScannerTasksOK) String() string
- type GetDataScannerTasksParams
- func NewGetDataScannerTasksParams() *GetDataScannerTasksParams
- func NewGetDataScannerTasksParamsWithContext(ctx context.Context) *GetDataScannerTasksParams
- func NewGetDataScannerTasksParamsWithHTTPClient(client *http.Client) *GetDataScannerTasksParams
- func NewGetDataScannerTasksParamsWithTimeout(timeout time.Duration) *GetDataScannerTasksParams
- func (o *GetDataScannerTasksParams) SetContext(ctx context.Context)
- func (o *GetDataScannerTasksParams) SetDefaults()
- func (o *GetDataScannerTasksParams) SetHTTPClient(client *http.Client)
- func (o *GetDataScannerTasksParams) SetTimeout(timeout time.Duration)
- func (o *GetDataScannerTasksParams) SetXScannerID(xScannerID string)
- func (o *GetDataScannerTasksParams) WithContext(ctx context.Context) *GetDataScannerTasksParams
- func (o *GetDataScannerTasksParams) WithDefaults() *GetDataScannerTasksParams
- func (o *GetDataScannerTasksParams) WithHTTPClient(client *http.Client) *GetDataScannerTasksParams
- func (o *GetDataScannerTasksParams) WithTimeout(timeout time.Duration) *GetDataScannerTasksParams
- func (o *GetDataScannerTasksParams) WithXScannerID(xScannerID string) *GetDataScannerTasksParams
- func (o *GetDataScannerTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDataScannerTasksReader
- type GetDataScannerTasksTooManyRequests
- func (o *GetDataScannerTasksTooManyRequests) Code() int
- func (o *GetDataScannerTasksTooManyRequests) Error() string
- func (o *GetDataScannerTasksTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetDataScannerTasksTooManyRequests) IsClientError() bool
- func (o *GetDataScannerTasksTooManyRequests) IsCode(code int) bool
- func (o *GetDataScannerTasksTooManyRequests) IsRedirect() bool
- func (o *GetDataScannerTasksTooManyRequests) IsServerError() bool
- func (o *GetDataScannerTasksTooManyRequests) IsSuccess() bool
- func (o *GetDataScannerTasksTooManyRequests) String() string
- type GetImageRegistryCredentialsForbidden
- func (o *GetImageRegistryCredentialsForbidden) Code() int
- func (o *GetImageRegistryCredentialsForbidden) Error() string
- func (o *GetImageRegistryCredentialsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetImageRegistryCredentialsForbidden) IsClientError() bool
- func (o *GetImageRegistryCredentialsForbidden) IsCode(code int) bool
- func (o *GetImageRegistryCredentialsForbidden) IsRedirect() bool
- func (o *GetImageRegistryCredentialsForbidden) IsServerError() bool
- func (o *GetImageRegistryCredentialsForbidden) IsSuccess() bool
- func (o *GetImageRegistryCredentialsForbidden) String() string
- type GetImageRegistryCredentialsInternalServerError
- func (o *GetImageRegistryCredentialsInternalServerError) Code() int
- func (o *GetImageRegistryCredentialsInternalServerError) Error() string
- func (o *GetImageRegistryCredentialsInternalServerError) GetPayload() string
- func (o *GetImageRegistryCredentialsInternalServerError) IsClientError() bool
- func (o *GetImageRegistryCredentialsInternalServerError) IsCode(code int) bool
- func (o *GetImageRegistryCredentialsInternalServerError) IsRedirect() bool
- func (o *GetImageRegistryCredentialsInternalServerError) IsServerError() bool
- func (o *GetImageRegistryCredentialsInternalServerError) IsSuccess() bool
- func (o *GetImageRegistryCredentialsInternalServerError) String() string
- type GetImageRegistryCredentialsOK
- func (o *GetImageRegistryCredentialsOK) Code() int
- func (o *GetImageRegistryCredentialsOK) Error() string
- func (o *GetImageRegistryCredentialsOK) GetPayload() map[string]string
- func (o *GetImageRegistryCredentialsOK) IsClientError() bool
- func (o *GetImageRegistryCredentialsOK) IsCode(code int) bool
- func (o *GetImageRegistryCredentialsOK) IsRedirect() bool
- func (o *GetImageRegistryCredentialsOK) IsServerError() bool
- func (o *GetImageRegistryCredentialsOK) IsSuccess() bool
- func (o *GetImageRegistryCredentialsOK) String() string
- type GetImageRegistryCredentialsParams
- func NewGetImageRegistryCredentialsParams() *GetImageRegistryCredentialsParams
- func NewGetImageRegistryCredentialsParamsWithContext(ctx context.Context) *GetImageRegistryCredentialsParams
- func NewGetImageRegistryCredentialsParamsWithHTTPClient(client *http.Client) *GetImageRegistryCredentialsParams
- func NewGetImageRegistryCredentialsParamsWithTimeout(timeout time.Duration) *GetImageRegistryCredentialsParams
- func (o *GetImageRegistryCredentialsParams) SetContext(ctx context.Context)
- func (o *GetImageRegistryCredentialsParams) SetDefaults()
- func (o *GetImageRegistryCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetImageRegistryCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetImageRegistryCredentialsParams) WithContext(ctx context.Context) *GetImageRegistryCredentialsParams
- func (o *GetImageRegistryCredentialsParams) WithDefaults() *GetImageRegistryCredentialsParams
- func (o *GetImageRegistryCredentialsParams) WithHTTPClient(client *http.Client) *GetImageRegistryCredentialsParams
- func (o *GetImageRegistryCredentialsParams) WithTimeout(timeout time.Duration) *GetImageRegistryCredentialsParams
- func (o *GetImageRegistryCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImageRegistryCredentialsReader
- type GetImageRegistryCredentialsTooManyRequests
- func (o *GetImageRegistryCredentialsTooManyRequests) Code() int
- func (o *GetImageRegistryCredentialsTooManyRequests) Error() string
- func (o *GetImageRegistryCredentialsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetImageRegistryCredentialsTooManyRequests) IsClientError() bool
- func (o *GetImageRegistryCredentialsTooManyRequests) IsCode(code int) bool
- func (o *GetImageRegistryCredentialsTooManyRequests) IsRedirect() bool
- func (o *GetImageRegistryCredentialsTooManyRequests) IsServerError() bool
- func (o *GetImageRegistryCredentialsTooManyRequests) IsSuccess() bool
- func (o *GetImageRegistryCredentialsTooManyRequests) String() string
- type UpdateDataScannerTasksForbidden
- func (o *UpdateDataScannerTasksForbidden) Code() int
- func (o *UpdateDataScannerTasksForbidden) Error() string
- func (o *UpdateDataScannerTasksForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateDataScannerTasksForbidden) IsClientError() bool
- func (o *UpdateDataScannerTasksForbidden) IsCode(code int) bool
- func (o *UpdateDataScannerTasksForbidden) IsRedirect() bool
- func (o *UpdateDataScannerTasksForbidden) IsServerError() bool
- func (o *UpdateDataScannerTasksForbidden) IsSuccess() bool
- func (o *UpdateDataScannerTasksForbidden) String() string
- type UpdateDataScannerTasksOK
- func (o *UpdateDataScannerTasksOK) Code() int
- func (o *UpdateDataScannerTasksOK) Error() string
- func (o *UpdateDataScannerTasksOK) GetPayload() map[string]string
- func (o *UpdateDataScannerTasksOK) IsClientError() bool
- func (o *UpdateDataScannerTasksOK) IsCode(code int) bool
- func (o *UpdateDataScannerTasksOK) IsRedirect() bool
- func (o *UpdateDataScannerTasksOK) IsServerError() bool
- func (o *UpdateDataScannerTasksOK) IsSuccess() bool
- func (o *UpdateDataScannerTasksOK) String() string
- type UpdateDataScannerTasksParams
- func NewUpdateDataScannerTasksParams() *UpdateDataScannerTasksParams
- func NewUpdateDataScannerTasksParamsWithContext(ctx context.Context) *UpdateDataScannerTasksParams
- func NewUpdateDataScannerTasksParamsWithHTTPClient(client *http.Client) *UpdateDataScannerTasksParams
- func NewUpdateDataScannerTasksParamsWithTimeout(timeout time.Duration) *UpdateDataScannerTasksParams
- func (o *UpdateDataScannerTasksParams) SetContext(ctx context.Context)
- func (o *UpdateDataScannerTasksParams) SetDefaults()
- func (o *UpdateDataScannerTasksParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDataScannerTasksParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDataScannerTasksParams) SetXMachineID(xMachineID string)
- func (o *UpdateDataScannerTasksParams) SetXScannerID(xScannerID string)
- func (o *UpdateDataScannerTasksParams) WithContext(ctx context.Context) *UpdateDataScannerTasksParams
- func (o *UpdateDataScannerTasksParams) WithDefaults() *UpdateDataScannerTasksParams
- func (o *UpdateDataScannerTasksParams) WithHTTPClient(client *http.Client) *UpdateDataScannerTasksParams
- func (o *UpdateDataScannerTasksParams) WithTimeout(timeout time.Duration) *UpdateDataScannerTasksParams
- func (o *UpdateDataScannerTasksParams) WithXMachineID(xMachineID string) *UpdateDataScannerTasksParams
- func (o *UpdateDataScannerTasksParams) WithXScannerID(xScannerID string) *UpdateDataScannerTasksParams
- func (o *UpdateDataScannerTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDataScannerTasksReader
- type UpdateDataScannerTasksTooManyRequests
- func (o *UpdateDataScannerTasksTooManyRequests) Code() int
- func (o *UpdateDataScannerTasksTooManyRequests) Error() string
- func (o *UpdateDataScannerTasksTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateDataScannerTasksTooManyRequests) IsClientError() bool
- func (o *UpdateDataScannerTasksTooManyRequests) IsCode(code int) bool
- func (o *UpdateDataScannerTasksTooManyRequests) IsRedirect() bool
- func (o *UpdateDataScannerTasksTooManyRequests) IsServerError() bool
- func (o *UpdateDataScannerTasksTooManyRequests) IsSuccess() bool
- func (o *UpdateDataScannerTasksTooManyRequests) String() string
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 ¶
func (o *GetDataScannerTasksForbidden) Code() int
Code gets the status code for the get data scanner tasks forbidden response
func (*GetDataScannerTasksForbidden) Error ¶
func (o *GetDataScannerTasksForbidden) Error() string
func (*GetDataScannerTasksForbidden) GetPayload ¶
func (o *GetDataScannerTasksForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *GetDataScannerTasksForbidden) String() 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 ¶
func (o *GetDataScannerTasksParams) WithContext(ctx context.Context) *GetDataScannerTasksParams
WithContext adds the context to the get data scanner tasks params
func (*GetDataScannerTasksParams) WithDefaults ¶
func (o *GetDataScannerTasksParams) WithDefaults() *GetDataScannerTasksParams
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 ¶
func (o *GetDataScannerTasksParams) WithTimeout(timeout time.Duration) *GetDataScannerTasksParams
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 ¶
func (o *GetDataScannerTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDataScannerTasksTooManyRequests) Code() int
Code gets the status code for the get data scanner tasks too many requests response
func (*GetDataScannerTasksTooManyRequests) Error ¶
func (o *GetDataScannerTasksTooManyRequests) Error() string
func (*GetDataScannerTasksTooManyRequests) GetPayload ¶
func (o *GetDataScannerTasksTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *GetDataScannerTasksTooManyRequests) IsCode(code int) bool
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 ¶
func (o *GetDataScannerTasksTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get data scanner tasks too many requests response has a 2xx status code
func (*GetDataScannerTasksTooManyRequests) String ¶
func (o *GetDataScannerTasksTooManyRequests) String() 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 ¶
func (o *GetImageRegistryCredentialsForbidden) Code() int
Code gets the status code for the get image registry credentials forbidden response
func (*GetImageRegistryCredentialsForbidden) Error ¶
func (o *GetImageRegistryCredentialsForbidden) Error() string
func (*GetImageRegistryCredentialsForbidden) GetPayload ¶
func (o *GetImageRegistryCredentialsForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *GetImageRegistryCredentialsForbidden) IsCode(code int) bool
IsCode returns true when this get image registry credentials forbidden response a status code equal to that given
func (*GetImageRegistryCredentialsForbidden) IsRedirect ¶
func (o *GetImageRegistryCredentialsForbidden) IsRedirect() bool
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 ¶
func (o *GetImageRegistryCredentialsForbidden) IsSuccess() bool
IsSuccess returns true when this get image registry credentials forbidden response has a 2xx status code
func (*GetImageRegistryCredentialsForbidden) String ¶
func (o *GetImageRegistryCredentialsForbidden) String() 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 ¶
func (o *GetImageRegistryCredentialsInternalServerError) Code() int
Code gets the status code for the get image registry credentials internal server error response
func (*GetImageRegistryCredentialsInternalServerError) Error ¶
func (o *GetImageRegistryCredentialsInternalServerError) Error() string
func (*GetImageRegistryCredentialsInternalServerError) GetPayload ¶
func (o *GetImageRegistryCredentialsInternalServerError) GetPayload() string
func (*GetImageRegistryCredentialsInternalServerError) IsClientError ¶
func (o *GetImageRegistryCredentialsInternalServerError) IsClientError() bool
IsClientError returns true when this get image registry credentials internal server error response has a 4xx status code
func (*GetImageRegistryCredentialsInternalServerError) IsCode ¶
func (o *GetImageRegistryCredentialsInternalServerError) IsCode(code int) bool
IsCode returns true when this get image registry credentials internal server error response a status code equal to that given
func (*GetImageRegistryCredentialsInternalServerError) IsRedirect ¶
func (o *GetImageRegistryCredentialsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get image registry credentials internal server error response has a 3xx status code
func (*GetImageRegistryCredentialsInternalServerError) IsServerError ¶
func (o *GetImageRegistryCredentialsInternalServerError) IsServerError() bool
IsServerError returns true when this get image registry credentials internal server error response has a 5xx status code
func (*GetImageRegistryCredentialsInternalServerError) IsSuccess ¶
func (o *GetImageRegistryCredentialsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get image registry credentials internal server error response has a 2xx status code
func (*GetImageRegistryCredentialsInternalServerError) String ¶
func (o *GetImageRegistryCredentialsInternalServerError) String() 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 ¶
func (o *GetImageRegistryCredentialsOK) Code() int
Code gets the status code for the get image registry credentials o k response
func (*GetImageRegistryCredentialsOK) Error ¶
func (o *GetImageRegistryCredentialsOK) Error() string
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 ¶
func (o *GetImageRegistryCredentialsOK) String() 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 ¶
func (o *GetImageRegistryCredentialsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetImageRegistryCredentialsParams) WithContext(ctx context.Context) *GetImageRegistryCredentialsParams
WithContext adds the context to the get image registry credentials params
func (*GetImageRegistryCredentialsParams) WithDefaults ¶
func (o *GetImageRegistryCredentialsParams) WithDefaults() *GetImageRegistryCredentialsParams
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 ¶
func (o *GetImageRegistryCredentialsParams) WithHTTPClient(client *http.Client) *GetImageRegistryCredentialsParams
WithHTTPClient adds the HTTPClient to the get image registry credentials params
func (*GetImageRegistryCredentialsParams) WithTimeout ¶
func (o *GetImageRegistryCredentialsParams) WithTimeout(timeout time.Duration) *GetImageRegistryCredentialsParams
WithTimeout adds the timeout to the get image registry credentials params
func (*GetImageRegistryCredentialsParams) WriteToRequest ¶
func (o *GetImageRegistryCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetImageRegistryCredentialsTooManyRequests) Code() int
Code gets the status code for the get image registry credentials too many requests response
func (*GetImageRegistryCredentialsTooManyRequests) Error ¶
func (o *GetImageRegistryCredentialsTooManyRequests) Error() string
func (*GetImageRegistryCredentialsTooManyRequests) GetPayload ¶
func (o *GetImageRegistryCredentialsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetImageRegistryCredentialsTooManyRequests) IsClientError ¶
func (o *GetImageRegistryCredentialsTooManyRequests) IsClientError() bool
IsClientError returns true when this get image registry credentials too many requests response has a 4xx status code
func (*GetImageRegistryCredentialsTooManyRequests) IsCode ¶
func (o *GetImageRegistryCredentialsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get image registry credentials too many requests response a status code equal to that given
func (*GetImageRegistryCredentialsTooManyRequests) IsRedirect ¶
func (o *GetImageRegistryCredentialsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get image registry credentials too many requests response has a 3xx status code
func (*GetImageRegistryCredentialsTooManyRequests) IsServerError ¶
func (o *GetImageRegistryCredentialsTooManyRequests) IsServerError() bool
IsServerError returns true when this get image registry credentials too many requests response has a 5xx status code
func (*GetImageRegistryCredentialsTooManyRequests) IsSuccess ¶
func (o *GetImageRegistryCredentialsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get image registry credentials too many requests response has a 2xx status code
func (*GetImageRegistryCredentialsTooManyRequests) String ¶
func (o *GetImageRegistryCredentialsTooManyRequests) String() 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 ¶
func (o *UpdateDataScannerTasksForbidden) Code() int
Code gets the status code for the update data scanner tasks forbidden response
func (*UpdateDataScannerTasksForbidden) Error ¶
func (o *UpdateDataScannerTasksForbidden) Error() string
func (*UpdateDataScannerTasksForbidden) GetPayload ¶
func (o *UpdateDataScannerTasksForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *UpdateDataScannerTasksForbidden) String() 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 ¶
func (o *UpdateDataScannerTasksParams) WithContext(ctx context.Context) *UpdateDataScannerTasksParams
WithContext adds the context to the update data scanner tasks params
func (*UpdateDataScannerTasksParams) WithDefaults ¶
func (o *UpdateDataScannerTasksParams) WithDefaults() *UpdateDataScannerTasksParams
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 ¶
func (o *UpdateDataScannerTasksParams) WithHTTPClient(client *http.Client) *UpdateDataScannerTasksParams
WithHTTPClient adds the HTTPClient to the update data scanner tasks params
func (*UpdateDataScannerTasksParams) WithTimeout ¶
func (o *UpdateDataScannerTasksParams) WithTimeout(timeout time.Duration) *UpdateDataScannerTasksParams
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 ¶
func (o *UpdateDataScannerTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateDataScannerTasksTooManyRequests) Code() int
Code gets the status code for the update data scanner tasks too many requests response
func (*UpdateDataScannerTasksTooManyRequests) Error ¶
func (o *UpdateDataScannerTasksTooManyRequests) Error() string
func (*UpdateDataScannerTasksTooManyRequests) GetPayload ¶
func (o *UpdateDataScannerTasksTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *UpdateDataScannerTasksTooManyRequests) IsCode(code int) bool
IsCode returns true when this update data scanner tasks too many requests response a status code equal to that given
func (*UpdateDataScannerTasksTooManyRequests) IsRedirect ¶
func (o *UpdateDataScannerTasksTooManyRequests) IsRedirect() bool
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 ¶
func (o *UpdateDataScannerTasksTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update data scanner tasks too many requests response has a 2xx status code
func (*UpdateDataScannerTasksTooManyRequests) String ¶
func (o *UpdateDataScannerTasksTooManyRequests) String() string