container_detections

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 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 container detections API

func (*Client) ReadCombinedDetections

func (a *Client) ReadCombinedDetections(params *ReadCombinedDetectionsParams, opts ...ClientOption) (*ReadCombinedDetectionsOK, error)

ReadCombinedDetections retrieves image assessment detections identified by the provided filter criteria

func (*Client) ReadDetections

func (a *Client) ReadDetections(params *ReadDetectionsParams, opts ...ClientOption) (*ReadDetectionsOK, error)

ReadDetections retrieves image assessment detection entities identified by the provided filter criteria

func (*Client) ReadDetectionsCount

func (a *Client) ReadDetectionsCount(params *ReadDetectionsCountParams, opts ...ClientOption) (*ReadDetectionsCountOK, error)

ReadDetectionsCount aggregates count of detections

func (*Client) ReadDetectionsCountBySeverity

func (a *Client) ReadDetectionsCountBySeverity(params *ReadDetectionsCountBySeverityParams, opts ...ClientOption) (*ReadDetectionsCountBySeverityOK, error)

ReadDetectionsCountBySeverity aggregates counts of detections by severity

func (*Client) ReadDetectionsCountByType

func (a *Client) ReadDetectionsCountByType(params *ReadDetectionsCountByTypeParams, opts ...ClientOption) (*ReadDetectionsCountByTypeOK, error)

ReadDetectionsCountByType aggregates counts of detections by detection type

func (*Client) SearchDetections

func (a *Client) SearchDetections(params *SearchDetectionsParams, opts ...ClientOption) (*SearchDetectionsOK, error)

SearchDetections retrieves image assessment detection entities identified by the provided filter criteria

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ReadCombinedDetections(params *ReadCombinedDetectionsParams, opts ...ClientOption) (*ReadCombinedDetectionsOK, error)

	ReadDetections(params *ReadDetectionsParams, opts ...ClientOption) (*ReadDetectionsOK, error)

	ReadDetectionsCount(params *ReadDetectionsCountParams, opts ...ClientOption) (*ReadDetectionsCountOK, error)

	ReadDetectionsCountBySeverity(params *ReadDetectionsCountBySeverityParams, opts ...ClientOption) (*ReadDetectionsCountBySeverityOK, error)

	ReadDetectionsCountByType(params *ReadDetectionsCountByTypeParams, opts ...ClientOption) (*ReadDetectionsCountByTypeOK, error)

	SearchDetections(params *SearchDetectionsParams, opts ...ClientOption) (*SearchDetectionsOK, 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 container detections API client.

type ReadCombinedDetectionsForbidden

type ReadCombinedDetectionsForbidden 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
}

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

Forbidden

func NewReadCombinedDetectionsForbidden

func NewReadCombinedDetectionsForbidden() *ReadCombinedDetectionsForbidden

NewReadCombinedDetectionsForbidden creates a ReadCombinedDetectionsForbidden with default headers values

func (*ReadCombinedDetectionsForbidden) Code

Code gets the status code for the read combined detections forbidden response

func (*ReadCombinedDetectionsForbidden) Error

func (*ReadCombinedDetectionsForbidden) GetPayload

func (*ReadCombinedDetectionsForbidden) IsClientError

func (o *ReadCombinedDetectionsForbidden) IsClientError() bool

IsClientError returns true when this read combined detections forbidden response has a 4xx status code

func (*ReadCombinedDetectionsForbidden) IsCode

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

IsCode returns true when this read combined detections forbidden response a status code equal to that given

func (*ReadCombinedDetectionsForbidden) IsRedirect

func (o *ReadCombinedDetectionsForbidden) IsRedirect() bool

IsRedirect returns true when this read combined detections forbidden response has a 3xx status code

func (*ReadCombinedDetectionsForbidden) IsServerError

func (o *ReadCombinedDetectionsForbidden) IsServerError() bool

IsServerError returns true when this read combined detections forbidden response has a 5xx status code

func (*ReadCombinedDetectionsForbidden) IsSuccess

func (o *ReadCombinedDetectionsForbidden) IsSuccess() bool

IsSuccess returns true when this read combined detections forbidden response has a 2xx status code

func (*ReadCombinedDetectionsForbidden) String

type ReadCombinedDetectionsInternalServerError

type ReadCombinedDetectionsInternalServerError 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.CoreEntitiesResponse
}

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

Internal Server Error

func NewReadCombinedDetectionsInternalServerError

func NewReadCombinedDetectionsInternalServerError() *ReadCombinedDetectionsInternalServerError

NewReadCombinedDetectionsInternalServerError creates a ReadCombinedDetectionsInternalServerError with default headers values

func (*ReadCombinedDetectionsInternalServerError) Code

Code gets the status code for the read combined detections internal server error response

func (*ReadCombinedDetectionsInternalServerError) Error

func (*ReadCombinedDetectionsInternalServerError) GetPayload

func (*ReadCombinedDetectionsInternalServerError) IsClientError

IsClientError returns true when this read combined detections internal server error response has a 4xx status code

func (*ReadCombinedDetectionsInternalServerError) IsCode

IsCode returns true when this read combined detections internal server error response a status code equal to that given

func (*ReadCombinedDetectionsInternalServerError) IsRedirect

IsRedirect returns true when this read combined detections internal server error response has a 3xx status code

func (*ReadCombinedDetectionsInternalServerError) IsServerError

IsServerError returns true when this read combined detections internal server error response has a 5xx status code

func (*ReadCombinedDetectionsInternalServerError) IsSuccess

IsSuccess returns true when this read combined detections internal server error response has a 2xx status code

func (*ReadCombinedDetectionsInternalServerError) String

type ReadCombinedDetectionsOK

type ReadCombinedDetectionsOK 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.DetectionsAPICombinedDetections
}

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

OK

func NewReadCombinedDetectionsOK

func NewReadCombinedDetectionsOK() *ReadCombinedDetectionsOK

NewReadCombinedDetectionsOK creates a ReadCombinedDetectionsOK with default headers values

func (*ReadCombinedDetectionsOK) Code

func (o *ReadCombinedDetectionsOK) Code() int

Code gets the status code for the read combined detections o k response

func (*ReadCombinedDetectionsOK) Error

func (o *ReadCombinedDetectionsOK) Error() string

func (*ReadCombinedDetectionsOK) GetPayload

func (*ReadCombinedDetectionsOK) IsClientError

func (o *ReadCombinedDetectionsOK) IsClientError() bool

IsClientError returns true when this read combined detections o k response has a 4xx status code

func (*ReadCombinedDetectionsOK) IsCode

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

IsCode returns true when this read combined detections o k response a status code equal to that given

func (*ReadCombinedDetectionsOK) IsRedirect

func (o *ReadCombinedDetectionsOK) IsRedirect() bool

IsRedirect returns true when this read combined detections o k response has a 3xx status code

func (*ReadCombinedDetectionsOK) IsServerError

func (o *ReadCombinedDetectionsOK) IsServerError() bool

IsServerError returns true when this read combined detections o k response has a 5xx status code

func (*ReadCombinedDetectionsOK) IsSuccess

func (o *ReadCombinedDetectionsOK) IsSuccess() bool

IsSuccess returns true when this read combined detections o k response has a 2xx status code

func (*ReadCombinedDetectionsOK) String

func (o *ReadCombinedDetectionsOK) String() string

type ReadCombinedDetectionsParams

