Documentation ¶
Index ¶
- type Client
- func (a *Client) Count(params *CountParams, opts ...ClientOption) (*CountOK, error)
- func (a *Client) CountByDateRange(params *CountByDateRangeParams, opts ...ClientOption) (*CountByDateRangeOK, error)
- func (a *Client) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CountByDateRangeForbidden
- func (o *CountByDateRangeForbidden) Code() int
- func (o *CountByDateRangeForbidden) Error() string
- func (o *CountByDateRangeForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *CountByDateRangeForbidden) IsClientError() bool
- func (o *CountByDateRangeForbidden) IsCode(code int) bool
- func (o *CountByDateRangeForbidden) IsRedirect() bool
- func (o *CountByDateRangeForbidden) IsServerError() bool
- func (o *CountByDateRangeForbidden) IsSuccess() bool
- func (o *CountByDateRangeForbidden) String() string
- type CountByDateRangeInternalServerError
- func (o *CountByDateRangeInternalServerError) Code() int
- func (o *CountByDateRangeInternalServerError) Error() string
- func (o *CountByDateRangeInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *CountByDateRangeInternalServerError) IsClientError() bool
- func (o *CountByDateRangeInternalServerError) IsCode(code int) bool
- func (o *CountByDateRangeInternalServerError) IsRedirect() bool
- func (o *CountByDateRangeInternalServerError) IsServerError() bool
- func (o *CountByDateRangeInternalServerError) IsSuccess() bool
- func (o *CountByDateRangeInternalServerError) String() string
- type CountByDateRangeOK
- func (o *CountByDateRangeOK) Code() int
- func (o *CountByDateRangeOK) Error() string
- func (o *CountByDateRangeOK) GetPayload() *models.ModelsAggregateValuesByFieldResponse
- func (o *CountByDateRangeOK) IsClientError() bool
- func (o *CountByDateRangeOK) IsCode(code int) bool
- func (o *CountByDateRangeOK) IsRedirect() bool
- func (o *CountByDateRangeOK) IsServerError() bool
- func (o *CountByDateRangeOK) IsSuccess() bool
- func (o *CountByDateRangeOK) String() string
- type CountByDateRangeParams
- func NewCountByDateRangeParams() *CountByDateRangeParams
- func NewCountByDateRangeParamsWithContext(ctx context.Context) *CountByDateRangeParams
- func NewCountByDateRangeParamsWithHTTPClient(client *http.Client) *CountByDateRangeParams
- func NewCountByDateRangeParamsWithTimeout(timeout time.Duration) *CountByDateRangeParams
- func (o *CountByDateRangeParams) SetContext(ctx context.Context)
- func (o *CountByDateRangeParams) SetDefaults()
- func (o *CountByDateRangeParams) SetFilter(filter *string)
- func (o *CountByDateRangeParams) SetHTTPClient(client *http.Client)
- func (o *CountByDateRangeParams) SetTimeout(timeout time.Duration)
- func (o *CountByDateRangeParams) WithContext(ctx context.Context) *CountByDateRangeParams
- func (o *CountByDateRangeParams) WithDefaults() *CountByDateRangeParams
- func (o *CountByDateRangeParams) WithFilter(filter *string) *CountByDateRangeParams
- func (o *CountByDateRangeParams) WithHTTPClient(client *http.Client) *CountByDateRangeParams
- func (o *CountByDateRangeParams) WithTimeout(timeout time.Duration) *CountByDateRangeParams
- func (o *CountByDateRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CountByDateRangeReader
- type CountByDateRangeTooManyRequests
- func (o *CountByDateRangeTooManyRequests) Code() int
- func (o *CountByDateRangeTooManyRequests) Error() string
- func (o *CountByDateRangeTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *CountByDateRangeTooManyRequests) IsClientError() bool
- func (o *CountByDateRangeTooManyRequests) IsCode(code int) bool
- func (o *CountByDateRangeTooManyRequests) IsRedirect() bool
- func (o *CountByDateRangeTooManyRequests) IsServerError() bool
- func (o *CountByDateRangeTooManyRequests) IsSuccess() bool
- func (o *CountByDateRangeTooManyRequests) String() string
- type CountForbidden
- func (o *CountForbidden) Code() int
- func (o *CountForbidden) Error() string
- func (o *CountForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *CountForbidden) IsClientError() bool
- func (o *CountForbidden) IsCode(code int) bool
- func (o *CountForbidden) IsRedirect() bool
- func (o *CountForbidden) IsServerError() bool
- func (o *CountForbidden) IsSuccess() bool
- func (o *CountForbidden) String() string
- type CountInternalServerError
- func (o *CountInternalServerError) Code() int
- func (o *CountInternalServerError) Error() string
- func (o *CountInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *CountInternalServerError) IsClientError() bool
- func (o *CountInternalServerError) IsCode(code int) bool
- func (o *CountInternalServerError) IsRedirect() bool
- func (o *CountInternalServerError) IsServerError() bool
- func (o *CountInternalServerError) IsSuccess() bool
- func (o *CountInternalServerError) String() string
- type CountOK
- func (o *CountOK) Code() int
- func (o *CountOK) Error() string
- func (o *CountOK) GetPayload() *models.UnidentifiedcontainersUnidentifiedContainersCountValue
- func (o *CountOK) IsClientError() bool
- func (o *CountOK) IsCode(code int) bool
- func (o *CountOK) IsRedirect() bool
- func (o *CountOK) IsServerError() bool
- func (o *CountOK) IsSuccess() bool
- func (o *CountOK) String() string
- type CountParams
- func (o *CountParams) SetContext(ctx context.Context)
- func (o *CountParams) SetDefaults()
- func (o *CountParams) SetFilter(filter *string)
- func (o *CountParams) SetHTTPClient(client *http.Client)
- func (o *CountParams) SetTimeout(timeout time.Duration)
- func (o *CountParams) WithContext(ctx context.Context) *CountParams
- func (o *CountParams) WithDefaults() *CountParams
- func (o *CountParams) WithFilter(filter *string) *CountParams
- func (o *CountParams) WithHTTPClient(client *http.Client) *CountParams
- func (o *CountParams) WithTimeout(timeout time.Duration) *CountParams
- func (o *CountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CountReader
- type CountTooManyRequests
- func (o *CountTooManyRequests) Code() int
- func (o *CountTooManyRequests) Error() string
- func (o *CountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *CountTooManyRequests) IsClientError() bool
- func (o *CountTooManyRequests) IsCode(code int) bool
- func (o *CountTooManyRequests) IsRedirect() bool
- func (o *CountTooManyRequests) IsServerError() bool
- func (o *CountTooManyRequests) IsSuccess() bool
- func (o *CountTooManyRequests) String() string
- type SearchForbidden
- func (o *SearchForbidden) Code() int
- func (o *SearchForbidden) Error() string
- func (o *SearchForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchForbidden) IsClientError() bool
- func (o *SearchForbidden) IsCode(code int) bool
- func (o *SearchForbidden) IsRedirect() bool
- func (o *SearchForbidden) IsServerError() bool
- func (o *SearchForbidden) IsSuccess() bool
- func (o *SearchForbidden) String() string
- type SearchInternalServerError
- func (o *SearchInternalServerError) Code() int
- func (o *SearchInternalServerError) Error() string
- func (o *SearchInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *SearchInternalServerError) IsClientError() bool
- func (o *SearchInternalServerError) IsCode(code int) bool
- func (o *SearchInternalServerError) IsRedirect() bool
- func (o *SearchInternalServerError) IsServerError() bool
- func (o *SearchInternalServerError) IsSuccess() bool
- func (o *SearchInternalServerError) String() string
- type SearchOK
- func (o *SearchOK) Code() int
- func (o *SearchOK) Error() string
- func (o *SearchOK) GetPayload() *models.UnidentifiedcontainersUnidentifiedContainerAPIResponse
- func (o *SearchOK) IsClientError() bool
- func (o *SearchOK) IsCode(code int) bool
- func (o *SearchOK) IsRedirect() bool
- func (o *SearchOK) IsServerError() bool
- func (o *SearchOK) IsSuccess() bool
- func (o *SearchOK) String() string
- type SearchParams
- func (o *SearchParams) SetContext(ctx context.Context)
- func (o *SearchParams) SetDefaults()
- func (o *SearchParams) SetFilter(filter *string)
- func (o *SearchParams) SetHTTPClient(client *http.Client)
- func (o *SearchParams) SetLimit(limit *int64)
- func (o *SearchParams) SetOffset(offset *int64)
- func (o *SearchParams) SetSort(sort *string)
- func (o *SearchParams) SetTimeout(timeout time.Duration)
- func (o *SearchParams) WithContext(ctx context.Context) *SearchParams
- func (o *SearchParams) WithDefaults() *SearchParams
- func (o *SearchParams) WithFilter(filter *string) *SearchParams
- func (o *SearchParams) WithHTTPClient(client *http.Client) *SearchParams
- func (o *SearchParams) WithLimit(limit *int64) *SearchParams
- func (o *SearchParams) WithOffset(offset *int64) *SearchParams
- func (o *SearchParams) WithSort(sort *string) *SearchParams
- func (o *SearchParams) WithTimeout(timeout time.Duration) *SearchParams
- func (o *SearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchReader
- type SearchTooManyRequests
- func (o *SearchTooManyRequests) Code() int
- func (o *SearchTooManyRequests) Error() string
- func (o *SearchTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchTooManyRequests) IsClientError() bool
- func (o *SearchTooManyRequests) IsCode(code int) bool
- func (o *SearchTooManyRequests) IsRedirect() bool
- func (o *SearchTooManyRequests) IsServerError() bool
- func (o *SearchTooManyRequests) IsSuccess() bool
- func (o *SearchTooManyRequests) 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 unidentified containers API
func (*Client) Count ¶
func (a *Client) Count(params *CountParams, opts ...ClientOption) (*CountOK, error)
Count returns the total count of unidentified containers over a time period
func (*Client) CountByDateRange ¶
func (a *Client) CountByDateRange(params *CountByDateRangeParams, opts ...ClientOption) (*CountByDateRangeOK, error)
CountByDateRange returns the count of unidentified containers over the last 7 days
func (*Client) Search ¶
func (a *Client) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)
Search searches unidentified containers by the provided search 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 { Count(params *CountParams, opts ...ClientOption) (*CountOK, error) CountByDateRange(params *CountByDateRangeParams, opts ...ClientOption) (*CountByDateRangeOK, error) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, 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 unidentified containers API client.
type CountByDateRangeForbidden ¶
type CountByDateRangeForbidden 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 }
CountByDateRangeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCountByDateRangeForbidden ¶
func NewCountByDateRangeForbidden() *CountByDateRangeForbidden
NewCountByDateRangeForbidden creates a CountByDateRangeForbidden with default headers values
func (*CountByDateRangeForbidden) Code ¶
func (o *CountByDateRangeForbidden) Code() int
Code gets the status code for the count by date range forbidden response
func (*CountByDateRangeForbidden) Error ¶
func (o *CountByDateRangeForbidden) Error() string
func (*CountByDateRangeForbidden) GetPayload ¶
func (o *CountByDateRangeForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*CountByDateRangeForbidden) IsClientError ¶
func (o *CountByDateRangeForbidden) IsClientError() bool
IsClientError returns true when this count by date range forbidden response has a 4xx status code
func (*CountByDateRangeForbidden) IsCode ¶
func (o *CountByDateRangeForbidden) IsCode(code int) bool
IsCode returns true when this count by date range forbidden response a status code equal to that given
func (*CountByDateRangeForbidden) IsRedirect ¶
func (o *CountByDateRangeForbidden) IsRedirect() bool
IsRedirect returns true when this count by date range forbidden response has a 3xx status code
func (*CountByDateRangeForbidden) IsServerError ¶
func (o *CountByDateRangeForbidden) IsServerError() bool
IsServerError returns true when this count by date range forbidden response has a 5xx status code
func (*CountByDateRangeForbidden) IsSuccess ¶
func (o *CountByDateRangeForbidden) IsSuccess() bool
IsSuccess returns true when this count by date range forbidden response has a 2xx status code
func (*CountByDateRangeForbidden) String ¶
func (o *CountByDateRangeForbidden) String() string
type CountByDateRangeInternalServerError ¶
type CountByDateRangeInternalServerError 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 }
CountByDateRangeInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCountByDateRangeInternalServerError ¶
func NewCountByDateRangeInternalServerError() *CountByDateRangeInternalServerError
NewCountByDateRangeInternalServerError creates a CountByDateRangeInternalServerError with default headers values
func (*CountByDateRangeInternalServerError) Code ¶
func (o *CountByDateRangeInternalServerError) Code() int
Code gets the status code for the count by date range internal server error response
func (*CountByDateRangeInternalServerError) Error ¶
func (o *CountByDateRangeInternalServerError) Error() string
func (*CountByDateRangeInternalServerError) GetPayload ¶
func (o *CountByDateRangeInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*CountByDateRangeInternalServerError) IsClientError ¶
func (o *CountByDateRangeInternalServerError) IsClientError() bool
IsClientError returns true when this count by date range internal server error response has a 4xx status code
func (*CountByDateRangeInternalServerError) IsCode ¶
func (o *CountByDateRangeInternalServerError) IsCode(code int) bool
IsCode returns true when this count by date range internal server error response a status code equal to that given
func (*CountByDateRangeInternalServerError) IsRedirect ¶
func (o *CountByDateRangeInternalServerError) IsRedirect() bool
IsRedirect returns true when this count by date range internal server error response has a 3xx status code
func (*CountByDateRangeInternalServerError) IsServerError ¶
func (o *CountByDateRangeInternalServerError) IsServerError() bool
IsServerError returns true when this count by date range internal server error response has a 5xx status code
func (*CountByDateRangeInternalServerError) IsSuccess ¶
func (o *CountByDateRangeInternalServerError) IsSuccess() bool
IsSuccess returns true when this count by date range internal server error response has a 2xx status code
func (*CountByDateRangeInternalServerError) String ¶
func (o *CountByDateRangeInternalServerError) String() string
type CountByDateRangeOK ¶
type CountByDateRangeOK 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.ModelsAggregateValuesByFieldResponse }
CountByDateRangeOK describes a response with status code 200, with default header values.
OK
func NewCountByDateRangeOK ¶
func NewCountByDateRangeOK() *CountByDateRangeOK
NewCountByDateRangeOK creates a CountByDateRangeOK with default headers values
func (*CountByDateRangeOK) Code ¶
func (o *CountByDateRangeOK) Code() int
Code gets the status code for the count by date range o k response
func (*CountByDateRangeOK) Error ¶
func (o *CountByDateRangeOK) Error() string
func (*CountByDateRangeOK) GetPayload ¶
func (o *CountByDateRangeOK) GetPayload() *models.ModelsAggregateValuesByFieldResponse
func (*CountByDateRangeOK) IsClientError ¶
func (o *CountByDateRangeOK) IsClientError() bool
IsClientError returns true when this count by date range o k response has a 4xx status code
func (*CountByDateRangeOK) IsCode ¶
func (o *CountByDateRangeOK) IsCode(code int) bool
IsCode returns true when this count by date range o k response a status code equal to that given
func (*CountByDateRangeOK) IsRedirect ¶
func (o *CountByDateRangeOK) IsRedirect() bool
IsRedirect returns true when this count by date range o k response has a 3xx status code
func (*CountByDateRangeOK) IsServerError ¶
func (o *CountByDateRangeOK) IsServerError() bool
IsServerError returns true when this count by date range o k response has a 5xx status code
func (*CountByDateRangeOK) IsSuccess ¶
func (o *CountByDateRangeOK) IsSuccess() bool
IsSuccess returns true when this count by date range o k response has a 2xx status code
func (*CountByDateRangeOK) String ¶
func (o *CountByDateRangeOK) String() string
type CountByDateRangeParams ¶
type CountByDateRangeParams struct { /* Filter. Filter Unidentified Containers using a query in Falcon Query Language (FQL). Supported filters: assessed_images_count,cid,cluster_name,containers_impacted_count,detections_count,image_assessment_detections_count,last_seen,namespace,node_name,severity,unassessed_images_count,visible_to_k8s */ Filter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CountByDateRangeParams contains all the parameters to send to the API endpoint
for the count by date range operation. Typically these are written to a http.Request.
func NewCountByDateRangeParams ¶
func NewCountByDateRangeParams() *CountByDateRangeParams
NewCountByDateRangeParams creates a new CountByDateRangeParams 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 NewCountByDateRangeParamsWithContext ¶
func NewCountByDateRangeParamsWithContext(ctx context.Context) *CountByDateRangeParams
NewCountByDateRangeParamsWithContext creates a new CountByDateRangeParams object with the ability to set a context for a request.
func NewCountByDateRangeParamsWithHTTPClient ¶
func NewCountByDateRangeParamsWithHTTPClient(client *http.Client) *CountByDateRangeParams
NewCountByDateRangeParamsWithHTTPClient creates a new CountByDateRangeParams object with the ability to set a custom HTTPClient for a request.
func NewCountByDateRangeParamsWithTimeout ¶
func NewCountByDateRangeParamsWithTimeout(timeout time.Duration) *CountByDateRangeParams
NewCountByDateRangeParamsWithTimeout creates a new CountByDateRangeParams object with the ability to set a timeout on a request.
func (*CountByDateRangeParams) SetContext ¶
func (o *CountByDateRangeParams) SetContext(ctx context.Context)
SetContext adds the context to the count by date range params
func (*CountByDateRangeParams) SetDefaults ¶
func (o *CountByDateRangeParams) SetDefaults()
SetDefaults hydrates default values in the count by date range params (not the query body).
All values with no default are reset to their zero value.
func (*CountByDateRangeParams) SetFilter ¶
func (o *CountByDateRangeParams) SetFilter(filter *string)
SetFilter adds the filter to the count by date range params
func (*CountByDateRangeParams) SetHTTPClient ¶
func (o *CountByDateRangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the count by date range params
func (*CountByDateRangeParams) SetTimeout ¶
func (o *CountByDateRangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the count by date range params
func (*CountByDateRangeParams) WithContext ¶
func (o *CountByDateRangeParams) WithContext(ctx context.Context) *CountByDateRangeParams
WithContext adds the context to the count by date range params
func (*CountByDateRangeParams) WithDefaults ¶
func (o *CountByDateRangeParams) WithDefaults() *CountByDateRangeParams
WithDefaults hydrates default values in the count by date range params (not the query body).
All values with no default are reset to their zero value.
func (*CountByDateRangeParams) WithFilter ¶
func (o *CountByDateRangeParams) WithFilter(filter *string) *CountByDateRangeParams
WithFilter adds the filter to the count by date range params
func (*CountByDateRangeParams) WithHTTPClient ¶
func (o *CountByDateRangeParams) WithHTTPClient(client *http.Client) *CountByDateRangeParams
WithHTTPClient adds the HTTPClient to the count by date range params
func (*CountByDateRangeParams) WithTimeout ¶
func (o *CountByDateRangeParams) WithTimeout(timeout time.Duration) *CountByDateRangeParams
WithTimeout adds the timeout to the count by date range params
func (*CountByDateRangeParams) WriteToRequest ¶
func (o *CountByDateRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CountByDateRangeReader ¶
type CountByDateRangeReader struct {
// contains filtered or unexported fields
}
CountByDateRangeReader is a Reader for the CountByDateRange structure.
func (*CountByDateRangeReader) ReadResponse ¶
func (o *CountByDateRangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CountByDateRangeTooManyRequests ¶
type CountByDateRangeTooManyRequests 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 }
CountByDateRangeTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCountByDateRangeTooManyRequests ¶
func NewCountByDateRangeTooManyRequests() *CountByDateRangeTooManyRequests
NewCountByDateRangeTooManyRequests creates a CountByDateRangeTooManyRequests with default headers values
func (*CountByDateRangeTooManyRequests) Code ¶
func (o *CountByDateRangeTooManyRequests) Code() int
Code gets the status code for the count by date range too many requests response
func (*CountByDateRangeTooManyRequests) Error ¶
func (o *CountByDateRangeTooManyRequests) Error() string
func (*CountByDateRangeTooManyRequests) GetPayload ¶
func (o *CountByDateRangeTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*CountByDateRangeTooManyRequests) IsClientError ¶
func (o *CountByDateRangeTooManyRequests) IsClientError() bool
IsClientError returns true when this count by date range too many requests response has a 4xx status code
func (*CountByDateRangeTooManyRequests) IsCode ¶
func (o *CountByDateRangeTooManyRequests) IsCode(code int) bool
IsCode returns true when this count by date range too many requests response a status code equal to that given
func (*CountByDateRangeTooManyRequests) IsRedirect ¶
func (o *CountByDateRangeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this count by date range too many requests response has a 3xx status code
func (*CountByDateRangeTooManyRequests) IsServerError ¶
func (o *CountByDateRangeTooManyRequests) IsServerError() bool
IsServerError returns true when this count by date range too many requests response has a 5xx status code
func (*CountByDateRangeTooManyRequests) IsSuccess ¶
func (o *CountByDateRangeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this count by date range too many requests response has a 2xx status code
func (*CountByDateRangeTooManyRequests) String ¶
func (o *CountByDateRangeTooManyRequests) String() string
type CountForbidden ¶
type CountForbidden 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 }
CountForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCountForbidden ¶
func NewCountForbidden() *CountForbidden
NewCountForbidden creates a CountForbidden with default headers values
func (*CountForbidden) Code ¶
func (o *CountForbidden) Code() int
Code gets the status code for the count forbidden response
func (*CountForbidden) Error ¶
func (o *CountForbidden) Error() string
func (*CountForbidden) GetPayload ¶
func (o *CountForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*CountForbidden) IsClientError ¶
func (o *CountForbidden) IsClientError() bool
IsClientError returns true when this count forbidden response has a 4xx status code
func (*CountForbidden) IsCode ¶
func (o *CountForbidden) IsCode(code int) bool
IsCode returns true when this count forbidden response a status code equal to that given
func (*CountForbidden) IsRedirect ¶
func (o *CountForbidden) IsRedirect() bool
IsRedirect returns true when this count forbidden response has a 3xx status code
func (*CountForbidden) IsServerError ¶
func (o *CountForbidden) IsServerError() bool
IsServerError returns true when this count forbidden response has a 5xx status code
func (*CountForbidden) IsSuccess ¶
func (o *CountForbidden) IsSuccess() bool
IsSuccess returns true when this count forbidden response has a 2xx status code
func (*CountForbidden) String ¶
func (o *CountForbidden) String() string
type CountInternalServerError ¶
type CountInternalServerError 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 }
CountInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCountInternalServerError ¶
func NewCountInternalServerError() *CountInternalServerError
NewCountInternalServerError creates a CountInternalServerError with default headers values
func (*CountInternalServerError) Code ¶
func (o *CountInternalServerError) Code() int
Code gets the status code for the count internal server error response
func (*CountInternalServerError) Error ¶
func (o *CountInternalServerError) Error() string
func (*CountInternalServerError) GetPayload ¶
func (o *CountInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*CountInternalServerError) IsClientError ¶
func (o *CountInternalServerError) IsClientError() bool
IsClientError returns true when this count internal server error response has a 4xx status code
func (*CountInternalServerError) IsCode ¶
func (o *CountInternalServerError) IsCode(code int) bool
IsCode returns true when this count internal server error response a status code equal to that given
func (*CountInternalServerError) IsRedirect ¶
func (o *CountInternalServerError) IsRedirect() bool
IsRedirect returns true when this count internal server error response has a 3xx status code
func (*CountInternalServerError) IsServerError ¶
func (o *CountInternalServerError) IsServerError() bool
IsServerError returns true when this count internal server error response has a 5xx status code
func (*CountInternalServerError) IsSuccess ¶
func (o *CountInternalServerError) IsSuccess() bool
IsSuccess returns true when this count internal server error response has a 2xx status code
func (*CountInternalServerError) String ¶
func (o *CountInternalServerError) String() string
type CountOK ¶
type CountOK 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.UnidentifiedcontainersUnidentifiedContainersCountValue }
CountOK describes a response with status code 200, with default header values.
OK
func NewCountOK ¶
func NewCountOK() *CountOK
NewCountOK creates a CountOK with default headers values
func (*CountOK) GetPayload ¶
func (o *CountOK) GetPayload() *models.UnidentifiedcontainersUnidentifiedContainersCountValue
func (*CountOK) IsClientError ¶
IsClientError returns true when this count o k response has a 4xx status code
func (*CountOK) IsCode ¶
IsCode returns true when this count o k response a status code equal to that given
func (*CountOK) IsRedirect ¶
IsRedirect returns true when this count o k response has a 3xx status code
func (*CountOK) IsServerError ¶
IsServerError returns true when this count o k response has a 5xx status code
type CountParams ¶
type CountParams struct { /* Filter. Filter Unidentified Containers using a query in Falcon Query Language (FQL). Supported filters: assessed_images_count,cid,cluster_name,containers_impacted_count,detections_count,image_assessment_detections_count,last_seen,namespace,node_name,severity,unassessed_images_count,visible_to_k8s */ Filter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CountParams contains all the parameters to send to the API endpoint
for the count operation. Typically these are written to a http.Request.
func NewCountParams ¶
func NewCountParams() *CountParams
NewCountParams creates a new CountParams 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 NewCountParamsWithContext ¶
func NewCountParamsWithContext(ctx context.Context) *CountParams
NewCountParamsWithContext creates a new CountParams object with the ability to set a context for a request.
func NewCountParamsWithHTTPClient ¶
func NewCountParamsWithHTTPClient(client *http.Client) *CountParams
NewCountParamsWithHTTPClient creates a new CountParams object with the ability to set a custom HTTPClient for a request.
func NewCountParamsWithTimeout ¶
func NewCountParamsWithTimeout(timeout time.Duration) *CountParams
NewCountParamsWithTimeout creates a new CountParams object with the ability to set a timeout on a request.
func (*CountParams) SetContext ¶
func (o *CountParams) SetContext(ctx context.Context)
SetContext adds the context to the count params
func (*CountParams) SetDefaults ¶
func (o *CountParams) SetDefaults()
SetDefaults hydrates default values in the count params (not the query body).
All values with no default are reset to their zero value.
func (*CountParams) SetFilter ¶
func (o *CountParams) SetFilter(filter *string)
SetFilter adds the filter to the count params
func (*CountParams) SetHTTPClient ¶
func (o *CountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the count params
func (*CountParams) SetTimeout ¶
func (o *CountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the count params
func (*CountParams) WithContext ¶
func (o *CountParams) WithContext(ctx context.Context) *CountParams
WithContext adds the context to the count params
func (*CountParams) WithDefaults ¶
func (o *CountParams) WithDefaults() *CountParams
WithDefaults hydrates default values in the count params (not the query body).
All values with no default are reset to their zero value.
func (*CountParams) WithFilter ¶
func (o *CountParams) WithFilter(filter *string) *CountParams
WithFilter adds the filter to the count params
func (*CountParams) WithHTTPClient ¶
func (o *CountParams) WithHTTPClient(client *http.Client) *CountParams
WithHTTPClient adds the HTTPClient to the count params
func (*CountParams) WithTimeout ¶
func (o *CountParams) WithTimeout(timeout time.Duration) *CountParams
WithTimeout adds the timeout to the count params
func (*CountParams) WriteToRequest ¶
func (o *CountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CountReader ¶
type CountReader struct {
// contains filtered or unexported fields
}
CountReader is a Reader for the Count structure.
func (*CountReader) ReadResponse ¶
func (o *CountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CountTooManyRequests ¶
type CountTooManyRequests 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 }
CountTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCountTooManyRequests ¶
func NewCountTooManyRequests() *CountTooManyRequests
NewCountTooManyRequests creates a CountTooManyRequests with default headers values
func (*CountTooManyRequests) Code ¶
func (o *CountTooManyRequests) Code() int
Code gets the status code for the count too many requests response
func (*CountTooManyRequests) Error ¶
func (o *CountTooManyRequests) Error() string
func (*CountTooManyRequests) GetPayload ¶
func (o *CountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*CountTooManyRequests) IsClientError ¶
func (o *CountTooManyRequests) IsClientError() bool
IsClientError returns true when this count too many requests response has a 4xx status code
func (*CountTooManyRequests) IsCode ¶
func (o *CountTooManyRequests) IsCode(code int) bool
IsCode returns true when this count too many requests response a status code equal to that given
func (*CountTooManyRequests) IsRedirect ¶
func (o *CountTooManyRequests) IsRedirect() bool
IsRedirect returns true when this count too many requests response has a 3xx status code
func (*CountTooManyRequests) IsServerError ¶
func (o *CountTooManyRequests) IsServerError() bool
IsServerError returns true when this count too many requests response has a 5xx status code
func (*CountTooManyRequests) IsSuccess ¶
func (o *CountTooManyRequests) IsSuccess() bool
IsSuccess returns true when this count too many requests response has a 2xx status code
func (*CountTooManyRequests) String ¶
func (o *CountTooManyRequests) String() string
type SearchForbidden ¶
type SearchForbidden 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 }
SearchForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSearchForbidden ¶
func NewSearchForbidden() *SearchForbidden
NewSearchForbidden creates a SearchForbidden with default headers values
func (*SearchForbidden) Code ¶
func (o *SearchForbidden) Code() int
Code gets the status code for the search forbidden response
func (*SearchForbidden) Error ¶
func (o *SearchForbidden) Error() string
func (*SearchForbidden) GetPayload ¶
func (o *SearchForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*SearchForbidden) IsClientError ¶
func (o *SearchForbidden) IsClientError() bool
IsClientError returns true when this search forbidden response has a 4xx status code
func (*SearchForbidden) IsCode ¶
func (o *SearchForbidden) IsCode(code int) bool
IsCode returns true when this search forbidden response a status code equal to that given
func (*SearchForbidden) IsRedirect ¶
func (o *SearchForbidden) IsRedirect() bool
IsRedirect returns true when this search forbidden response has a 3xx status code
func (*SearchForbidden) IsServerError ¶
func (o *SearchForbidden) IsServerError() bool
IsServerError returns true when this search forbidden response has a 5xx status code
func (*SearchForbidden) IsSuccess ¶
func (o *SearchForbidden) IsSuccess() bool
IsSuccess returns true when this search forbidden response has a 2xx status code
func (*SearchForbidden) String ¶
func (o *SearchForbidden) String() string
type SearchInternalServerError ¶
type SearchInternalServerError 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 }
SearchInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewSearchInternalServerError ¶
func NewSearchInternalServerError() *SearchInternalServerError
NewSearchInternalServerError creates a SearchInternalServerError with default headers values
func (*SearchInternalServerError) Code ¶
func (o *SearchInternalServerError) Code() int
Code gets the status code for the search internal server error response
func (*SearchInternalServerError) Error ¶
func (o *SearchInternalServerError) Error() string
func (*SearchInternalServerError) GetPayload ¶
func (o *SearchInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*SearchInternalServerError) IsClientError ¶
func (o *SearchInternalServerError) IsClientError() bool
IsClientError returns true when this search internal server error response has a 4xx status code
func (*SearchInternalServerError) IsCode ¶
func (o *SearchInternalServerError) IsCode(code int) bool
IsCode returns true when this search internal server error response a status code equal to that given
func (*SearchInternalServerError) IsRedirect ¶
func (o *SearchInternalServerError) IsRedirect() bool
IsRedirect returns true when this search internal server error response has a 3xx status code
func (*SearchInternalServerError) IsServerError ¶
func (o *SearchInternalServerError) IsServerError() bool
IsServerError returns true when this search internal server error response has a 5xx status code
func (*SearchInternalServerError) IsSuccess ¶
func (o *SearchInternalServerError) IsSuccess() bool
IsSuccess returns true when this search internal server error response has a 2xx status code
func (*SearchInternalServerError) String ¶
func (o *SearchInternalServerError) String() string
type SearchOK ¶
type SearchOK 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.UnidentifiedcontainersUnidentifiedContainerAPIResponse }
SearchOK describes a response with status code 200, with default header values.
OK
func NewSearchOK ¶
func NewSearchOK() *SearchOK
NewSearchOK creates a SearchOK with default headers values
func (*SearchOK) GetPayload ¶
func (o *SearchOK) GetPayload() *models.UnidentifiedcontainersUnidentifiedContainerAPIResponse
func (*SearchOK) IsClientError ¶
IsClientError returns true when this search o k response has a 4xx status code
func (*SearchOK) IsCode ¶
IsCode returns true when this search o k response a status code equal to that given
func (*SearchOK) IsRedirect ¶
IsRedirect returns true when this search o k response has a 3xx status code
func (*SearchOK) IsServerError ¶
IsServerError returns true when this search o k response has a 5xx status code
type SearchParams ¶
type SearchParams struct { /* Filter. Search Unidentified Containers using a query in Falcon Query Language (FQL). Supported filters: assessed_images_count,cid,cluster_name,containers_impacted_count,detections_count,image_assessment_detections_count,last_seen,namespace,node_name,severity,unassessed_images_count,visible_to_k8s */ 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. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchParams contains all the parameters to send to the API endpoint
for the search operation. Typically these are written to a http.Request.
func NewSearchParams ¶
func NewSearchParams() *SearchParams
NewSearchParams creates a new SearchParams 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 NewSearchParamsWithContext ¶
func NewSearchParamsWithContext(ctx context.Context) *SearchParams
NewSearchParamsWithContext creates a new SearchParams object with the ability to set a context for a request.
func NewSearchParamsWithHTTPClient ¶
func NewSearchParamsWithHTTPClient(client *http.Client) *SearchParams
NewSearchParamsWithHTTPClient creates a new SearchParams object with the ability to set a custom HTTPClient for a request.
func NewSearchParamsWithTimeout ¶
func NewSearchParamsWithTimeout(timeout time.Duration) *SearchParams
NewSearchParamsWithTimeout creates a new SearchParams object with the ability to set a timeout on a request.
func (*SearchParams) SetContext ¶
func (o *SearchParams) SetContext(ctx context.Context)
SetContext adds the context to the search params
func (*SearchParams) SetDefaults ¶
func (o *SearchParams) SetDefaults()
SetDefaults hydrates default values in the search params (not the query body).
All values with no default are reset to their zero value.
func (*SearchParams) SetFilter ¶
func (o *SearchParams) SetFilter(filter *string)
SetFilter adds the filter to the search params
func (*SearchParams) SetHTTPClient ¶
func (o *SearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search params
func (*SearchParams) SetLimit ¶
func (o *SearchParams) SetLimit(limit *int64)
SetLimit adds the limit to the search params
func (*SearchParams) SetOffset ¶
func (o *SearchParams) SetOffset(offset *int64)
SetOffset adds the offset to the search params
func (*SearchParams) SetSort ¶
func (o *SearchParams) SetSort(sort *string)
SetSort adds the sort to the search params
func (*SearchParams) SetTimeout ¶
func (o *SearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search params
func (*SearchParams) WithContext ¶
func (o *SearchParams) WithContext(ctx context.Context) *SearchParams
WithContext adds the context to the search params
func (*SearchParams) WithDefaults ¶
func (o *SearchParams) WithDefaults() *SearchParams
WithDefaults hydrates default values in the search params (not the query body).
All values with no default are reset to their zero value.
func (*SearchParams) WithFilter ¶
func (o *SearchParams) WithFilter(filter *string) *SearchParams
WithFilter adds the filter to the search params
func (*SearchParams) WithHTTPClient ¶
func (o *SearchParams) WithHTTPClient(client *http.Client) *SearchParams
WithHTTPClient adds the HTTPClient to the search params
func (*SearchParams) WithLimit ¶
func (o *SearchParams) WithLimit(limit *int64) *SearchParams
WithLimit adds the limit to the search params
func (*SearchParams) WithOffset ¶
func (o *SearchParams) WithOffset(offset *int64) *SearchParams
WithOffset adds the offset to the search params
func (*SearchParams) WithSort ¶
func (o *SearchParams) WithSort(sort *string) *SearchParams
WithSort adds the sort to the search params
func (*SearchParams) WithTimeout ¶
func (o *SearchParams) WithTimeout(timeout time.Duration) *SearchParams
WithTimeout adds the timeout to the search params
func (*SearchParams) WriteToRequest ¶
func (o *SearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchReader ¶
type SearchReader struct {
// contains filtered or unexported fields
}
SearchReader is a Reader for the Search structure.
func (*SearchReader) ReadResponse ¶
func (o *SearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchTooManyRequests ¶
type SearchTooManyRequests 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 }
SearchTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewSearchTooManyRequests ¶
func NewSearchTooManyRequests() *SearchTooManyRequests
NewSearchTooManyRequests creates a SearchTooManyRequests with default headers values
func (*SearchTooManyRequests) Code ¶
func (o *SearchTooManyRequests) Code() int
Code gets the status code for the search too many requests response
func (*SearchTooManyRequests) Error ¶
func (o *SearchTooManyRequests) Error() string
func (*SearchTooManyRequests) GetPayload ¶
func (o *SearchTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*SearchTooManyRequests) IsClientError ¶
func (o *SearchTooManyRequests) IsClientError() bool
IsClientError returns true when this search too many requests response has a 4xx status code
func (*SearchTooManyRequests) IsCode ¶
func (o *SearchTooManyRequests) IsCode(code int) bool
IsCode returns true when this search too many requests response a status code equal to that given
func (*SearchTooManyRequests) IsRedirect ¶
func (o *SearchTooManyRequests) IsRedirect() bool
IsRedirect returns true when this search too many requests response has a 3xx status code
func (*SearchTooManyRequests) IsServerError ¶
func (o *SearchTooManyRequests) IsServerError() bool
IsServerError returns true when this search too many requests response has a 5xx status code
func (*SearchTooManyRequests) IsSuccess ¶
func (o *SearchTooManyRequests) IsSuccess() bool
IsSuccess returns true when this search too many requests response has a 2xx status code
func (*SearchTooManyRequests) String ¶
func (o *SearchTooManyRequests) String() string