Documentation ¶
Index ¶
- type Client
- func (a *Client) ReadCombinedDetections(params *ReadCombinedDetectionsParams, opts ...ClientOption) (*ReadCombinedDetectionsOK, error)
- func (a *Client) ReadDetections(params *ReadDetectionsParams, opts ...ClientOption) (*ReadDetectionsOK, error)
- func (a *Client) ReadDetectionsCount(params *ReadDetectionsCountParams, opts ...ClientOption) (*ReadDetectionsCountOK, error)
- func (a *Client) ReadDetectionsCountBySeverity(params *ReadDetectionsCountBySeverityParams, opts ...ClientOption) (*ReadDetectionsCountBySeverityOK, error)
- func (a *Client) ReadDetectionsCountByType(params *ReadDetectionsCountByTypeParams, opts ...ClientOption) (*ReadDetectionsCountByTypeOK, error)
- func (a *Client) SearchDetections(params *SearchDetectionsParams, opts ...ClientOption) (*SearchDetectionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ReadCombinedDetectionsForbidden
- func (o *ReadCombinedDetectionsForbidden) Code() int
- func (o *ReadCombinedDetectionsForbidden) Error() string
- func (o *ReadCombinedDetectionsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadCombinedDetectionsForbidden) IsClientError() bool
- func (o *ReadCombinedDetectionsForbidden) IsCode(code int) bool
- func (o *ReadCombinedDetectionsForbidden) IsRedirect() bool
- func (o *ReadCombinedDetectionsForbidden) IsServerError() bool
- func (o *ReadCombinedDetectionsForbidden) IsSuccess() bool
- func (o *ReadCombinedDetectionsForbidden) String() string
- type ReadCombinedDetectionsInternalServerError
- func (o *ReadCombinedDetectionsInternalServerError) Code() int
- func (o *ReadCombinedDetectionsInternalServerError) Error() string
- func (o *ReadCombinedDetectionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadCombinedDetectionsInternalServerError) IsClientError() bool
- func (o *ReadCombinedDetectionsInternalServerError) IsCode(code int) bool
- func (o *ReadCombinedDetectionsInternalServerError) IsRedirect() bool
- func (o *ReadCombinedDetectionsInternalServerError) IsServerError() bool
- func (o *ReadCombinedDetectionsInternalServerError) IsSuccess() bool
- func (o *ReadCombinedDetectionsInternalServerError) String() string
- type ReadCombinedDetectionsOK
- func (o *ReadCombinedDetectionsOK) Code() int
- func (o *ReadCombinedDetectionsOK) Error() string
- func (o *ReadCombinedDetectionsOK) GetPayload() *models.DetectionsAPICombinedDetections
- func (o *ReadCombinedDetectionsOK) IsClientError() bool
- func (o *ReadCombinedDetectionsOK) IsCode(code int) bool
- func (o *ReadCombinedDetectionsOK) IsRedirect() bool
- func (o *ReadCombinedDetectionsOK) IsServerError() bool
- func (o *ReadCombinedDetectionsOK) IsSuccess() bool
- func (o *ReadCombinedDetectionsOK) String() string
- type ReadCombinedDetectionsParams
- func NewReadCombinedDetectionsParams() *ReadCombinedDetectionsParams
- func NewReadCombinedDetectionsParamsWithContext(ctx context.Context) *ReadCombinedDetectionsParams
- func NewReadCombinedDetectionsParamsWithHTTPClient(client *http.Client) *ReadCombinedDetectionsParams
- func NewReadCombinedDetectionsParamsWithTimeout(timeout time.Duration) *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) SetContext(ctx context.Context)
- func (o *ReadCombinedDetectionsParams) SetDefaults()
- func (o *ReadCombinedDetectionsParams) SetFilter(filter *string)
- func (o *ReadCombinedDetectionsParams) SetHTTPClient(client *http.Client)
- func (o *ReadCombinedDetectionsParams) SetLimit(limit *int64)
- func (o *ReadCombinedDetectionsParams) SetOffset(offset *int64)
- func (o *ReadCombinedDetectionsParams) SetSort(sort *string)
- func (o *ReadCombinedDetectionsParams) SetTimeout(timeout time.Duration)
- func (o *ReadCombinedDetectionsParams) WithContext(ctx context.Context) *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) WithDefaults() *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) WithFilter(filter *string) *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) WithHTTPClient(client *http.Client) *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) WithLimit(limit *int64) *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) WithOffset(offset *int64) *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) WithSort(sort *string) *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) WithTimeout(timeout time.Duration) *ReadCombinedDetectionsParams
- func (o *ReadCombinedDetectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadCombinedDetectionsReader
- type ReadCombinedDetectionsTooManyRequests
- func (o *ReadCombinedDetectionsTooManyRequests) Code() int
- func (o *ReadCombinedDetectionsTooManyRequests) Error() string
- func (o *ReadCombinedDetectionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadCombinedDetectionsTooManyRequests) IsClientError() bool
- func (o *ReadCombinedDetectionsTooManyRequests) IsCode(code int) bool
- func (o *ReadCombinedDetectionsTooManyRequests) IsRedirect() bool
- func (o *ReadCombinedDetectionsTooManyRequests) IsServerError() bool
- func (o *ReadCombinedDetectionsTooManyRequests) IsSuccess() bool
- func (o *ReadCombinedDetectionsTooManyRequests) String() string
- type ReadDetectionsCountBySeverityForbidden
- func (o *ReadDetectionsCountBySeverityForbidden) Code() int
- func (o *ReadDetectionsCountBySeverityForbidden) Error() string
- func (o *ReadDetectionsCountBySeverityForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadDetectionsCountBySeverityForbidden) IsClientError() bool
- func (o *ReadDetectionsCountBySeverityForbidden) IsCode(code int) bool
- func (o *ReadDetectionsCountBySeverityForbidden) IsRedirect() bool
- func (o *ReadDetectionsCountBySeverityForbidden) IsServerError() bool
- func (o *ReadDetectionsCountBySeverityForbidden) IsSuccess() bool
- func (o *ReadDetectionsCountBySeverityForbidden) String() string
- type ReadDetectionsCountBySeverityInternalServerError
- func (o *ReadDetectionsCountBySeverityInternalServerError) Code() int
- func (o *ReadDetectionsCountBySeverityInternalServerError) Error() string
- func (o *ReadDetectionsCountBySeverityInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadDetectionsCountBySeverityInternalServerError) IsClientError() bool
- func (o *ReadDetectionsCountBySeverityInternalServerError) IsCode(code int) bool
- func (o *ReadDetectionsCountBySeverityInternalServerError) IsRedirect() bool
- func (o *ReadDetectionsCountBySeverityInternalServerError) IsServerError() bool
- func (o *ReadDetectionsCountBySeverityInternalServerError) IsSuccess() bool
- func (o *ReadDetectionsCountBySeverityInternalServerError) String() string
- type ReadDetectionsCountBySeverityOK
- func (o *ReadDetectionsCountBySeverityOK) Code() int
- func (o *ReadDetectionsCountBySeverityOK) Error() string
- func (o *ReadDetectionsCountBySeverityOK) GetPayload() *models.DetectionsAPIDetectionsBySeverity
- func (o *ReadDetectionsCountBySeverityOK) IsClientError() bool
- func (o *ReadDetectionsCountBySeverityOK) IsCode(code int) bool
- func (o *ReadDetectionsCountBySeverityOK) IsRedirect() bool
- func (o *ReadDetectionsCountBySeverityOK) IsServerError() bool
- func (o *ReadDetectionsCountBySeverityOK) IsSuccess() bool
- func (o *ReadDetectionsCountBySeverityOK) String() string
- type ReadDetectionsCountBySeverityParams
- func NewReadDetectionsCountBySeverityParams() *ReadDetectionsCountBySeverityParams
- func NewReadDetectionsCountBySeverityParamsWithContext(ctx context.Context) *ReadDetectionsCountBySeverityParams
- func NewReadDetectionsCountBySeverityParamsWithHTTPClient(client *http.Client) *ReadDetectionsCountBySeverityParams
- func NewReadDetectionsCountBySeverityParamsWithTimeout(timeout time.Duration) *ReadDetectionsCountBySeverityParams
- func (o *ReadDetectionsCountBySeverityParams) SetContext(ctx context.Context)
- func (o *ReadDetectionsCountBySeverityParams) SetDefaults()
- func (o *ReadDetectionsCountBySeverityParams) SetFilter(filter *string)
- func (o *ReadDetectionsCountBySeverityParams) SetHTTPClient(client *http.Client)
- func (o *ReadDetectionsCountBySeverityParams) SetTimeout(timeout time.Duration)
- func (o *ReadDetectionsCountBySeverityParams) WithContext(ctx context.Context) *ReadDetectionsCountBySeverityParams
- func (o *ReadDetectionsCountBySeverityParams) WithDefaults() *ReadDetectionsCountBySeverityParams
- func (o *ReadDetectionsCountBySeverityParams) WithFilter(filter *string) *ReadDetectionsCountBySeverityParams
- func (o *ReadDetectionsCountBySeverityParams) WithHTTPClient(client *http.Client) *ReadDetectionsCountBySeverityParams
- func (o *ReadDetectionsCountBySeverityParams) WithTimeout(timeout time.Duration) *ReadDetectionsCountBySeverityParams
- func (o *ReadDetectionsCountBySeverityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDetectionsCountBySeverityReader
- type ReadDetectionsCountBySeverityTooManyRequests
- func (o *ReadDetectionsCountBySeverityTooManyRequests) Code() int
- func (o *ReadDetectionsCountBySeverityTooManyRequests) Error() string
- func (o *ReadDetectionsCountBySeverityTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadDetectionsCountBySeverityTooManyRequests) IsClientError() bool
- func (o *ReadDetectionsCountBySeverityTooManyRequests) IsCode(code int) bool
- func (o *ReadDetectionsCountBySeverityTooManyRequests) IsRedirect() bool
- func (o *ReadDetectionsCountBySeverityTooManyRequests) IsServerError() bool
- func (o *ReadDetectionsCountBySeverityTooManyRequests) IsSuccess() bool
- func (o *ReadDetectionsCountBySeverityTooManyRequests) String() string
- type ReadDetectionsCountByTypeForbidden
- func (o *ReadDetectionsCountByTypeForbidden) Code() int
- func (o *ReadDetectionsCountByTypeForbidden) Error() string
- func (o *ReadDetectionsCountByTypeForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadDetectionsCountByTypeForbidden) IsClientError() bool
- func (o *ReadDetectionsCountByTypeForbidden) IsCode(code int) bool
- func (o *ReadDetectionsCountByTypeForbidden) IsRedirect() bool
- func (o *ReadDetectionsCountByTypeForbidden) IsServerError() bool
- func (o *ReadDetectionsCountByTypeForbidden) IsSuccess() bool
- func (o *ReadDetectionsCountByTypeForbidden) String() string
- type ReadDetectionsCountByTypeInternalServerError
- func (o *ReadDetectionsCountByTypeInternalServerError) Code() int
- func (o *ReadDetectionsCountByTypeInternalServerError) Error() string
- func (o *ReadDetectionsCountByTypeInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadDetectionsCountByTypeInternalServerError) IsClientError() bool
- func (o *ReadDetectionsCountByTypeInternalServerError) IsCode(code int) bool
- func (o *ReadDetectionsCountByTypeInternalServerError) IsRedirect() bool
- func (o *ReadDetectionsCountByTypeInternalServerError) IsServerError() bool
- func (o *ReadDetectionsCountByTypeInternalServerError) IsSuccess() bool
- func (o *ReadDetectionsCountByTypeInternalServerError) String() string
- type ReadDetectionsCountByTypeOK
- func (o *ReadDetectionsCountByTypeOK) Code() int
- func (o *ReadDetectionsCountByTypeOK) Error() string
- func (o *ReadDetectionsCountByTypeOK) GetPayload() *models.DetectionsAPIDetectionsByType
- func (o *ReadDetectionsCountByTypeOK) IsClientError() bool
- func (o *ReadDetectionsCountByTypeOK) IsCode(code int) bool
- func (o *ReadDetectionsCountByTypeOK) IsRedirect() bool
- func (o *ReadDetectionsCountByTypeOK) IsServerError() bool
- func (o *ReadDetectionsCountByTypeOK) IsSuccess() bool
- func (o *ReadDetectionsCountByTypeOK) String() string
- type ReadDetectionsCountByTypeParams
- func NewReadDetectionsCountByTypeParams() *ReadDetectionsCountByTypeParams
- func NewReadDetectionsCountByTypeParamsWithContext(ctx context.Context) *ReadDetectionsCountByTypeParams
- func NewReadDetectionsCountByTypeParamsWithHTTPClient(client *http.Client) *ReadDetectionsCountByTypeParams
- func NewReadDetectionsCountByTypeParamsWithTimeout(timeout time.Duration) *ReadDetectionsCountByTypeParams
- func (o *ReadDetectionsCountByTypeParams) SetContext(ctx context.Context)
- func (o *ReadDetectionsCountByTypeParams) SetDefaults()
- func (o *ReadDetectionsCountByTypeParams) SetFilter(filter *string)
- func (o *ReadDetectionsCountByTypeParams) SetHTTPClient(client *http.Client)
- func (o *ReadDetectionsCountByTypeParams) SetTimeout(timeout time.Duration)
- func (o *ReadDetectionsCountByTypeParams) WithContext(ctx context.Context) *ReadDetectionsCountByTypeParams
- func (o *ReadDetectionsCountByTypeParams) WithDefaults() *ReadDetectionsCountByTypeParams
- func (o *ReadDetectionsCountByTypeParams) WithFilter(filter *string) *ReadDetectionsCountByTypeParams
- func (o *ReadDetectionsCountByTypeParams) WithHTTPClient(client *http.Client) *ReadDetectionsCountByTypeParams
- func (o *ReadDetectionsCountByTypeParams) WithTimeout(timeout time.Duration) *ReadDetectionsCountByTypeParams
- func (o *ReadDetectionsCountByTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDetectionsCountByTypeReader
- type ReadDetectionsCountByTypeTooManyRequests
- func (o *ReadDetectionsCountByTypeTooManyRequests) Code() int
- func (o *ReadDetectionsCountByTypeTooManyRequests) Error() string
- func (o *ReadDetectionsCountByTypeTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadDetectionsCountByTypeTooManyRequests) IsClientError() bool
- func (o *ReadDetectionsCountByTypeTooManyRequests) IsCode(code int) bool
- func (o *ReadDetectionsCountByTypeTooManyRequests) IsRedirect() bool
- func (o *ReadDetectionsCountByTypeTooManyRequests) IsServerError() bool
- func (o *ReadDetectionsCountByTypeTooManyRequests) IsSuccess() bool
- func (o *ReadDetectionsCountByTypeTooManyRequests) String() string
- type ReadDetectionsCountForbidden
- func (o *ReadDetectionsCountForbidden) Code() int
- func (o *ReadDetectionsCountForbidden) Error() string
- func (o *ReadDetectionsCountForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadDetectionsCountForbidden) IsClientError() bool
- func (o *ReadDetectionsCountForbidden) IsCode(code int) bool
- func (o *ReadDetectionsCountForbidden) IsRedirect() bool
- func (o *ReadDetectionsCountForbidden) IsServerError() bool
- func (o *ReadDetectionsCountForbidden) IsSuccess() bool
- func (o *ReadDetectionsCountForbidden) String() string
- type ReadDetectionsCountInternalServerError
- func (o *ReadDetectionsCountInternalServerError) Code() int
- func (o *ReadDetectionsCountInternalServerError) Error() string
- func (o *ReadDetectionsCountInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadDetectionsCountInternalServerError) IsClientError() bool
- func (o *ReadDetectionsCountInternalServerError) IsCode(code int) bool
- func (o *ReadDetectionsCountInternalServerError) IsRedirect() bool
- func (o *ReadDetectionsCountInternalServerError) IsServerError() bool
- func (o *ReadDetectionsCountInternalServerError) IsSuccess() bool
- func (o *ReadDetectionsCountInternalServerError) String() string
- type ReadDetectionsCountOK
- func (o *ReadDetectionsCountOK) Code() int
- func (o *ReadDetectionsCountOK) Error() string
- func (o *ReadDetectionsCountOK) GetPayload() *models.DetectionsAPIDetectionsCount
- func (o *ReadDetectionsCountOK) IsClientError() bool
- func (o *ReadDetectionsCountOK) IsCode(code int) bool
- func (o *ReadDetectionsCountOK) IsRedirect() bool
- func (o *ReadDetectionsCountOK) IsServerError() bool
- func (o *ReadDetectionsCountOK) IsSuccess() bool
- func (o *ReadDetectionsCountOK) String() string
- type ReadDetectionsCountParams
- func NewReadDetectionsCountParams() *ReadDetectionsCountParams
- func NewReadDetectionsCountParamsWithContext(ctx context.Context) *ReadDetectionsCountParams
- func NewReadDetectionsCountParamsWithHTTPClient(client *http.Client) *ReadDetectionsCountParams
- func NewReadDetectionsCountParamsWithTimeout(timeout time.Duration) *ReadDetectionsCountParams
- func (o *ReadDetectionsCountParams) SetContext(ctx context.Context)
- func (o *ReadDetectionsCountParams) SetDefaults()
- func (o *ReadDetectionsCountParams) SetFilter(filter *string)
- func (o *ReadDetectionsCountParams) SetHTTPClient(client *http.Client)
- func (o *ReadDetectionsCountParams) SetTimeout(timeout time.Duration)
- func (o *ReadDetectionsCountParams) WithContext(ctx context.Context) *ReadDetectionsCountParams
- func (o *ReadDetectionsCountParams) WithDefaults() *ReadDetectionsCountParams
- func (o *ReadDetectionsCountParams) WithFilter(filter *string) *ReadDetectionsCountParams
- func (o *ReadDetectionsCountParams) WithHTTPClient(client *http.Client) *ReadDetectionsCountParams
- func (o *ReadDetectionsCountParams) WithTimeout(timeout time.Duration) *ReadDetectionsCountParams
- func (o *ReadDetectionsCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDetectionsCountReader
- type ReadDetectionsCountTooManyRequests
- func (o *ReadDetectionsCountTooManyRequests) Code() int
- func (o *ReadDetectionsCountTooManyRequests) Error() string
- func (o *ReadDetectionsCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadDetectionsCountTooManyRequests) IsClientError() bool
- func (o *ReadDetectionsCountTooManyRequests) IsCode(code int) bool
- func (o *ReadDetectionsCountTooManyRequests) IsRedirect() bool
- func (o *ReadDetectionsCountTooManyRequests) IsServerError() bool
- func (o *ReadDetectionsCountTooManyRequests) IsSuccess() bool
- func (o *ReadDetectionsCountTooManyRequests) String() string
- type ReadDetectionsForbidden
- func (o *ReadDetectionsForbidden) Code() int
- func (o *ReadDetectionsForbidden) Error() string
- func (o *ReadDetectionsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadDetectionsForbidden) IsClientError() bool
- func (o *ReadDetectionsForbidden) IsCode(code int) bool
- func (o *ReadDetectionsForbidden) IsRedirect() bool
- func (o *ReadDetectionsForbidden) IsServerError() bool
- func (o *ReadDetectionsForbidden) IsSuccess() bool
- func (o *ReadDetectionsForbidden) String() string
- type ReadDetectionsInternalServerError
- func (o *ReadDetectionsInternalServerError) Code() int
- func (o *ReadDetectionsInternalServerError) Error() string
- func (o *ReadDetectionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadDetectionsInternalServerError) IsClientError() bool
- func (o *ReadDetectionsInternalServerError) IsCode(code int) bool
- func (o *ReadDetectionsInternalServerError) IsRedirect() bool
- func (o *ReadDetectionsInternalServerError) IsServerError() bool
- func (o *ReadDetectionsInternalServerError) IsSuccess() bool
- func (o *ReadDetectionsInternalServerError) String() string
- type ReadDetectionsOK
- func (o *ReadDetectionsOK) Code() int
- func (o *ReadDetectionsOK) Error() string
- func (o *ReadDetectionsOK) GetPayload() *models.DetectionsAPIAssessmentDetections
- func (o *ReadDetectionsOK) IsClientError() bool
- func (o *ReadDetectionsOK) IsCode(code int) bool
- func (o *ReadDetectionsOK) IsRedirect() bool
- func (o *ReadDetectionsOK) IsServerError() bool
- func (o *ReadDetectionsOK) IsSuccess() bool
- func (o *ReadDetectionsOK) String() string
- type ReadDetectionsParams
- func NewReadDetectionsParams() *ReadDetectionsParams
- func NewReadDetectionsParamsWithContext(ctx context.Context) *ReadDetectionsParams
- func NewReadDetectionsParamsWithHTTPClient(client *http.Client) *ReadDetectionsParams
- func NewReadDetectionsParamsWithTimeout(timeout time.Duration) *ReadDetectionsParams
- func (o *ReadDetectionsParams) SetContext(ctx context.Context)
- func (o *ReadDetectionsParams) SetDefaults()
- func (o *ReadDetectionsParams) SetFilter(filter *string)
- func (o *ReadDetectionsParams) SetHTTPClient(client *http.Client)
- func (o *ReadDetectionsParams) SetLimit(limit *int64)
- func (o *ReadDetectionsParams) SetOffset(offset *int64)
- func (o *ReadDetectionsParams) SetTimeout(timeout time.Duration)
- func (o *ReadDetectionsParams) WithContext(ctx context.Context) *ReadDetectionsParams
- func (o *ReadDetectionsParams) WithDefaults() *ReadDetectionsParams
- func (o *ReadDetectionsParams) WithFilter(filter *string) *ReadDetectionsParams
- func (o *ReadDetectionsParams) WithHTTPClient(client *http.Client) *ReadDetectionsParams
- func (o *ReadDetectionsParams) WithLimit(limit *int64) *ReadDetectionsParams
- func (o *ReadDetectionsParams) WithOffset(offset *int64) *ReadDetectionsParams
- func (o *ReadDetectionsParams) WithTimeout(timeout time.Duration) *ReadDetectionsParams
- func (o *ReadDetectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDetectionsReader
- type ReadDetectionsTooManyRequests
- func (o *ReadDetectionsTooManyRequests) Code() int
- func (o *ReadDetectionsTooManyRequests) Error() string
- func (o *ReadDetectionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadDetectionsTooManyRequests) IsClientError() bool
- func (o *ReadDetectionsTooManyRequests) IsCode(code int) bool
- func (o *ReadDetectionsTooManyRequests) IsRedirect() bool
- func (o *ReadDetectionsTooManyRequests) IsServerError() bool
- func (o *ReadDetectionsTooManyRequests) IsSuccess() bool
- func (o *ReadDetectionsTooManyRequests) String() string
- type SearchDetectionsForbidden
- func (o *SearchDetectionsForbidden) Code() int
- func (o *SearchDetectionsForbidden) Error() string
- func (o *SearchDetectionsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchDetectionsForbidden) IsClientError() bool
- func (o *SearchDetectionsForbidden) IsCode(code int) bool
- func (o *SearchDetectionsForbidden) IsRedirect() bool
- func (o *SearchDetectionsForbidden) IsServerError() bool
- func (o *SearchDetectionsForbidden) IsSuccess() bool
- func (o *SearchDetectionsForbidden) String() string
- type SearchDetectionsInternalServerError
- func (o *SearchDetectionsInternalServerError) Code() int
- func (o *SearchDetectionsInternalServerError) Error() string
- func (o *SearchDetectionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *SearchDetectionsInternalServerError) IsClientError() bool
- func (o *SearchDetectionsInternalServerError) IsCode(code int) bool
- func (o *SearchDetectionsInternalServerError) IsRedirect() bool
- func (o *SearchDetectionsInternalServerError) IsServerError() bool
- func (o *SearchDetectionsInternalServerError) IsSuccess() bool
- func (o *SearchDetectionsInternalServerError) String() string
- type SearchDetectionsOK
- func (o *SearchDetectionsOK) Code() int
- func (o *SearchDetectionsOK) Error() string
- func (o *SearchDetectionsOK) GetPayload() *models.CommonGenericEntityResponseString
- func (o *SearchDetectionsOK) IsClientError() bool
- func (o *SearchDetectionsOK) IsCode(code int) bool
- func (o *SearchDetectionsOK) IsRedirect() bool
- func (o *SearchDetectionsOK) IsServerError() bool
- func (o *SearchDetectionsOK) IsSuccess() bool
- func (o *SearchDetectionsOK) String() string
- type SearchDetectionsParams
- func NewSearchDetectionsParams() *SearchDetectionsParams
- func NewSearchDetectionsParamsWithContext(ctx context.Context) *SearchDetectionsParams
- func NewSearchDetectionsParamsWithHTTPClient(client *http.Client) *SearchDetectionsParams
- func NewSearchDetectionsParamsWithTimeout(timeout time.Duration) *SearchDetectionsParams
- func (o *SearchDetectionsParams) SetContext(ctx context.Context)
- func (o *SearchDetectionsParams) SetDefaults()
- func (o *SearchDetectionsParams) SetFilter(filter *string)
- func (o *SearchDetectionsParams) SetHTTPClient(client *http.Client)
- func (o *SearchDetectionsParams) SetLimit(limit *int64)
- func (o *SearchDetectionsParams) SetOffset(offset *int64)
- func (o *SearchDetectionsParams) SetTimeout(timeout time.Duration)
- func (o *SearchDetectionsParams) WithContext(ctx context.Context) *SearchDetectionsParams
- func (o *SearchDetectionsParams) WithDefaults() *SearchDetectionsParams
- func (o *SearchDetectionsParams) WithFilter(filter *string) *SearchDetectionsParams
- func (o *SearchDetectionsParams) WithHTTPClient(client *http.Client) *SearchDetectionsParams
- func (o *SearchDetectionsParams) WithLimit(limit *int64) *SearchDetectionsParams
- func (o *SearchDetectionsParams) WithOffset(offset *int64) *SearchDetectionsParams
- func (o *SearchDetectionsParams) WithTimeout(timeout time.Duration) *SearchDetectionsParams
- func (o *SearchDetectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchDetectionsReader
- type SearchDetectionsTooManyRequests
- func (o *SearchDetectionsTooManyRequests) Code() int
- func (o *SearchDetectionsTooManyRequests) Error() string
- func (o *SearchDetectionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchDetectionsTooManyRequests) IsClientError() bool
- func (o *SearchDetectionsTooManyRequests) IsCode(code int) bool
- func (o *SearchDetectionsTooManyRequests) IsRedirect() bool
- func (o *SearchDetectionsTooManyRequests) IsServerError() bool
- func (o *SearchDetectionsTooManyRequests) IsSuccess() bool
- func (o *SearchDetectionsTooManyRequests) 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 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 ¶
func (o *ReadCombinedDetectionsForbidden) Code() int
Code gets the status code for the read combined detections forbidden response
func (*ReadCombinedDetectionsForbidden) Error ¶
func (o *ReadCombinedDetectionsForbidden) Error() string
func (*ReadCombinedDetectionsForbidden) GetPayload ¶
func (o *ReadCombinedDetectionsForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadCombinedDetectionsForbidden) String() 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 ¶
func (o *ReadCombinedDetectionsInternalServerError) Code() int
Code gets the status code for the read combined detections internal server error response
func (*ReadCombinedDetectionsInternalServerError) Error ¶
func (o *ReadCombinedDetectionsInternalServerError) Error() string
func (*ReadCombinedDetectionsInternalServerError) GetPayload ¶
func (o *ReadCombinedDetectionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadCombinedDetectionsInternalServerError) IsClientError ¶
func (o *ReadCombinedDetectionsInternalServerError) IsClientError() bool
IsClientError returns true when this read combined detections internal server error response has a 4xx status code
func (*ReadCombinedDetectionsInternalServerError) IsCode ¶
func (o *ReadCombinedDetectionsInternalServerError) IsCode(code int) bool
IsCode returns true when this read combined detections internal server error response a status code equal to that given
func (*ReadCombinedDetectionsInternalServerError) IsRedirect ¶
func (o *ReadCombinedDetectionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this read combined detections internal server error response has a 3xx status code
func (*ReadCombinedDetectionsInternalServerError) IsServerError ¶
func (o *ReadCombinedDetectionsInternalServerError) IsServerError() bool
IsServerError returns true when this read combined detections internal server error response has a 5xx status code
func (*ReadCombinedDetectionsInternalServerError) IsSuccess ¶
func (o *ReadCombinedDetectionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this read combined detections internal server error response has a 2xx status code
func (*ReadCombinedDetectionsInternalServerError) String ¶
func (o *ReadCombinedDetectionsInternalServerError) String() 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 (o *ReadCombinedDetectionsOK) GetPayload() *models.DetectionsAPICombinedDetections
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 ¶
func (o *ReadCombinedDetectionsParams) WithContext(ctx context.Context) *ReadCombinedDetectionsParams
WithContext adds the context to the read combined detections params
func (*ReadCombinedDetectionsParams) WithDefaults ¶
func (o *ReadCombinedDetectionsParams) WithDefaults() *ReadCombinedDetectionsParams
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 ¶
func (o *ReadCombinedDetectionsParams) WithFilter(filter *string) *ReadCombinedDetectionsParams
WithFilter adds the filter to the read combined detections params
func (*ReadCombinedDetectionsParams) WithHTTPClient ¶
func (o *ReadCombinedDetectionsParams) WithHTTPClient(client *http.Client) *ReadCombinedDetectionsParams
WithHTTPClient adds the HTTPClient to the read combined detections params
func (*ReadCombinedDetectionsParams) WithLimit ¶
func (o *ReadCombinedDetectionsParams) WithLimit(limit *int64) *ReadCombinedDetectionsParams
WithLimit adds the limit to the read combined detections params
func (*ReadCombinedDetectionsParams) WithOffset ¶
func (o *ReadCombinedDetectionsParams) WithOffset(offset *int64) *ReadCombinedDetectionsParams
WithOffset adds the offset to the read combined detections params
func (*ReadCombinedDetectionsParams) WithSort ¶
func (o *ReadCombinedDetectionsParams) WithSort(sort *string) *ReadCombinedDetectionsParams
WithSort adds the sort to the read combined detections params
func (*ReadCombinedDetectionsParams) WithTimeout ¶
func (o *ReadCombinedDetectionsParams) WithTimeout(timeout time.Duration) *ReadCombinedDetectionsParams
WithTimeout adds the timeout to the read combined detections params
func (*ReadCombinedDetectionsParams) WriteToRequest ¶
func (o *ReadCombinedDetectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadCombinedDetectionsTooManyRequests) Code() int
Code gets the status code for the read combined detections too many requests response
func (*ReadCombinedDetectionsTooManyRequests) Error ¶
func (o *ReadCombinedDetectionsTooManyRequests) Error() string
func (*ReadCombinedDetectionsTooManyRequests) GetPayload ¶
func (o *ReadCombinedDetectionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadCombinedDetectionsTooManyRequests) IsCode(code int) bool
IsCode returns true when this read combined detections too many requests response a status code equal to that given
func (*ReadCombinedDetectionsTooManyRequests) IsRedirect ¶
func (o *ReadCombinedDetectionsTooManyRequests) IsRedirect() bool
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 ¶
func (o *ReadCombinedDetectionsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read combined detections too many requests response has a 2xx status code
func (*ReadCombinedDetectionsTooManyRequests) String ¶
func (o *ReadCombinedDetectionsTooManyRequests) String() 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 ¶
func (o *ReadDetectionsCountBySeverityForbidden) Code() int
Code gets the status code for the read detections count by severity forbidden response
func (*ReadDetectionsCountBySeverityForbidden) Error ¶
func (o *ReadDetectionsCountBySeverityForbidden) Error() string
func (*ReadDetectionsCountBySeverityForbidden) GetPayload ¶
func (o *ReadDetectionsCountBySeverityForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadDetectionsCountBySeverityForbidden) IsCode(code int) bool
IsCode returns true when this read detections count by severity forbidden response a status code equal to that given
func (*ReadDetectionsCountBySeverityForbidden) IsRedirect ¶
func (o *ReadDetectionsCountBySeverityForbidden) IsRedirect() bool
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 ¶
func (o *ReadDetectionsCountBySeverityForbidden) IsSuccess() bool
IsSuccess returns true when this read detections count by severity forbidden response has a 2xx status code
func (*ReadDetectionsCountBySeverityForbidden) String ¶
func (o *ReadDetectionsCountBySeverityForbidden) String() 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 ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) Code() int
Code gets the status code for the read detections count by severity internal server error response
func (*ReadDetectionsCountBySeverityInternalServerError) Error ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) Error() string
func (*ReadDetectionsCountBySeverityInternalServerError) GetPayload ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadDetectionsCountBySeverityInternalServerError) IsClientError ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) IsClientError() bool
IsClientError returns true when this read detections count by severity internal server error response has a 4xx status code
func (*ReadDetectionsCountBySeverityInternalServerError) IsCode ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) IsCode(code int) bool
IsCode returns true when this read detections count by severity internal server error response a status code equal to that given
func (*ReadDetectionsCountBySeverityInternalServerError) IsRedirect ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) IsRedirect() bool
IsRedirect returns true when this read detections count by severity internal server error response has a 3xx status code
func (*ReadDetectionsCountBySeverityInternalServerError) IsServerError ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) IsServerError() bool
IsServerError returns true when this read detections count by severity internal server error response has a 5xx status code
func (*ReadDetectionsCountBySeverityInternalServerError) IsSuccess ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) IsSuccess() bool
IsSuccess returns true when this read detections count by severity internal server error response has a 2xx status code
func (*ReadDetectionsCountBySeverityInternalServerError) String ¶
func (o *ReadDetectionsCountBySeverityInternalServerError) String() 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 ¶
func (o *ReadDetectionsCountBySeverityOK) Code() int
Code gets the status code for the read detections count by severity o k response
func (*ReadDetectionsCountBySeverityOK) Error ¶
func (o *ReadDetectionsCountBySeverityOK) Error() string
func (*ReadDetectionsCountBySeverityOK) GetPayload ¶
func (o *ReadDetectionsCountBySeverityOK) GetPayload() *models.DetectionsAPIDetectionsBySeverity
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 ¶
func (o *ReadDetectionsCountBySeverityOK) String() 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 ¶
func (o *ReadDetectionsCountBySeverityParams) SetContext(ctx context.Context)
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 ¶
func (o *ReadDetectionsCountBySeverityParams) WithContext(ctx context.Context) *ReadDetectionsCountBySeverityParams
WithContext adds the context to the read detections count by severity params
func (*ReadDetectionsCountBySeverityParams) WithDefaults ¶
func (o *ReadDetectionsCountBySeverityParams) WithDefaults() *ReadDetectionsCountBySeverityParams
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 ¶
func (o *ReadDetectionsCountBySeverityParams) WithFilter(filter *string) *ReadDetectionsCountBySeverityParams
WithFilter adds the filter to the read detections count by severity params
func (*ReadDetectionsCountBySeverityParams) WithHTTPClient ¶
func (o *ReadDetectionsCountBySeverityParams) WithHTTPClient(client *http.Client) *ReadDetectionsCountBySeverityParams
WithHTTPClient adds the HTTPClient to the read detections count by severity params
func (*ReadDetectionsCountBySeverityParams) WithTimeout ¶
func (o *ReadDetectionsCountBySeverityParams) WithTimeout(timeout time.Duration) *ReadDetectionsCountBySeverityParams
WithTimeout adds the timeout to the read detections count by severity params
func (*ReadDetectionsCountBySeverityParams) WriteToRequest ¶
func (o *ReadDetectionsCountBySeverityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) Code() int
Code gets the status code for the read detections count by severity too many requests response
func (*ReadDetectionsCountBySeverityTooManyRequests) Error ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) Error() string
func (*ReadDetectionsCountBySeverityTooManyRequests) GetPayload ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadDetectionsCountBySeverityTooManyRequests) IsClientError ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) IsClientError() bool
IsClientError returns true when this read detections count by severity too many requests response has a 4xx status code
func (*ReadDetectionsCountBySeverityTooManyRequests) IsCode ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) IsCode(code int) bool
IsCode returns true when this read detections count by severity too many requests response a status code equal to that given
func (*ReadDetectionsCountBySeverityTooManyRequests) IsRedirect ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read detections count by severity too many requests response has a 3xx status code
func (*ReadDetectionsCountBySeverityTooManyRequests) IsServerError ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) IsServerError() bool
IsServerError returns true when this read detections count by severity too many requests response has a 5xx status code
func (*ReadDetectionsCountBySeverityTooManyRequests) IsSuccess ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read detections count by severity too many requests response has a 2xx status code
func (*ReadDetectionsCountBySeverityTooManyRequests) String ¶
func (o *ReadDetectionsCountBySeverityTooManyRequests) String() 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 ¶
func (o *ReadDetectionsCountByTypeForbidden) Code() int
Code gets the status code for the read detections count by type forbidden response
func (*ReadDetectionsCountByTypeForbidden) Error ¶
func (o *ReadDetectionsCountByTypeForbidden) Error() string
func (*ReadDetectionsCountByTypeForbidden) GetPayload ¶
func (o *ReadDetectionsCountByTypeForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadDetectionsCountByTypeForbidden) IsCode(code int) bool
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 ¶
func (o *ReadDetectionsCountByTypeForbidden) IsSuccess() bool
IsSuccess returns true when this read detections count by type forbidden response has a 2xx status code
func (*ReadDetectionsCountByTypeForbidden) String ¶
func (o *ReadDetectionsCountByTypeForbidden) String() 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 ¶
func (o *ReadDetectionsCountByTypeInternalServerError) Code() int
Code gets the status code for the read detections count by type internal server error response
func (*ReadDetectionsCountByTypeInternalServerError) Error ¶
func (o *ReadDetectionsCountByTypeInternalServerError) Error() string
func (*ReadDetectionsCountByTypeInternalServerError) GetPayload ¶
func (o *ReadDetectionsCountByTypeInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadDetectionsCountByTypeInternalServerError) IsClientError ¶
func (o *ReadDetectionsCountByTypeInternalServerError) IsClientError() bool
IsClientError returns true when this read detections count by type internal server error response has a 4xx status code
func (*ReadDetectionsCountByTypeInternalServerError) IsCode ¶
func (o *ReadDetectionsCountByTypeInternalServerError) IsCode(code int) bool
IsCode returns true when this read detections count by type internal server error response a status code equal to that given
func (*ReadDetectionsCountByTypeInternalServerError) IsRedirect ¶
func (o *ReadDetectionsCountByTypeInternalServerError) IsRedirect() bool
IsRedirect returns true when this read detections count by type internal server error response has a 3xx status code
func (*ReadDetectionsCountByTypeInternalServerError) IsServerError ¶
func (o *ReadDetectionsCountByTypeInternalServerError) IsServerError() bool
IsServerError returns true when this read detections count by type internal server error response has a 5xx status code
func (*ReadDetectionsCountByTypeInternalServerError) IsSuccess ¶
func (o *ReadDetectionsCountByTypeInternalServerError) IsSuccess() bool
IsSuccess returns true when this read detections count by type internal server error response has a 2xx status code
func (*ReadDetectionsCountByTypeInternalServerError) String ¶
func (o *ReadDetectionsCountByTypeInternalServerError) String() 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 (o *ReadDetectionsCountByTypeOK) Error() string
func (*ReadDetectionsCountByTypeOK) GetPayload ¶
func (o *ReadDetectionsCountByTypeOK) GetPayload() *models.DetectionsAPIDetectionsByType
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 ¶
func (o *ReadDetectionsCountByTypeParams) WithContext(ctx context.Context) *ReadDetectionsCountByTypeParams
WithContext adds the context to the read detections count by type params
func (*ReadDetectionsCountByTypeParams) WithDefaults ¶
func (o *ReadDetectionsCountByTypeParams) WithDefaults() *ReadDetectionsCountByTypeParams
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 ¶
func (o *ReadDetectionsCountByTypeParams) WithFilter(filter *string) *ReadDetectionsCountByTypeParams
WithFilter adds the filter to the read detections count by type params
func (*ReadDetectionsCountByTypeParams) WithHTTPClient ¶
func (o *ReadDetectionsCountByTypeParams) WithHTTPClient(client *http.Client) *ReadDetectionsCountByTypeParams
WithHTTPClient adds the HTTPClient to the read detections count by type params
func (*ReadDetectionsCountByTypeParams) WithTimeout ¶
func (o *ReadDetectionsCountByTypeParams) WithTimeout(timeout time.Duration) *ReadDetectionsCountByTypeParams
WithTimeout adds the timeout to the read detections count by type params
func (*ReadDetectionsCountByTypeParams) WriteToRequest ¶
func (o *ReadDetectionsCountByTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) Code() int
Code gets the status code for the read detections count by type too many requests response
func (*ReadDetectionsCountByTypeTooManyRequests) Error ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) Error() string
func (*ReadDetectionsCountByTypeTooManyRequests) GetPayload ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadDetectionsCountByTypeTooManyRequests) IsClientError ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) IsClientError() bool
IsClientError returns true when this read detections count by type too many requests response has a 4xx status code
func (*ReadDetectionsCountByTypeTooManyRequests) IsCode ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) IsCode(code int) bool
IsCode returns true when this read detections count by type too many requests response a status code equal to that given
func (*ReadDetectionsCountByTypeTooManyRequests) IsRedirect ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read detections count by type too many requests response has a 3xx status code
func (*ReadDetectionsCountByTypeTooManyRequests) IsServerError ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) IsServerError() bool
IsServerError returns true when this read detections count by type too many requests response has a 5xx status code
func (*ReadDetectionsCountByTypeTooManyRequests) IsSuccess ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read detections count by type too many requests response has a 2xx status code
func (*ReadDetectionsCountByTypeTooManyRequests) String ¶
func (o *ReadDetectionsCountByTypeTooManyRequests) String() 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 ¶
func (o *ReadDetectionsCountForbidden) Code() int
Code gets the status code for the read detections count forbidden response
func (*ReadDetectionsCountForbidden) Error ¶
func (o *ReadDetectionsCountForbidden) Error() string
func (*ReadDetectionsCountForbidden) GetPayload ¶
func (o *ReadDetectionsCountForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadDetectionsCountForbidden) String() 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 ¶
func (o *ReadDetectionsCountInternalServerError) Code() int
Code gets the status code for the read detections count internal server error response
func (*ReadDetectionsCountInternalServerError) Error ¶
func (o *ReadDetectionsCountInternalServerError) Error() string
func (*ReadDetectionsCountInternalServerError) GetPayload ¶
func (o *ReadDetectionsCountInternalServerError) GetPayload() *models.CoreEntitiesResponse
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 ¶
func (o *ReadDetectionsCountInternalServerError) IsCode(code int) bool
IsCode returns true when this read detections count internal server error response a status code equal to that given
func (*ReadDetectionsCountInternalServerError) IsRedirect ¶
func (o *ReadDetectionsCountInternalServerError) IsRedirect() bool
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 ¶
func (o *ReadDetectionsCountInternalServerError) IsSuccess() bool
IsSuccess returns true when this read detections count internal server error response has a 2xx status code
func (*ReadDetectionsCountInternalServerError) String ¶
func (o *ReadDetectionsCountInternalServerError) String() 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 (o *ReadDetectionsCountOK) GetPayload() *models.DetectionsAPIDetectionsCount
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 ¶
func (o *ReadDetectionsCountParams) WithContext(ctx context.Context) *ReadDetectionsCountParams
WithContext adds the context to the read detections count params
func (*ReadDetectionsCountParams) WithDefaults ¶
func (o *ReadDetectionsCountParams) WithDefaults() *ReadDetectionsCountParams
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 ¶
func (o *ReadDetectionsCountParams) WithFilter(filter *string) *ReadDetectionsCountParams
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 ¶
func (o *ReadDetectionsCountParams) WithTimeout(timeout time.Duration) *ReadDetectionsCountParams
WithTimeout adds the timeout to the read detections count params
func (*ReadDetectionsCountParams) WriteToRequest ¶
func (o *ReadDetectionsCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadDetectionsCountTooManyRequests) Code() int
Code gets the status code for the read detections count too many requests response
func (*ReadDetectionsCountTooManyRequests) Error ¶
func (o *ReadDetectionsCountTooManyRequests) Error() string
func (*ReadDetectionsCountTooManyRequests) GetPayload ¶
func (o *ReadDetectionsCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadDetectionsCountTooManyRequests) IsCode(code int) bool
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 ¶
func (o *ReadDetectionsCountTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read detections count too many requests response has a 2xx status code
func (*ReadDetectionsCountTooManyRequests) String ¶
func (o *ReadDetectionsCountTooManyRequests) String() 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 (o *ReadDetectionsForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadDetectionsInternalServerError) Code() int
Code gets the status code for the read detections internal server error response
func (*ReadDetectionsInternalServerError) Error ¶
func (o *ReadDetectionsInternalServerError) Error() string
func (*ReadDetectionsInternalServerError) GetPayload ¶
func (o *ReadDetectionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
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 ¶
func (o *ReadDetectionsInternalServerError) String() 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 (o *ReadDetectionsOK) GetPayload() *models.DetectionsAPIAssessmentDetections
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 ¶
func (o *ReadDetectionsParams) WithContext(ctx context.Context) *ReadDetectionsParams
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 ¶
func (o *ReadDetectionsTooManyRequests) Code() int
Code gets the status code for the read detections too many requests response
func (*ReadDetectionsTooManyRequests) Error ¶
func (o *ReadDetectionsTooManyRequests) Error() string
func (*ReadDetectionsTooManyRequests) GetPayload ¶
func (o *ReadDetectionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadDetectionsTooManyRequests) String() 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 (o *SearchDetectionsForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *SearchDetectionsInternalServerError) Code() int
Code gets the status code for the search detections internal server error response
func (*SearchDetectionsInternalServerError) Error ¶
func (o *SearchDetectionsInternalServerError) Error() string
func (*SearchDetectionsInternalServerError) GetPayload ¶
func (o *SearchDetectionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
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 ¶
func (o *SearchDetectionsInternalServerError) IsCode(code int) bool
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 ¶
func (o *SearchDetectionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search detections internal server error response has a 2xx status code
func (*SearchDetectionsInternalServerError) String ¶
func (o *SearchDetectionsInternalServerError) String() 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 (o *SearchDetectionsOK) GetPayload() *models.CommonGenericEntityResponseString
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 ¶
func (o *SearchDetectionsParams) WithContext(ctx context.Context) *SearchDetectionsParams
WithContext adds the context to the search detections params
func (*SearchDetectionsParams) WithDefaults ¶
func (o *SearchDetectionsParams) WithDefaults() *SearchDetectionsParams
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 ¶
func (o *SearchDetectionsParams) WithTimeout(timeout time.Duration) *SearchDetectionsParams
WithTimeout adds the timeout to the search detections params
func (*SearchDetectionsParams) WriteToRequest ¶
func (o *SearchDetectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SearchDetectionsTooManyRequests) Code() int
Code gets the status code for the search detections too many requests response
func (*SearchDetectionsTooManyRequests) Error ¶
func (o *SearchDetectionsTooManyRequests) Error() string
func (*SearchDetectionsTooManyRequests) GetPayload ¶
func (o *SearchDetectionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *SearchDetectionsTooManyRequests) String() string
Source Files ¶
- container_detections_client.go
- read_combined_detections_parameters.go
- read_combined_detections_responses.go
- read_detections_count_by_severity_parameters.go
- read_detections_count_by_severity_responses.go
- read_detections_count_by_type_parameters.go
- read_detections_count_by_type_responses.go
- read_detections_count_parameters.go
- read_detections_count_responses.go
- read_detections_parameters.go
- read_detections_responses.go
- search_detections_parameters.go
- search_detections_responses.go