type ReadCombinedDetectionsParams struct {

	/* Filter.

	   Filter images using a query in Falcon Query Language (FQL). Supported filters:  cid,container_id,detection_type,id,image_digest,image_id,image_registry,image_repository,image_tag,name,severity
	*/
	Filter *string

	/* Limit.

	   The upper-bound on the number of records to retrieve.
	*/
	Limit *int64

	/* Offset.

	   The offset from where to begin.
	*/
	Offset *int64

	/* Sort.

	   The fields to sort the records on. Supported columns:  [containers_impacted detection_name detection_severity detection_type images_impacted last_detected]
	*/
	Sort *string

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

ReadCombinedDetectionsParams contains all the parameters to send to the API endpoint

for the read combined detections operation.

Typically these are written to a http.Request.

func NewReadCombinedDetectionsParams

func NewReadCombinedDetectionsParams() *ReadCombinedDetectionsParams

NewReadCombinedDetectionsParams creates a new ReadCombinedDetectionsParams 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 NewReadCombinedDetectionsParamsWithContext

func NewReadCombinedDetectionsParamsWithContext(ctx context.Context) *ReadCombinedDetectionsParams

NewReadCombinedDetectionsParamsWithContext creates a new ReadCombinedDetectionsParams object with the ability to set a context for a request.

func NewReadCombinedDetectionsParamsWithHTTPClient

func NewReadCombinedDetectionsParamsWithHTTPClient(client *http.Client) *ReadCombinedDetectionsParams

NewReadCombinedDetectionsParamsWithHTTPClient creates a new ReadCombinedDetectionsParams object with the ability to set a custom HTTPClient for a request.

func NewReadCombinedDetectionsParamsWithTimeout

func NewReadCombinedDetectionsParamsWithTimeout(timeout time.Duration) *ReadCombinedDetectionsParams

NewReadCombinedDetectionsParamsWithTimeout creates a new ReadCombinedDetectionsParams object with the ability to set a timeout on a request.

func (*ReadCombinedDetectionsParams) SetContext

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

SetContext adds the context to the read combined detections params

func (*ReadCombinedDetectionsParams) SetDefaults

func (o *ReadCombinedDetectionsParams) SetDefaults()

SetDefaults hydrates default values in the read combined detections params (not the query body).

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

func (*ReadCombinedDetectionsParams) SetFilter

func (o *ReadCombinedDetectionsParams) SetFilter(filter *string)

SetFilter adds the filter to the read combined detections params

func (*ReadCombinedDetectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read combined detections params

func (*ReadCombinedDetectionsParams) SetLimit

func (o *ReadCombinedDetectionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the read combined detections params

func (*ReadCombinedDetectionsParams) SetOffset

func (o *ReadCombinedDetectionsParams) SetOffset(offset *int64)

SetOffset adds the offset to the read combined detections params

func (*ReadCombinedDetectionsParams) SetSort

func (o *ReadCombinedDetectionsParams) SetSort(sort *string)

SetSort adds the sort to the read combined detections params

func (*ReadCombinedDetectionsParams) SetTimeout

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

SetTimeout adds the timeout to the read combined detections params

func (*ReadCombinedDetectionsParams) WithContext

WithContext adds the context to the read combined detections params

func (*ReadCombinedDetectionsParams) WithDefaults

WithDefaults hydrates default values in the read combined detections params (not the query body).

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

func (*ReadCombinedDetectionsParams) WithFilter

WithFilter adds the filter to the read combined detections params

func (*ReadCombinedDetectionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read combined detections params

func (*ReadCombinedDetectionsParams) WithLimit

WithLimit adds the limit to the read combined detections params

func (*ReadCombinedDetectionsParams) WithOffset

WithOffset adds the offset to the read combined detections params

func (*ReadCombinedDetectionsParams) WithSort

WithSort adds the sort to the read combined detections params

func (*ReadCombinedDetectionsParams) WithTimeout

WithTimeout adds the timeout to the read combined detections params

func (*ReadCombinedDetectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadCombinedDetectionsReader

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

ReadCombinedDetectionsReader is a Reader for the ReadCombinedDetections structure.

func (*ReadCombinedDetectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadCombinedDetectionsTooManyRequests

type ReadCombinedDetectionsTooManyRequests 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
}

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

Too Many Requests

func NewReadCombinedDetectionsTooManyRequests

func NewReadCombinedDetectionsTooManyRequests() *ReadCombinedDetectionsTooManyRequests

NewReadCombinedDetectionsTooManyRequests creates a ReadCombinedDetectionsTooManyRequests with default headers values

func (*ReadCombinedDetectionsTooManyRequests) Code

Code gets the status code for the read combined detections too many requests response

func (*ReadCombinedDetectionsTooManyRequests) Error

func (*ReadCombinedDetectionsTooManyRequests) GetPayload

func (*ReadCombinedDetectionsTooManyRequests) IsClientError

func (o *ReadCombinedDetectionsTooManyRequests) IsClientError() bool

IsClientError returns true when this read combined detections too many requests response has a 4xx status code

func (*ReadCombinedDetectionsTooManyRequests) IsCode

IsCode returns true when this read combined detections too many requests response a status code equal to that given

func (*ReadCombinedDetectionsTooManyRequests) IsRedirect

IsRedirect returns true when this read combined detections too many requests response has a 3xx status code

func (*ReadCombinedDetectionsTooManyRequests) IsServerError

func (o *ReadCombinedDetectionsTooManyRequests) IsServerError() bool

IsServerError returns true when this read combined detections too many requests response has a 5xx status code

func (*ReadCombinedDetectionsTooManyRequests) IsSuccess

IsSuccess returns true when this read combined detections too many requests response has a 2xx status code

func (*ReadCombinedDetectionsTooManyRequests) String

type ReadDetectionsCountBySeverityForbidden

type ReadDetectionsCountBySeverityForbidden 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
}

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

Forbidden

func NewReadDetectionsCountBySeverityForbidden

func NewReadDetectionsCountBySeverityForbidden() *ReadDetectionsCountBySeverityForbidden

NewReadDetectionsCountBySeverityForbidden creates a ReadDetectionsCountBySeverityForbidden with default headers values

func (*ReadDetectionsCountBySeverityForbidden) Code

Code gets the status code for the read detections count by severity forbidden response

func (*ReadDetectionsCountBySeverityForbidden) Error

func (*ReadDetectionsCountBySeverityForbidden) GetPayload

func (*ReadDetectionsCountBySeverityForbidden) IsClientError

func (o *ReadDetectionsCountBySeverityForbidden) IsClientError() bool

IsClientError returns true when this read detections count by severity forbidden response has a 4xx status code

func (*ReadDetectionsCountBySeverityForbidden) IsCode

IsCode returns true when this read detections count by severity forbidden response a status code equal to that given

func (*ReadDetectionsCountBySeverityForbidden) IsRedirect

IsRedirect returns true when this read detections count by severity forbidden response has a 3xx status code

func (*ReadDetectionsCountBySeverityForbidden) IsServerError

func (o *ReadDetectionsCountBySeverityForbidden) IsServerError() bool

IsServerError returns true when this read detections count by severity forbidden response has a 5xx status code

func (*ReadDetectionsCountBySeverityForbidden) IsSuccess

IsSuccess returns true when this read detections count by severity forbidden response has a 2xx status code

func (*ReadDetectionsCountBySeverityForbidden) String

type ReadDetectionsCountBySeverityInternalServerError

type ReadDetectionsCountBySeverityInternalServerError 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.CoreEntitiesResponse
}

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

Internal Server Error

func NewReadDetectionsCountBySeverityInternalServerError

func NewReadDetectionsCountBySeverityInternalServerError() *ReadDetectionsCountBySeverityInternalServerError

NewReadDetectionsCountBySeverityInternalServerError creates a ReadDetectionsCountBySeverityInternalServerError with default headers values

func (*ReadDetectionsCountBySeverityInternalServerError) Code

Code gets the status code for the read detections count by severity internal server error response

func (*ReadDetectionsCountBySeverityInternalServerError) Error

func (*ReadDetectionsCountBySeverityInternalServerError) GetPayload

func (*ReadDetectionsCountBySeverityInternalServerError) IsClientError

IsClientError returns true when this read detections count by severity internal server error response has a 4xx status code

func (*ReadDetectionsCountBySeverityInternalServerError) IsCode

IsCode returns true when this read detections count by severity internal server error response a status code equal to that given

func (*ReadDetectionsCountBySeverityInternalServerError) IsRedirect

IsRedirect returns true when this read detections count by severity internal server error response has a 3xx status code

func (*ReadDetectionsCountBySeverityInternalServerError) IsServerError

IsServerError returns true when this read detections count by severity internal server error response has a 5xx status code

func (*ReadDetectionsCountBySeverityInternalServerError) IsSuccess

IsSuccess returns true when this read detections count by severity internal server error response has a 2xx status code

func (*ReadDetectionsCountBySeverityInternalServerError) String

type ReadDetectionsCountBySeverityOK

type ReadDetectionsCountBySeverityOK 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.DetectionsAPIDetectionsBySeverity
}

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

OK

func NewReadDetectionsCountBySeverityOK

func NewReadDetectionsCountBySeverityOK() *ReadDetectionsCountBySeverityOK

NewReadDetectionsCountBySeverityOK creates a ReadDetectionsCountBySeverityOK with default headers values

func (*ReadDetectionsCountBySeverityOK) Code

Code gets the status code for the read detections count by severity o k response

func (*ReadDetectionsCountBySeverityOK) Error

func (*ReadDetectionsCountBySeverityOK) GetPayload

func (*ReadDetectionsCountBySeverityOK) IsClientError

func (o *ReadDetectionsCountBySeverityOK) IsClientError() bool

IsClientError returns true when this read detections count by severity o k response has a 4xx status code

func (*ReadDetectionsCountBySeverityOK) IsCode

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

IsCode returns true when this read detections count by severity o k response a status code equal to that given

func (*ReadDetectionsCountBySeverityOK) IsRedirect

func (o *ReadDetectionsCountBySeverityOK) IsRedirect() bool

IsRedirect returns true when this read detections count by severity o k response has a 3xx status code

func (*ReadDetectionsCountBySeverityOK) IsServerError

func (o *ReadDetectionsCountBySeverityOK) IsServerError() bool

IsServerError returns true when this read detections count by severity o k response has a 5xx status code

func (*ReadDetectionsCountBySeverityOK) IsSuccess

func (o *ReadDetectionsCountBySeverityOK) IsSuccess() bool

IsSuccess returns true when this read detections count by severity o k response has a 2xx status code

func (*ReadDetectionsCountBySeverityOK) String

type ReadDetectionsCountBySeverityParams

type ReadDetectionsCountBySeverityParams struct {

	/* Filter.

	   Filter images using a query in Falcon Query Language (FQL). Supported filters:  cid,container_id,detection_type,id,image_digest,image_id,image_registry,image_repository,image_tag,name,severity
	*/
	Filter *string

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

ReadDetectionsCountBySeverityParams contains all the parameters to send to the API endpoint

for the read detections count by severity operation.

Typically these are written to a http.Request.

func NewReadDetectionsCountBySeverityParams

func NewReadDetectionsCountBySeverityParams() *ReadDetectionsCountBySeverityParams

NewReadDetectionsCountBySeverityParams creates a new ReadDetectionsCountBySeverityParams 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 NewReadDetectionsCountBySeverityParamsWithContext

func NewReadDetectionsCountBySeverityParamsWithContext(ctx context.Context) *ReadDetectionsCountBySeverityParams

NewReadDetectionsCountBySeverityParamsWithContext creates a new ReadDetectionsCountBySeverityParams object with the ability to set a context for a request.

func NewReadDetectionsCountBySeverityParamsWithHTTPClient

func NewReadDetectionsCountBySeverityParamsWithHTTPClient(client *http.Client) *ReadDetectionsCountBySeverityParams

NewReadDetectionsCountBySeverityParamsWithHTTPClient creates a new ReadDetectionsCountBySeverityParams object with the ability to set a custom HTTPClient for a request.

func NewReadDetectionsCountBySeverityParamsWithTimeout

func NewReadDetectionsCountBySeverityParamsWithTimeout(timeout time.Duration) *ReadDetectionsCountBySeverityParams

NewReadDetectionsCountBySeverityParamsWithTimeout creates a new ReadDetectionsCountBySeverityParams object with the ability to set a timeout on a request.

func (*ReadDetectionsCountBySeverityParams) SetContext

SetContext adds the context to the read detections count by severity params

func (*ReadDetectionsCountBySeverityParams) SetDefaults

func (o *ReadDetectionsCountBySeverityParams) SetDefaults()

SetDefaults hydrates default values in the read detections count by severity params (not the query body).

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

func (*ReadDetectionsCountBySeverityParams) SetFilter

func (o *ReadDetectionsCountBySeverityParams) SetFilter(filter *string)

SetFilter adds the filter to the read detections count by severity params

func (*ReadDetectionsCountBySeverityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read detections count by severity params

func (*ReadDetectionsCountBySeverityParams) SetTimeout

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

SetTimeout adds the timeout to the read detections count by severity params

func (*ReadDetectionsCountBySeverityParams) WithContext

WithContext adds the context to the read detections count by severity params

func (*ReadDetectionsCountBySeverityParams) WithDefaults

WithDefaults hydrates default values in the read detections count by severity params (not the query body).

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

func (*ReadDetectionsCountBySeverityParams) WithFilter

WithFilter adds the filter to the read detections count by severity params

func (*ReadDetectionsCountBySeverityParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read detections count by severity params

func (*ReadDetectionsCountBySeverityParams) WithTimeout

WithTimeout adds the timeout to the read detections count by severity params

func (*ReadDetectionsCountBySeverityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadDetectionsCountBySeverityReader

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

ReadDetectionsCountBySeverityReader is a Reader for the ReadDetectionsCountBySeverity structure.

func (*ReadDetectionsCountBySeverityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadDetectionsCountBySeverityTooManyRequests

type ReadDetectionsCountBySeverityTooManyRequests 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
}

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

Too Many Requests

func NewReadDetectionsCountBySeverityTooManyRequests

func NewReadDetectionsCountBySeverityTooManyRequests() *ReadDetectionsCountBySeverityTooManyRequests

NewReadDetectionsCountBySeverityTooManyRequests creates a ReadDetectionsCountBySeverityTooManyRequests with default headers values

func (*ReadDetectionsCountBySeverityTooManyRequests) Code

Code gets the status code for the read detections count by severity too many requests response

func (*ReadDetectionsCountBySeverityTooManyRequests) Error

func (*ReadDetectionsCountBySeverityTooManyRequests) GetPayload

func (*ReadDetectionsCountBySeverityTooManyRequests) IsClientError

IsClientError returns true when this read detections count by severity too many requests response has a 4xx status code

func (*ReadDetectionsCountBySeverityTooManyRequests) IsCode

IsCode returns true when this read detections count by severity too many requests response a status code equal to that given

func (*ReadDetectionsCountBySeverityTooManyRequests) IsRedirect

IsRedirect returns true when this read detections count by severity too many requests response has a 3xx status code

func (*ReadDetectionsCountBySeverityTooManyRequests) IsServerError

IsServerError returns true when this read detections count by severity too many requests response has a 5xx status code

func (*ReadDetectionsCountBySeverityTooManyRequests) IsSuccess

IsSuccess returns true when this read detections count by severity too many requests response has a 2xx status code

func (*ReadDetectionsCountBySeverityTooManyRequests) String

type ReadDetectionsCountByTypeForbidden

type ReadDetectionsCountByTypeForbidden 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
}

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

Forbidden

func NewReadDetectionsCountByTypeForbidden

func NewReadDetectionsCountByTypeForbidden() *ReadDetectionsCountByTypeForbidden

NewReadDetectionsCountByTypeForbidden creates a ReadDetectionsCountByTypeForbidden with default headers values

func (*ReadDetectionsCountByTypeForbidden) Code

Code gets the status code for the read detections count by type forbidden response

func (*ReadDetectionsCountByTypeForbidden) Error

func (*ReadDetectionsCountByTypeForbidden) GetPayload

func (*ReadDetectionsCountByTypeForbidden) IsClientError

func (o *ReadDetectionsCountByTypeForbidden) IsClientError() bool

IsClientError returns true when this read detections count by type forbidden response has a 4xx status code

func (*ReadDetectionsCountByTypeForbidden) IsCode

IsCode returns true when this read detections count by type forbidden response a status code equal to that given

func (*ReadDetectionsCountByTypeForbidden) IsRedirect

func (o *ReadDetectionsCountByTypeForbidden) IsRedirect() bool

IsRedirect returns true when this read detections count by type forbidden response has a 3xx status code

func (*ReadDetectionsCountByTypeForbidden) IsServerError

func (o *ReadDetectionsCountByTypeForbidden) IsServerError() bool

IsServerError returns true when this read detections count by type forbidden response has a 5xx status code

func (*ReadDetectionsCountByTypeForbidden) IsSuccess

IsSuccess returns true when this read detections count by type forbidden response has a 2xx status code

func (*ReadDetectionsCountByTypeForbidden) String

type ReadDetectionsCountByTypeInternalServerError

type ReadDetectionsCountByTypeInternalServerError 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.CoreEntitiesResponse
}

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

Internal Server Error

func NewReadDetectionsCountByTypeInternalServerError

func NewReadDetectionsCountByTypeInternalServerError() *ReadDetectionsCountByTypeInternalServerError

NewReadDetectionsCountByTypeInternalServerError creates a ReadDetectionsCountByTypeInternalServerError with default headers values

func (*ReadDetectionsCountByTypeInternalServerError) Code

Code gets the status code for the read detections count by type internal server error response

func (*ReadDetectionsCountByTypeInternalServerError) Error

func (*ReadDetectionsCountByTypeInternalServerError) GetPayload

func (*ReadDetectionsCountByTypeInternalServerError) IsClientError

IsClientError returns true when this read detections count by type internal server error response has a 4xx status code

func (*ReadDetectionsCountByTypeInternalServerError) IsCode

IsCode returns true when this read detections count by type internal server error response a status code equal to that given

func (*ReadDetectionsCountByTypeInternalServerError) IsRedirect

IsRedirect returns true when this read detections count by type internal server error response has a 3xx status code

func (*ReadDetectionsCountByTypeInternalServerError) IsServerError

IsServerError returns true when this read detections count by type internal server error response has a 5xx status code

func (*ReadDetectionsCountByTypeInternalServerError) IsSuccess

IsSuccess returns true when this read detections count by type internal server error response has a 2xx status code

func (*ReadDetectionsCountByTypeInternalServerError) String

type ReadDetectionsCountByTypeOK

type ReadDetectionsCountByTypeOK 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.DetectionsAPIDetectionsByType
}

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

OK

func NewReadDetectionsCountByTypeOK

func NewReadDetectionsCountByTypeOK() *ReadDetectionsCountByTypeOK

NewReadDetectionsCountByTypeOK creates a ReadDetectionsCountByTypeOK with default headers values

func (*ReadDetectionsCountByTypeOK) Code

func (o *ReadDetectionsCountByTypeOK) Code() int

Code gets the status code for the read detections count by type o k response

func (*ReadDetectionsCountByTypeOK) Error

func (*ReadDetectionsCountByTypeOK) GetPayload

func (*ReadDetectionsCountByTypeOK) IsClientError

func (o *ReadDetectionsCountByTypeOK) IsClientError() bool

IsClientError returns true when this read detections count by type o k response has a 4xx status code

func (*ReadDetectionsCountByTypeOK) IsCode

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

IsCode returns true when this read detections count by type o k response a status code equal to that given

func (*ReadDetectionsCountByTypeOK) IsRedirect

func (o *ReadDetectionsCountByTypeOK) IsRedirect() bool

IsRedirect returns true when this read detections count by type o k response has a 3xx status code

func (*ReadDetectionsCountByTypeOK) IsServerError

func (o *ReadDetectionsCountByTypeOK) IsServerError() bool

IsServerError returns true when this read detections count by type o k response has a 5xx status code

func (*ReadDetectionsCountByTypeOK) IsSuccess

func (o *ReadDetectionsCountByTypeOK) IsSuccess() bool

IsSuccess returns true when this read detections count by type o k response has a 2xx status code

func (*ReadDetectionsCountByTypeOK) String

func (o *ReadDetectionsCountByTypeOK) String() string

type ReadDetectionsCountByTypeParams

type ReadDetectionsCountByTypeParams struct {

	/* Filter.

	   Filter images using a query in Falcon Query Language (FQL). Supported filters:  cid,container_id,detection_type,id,image_digest,image_id,image_registry,image_repository,image_tag,name,severity
	*/
	Filter *string

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

ReadDetectionsCountByTypeParams contains all the parameters to send to the API endpoint

for the read detections count by type operation.

Typically these are written to a http.Request.

func NewReadDetectionsCountByTypeParams

func NewReadDetectionsCountByTypeParams() *ReadDetectionsCountByTypeParams

NewReadDetectionsCountByTypeParams creates a new ReadDetectionsCountByTypeParams 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 NewReadDetectionsCountByTypeParamsWithContext

func NewReadDetectionsCountByTypeParamsWithContext(ctx context.Context) *ReadDetectionsCountByTypeParams

NewReadDetectionsCountByTypeParamsWithContext creates a new ReadDetectionsCountByTypeParams object with the ability to set a context for a request.

func NewReadDetectionsCountByTypeParamsWithHTTPClient

func NewReadDetectionsCountByTypeParamsWithHTTPClient(client *http.Client) *ReadDetectionsCountByTypeParams

NewReadDetectionsCountByTypeParamsWithHTTPClient creates a new ReadDetectionsCountByTypeParams object with the ability to set a custom HTTPClient for a request.

func NewReadDetectionsCountByTypeParamsWithTimeout

func NewReadDetectionsCountByTypeParamsWithTimeout(timeout time.Duration) *ReadDetectionsCountByTypeParams

NewReadDetectionsCountByTypeParamsWithTimeout creates a new ReadDetectionsCountByTypeParams object with the ability to set a timeout on a request.

func (*ReadDetectionsCountByTypeParams) SetContext

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

SetContext adds the context to the read detections count by type params

func (*ReadDetectionsCountByTypeParams) SetDefaults

func (o *ReadDetectionsCountByTypeParams) SetDefaults()

SetDefaults hydrates default values in the read detections count by type params (not the query body).

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

func (*ReadDetectionsCountByTypeParams) SetFilter

func (o *ReadDetectionsCountByTypeParams) SetFilter(filter *string)

SetFilter adds the filter to the read detections count by type params

func (*ReadDetectionsCountByTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read detections count by type params

func (*ReadDetectionsCountByTypeParams) SetTimeout

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

SetTimeout adds the timeout to the read detections count by type params

func (*ReadDetectionsCountByTypeParams) WithContext

WithContext adds the context to the read detections count by type params

func (*ReadDetectionsCountByTypeParams) WithDefaults

WithDefaults hydrates default values in the read detections count by type params (not the query body).

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

func (*ReadDetectionsCountByTypeParams) WithFilter

WithFilter adds the filter to the read detections count by type params

func (*ReadDetectionsCountByTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read detections count by type params

func (*ReadDetectionsCountByTypeParams) WithTimeout

WithTimeout adds the timeout to the read detections count by type params

func (*ReadDetectionsCountByTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadDetectionsCountByTypeReader

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

ReadDetectionsCountByTypeReader is a Reader for the ReadDetectionsCountByType structure.

func (*ReadDetectionsCountByTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadDetectionsCountByTypeTooManyRequests

type ReadDetectionsCountByTypeTooManyRequests 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
}

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

Too Many Requests

func NewReadDetectionsCountByTypeTooManyRequests

func NewReadDetectionsCountByTypeTooManyRequests() *ReadDetectionsCountByTypeTooManyRequests

NewReadDetectionsCountByTypeTooManyRequests creates a ReadDetectionsCountByTypeTooManyRequests with default headers values

func (*ReadDetectionsCountByTypeTooManyRequests) Code

Code gets the status code for the read detections count by type too many requests response

func (*ReadDetectionsCountByTypeTooManyRequests) Error

func (*ReadDetectionsCountByTypeTooManyRequests) GetPayload

func (*ReadDetectionsCountByTypeTooManyRequests) IsClientError

IsClientError returns true when this read detections count by type too many requests response has a 4xx status code

func (*ReadDetectionsCountByTypeTooManyRequests) IsCode

IsCode returns true when this read detections count by type too many requests response a status code equal to that given

func (*ReadDetectionsCountByTypeTooManyRequests) IsRedirect

IsRedirect returns true when this read detections count by type too many requests response has a 3xx status code

func (*ReadDetectionsCountByTypeTooManyRequests) IsServerError

IsServerError returns true when this read detections count by type too many requests response has a 5xx status code

func (*ReadDetectionsCountByTypeTooManyRequests) IsSuccess

IsSuccess returns true when this read detections count by type too many requests response has a 2xx status code

func (*ReadDetectionsCountByTypeTooManyRequests) String

type ReadDetectionsCountForbidden

type ReadDetectionsCountForbidden 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
}

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

Forbidden

func NewReadDetectionsCountForbidden

func NewReadDetectionsCountForbidden() *ReadDetectionsCountForbidden

NewReadDetectionsCountForbidden creates a ReadDetectionsCountForbidden with default headers values

func (*ReadDetectionsCountForbidden) Code

Code gets the status code for the read detections count forbidden response

func (*ReadDetectionsCountForbidden) Error

func (*ReadDetectionsCountForbidden) GetPayload

func (*ReadDetectionsCountForbidden) IsClientError

func (o *ReadDetectionsCountForbidden) IsClientError() bool

IsClientError returns true when this read detections count forbidden response has a 4xx status code

func (*ReadDetectionsCountForbidden) IsCode

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

IsCode returns true when this read detections count forbidden response a status code equal to that given

func (*ReadDetectionsCountForbidden) IsRedirect

func (o *ReadDetectionsCountForbidden) IsRedirect() bool

IsRedirect returns true when this read detections count forbidden response has a 3xx status code

func (*ReadDetectionsCountForbidden) IsServerError

func (o *ReadDetectionsCountForbidden) IsServerError() bool

IsServerError returns true when this read detections count forbidden response has a 5xx status code

func (*ReadDetectionsCountForbidden) IsSuccess

func (o *ReadDetectionsCountForbidden) IsSuccess() bool

IsSuccess returns true when this read detections count forbidden response has a 2xx status code

func (*ReadDetectionsCountForbidden) String

type ReadDetectionsCountInternalServerError

type ReadDetectionsCountInternalServerError 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.CoreEntitiesResponse
}

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

Internal Server Error

func NewReadDetectionsCountInternalServerError

func NewReadDetectionsCountInternalServerError() *ReadDetectionsCountInternalServerError

NewReadDetectionsCountInternalServerError creates a ReadDetectionsCountInternalServerError with default headers values

func (*ReadDetectionsCountInternalServerError) Code

Code gets the status code for the read detections count internal server error response

func (*ReadDetectionsCountInternalServerError) Error

func (*ReadDetectionsCountInternalServerError) GetPayload

func (*ReadDetectionsCountInternalServerError) IsClientError

func (o *ReadDetectionsCountInternalServerError) IsClientError() bool

IsClientError returns true when this read detections count internal server error response has a 4xx status code

func (*ReadDetectionsCountInternalServerError) IsCode

IsCode returns true when this read detections count internal server error response a status code equal to that given

func (*ReadDetectionsCountInternalServerError) IsRedirect

IsRedirect returns true when this read detections count internal server error response has a 3xx status code

func (*ReadDetectionsCountInternalServerError) IsServerError

func (o *ReadDetectionsCountInternalServerError) IsServerError() bool

IsServerError returns true when this read detections count internal server error response has a 5xx status code

func (*ReadDetectionsCountInternalServerError) IsSuccess

IsSuccess returns true when this read detections count internal server error response has a 2xx status code

func (*ReadDetectionsCountInternalServerError) String

type ReadDetectionsCountOK

type ReadDetectionsCountOK 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.DetectionsAPIDetectionsCount
}

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

OK

func NewReadDetectionsCountOK

func NewReadDetectionsCountOK() *ReadDetectionsCountOK

NewReadDetectionsCountOK creates a ReadDetectionsCountOK with default headers values

func (*ReadDetectionsCountOK) Code

func (o *ReadDetectionsCountOK) Code() int

Code gets the status code for the read detections count o k response

func (*ReadDetectionsCountOK) Error

func (o *ReadDetectionsCountOK) Error() string

func (*ReadDetectionsCountOK) GetPayload

func (*ReadDetectionsCountOK) IsClientError

func (o *ReadDetectionsCountOK) IsClientError() bool

IsClientError returns true when this read detections count o k response has a 4xx status code

func (*ReadDetectionsCountOK) IsCode

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

IsCode returns true when this read detections count o k response a status code equal to that given

func (*ReadDetectionsCountOK) IsRedirect

func (o *ReadDetectionsCountOK) IsRedirect() bool

IsRedirect returns true when this read detections count o k response has a 3xx status code

func (*ReadDetectionsCountOK) IsServerError

func (o *ReadDetectionsCountOK) IsServerError() bool

IsServerError returns true when this read detections count o k response has a 5xx status code

func (*ReadDetectionsCountOK) IsSuccess

func (o *ReadDetectionsCountOK) IsSuccess() bool

IsSuccess returns true when this read detections count o k response has a 2xx status code

func (*ReadDetectionsCountOK) String

func (o *ReadDetectionsCountOK) String() string

type ReadDetectionsCountParams

type ReadDetectionsCountParams struct {

	/* Filter.

	   Filter images using a query in Falcon Query Language (FQL). Supported filters:  cid,container_id,detection_type,id,image_digest,image_id,image_registry,image_repository,image_tag,name,severity
	*/
	Filter *string

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

ReadDetectionsCountParams contains all the parameters to send to the API endpoint

for the read detections count operation.

Typically these are written to a http.Request.

func NewReadDetectionsCountParams

func NewReadDetectionsCountParams() *ReadDetectionsCountParams

NewReadDetectionsCountParams creates a new ReadDetectionsCountParams 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 NewReadDetectionsCountParamsWithContext

func NewReadDetectionsCountParamsWithContext(ctx context.Context) *ReadDetectionsCountParams

NewReadDetectionsCountParamsWithContext creates a new ReadDetectionsCountParams object with the ability to set a context for a request.

func NewReadDetectionsCountParamsWithHTTPClient

func NewReadDetectionsCountParamsWithHTTPClient(client *http.Client) *ReadDetectionsCountParams

NewReadDetectionsCountParamsWithHTTPClient creates a new ReadDetectionsCountParams object with the ability to set a custom HTTPClient for a request.

func NewReadDetectionsCountParamsWithTimeout

func NewReadDetectionsCountParamsWithTimeout(timeout time.Duration) *ReadDetectionsCountParams

NewReadDetectionsCountParamsWithTimeout creates a new ReadDetectionsCountParams object with the ability to set a timeout on a request.

func (*ReadDetectionsCountParams) SetContext

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

SetContext adds the context to the read detections count params

func (*ReadDetectionsCountParams) SetDefaults

func (o *ReadDetectionsCountParams) SetDefaults()

SetDefaults hydrates default values in the read detections count params (not the query body).

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

func (*ReadDetectionsCountParams) SetFilter

func (o *ReadDetectionsCountParams) SetFilter(filter *string)

SetFilter adds the filter to the read detections count params

func (*ReadDetectionsCountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read detections count params

func (*ReadDetectionsCountParams) SetTimeout

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

SetTimeout adds the timeout to the read detections count params

func (*ReadDetectionsCountParams) WithContext

WithContext adds the context to the read detections count params

func (*ReadDetectionsCountParams) WithDefaults

WithDefaults hydrates default values in the read detections count params (not the query body).

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

func (*ReadDetectionsCountParams) WithFilter

WithFilter adds the filter to the read detections count params

func (*ReadDetectionsCountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read detections count params

func (*ReadDetectionsCountParams) WithTimeout

WithTimeout adds the timeout to the read detections count params

func (*ReadDetectionsCountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadDetectionsCountReader

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

ReadDetectionsCountReader is a Reader for the ReadDetectionsCount structure.

func (*ReadDetectionsCountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadDetectionsCountTooManyRequests

type ReadDetectionsCountTooManyRequests 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
}

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

Too Many Requests

func NewReadDetectionsCountTooManyRequests

func NewReadDetectionsCountTooManyRequests() *ReadDetectionsCountTooManyRequests

NewReadDetectionsCountTooManyRequests creates a ReadDetectionsCountTooManyRequests with default headers values

func (*ReadDetectionsCountTooManyRequests) Code

Code gets the status code for the read detections count too many requests response

func (*ReadDetectionsCountTooManyRequests) Error

func (*ReadDetectionsCountTooManyRequests) GetPayload

func (*ReadDetectionsCountTooManyRequests) IsClientError

func (o *ReadDetectionsCountTooManyRequests) IsClientError() bool

IsClientError returns true when this read detections count too many requests response has a 4xx status code

func (*ReadDetectionsCountTooManyRequests) IsCode

IsCode returns true when this read detections count too many requests response a status code equal to that given

func (*ReadDetectionsCountTooManyRequests) IsRedirect

func (o *ReadDetectionsCountTooManyRequests) IsRedirect() bool

IsRedirect returns true when this read detections count too many requests response has a 3xx status code

func (*ReadDetectionsCountTooManyRequests) IsServerError

func (o *ReadDetectionsCountTooManyRequests) IsServerError() bool

IsServerError returns true when this read detections count too many requests response has a 5xx status code

func (*ReadDetectionsCountTooManyRequests) IsSuccess

IsSuccess returns true when this read detections count too many requests response has a 2xx status code

func (*ReadDetectionsCountTooManyRequests) String

type ReadDetectionsForbidden

type ReadDetectionsForbidden 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
}

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

Forbidden

func NewReadDetectionsForbidden

func NewReadDetectionsForbidden() *ReadDetectionsForbidden

NewReadDetectionsForbidden creates a ReadDetectionsForbidden with default headers values

func (*ReadDetectionsForbidden) Code

func (o *ReadDetectionsForbidden) Code() int

Code gets the status code for the read detections forbidden response

func (*ReadDetectionsForbidden) Error

func (o *ReadDetectionsForbidden) Error() string

func (*ReadDetectionsForbidden) GetPayload

func (*ReadDetectionsForbidden) IsClientError

func (o *ReadDetectionsForbidden) IsClientError() bool

IsClientError returns true when this read detections forbidden response has a 4xx status code

func (*ReadDetectionsForbidden) IsCode

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

IsCode returns true when this read detections forbidden response a status code equal to that given

func (*ReadDetectionsForbidden) IsRedirect

func (o *ReadDetectionsForbidden) IsRedirect() bool

IsRedirect returns true when this read detections forbidden response has a 3xx status code

func (*ReadDetectionsForbidden) IsServerError

func (o *ReadDetectionsForbidden) IsServerError() bool

IsServerError returns true when this read detections forbidden response has a 5xx status code

func (*ReadDetectionsForbidden) IsSuccess

func (o *ReadDetectionsForbidden) IsSuccess() bool

IsSuccess returns true when this read detections forbidden response has a 2xx status code

func (*ReadDetectionsForbidden) String

func (o *ReadDetectionsForbidden) String() string

type ReadDetectionsInternalServerError

type ReadDetectionsInternalServerError 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.CoreEntitiesResponse
}

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

Internal Server Error

func NewReadDetectionsInternalServerError

func NewReadDetectionsInternalServerError() *ReadDetectionsInternalServerError

NewReadDetectionsInternalServerError creates a ReadDetectionsInternalServerError with default headers values

func (*ReadDetectionsInternalServerError) Code

Code gets the status code for the read detections internal server error response

func (*ReadDetectionsInternalServerError) Error

func (*ReadDetectionsInternalServerError) GetPayload

func (*ReadDetectionsInternalServerError) IsClientError

func (o *ReadDetectionsInternalServerError) IsClientError() bool

IsClientError returns true when this read detections internal server error response has a 4xx status code

func (*ReadDetectionsInternalServerError) IsCode

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

IsCode returns true when this read detections internal server error response a status code equal to that given

func (*ReadDetectionsInternalServerError) IsRedirect

func (o *ReadDetectionsInternalServerError) IsRedirect() bool

IsRedirect returns true when this read detections internal server error response has a 3xx status code

func (*ReadDetectionsInternalServerError) IsServerError

func (o *ReadDetectionsInternalServerError) IsServerError() bool

IsServerError returns true when this read detections internal server error response has a 5xx status code

func (*ReadDetectionsInternalServerError) IsSuccess

func (o *ReadDetectionsInternalServerError) IsSuccess() bool

IsSuccess returns true when this read detections internal server error response has a 2xx status code

func (*ReadDetectionsInternalServerError) String

type ReadDetectionsOK

type ReadDetectionsOK 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.DetectionsAPIAssessmentDetections
}

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

OK

func NewReadDetectionsOK

func NewReadDetectionsOK() *ReadDetectionsOK

NewReadDetectionsOK creates a ReadDetectionsOK with default headers values

func (*ReadDetectionsOK) Code

func (o *ReadDetectionsOK) Code() int

Code gets the status code for the read detections o k response

func (*ReadDetectionsOK) Error

func (o *ReadDetectionsOK) Error() string

func (*ReadDetectionsOK) GetPayload

func (*ReadDetectionsOK) IsClientError

func (o *ReadDetectionsOK) IsClientError() bool

IsClientError returns true when this read detections o k response has a 4xx status code

func (*ReadDetectionsOK) IsCode

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

IsCode returns true when this read detections o k response a status code equal to that given

func (*ReadDetectionsOK) IsRedirect

func (o *ReadDetectionsOK) IsRedirect() bool

IsRedirect returns true when this read detections o k response has a 3xx status code

func (*ReadDetectionsOK) IsServerError

func (o *ReadDetectionsOK) IsServerError() bool

IsServerError returns true when this read detections o k response has a 5xx status code

func (*ReadDetectionsOK) IsSuccess

func (o *ReadDetectionsOK) IsSuccess() bool

IsSuccess returns true when this read detections o k response has a 2xx status code

func (*ReadDetectionsOK) String

func (o *ReadDetectionsOK) String() string

type ReadDetectionsParams

type ReadDetectionsParams struct {

	/* Filter.

	   Filter images using a query in Falcon Query Language (FQL). Supported filters:  cid,detection_type,image_registry,image_repository,image_tag
	*/
	Filter *string

	/* Limit.

	   The upper-bound on the number of records to retrieve.
	*/
	Limit *int64

	/* Offset.

	   The offset from where to begin.
	*/
	Offset *int64

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

ReadDetectionsParams contains all the parameters to send to the API endpoint

for the read detections operation.

Typically these are written to a http.Request.

func NewReadDetectionsParams

func NewReadDetectionsParams() *ReadDetectionsParams

NewReadDetectionsParams creates a new ReadDetectionsParams 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 NewReadDetectionsParamsWithContext

func NewReadDetectionsParamsWithContext(ctx context.Context) *ReadDetectionsParams

NewReadDetectionsParamsWithContext creates a new ReadDetectionsParams object with the ability to set a context for a request.

func NewReadDetectionsParamsWithHTTPClient

func NewReadDetectionsParamsWithHTTPClient(client *http.Client) *ReadDetectionsParams

NewReadDetectionsParamsWithHTTPClient creates a new ReadDetectionsParams object with the ability to set a custom HTTPClient for a request.

func NewReadDetectionsParamsWithTimeout

func NewReadDetectionsParamsWithTimeout(timeout time.Duration) *ReadDetectionsParams

NewReadDetectionsParamsWithTimeout creates a new ReadDetectionsParams object with the ability to set a timeout on a request.

func (*ReadDetectionsParams) SetContext

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

SetContext adds the context to the read detections params

func (*ReadDetectionsParams) SetDefaults

func (o *ReadDetectionsParams) SetDefaults()

SetDefaults hydrates default values in the read detections params (not the query body).

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

func (*ReadDetectionsParams) SetFilter

func (o *ReadDetectionsParams) SetFilter(filter *string)

SetFilter adds the filter to the read detections params

func (*ReadDetectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read detections params

func (*ReadDetectionsParams) SetLimit

func (o *ReadDetectionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the read detections params

func (*ReadDetectionsParams) SetOffset

func (o *ReadDetectionsParams) SetOffset(offset *int64)

SetOffset adds the offset to the read detections params

func (*ReadDetectionsParams) SetTimeout

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

SetTimeout adds the timeout to the read detections params

func (*ReadDetectionsParams) WithContext

WithContext adds the context to the read detections params

func (*ReadDetectionsParams) WithDefaults

func (o *ReadDetectionsParams) WithDefaults() *ReadDetectionsParams

WithDefaults hydrates default values in the read detections params (not the query body).

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

func (*ReadDetectionsParams) WithFilter

func (o *ReadDetectionsParams) WithFilter(filter *string) *ReadDetectionsParams

WithFilter adds the filter to the read detections params

func (*ReadDetectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read detections params

func (*ReadDetectionsParams) WithLimit

func (o *ReadDetectionsParams) WithLimit(limit *int64) *ReadDetectionsParams

WithLimit adds the limit to the read detections params

func (*ReadDetectionsParams) WithOffset

func (o *ReadDetectionsParams) WithOffset(offset *int64) *ReadDetectionsParams

WithOffset adds the offset to the read detections params

func (*ReadDetectionsParams) WithTimeout

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

WithTimeout adds the timeout to the read detections params

func (*ReadDetectionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadDetectionsReader

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

ReadDetectionsReader is a Reader for the ReadDetections structure.

func (*ReadDetectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadDetectionsTooManyRequests

type ReadDetectionsTooManyRequests 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
}

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

Too Many Requests

func NewReadDetectionsTooManyRequests

func NewReadDetectionsTooManyRequests() *ReadDetectionsTooManyRequests

NewReadDetectionsTooManyRequests creates a ReadDetectionsTooManyRequests with default headers values

func (*ReadDetectionsTooManyRequests) Code

Code gets the status code for the read detections too many requests response

func (*ReadDetectionsTooManyRequests) Error

func (*ReadDetectionsTooManyRequests) GetPayload

func (*ReadDetectionsTooManyRequests) IsClientError

func (o *ReadDetectionsTooManyRequests) IsClientError() bool

IsClientError returns true when this read detections too many requests response has a 4xx status code

func (*ReadDetectionsTooManyRequests) IsCode

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

IsCode returns true when this read detections too many requests response a status code equal to that given

func (*ReadDetectionsTooManyRequests) IsRedirect

func (o *ReadDetectionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this read detections too many requests response has a 3xx status code

func (*ReadDetectionsTooManyRequests) IsServerError

func (o *ReadDetectionsTooManyRequests) IsServerError() bool

IsServerError returns true when this read detections too many requests response has a 5xx status code

func (*ReadDetectionsTooManyRequests) IsSuccess

func (o *ReadDetectionsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this read detections too many requests response has a 2xx status code

func (*ReadDetectionsTooManyRequests) String

type SearchDetectionsForbidden

type SearchDetectionsForbidden 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
}

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

Forbidden

func NewSearchDetectionsForbidden

func NewSearchDetectionsForbidden() *SearchDetectionsForbidden

NewSearchDetectionsForbidden creates a SearchDetectionsForbidden with default headers values

func (*SearchDetectionsForbidden) Code

func (o *SearchDetectionsForbidden) Code() int

Code gets the status code for the search detections forbidden response

func (*SearchDetectionsForbidden) Error

func (o *SearchDetectionsForbidden) Error() string

func (*SearchDetectionsForbidden) GetPayload

func (*SearchDetectionsForbidden) IsClientError

func (o *SearchDetectionsForbidden) IsClientError() bool

IsClientError returns true when this search detections forbidden response has a 4xx status code

func (*SearchDetectionsForbidden) IsCode

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

IsCode returns true when this search detections forbidden response a status code equal to that given

func (*SearchDetectionsForbidden) IsRedirect

func (o *SearchDetectionsForbidden) IsRedirect() bool

IsRedirect returns true when this search detections forbidden response has a 3xx status code

func (*SearchDetectionsForbidden) IsServerError

func (o *SearchDetectionsForbidden) IsServerError() bool

IsServerError returns true when this search detections forbidden response has a 5xx status code

func (*SearchDetectionsForbidden) IsSuccess

func (o *SearchDetectionsForbidden) IsSuccess() bool

IsSuccess returns true when this search detections forbidden response has a 2xx status code

func (*SearchDetectionsForbidden) String

func (o *SearchDetectionsForbidden) String() string

type SearchDetectionsInternalServerError

type SearchDetectionsInternalServerError 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.CoreEntitiesResponse
}

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

Internal Server Error

func NewSearchDetectionsInternalServerError

func NewSearchDetectionsInternalServerError() *SearchDetectionsInternalServerError

NewSearchDetectionsInternalServerError creates a SearchDetectionsInternalServerError with default headers values

func (*SearchDetectionsInternalServerError) Code

Code gets the status code for the search detections internal server error response

func (*SearchDetectionsInternalServerError) Error

func (*SearchDetectionsInternalServerError) GetPayload

func (*SearchDetectionsInternalServerError) IsClientError

func (o *SearchDetectionsInternalServerError) IsClientError() bool

IsClientError returns true when this search detections internal server error response has a 4xx status code

func (*SearchDetectionsInternalServerError) IsCode

IsCode returns true when this search detections internal server error response a status code equal to that given

func (*SearchDetectionsInternalServerError) IsRedirect

func (o *SearchDetectionsInternalServerError) IsRedirect() bool

IsRedirect returns true when this search detections internal server error response has a 3xx status code

func (*SearchDetectionsInternalServerError) IsServerError

func (o *SearchDetectionsInternalServerError) IsServerError() bool

IsServerError returns true when this search detections internal server error response has a 5xx status code

func (*SearchDetectionsInternalServerError) IsSuccess

IsSuccess returns true when this search detections internal server error response has a 2xx status code

func (*SearchDetectionsInternalServerError) String

type SearchDetectionsOK

type SearchDetectionsOK 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.CommonGenericEntityResponseString
}

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

OK

func NewSearchDetectionsOK

func NewSearchDetectionsOK() *SearchDetectionsOK

NewSearchDetectionsOK creates a SearchDetectionsOK with default headers values

func (*SearchDetectionsOK) Code

func (o *SearchDetectionsOK) Code() int

Code gets the status code for the search detections o k response

func (*SearchDetectionsOK) Error

func (o *SearchDetectionsOK) Error() string

func (*SearchDetectionsOK) GetPayload

func (*SearchDetectionsOK) IsClientError

func (o *SearchDetectionsOK) IsClientError() bool

IsClientError returns true when this search detections o k response has a 4xx status code

func (*SearchDetectionsOK) IsCode

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

IsCode returns true when this search detections o k response a status code equal to that given

func (*SearchDetectionsOK) IsRedirect

func (o *SearchDetectionsOK) IsRedirect() bool

IsRedirect returns true when this search detections o k response has a 3xx status code

func (*SearchDetectionsOK) IsServerError

func (o *SearchDetectionsOK) IsServerError() bool

IsServerError returns true when this search detections o k response has a 5xx status code

func (*SearchDetectionsOK) IsSuccess

func (o *SearchDetectionsOK) IsSuccess() bool

IsSuccess returns true when this search detections o k response has a 2xx status code

func (*SearchDetectionsOK) String

func (o *SearchDetectionsOK) String() string

type SearchDetectionsParams

type SearchDetectionsParams struct {

	/* Filter.

	   Filter images using a query in Falcon Query Language (FQL). Supported filters:  cid,container_id,detection_type,id,image_digest,image_id,image_registry,image_repository,image_tag,name,severity
	*/
	Filter *string

	/* Limit.

	   The upper-bound on the number of records to retrieve.
	*/
	Limit *int64

	/* Offset.

	   The offset from where to begin.
	*/
	Offset *int64

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

SearchDetectionsParams contains all the parameters to send to the API endpoint

for the search detections operation.

Typically these are written to a http.Request.

func NewSearchDetectionsParams

func NewSearchDetectionsParams() *SearchDetectionsParams

NewSearchDetectionsParams creates a new SearchDetectionsParams 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 NewSearchDetectionsParamsWithContext

func NewSearchDetectionsParamsWithContext(ctx context.Context) *SearchDetectionsParams

NewSearchDetectionsParamsWithContext creates a new SearchDetectionsParams object with the ability to set a context for a request.

func NewSearchDetectionsParamsWithHTTPClient

func NewSearchDetectionsParamsWithHTTPClient(client *http.Client) *SearchDetectionsParams

NewSearchDetectionsParamsWithHTTPClient creates a new SearchDetectionsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchDetectionsParamsWithTimeout

func NewSearchDetectionsParamsWithTimeout(timeout time.Duration) *SearchDetectionsParams

NewSearchDetectionsParamsWithTimeout creates a new SearchDetectionsParams object with the ability to set a timeout on a request.

func (*SearchDetectionsParams) SetContext

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

SetContext adds the context to the search detections params

func (*SearchDetectionsParams) SetDefaults

func (o *SearchDetectionsParams) SetDefaults()

SetDefaults hydrates default values in the search detections params (not the query body).

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

func (*SearchDetectionsParams) SetFilter

func (o *SearchDetectionsParams) SetFilter(filter *string)

SetFilter adds the filter to the search detections params

func (*SearchDetectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search detections params

func (*SearchDetectionsParams) SetLimit

func (o *SearchDetectionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search detections params

func (*SearchDetectionsParams) SetOffset

func (o *SearchDetectionsParams) SetOffset(offset *int64)

SetOffset adds the offset to the search detections params

func (*SearchDetectionsParams) SetTimeout

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

SetTimeout adds the timeout to the search detections params

func (*SearchDetectionsParams) WithContext

WithContext adds the context to the search detections params

func (*SearchDetectionsParams) WithDefaults

WithDefaults hydrates default values in the search detections params (not the query body).

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

func (*SearchDetectionsParams) WithFilter

func (o *SearchDetectionsParams) WithFilter(filter *string) *SearchDetectionsParams

WithFilter adds the filter to the search detections params

func (*SearchDetectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search detections params

func (*SearchDetectionsParams) WithLimit

func (o *SearchDetectionsParams) WithLimit(limit *int64) *SearchDetectionsParams

WithLimit adds the limit to the search detections params

func (*SearchDetectionsParams) WithOffset

func (o *SearchDetectionsParams) WithOffset(offset *int64) *SearchDetectionsParams

WithOffset adds the offset to the search detections params

func (*SearchDetectionsParams) WithTimeout

WithTimeout adds the timeout to the search detections params

func (*SearchDetectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchDetectionsReader

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

SearchDetectionsReader is a Reader for the SearchDetections structure.

func (*SearchDetectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchDetectionsTooManyRequests

type SearchDetectionsTooManyRequests 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
}

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

Too Many Requests

func NewSearchDetectionsTooManyRequests

func NewSearchDetectionsTooManyRequests() *SearchDetectionsTooManyRequests

NewSearchDetectionsTooManyRequests creates a SearchDetectionsTooManyRequests with default headers values

func (*SearchDetectionsTooManyRequests) Code

Code gets the status code for the search detections too many requests response

func (*SearchDetectionsTooManyRequests) Error

func (*SearchDetectionsTooManyRequests) GetPayload

func (*SearchDetectionsTooManyRequests) IsClientError

func (o *SearchDetectionsTooManyRequests) IsClientError() bool

IsClientError returns true when this search detections too many requests response has a 4xx status code

func (*SearchDetectionsTooManyRequests) IsCode

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

IsCode returns true when this search detections too many requests response a status code equal to that given

func (*SearchDetectionsTooManyRequests) IsRedirect

func (o *SearchDetectionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this search detections too many requests response has a 3xx status code

func (*SearchDetectionsTooManyRequests) IsServerError

func (o *SearchDetectionsTooManyRequests) IsServerError() bool

IsServerError returns true when this search detections too many requests response has a 5xx status code

func (*SearchDetectionsTooManyRequests) IsSuccess

func (o *SearchDetectionsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this search detections too many requests response has a 2xx status code

func (*SearchDetectionsTooManyRequests) String

Jump to

Keyboard shortcuts

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