Documentation ¶
Index ¶
- type Client
- func (a *Client) ReadContainerAlertsCount(params *ReadContainerAlertsCountParams, opts ...ClientOption) (*ReadContainerAlertsCountOK, error)
- func (a *Client) ReadContainerAlertsCountBySeverity(params *ReadContainerAlertsCountBySeverityParams, opts ...ClientOption) (*ReadContainerAlertsCountBySeverityOK, error)
- func (a *Client) SearchAndReadContainerAlerts(params *SearchAndReadContainerAlertsParams, opts ...ClientOption) (*SearchAndReadContainerAlertsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ReadContainerAlertsCountBySeverityForbidden
- func (o *ReadContainerAlertsCountBySeverityForbidden) Code() int
- func (o *ReadContainerAlertsCountBySeverityForbidden) Error() string
- func (o *ReadContainerAlertsCountBySeverityForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadContainerAlertsCountBySeverityForbidden) IsClientError() bool
- func (o *ReadContainerAlertsCountBySeverityForbidden) IsCode(code int) bool
- func (o *ReadContainerAlertsCountBySeverityForbidden) IsRedirect() bool
- func (o *ReadContainerAlertsCountBySeverityForbidden) IsServerError() bool
- func (o *ReadContainerAlertsCountBySeverityForbidden) IsSuccess() bool
- func (o *ReadContainerAlertsCountBySeverityForbidden) String() string
- type ReadContainerAlertsCountBySeverityInternalServerError
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) Code() int
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) Error() string
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsClientError() bool
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsCode(code int) bool
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsRedirect() bool
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsServerError() bool
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsSuccess() bool
- func (o *ReadContainerAlertsCountBySeverityInternalServerError) String() string
- type ReadContainerAlertsCountBySeverityOK
- func (o *ReadContainerAlertsCountBySeverityOK) Code() int
- func (o *ReadContainerAlertsCountBySeverityOK) Error() string
- func (o *ReadContainerAlertsCountBySeverityOK) GetPayload() *models.AlertsContainerAlertsCountValue
- func (o *ReadContainerAlertsCountBySeverityOK) IsClientError() bool
- func (o *ReadContainerAlertsCountBySeverityOK) IsCode(code int) bool
- func (o *ReadContainerAlertsCountBySeverityOK) IsRedirect() bool
- func (o *ReadContainerAlertsCountBySeverityOK) IsServerError() bool
- func (o *ReadContainerAlertsCountBySeverityOK) IsSuccess() bool
- func (o *ReadContainerAlertsCountBySeverityOK) String() string
- type ReadContainerAlertsCountBySeverityParams
- func NewReadContainerAlertsCountBySeverityParams() *ReadContainerAlertsCountBySeverityParams
- func NewReadContainerAlertsCountBySeverityParamsWithContext(ctx context.Context) *ReadContainerAlertsCountBySeverityParams
- func NewReadContainerAlertsCountBySeverityParamsWithHTTPClient(client *http.Client) *ReadContainerAlertsCountBySeverityParams
- func NewReadContainerAlertsCountBySeverityParamsWithTimeout(timeout time.Duration) *ReadContainerAlertsCountBySeverityParams
- func (o *ReadContainerAlertsCountBySeverityParams) SetContext(ctx context.Context)
- func (o *ReadContainerAlertsCountBySeverityParams) SetDefaults()
- func (o *ReadContainerAlertsCountBySeverityParams) SetFilter(filter *string)
- func (o *ReadContainerAlertsCountBySeverityParams) SetHTTPClient(client *http.Client)
- func (o *ReadContainerAlertsCountBySeverityParams) SetTimeout(timeout time.Duration)
- func (o *ReadContainerAlertsCountBySeverityParams) WithContext(ctx context.Context) *ReadContainerAlertsCountBySeverityParams
- func (o *ReadContainerAlertsCountBySeverityParams) WithDefaults() *ReadContainerAlertsCountBySeverityParams
- func (o *ReadContainerAlertsCountBySeverityParams) WithFilter(filter *string) *ReadContainerAlertsCountBySeverityParams
- func (o *ReadContainerAlertsCountBySeverityParams) WithHTTPClient(client *http.Client) *ReadContainerAlertsCountBySeverityParams
- func (o *ReadContainerAlertsCountBySeverityParams) WithTimeout(timeout time.Duration) *ReadContainerAlertsCountBySeverityParams
- func (o *ReadContainerAlertsCountBySeverityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadContainerAlertsCountBySeverityReader
- type ReadContainerAlertsCountBySeverityTooManyRequests
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) Code() int
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) Error() string
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsClientError() bool
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsCode(code int) bool
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsRedirect() bool
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsServerError() bool
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsSuccess() bool
- func (o *ReadContainerAlertsCountBySeverityTooManyRequests) String() string
- type ReadContainerAlertsCountForbidden
- func (o *ReadContainerAlertsCountForbidden) Code() int
- func (o *ReadContainerAlertsCountForbidden) Error() string
- func (o *ReadContainerAlertsCountForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadContainerAlertsCountForbidden) IsClientError() bool
- func (o *ReadContainerAlertsCountForbidden) IsCode(code int) bool
- func (o *ReadContainerAlertsCountForbidden) IsRedirect() bool
- func (o *ReadContainerAlertsCountForbidden) IsServerError() bool
- func (o *ReadContainerAlertsCountForbidden) IsSuccess() bool
- func (o *ReadContainerAlertsCountForbidden) String() string
- type ReadContainerAlertsCountInternalServerError
- func (o *ReadContainerAlertsCountInternalServerError) Code() int
- func (o *ReadContainerAlertsCountInternalServerError) Error() string
- func (o *ReadContainerAlertsCountInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadContainerAlertsCountInternalServerError) IsClientError() bool
- func (o *ReadContainerAlertsCountInternalServerError) IsCode(code int) bool
- func (o *ReadContainerAlertsCountInternalServerError) IsRedirect() bool
- func (o *ReadContainerAlertsCountInternalServerError) IsServerError() bool
- func (o *ReadContainerAlertsCountInternalServerError) IsSuccess() bool
- func (o *ReadContainerAlertsCountInternalServerError) String() string
- type ReadContainerAlertsCountOK
- func (o *ReadContainerAlertsCountOK) Code() int
- func (o *ReadContainerAlertsCountOK) Error() string
- func (o *ReadContainerAlertsCountOK) GetPayload() *models.AlertsContainerAlertsCountValue
- func (o *ReadContainerAlertsCountOK) IsClientError() bool
- func (o *ReadContainerAlertsCountOK) IsCode(code int) bool
- func (o *ReadContainerAlertsCountOK) IsRedirect() bool
- func (o *ReadContainerAlertsCountOK) IsServerError() bool
- func (o *ReadContainerAlertsCountOK) IsSuccess() bool
- func (o *ReadContainerAlertsCountOK) String() string
- type ReadContainerAlertsCountParams
- func NewReadContainerAlertsCountParams() *ReadContainerAlertsCountParams
- func NewReadContainerAlertsCountParamsWithContext(ctx context.Context) *ReadContainerAlertsCountParams
- func NewReadContainerAlertsCountParamsWithHTTPClient(client *http.Client) *ReadContainerAlertsCountParams
- func NewReadContainerAlertsCountParamsWithTimeout(timeout time.Duration) *ReadContainerAlertsCountParams
- func (o *ReadContainerAlertsCountParams) SetContext(ctx context.Context)
- func (o *ReadContainerAlertsCountParams) SetDefaults()
- func (o *ReadContainerAlertsCountParams) SetFilter(filter *string)
- func (o *ReadContainerAlertsCountParams) SetHTTPClient(client *http.Client)
- func (o *ReadContainerAlertsCountParams) SetTimeout(timeout time.Duration)
- func (o *ReadContainerAlertsCountParams) WithContext(ctx context.Context) *ReadContainerAlertsCountParams
- func (o *ReadContainerAlertsCountParams) WithDefaults() *ReadContainerAlertsCountParams
- func (o *ReadContainerAlertsCountParams) WithFilter(filter *string) *ReadContainerAlertsCountParams
- func (o *ReadContainerAlertsCountParams) WithHTTPClient(client *http.Client) *ReadContainerAlertsCountParams
- func (o *ReadContainerAlertsCountParams) WithTimeout(timeout time.Duration) *ReadContainerAlertsCountParams
- func (o *ReadContainerAlertsCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadContainerAlertsCountReader
- type ReadContainerAlertsCountTooManyRequests
- func (o *ReadContainerAlertsCountTooManyRequests) Code() int
- func (o *ReadContainerAlertsCountTooManyRequests) Error() string
- func (o *ReadContainerAlertsCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadContainerAlertsCountTooManyRequests) IsClientError() bool
- func (o *ReadContainerAlertsCountTooManyRequests) IsCode(code int) bool
- func (o *ReadContainerAlertsCountTooManyRequests) IsRedirect() bool
- func (o *ReadContainerAlertsCountTooManyRequests) IsServerError() bool
- func (o *ReadContainerAlertsCountTooManyRequests) IsSuccess() bool
- func (o *ReadContainerAlertsCountTooManyRequests) String() string
- type SearchAndReadContainerAlertsForbidden
- func (o *SearchAndReadContainerAlertsForbidden) Code() int
- func (o *SearchAndReadContainerAlertsForbidden) Error() string
- func (o *SearchAndReadContainerAlertsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchAndReadContainerAlertsForbidden) IsClientError() bool
- func (o *SearchAndReadContainerAlertsForbidden) IsCode(code int) bool
- func (o *SearchAndReadContainerAlertsForbidden) IsRedirect() bool
- func (o *SearchAndReadContainerAlertsForbidden) IsServerError() bool
- func (o *SearchAndReadContainerAlertsForbidden) IsSuccess() bool
- func (o *SearchAndReadContainerAlertsForbidden) String() string
- type SearchAndReadContainerAlertsInternalServerError
- func (o *SearchAndReadContainerAlertsInternalServerError) Code() int
- func (o *SearchAndReadContainerAlertsInternalServerError) Error() string
- func (o *SearchAndReadContainerAlertsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *SearchAndReadContainerAlertsInternalServerError) IsClientError() bool
- func (o *SearchAndReadContainerAlertsInternalServerError) IsCode(code int) bool
- func (o *SearchAndReadContainerAlertsInternalServerError) IsRedirect() bool
- func (o *SearchAndReadContainerAlertsInternalServerError) IsServerError() bool
- func (o *SearchAndReadContainerAlertsInternalServerError) IsSuccess() bool
- func (o *SearchAndReadContainerAlertsInternalServerError) String() string
- type SearchAndReadContainerAlertsOK
- func (o *SearchAndReadContainerAlertsOK) Code() int
- func (o *SearchAndReadContainerAlertsOK) Error() string
- func (o *SearchAndReadContainerAlertsOK) GetPayload() *models.AlertsContainerAlertsEntityResponse
- func (o *SearchAndReadContainerAlertsOK) IsClientError() bool
- func (o *SearchAndReadContainerAlertsOK) IsCode(code int) bool
- func (o *SearchAndReadContainerAlertsOK) IsRedirect() bool
- func (o *SearchAndReadContainerAlertsOK) IsServerError() bool
- func (o *SearchAndReadContainerAlertsOK) IsSuccess() bool
- func (o *SearchAndReadContainerAlertsOK) String() string
- type SearchAndReadContainerAlertsParams
- func NewSearchAndReadContainerAlertsParams() *SearchAndReadContainerAlertsParams
- func NewSearchAndReadContainerAlertsParamsWithContext(ctx context.Context) *SearchAndReadContainerAlertsParams
- func NewSearchAndReadContainerAlertsParamsWithHTTPClient(client *http.Client) *SearchAndReadContainerAlertsParams
- func NewSearchAndReadContainerAlertsParamsWithTimeout(timeout time.Duration) *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) SetContext(ctx context.Context)
- func (o *SearchAndReadContainerAlertsParams) SetDefaults()
- func (o *SearchAndReadContainerAlertsParams) SetFilter(filter *string)
- func (o *SearchAndReadContainerAlertsParams) SetHTTPClient(client *http.Client)
- func (o *SearchAndReadContainerAlertsParams) SetLimit(limit *int64)
- func (o *SearchAndReadContainerAlertsParams) SetOffset(offset *int64)
- func (o *SearchAndReadContainerAlertsParams) SetSort(sort *string)
- func (o *SearchAndReadContainerAlertsParams) SetTimeout(timeout time.Duration)
- func (o *SearchAndReadContainerAlertsParams) WithContext(ctx context.Context) *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) WithDefaults() *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) WithFilter(filter *string) *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) WithHTTPClient(client *http.Client) *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) WithLimit(limit *int64) *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) WithOffset(offset *int64) *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) WithSort(sort *string) *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) WithTimeout(timeout time.Duration) *SearchAndReadContainerAlertsParams
- func (o *SearchAndReadContainerAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchAndReadContainerAlertsReader
- type SearchAndReadContainerAlertsTooManyRequests
- func (o *SearchAndReadContainerAlertsTooManyRequests) Code() int
- func (o *SearchAndReadContainerAlertsTooManyRequests) Error() string
- func (o *SearchAndReadContainerAlertsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchAndReadContainerAlertsTooManyRequests) IsClientError() bool
- func (o *SearchAndReadContainerAlertsTooManyRequests) IsCode(code int) bool
- func (o *SearchAndReadContainerAlertsTooManyRequests) IsRedirect() bool
- func (o *SearchAndReadContainerAlertsTooManyRequests) IsServerError() bool
- func (o *SearchAndReadContainerAlertsTooManyRequests) IsSuccess() bool
- func (o *SearchAndReadContainerAlertsTooManyRequests) 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 alerts API
func (*Client) ReadContainerAlertsCount ¶
func (a *Client) ReadContainerAlertsCount(params *ReadContainerAlertsCountParams, opts ...ClientOption) (*ReadContainerAlertsCountOK, error)
ReadContainerAlertsCount searches container alerts by the provided search criteria
func (*Client) ReadContainerAlertsCountBySeverity ¶
func (a *Client) ReadContainerAlertsCountBySeverity(params *ReadContainerAlertsCountBySeverityParams, opts ...ClientOption) (*ReadContainerAlertsCountBySeverityOK, error)
ReadContainerAlertsCountBySeverity gets container alerts counts by severity
func (*Client) SearchAndReadContainerAlerts ¶
func (a *Client) SearchAndReadContainerAlerts(params *SearchAndReadContainerAlertsParams, opts ...ClientOption) (*SearchAndReadContainerAlertsOK, error)
SearchAndReadContainerAlerts searches container alerts by the provided search criteria
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ReadContainerAlertsCount(params *ReadContainerAlertsCountParams, opts ...ClientOption) (*ReadContainerAlertsCountOK, error) ReadContainerAlertsCountBySeverity(params *ReadContainerAlertsCountBySeverityParams, opts ...ClientOption) (*ReadContainerAlertsCountBySeverityOK, error) SearchAndReadContainerAlerts(params *SearchAndReadContainerAlertsParams, opts ...ClientOption) (*SearchAndReadContainerAlertsOK, 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 alerts API client.
type ReadContainerAlertsCountBySeverityForbidden ¶
type ReadContainerAlertsCountBySeverityForbidden 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 }
ReadContainerAlertsCountBySeverityForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReadContainerAlertsCountBySeverityForbidden ¶
func NewReadContainerAlertsCountBySeverityForbidden() *ReadContainerAlertsCountBySeverityForbidden
NewReadContainerAlertsCountBySeverityForbidden creates a ReadContainerAlertsCountBySeverityForbidden with default headers values
func (*ReadContainerAlertsCountBySeverityForbidden) Code ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) Code() int
Code gets the status code for the read container alerts count by severity forbidden response
func (*ReadContainerAlertsCountBySeverityForbidden) Error ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) Error() string
func (*ReadContainerAlertsCountBySeverityForbidden) GetPayload ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ReadContainerAlertsCountBySeverityForbidden) IsClientError ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) IsClientError() bool
IsClientError returns true when this read container alerts count by severity forbidden response has a 4xx status code
func (*ReadContainerAlertsCountBySeverityForbidden) IsCode ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) IsCode(code int) bool
IsCode returns true when this read container alerts count by severity forbidden response a status code equal to that given
func (*ReadContainerAlertsCountBySeverityForbidden) IsRedirect ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) IsRedirect() bool
IsRedirect returns true when this read container alerts count by severity forbidden response has a 3xx status code
func (*ReadContainerAlertsCountBySeverityForbidden) IsServerError ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) IsServerError() bool
IsServerError returns true when this read container alerts count by severity forbidden response has a 5xx status code
func (*ReadContainerAlertsCountBySeverityForbidden) IsSuccess ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) IsSuccess() bool
IsSuccess returns true when this read container alerts count by severity forbidden response has a 2xx status code
func (*ReadContainerAlertsCountBySeverityForbidden) String ¶
func (o *ReadContainerAlertsCountBySeverityForbidden) String() string
type ReadContainerAlertsCountBySeverityInternalServerError ¶
type ReadContainerAlertsCountBySeverityInternalServerError 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 }
ReadContainerAlertsCountBySeverityInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewReadContainerAlertsCountBySeverityInternalServerError ¶
func NewReadContainerAlertsCountBySeverityInternalServerError() *ReadContainerAlertsCountBySeverityInternalServerError
NewReadContainerAlertsCountBySeverityInternalServerError creates a ReadContainerAlertsCountBySeverityInternalServerError with default headers values
func (*ReadContainerAlertsCountBySeverityInternalServerError) Code ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) Code() int
Code gets the status code for the read container alerts count by severity internal server error response
func (*ReadContainerAlertsCountBySeverityInternalServerError) Error ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) Error() string
func (*ReadContainerAlertsCountBySeverityInternalServerError) GetPayload ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadContainerAlertsCountBySeverityInternalServerError) IsClientError ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsClientError() bool
IsClientError returns true when this read container alerts count by severity internal server error response has a 4xx status code
func (*ReadContainerAlertsCountBySeverityInternalServerError) IsCode ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsCode(code int) bool
IsCode returns true when this read container alerts count by severity internal server error response a status code equal to that given
func (*ReadContainerAlertsCountBySeverityInternalServerError) IsRedirect ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsRedirect() bool
IsRedirect returns true when this read container alerts count by severity internal server error response has a 3xx status code
func (*ReadContainerAlertsCountBySeverityInternalServerError) IsServerError ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsServerError() bool
IsServerError returns true when this read container alerts count by severity internal server error response has a 5xx status code
func (*ReadContainerAlertsCountBySeverityInternalServerError) IsSuccess ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) IsSuccess() bool
IsSuccess returns true when this read container alerts count by severity internal server error response has a 2xx status code
func (*ReadContainerAlertsCountBySeverityInternalServerError) String ¶
func (o *ReadContainerAlertsCountBySeverityInternalServerError) String() string
type ReadContainerAlertsCountBySeverityOK ¶
type ReadContainerAlertsCountBySeverityOK 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.AlertsContainerAlertsCountValue }
ReadContainerAlertsCountBySeverityOK describes a response with status code 200, with default header values.
OK
func NewReadContainerAlertsCountBySeverityOK ¶
func NewReadContainerAlertsCountBySeverityOK() *ReadContainerAlertsCountBySeverityOK
NewReadContainerAlertsCountBySeverityOK creates a ReadContainerAlertsCountBySeverityOK with default headers values
func (*ReadContainerAlertsCountBySeverityOK) Code ¶
func (o *ReadContainerAlertsCountBySeverityOK) Code() int
Code gets the status code for the read container alerts count by severity o k response
func (*ReadContainerAlertsCountBySeverityOK) Error ¶
func (o *ReadContainerAlertsCountBySeverityOK) Error() string
func (*ReadContainerAlertsCountBySeverityOK) GetPayload ¶
func (o *ReadContainerAlertsCountBySeverityOK) GetPayload() *models.AlertsContainerAlertsCountValue
func (*ReadContainerAlertsCountBySeverityOK) IsClientError ¶
func (o *ReadContainerAlertsCountBySeverityOK) IsClientError() bool
IsClientError returns true when this read container alerts count by severity o k response has a 4xx status code
func (*ReadContainerAlertsCountBySeverityOK) IsCode ¶
func (o *ReadContainerAlertsCountBySeverityOK) IsCode(code int) bool
IsCode returns true when this read container alerts count by severity o k response a status code equal to that given
func (*ReadContainerAlertsCountBySeverityOK) IsRedirect ¶
func (o *ReadContainerAlertsCountBySeverityOK) IsRedirect() bool
IsRedirect returns true when this read container alerts count by severity o k response has a 3xx status code
func (*ReadContainerAlertsCountBySeverityOK) IsServerError ¶
func (o *ReadContainerAlertsCountBySeverityOK) IsServerError() bool
IsServerError returns true when this read container alerts count by severity o k response has a 5xx status code
func (*ReadContainerAlertsCountBySeverityOK) IsSuccess ¶
func (o *ReadContainerAlertsCountBySeverityOK) IsSuccess() bool
IsSuccess returns true when this read container alerts count by severity o k response has a 2xx status code
func (*ReadContainerAlertsCountBySeverityOK) String ¶
func (o *ReadContainerAlertsCountBySeverityOK) String() string
type ReadContainerAlertsCountBySeverityParams ¶
type ReadContainerAlertsCountBySeverityParams struct { /* Filter. Search Container Alerts using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,last_seen */ Filter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadContainerAlertsCountBySeverityParams contains all the parameters to send to the API endpoint
for the read container alerts count by severity operation. Typically these are written to a http.Request.
func NewReadContainerAlertsCountBySeverityParams ¶
func NewReadContainerAlertsCountBySeverityParams() *ReadContainerAlertsCountBySeverityParams
NewReadContainerAlertsCountBySeverityParams creates a new ReadContainerAlertsCountBySeverityParams 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 NewReadContainerAlertsCountBySeverityParamsWithContext ¶
func NewReadContainerAlertsCountBySeverityParamsWithContext(ctx context.Context) *ReadContainerAlertsCountBySeverityParams
NewReadContainerAlertsCountBySeverityParamsWithContext creates a new ReadContainerAlertsCountBySeverityParams object with the ability to set a context for a request.
func NewReadContainerAlertsCountBySeverityParamsWithHTTPClient ¶
func NewReadContainerAlertsCountBySeverityParamsWithHTTPClient(client *http.Client) *ReadContainerAlertsCountBySeverityParams
NewReadContainerAlertsCountBySeverityParamsWithHTTPClient creates a new ReadContainerAlertsCountBySeverityParams object with the ability to set a custom HTTPClient for a request.
func NewReadContainerAlertsCountBySeverityParamsWithTimeout ¶
func NewReadContainerAlertsCountBySeverityParamsWithTimeout(timeout time.Duration) *ReadContainerAlertsCountBySeverityParams
NewReadContainerAlertsCountBySeverityParamsWithTimeout creates a new ReadContainerAlertsCountBySeverityParams object with the ability to set a timeout on a request.
func (*ReadContainerAlertsCountBySeverityParams) SetContext ¶
func (o *ReadContainerAlertsCountBySeverityParams) SetContext(ctx context.Context)
SetContext adds the context to the read container alerts count by severity params
func (*ReadContainerAlertsCountBySeverityParams) SetDefaults ¶
func (o *ReadContainerAlertsCountBySeverityParams) SetDefaults()
SetDefaults hydrates default values in the read container alerts count by severity params (not the query body).
All values with no default are reset to their zero value.
func (*ReadContainerAlertsCountBySeverityParams) SetFilter ¶
func (o *ReadContainerAlertsCountBySeverityParams) SetFilter(filter *string)
SetFilter adds the filter to the read container alerts count by severity params
func (*ReadContainerAlertsCountBySeverityParams) SetHTTPClient ¶
func (o *ReadContainerAlertsCountBySeverityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read container alerts count by severity params
func (*ReadContainerAlertsCountBySeverityParams) SetTimeout ¶
func (o *ReadContainerAlertsCountBySeverityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read container alerts count by severity params
func (*ReadContainerAlertsCountBySeverityParams) WithContext ¶
func (o *ReadContainerAlertsCountBySeverityParams) WithContext(ctx context.Context) *ReadContainerAlertsCountBySeverityParams
WithContext adds the context to the read container alerts count by severity params
func (*ReadContainerAlertsCountBySeverityParams) WithDefaults ¶
func (o *ReadContainerAlertsCountBySeverityParams) WithDefaults() *ReadContainerAlertsCountBySeverityParams
WithDefaults hydrates default values in the read container alerts count by severity params (not the query body).
All values with no default are reset to their zero value.
func (*ReadContainerAlertsCountBySeverityParams) WithFilter ¶
func (o *ReadContainerAlertsCountBySeverityParams) WithFilter(filter *string) *ReadContainerAlertsCountBySeverityParams
WithFilter adds the filter to the read container alerts count by severity params
func (*ReadContainerAlertsCountBySeverityParams) WithHTTPClient ¶
func (o *ReadContainerAlertsCountBySeverityParams) WithHTTPClient(client *http.Client) *ReadContainerAlertsCountBySeverityParams
WithHTTPClient adds the HTTPClient to the read container alerts count by severity params
func (*ReadContainerAlertsCountBySeverityParams) WithTimeout ¶
func (o *ReadContainerAlertsCountBySeverityParams) WithTimeout(timeout time.Duration) *ReadContainerAlertsCountBySeverityParams
WithTimeout adds the timeout to the read container alerts count by severity params
func (*ReadContainerAlertsCountBySeverityParams) WriteToRequest ¶
func (o *ReadContainerAlertsCountBySeverityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadContainerAlertsCountBySeverityReader ¶
type ReadContainerAlertsCountBySeverityReader struct {
// contains filtered or unexported fields
}
ReadContainerAlertsCountBySeverityReader is a Reader for the ReadContainerAlertsCountBySeverity structure.
func (*ReadContainerAlertsCountBySeverityReader) ReadResponse ¶
func (o *ReadContainerAlertsCountBySeverityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadContainerAlertsCountBySeverityTooManyRequests ¶
type ReadContainerAlertsCountBySeverityTooManyRequests 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 }
ReadContainerAlertsCountBySeverityTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewReadContainerAlertsCountBySeverityTooManyRequests ¶
func NewReadContainerAlertsCountBySeverityTooManyRequests() *ReadContainerAlertsCountBySeverityTooManyRequests
NewReadContainerAlertsCountBySeverityTooManyRequests creates a ReadContainerAlertsCountBySeverityTooManyRequests with default headers values
func (*ReadContainerAlertsCountBySeverityTooManyRequests) Code ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) Code() int
Code gets the status code for the read container alerts count by severity too many requests response
func (*ReadContainerAlertsCountBySeverityTooManyRequests) Error ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) Error() string
func (*ReadContainerAlertsCountBySeverityTooManyRequests) GetPayload ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsClientError ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsClientError() bool
IsClientError returns true when this read container alerts count by severity too many requests response has a 4xx status code
func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsCode ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsCode(code int) bool
IsCode returns true when this read container alerts count by severity too many requests response a status code equal to that given
func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsRedirect ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read container alerts count by severity too many requests response has a 3xx status code
func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsServerError ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsServerError() bool
IsServerError returns true when this read container alerts count by severity too many requests response has a 5xx status code
func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsSuccess ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read container alerts count by severity too many requests response has a 2xx status code
func (*ReadContainerAlertsCountBySeverityTooManyRequests) String ¶
func (o *ReadContainerAlertsCountBySeverityTooManyRequests) String() string
type ReadContainerAlertsCountForbidden ¶
type ReadContainerAlertsCountForbidden 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 }
ReadContainerAlertsCountForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReadContainerAlertsCountForbidden ¶
func NewReadContainerAlertsCountForbidden() *ReadContainerAlertsCountForbidden
NewReadContainerAlertsCountForbidden creates a ReadContainerAlertsCountForbidden with default headers values
func (*ReadContainerAlertsCountForbidden) Code ¶
func (o *ReadContainerAlertsCountForbidden) Code() int
Code gets the status code for the read container alerts count forbidden response
func (*ReadContainerAlertsCountForbidden) Error ¶
func (o *ReadContainerAlertsCountForbidden) Error() string
func (*ReadContainerAlertsCountForbidden) GetPayload ¶
func (o *ReadContainerAlertsCountForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ReadContainerAlertsCountForbidden) IsClientError ¶
func (o *ReadContainerAlertsCountForbidden) IsClientError() bool
IsClientError returns true when this read container alerts count forbidden response has a 4xx status code
func (*ReadContainerAlertsCountForbidden) IsCode ¶
func (o *ReadContainerAlertsCountForbidden) IsCode(code int) bool
IsCode returns true when this read container alerts count forbidden response a status code equal to that given
func (*ReadContainerAlertsCountForbidden) IsRedirect ¶
func (o *ReadContainerAlertsCountForbidden) IsRedirect() bool
IsRedirect returns true when this read container alerts count forbidden response has a 3xx status code
func (*ReadContainerAlertsCountForbidden) IsServerError ¶
func (o *ReadContainerAlertsCountForbidden) IsServerError() bool
IsServerError returns true when this read container alerts count forbidden response has a 5xx status code
func (*ReadContainerAlertsCountForbidden) IsSuccess ¶
func (o *ReadContainerAlertsCountForbidden) IsSuccess() bool
IsSuccess returns true when this read container alerts count forbidden response has a 2xx status code
func (*ReadContainerAlertsCountForbidden) String ¶
func (o *ReadContainerAlertsCountForbidden) String() string
type ReadContainerAlertsCountInternalServerError ¶
type ReadContainerAlertsCountInternalServerError 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 }
ReadContainerAlertsCountInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewReadContainerAlertsCountInternalServerError ¶
func NewReadContainerAlertsCountInternalServerError() *ReadContainerAlertsCountInternalServerError
NewReadContainerAlertsCountInternalServerError creates a ReadContainerAlertsCountInternalServerError with default headers values
func (*ReadContainerAlertsCountInternalServerError) Code ¶
func (o *ReadContainerAlertsCountInternalServerError) Code() int
Code gets the status code for the read container alerts count internal server error response
func (*ReadContainerAlertsCountInternalServerError) Error ¶
func (o *ReadContainerAlertsCountInternalServerError) Error() string
func (*ReadContainerAlertsCountInternalServerError) GetPayload ¶
func (o *ReadContainerAlertsCountInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadContainerAlertsCountInternalServerError) IsClientError ¶
func (o *ReadContainerAlertsCountInternalServerError) IsClientError() bool
IsClientError returns true when this read container alerts count internal server error response has a 4xx status code
func (*ReadContainerAlertsCountInternalServerError) IsCode ¶
func (o *ReadContainerAlertsCountInternalServerError) IsCode(code int) bool
IsCode returns true when this read container alerts count internal server error response a status code equal to that given
func (*ReadContainerAlertsCountInternalServerError) IsRedirect ¶
func (o *ReadContainerAlertsCountInternalServerError) IsRedirect() bool
IsRedirect returns true when this read container alerts count internal server error response has a 3xx status code
func (*ReadContainerAlertsCountInternalServerError) IsServerError ¶
func (o *ReadContainerAlertsCountInternalServerError) IsServerError() bool
IsServerError returns true when this read container alerts count internal server error response has a 5xx status code
func (*ReadContainerAlertsCountInternalServerError) IsSuccess ¶
func (o *ReadContainerAlertsCountInternalServerError) IsSuccess() bool
IsSuccess returns true when this read container alerts count internal server error response has a 2xx status code
func (*ReadContainerAlertsCountInternalServerError) String ¶
func (o *ReadContainerAlertsCountInternalServerError) String() string
type ReadContainerAlertsCountOK ¶
type ReadContainerAlertsCountOK 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.AlertsContainerAlertsCountValue }
ReadContainerAlertsCountOK describes a response with status code 200, with default header values.
OK
func NewReadContainerAlertsCountOK ¶
func NewReadContainerAlertsCountOK() *ReadContainerAlertsCountOK
NewReadContainerAlertsCountOK creates a ReadContainerAlertsCountOK with default headers values
func (*ReadContainerAlertsCountOK) Code ¶
func (o *ReadContainerAlertsCountOK) Code() int
Code gets the status code for the read container alerts count o k response
func (*ReadContainerAlertsCountOK) Error ¶
func (o *ReadContainerAlertsCountOK) Error() string
func (*ReadContainerAlertsCountOK) GetPayload ¶
func (o *ReadContainerAlertsCountOK) GetPayload() *models.AlertsContainerAlertsCountValue
func (*ReadContainerAlertsCountOK) IsClientError ¶
func (o *ReadContainerAlertsCountOK) IsClientError() bool
IsClientError returns true when this read container alerts count o k response has a 4xx status code
func (*ReadContainerAlertsCountOK) IsCode ¶
func (o *ReadContainerAlertsCountOK) IsCode(code int) bool
IsCode returns true when this read container alerts count o k response a status code equal to that given
func (*ReadContainerAlertsCountOK) IsRedirect ¶
func (o *ReadContainerAlertsCountOK) IsRedirect() bool
IsRedirect returns true when this read container alerts count o k response has a 3xx status code
func (*ReadContainerAlertsCountOK) IsServerError ¶
func (o *ReadContainerAlertsCountOK) IsServerError() bool
IsServerError returns true when this read container alerts count o k response has a 5xx status code
func (*ReadContainerAlertsCountOK) IsSuccess ¶
func (o *ReadContainerAlertsCountOK) IsSuccess() bool
IsSuccess returns true when this read container alerts count o k response has a 2xx status code
func (*ReadContainerAlertsCountOK) String ¶
func (o *ReadContainerAlertsCountOK) String() string
type ReadContainerAlertsCountParams ¶
type ReadContainerAlertsCountParams struct { /* Filter. Search Container Alerts using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,last_seen */ Filter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadContainerAlertsCountParams contains all the parameters to send to the API endpoint
for the read container alerts count operation. Typically these are written to a http.Request.
func NewReadContainerAlertsCountParams ¶
func NewReadContainerAlertsCountParams() *ReadContainerAlertsCountParams
NewReadContainerAlertsCountParams creates a new ReadContainerAlertsCountParams 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 NewReadContainerAlertsCountParamsWithContext ¶
func NewReadContainerAlertsCountParamsWithContext(ctx context.Context) *ReadContainerAlertsCountParams
NewReadContainerAlertsCountParamsWithContext creates a new ReadContainerAlertsCountParams object with the ability to set a context for a request.
func NewReadContainerAlertsCountParamsWithHTTPClient ¶
func NewReadContainerAlertsCountParamsWithHTTPClient(client *http.Client) *ReadContainerAlertsCountParams
NewReadContainerAlertsCountParamsWithHTTPClient creates a new ReadContainerAlertsCountParams object with the ability to set a custom HTTPClient for a request.
func NewReadContainerAlertsCountParamsWithTimeout ¶
func NewReadContainerAlertsCountParamsWithTimeout(timeout time.Duration) *ReadContainerAlertsCountParams
NewReadContainerAlertsCountParamsWithTimeout creates a new ReadContainerAlertsCountParams object with the ability to set a timeout on a request.
func (*ReadContainerAlertsCountParams) SetContext ¶
func (o *ReadContainerAlertsCountParams) SetContext(ctx context.Context)
SetContext adds the context to the read container alerts count params
func (*ReadContainerAlertsCountParams) SetDefaults ¶
func (o *ReadContainerAlertsCountParams) SetDefaults()
SetDefaults hydrates default values in the read container alerts count params (not the query body).
All values with no default are reset to their zero value.
func (*ReadContainerAlertsCountParams) SetFilter ¶
func (o *ReadContainerAlertsCountParams) SetFilter(filter *string)
SetFilter adds the filter to the read container alerts count params
func (*ReadContainerAlertsCountParams) SetHTTPClient ¶
func (o *ReadContainerAlertsCountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read container alerts count params
func (*ReadContainerAlertsCountParams) SetTimeout ¶
func (o *ReadContainerAlertsCountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read container alerts count params
func (*ReadContainerAlertsCountParams) WithContext ¶
func (o *ReadContainerAlertsCountParams) WithContext(ctx context.Context) *ReadContainerAlertsCountParams
WithContext adds the context to the read container alerts count params
func (*ReadContainerAlertsCountParams) WithDefaults ¶
func (o *ReadContainerAlertsCountParams) WithDefaults() *ReadContainerAlertsCountParams
WithDefaults hydrates default values in the read container alerts count params (not the query body).
All values with no default are reset to their zero value.
func (*ReadContainerAlertsCountParams) WithFilter ¶
func (o *ReadContainerAlertsCountParams) WithFilter(filter *string) *ReadContainerAlertsCountParams
WithFilter adds the filter to the read container alerts count params
func (*ReadContainerAlertsCountParams) WithHTTPClient ¶
func (o *ReadContainerAlertsCountParams) WithHTTPClient(client *http.Client) *ReadContainerAlertsCountParams
WithHTTPClient adds the HTTPClient to the read container alerts count params
func (*ReadContainerAlertsCountParams) WithTimeout ¶
func (o *ReadContainerAlertsCountParams) WithTimeout(timeout time.Duration) *ReadContainerAlertsCountParams
WithTimeout adds the timeout to the read container alerts count params
func (*ReadContainerAlertsCountParams) WriteToRequest ¶
func (o *ReadContainerAlertsCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadContainerAlertsCountReader ¶
type ReadContainerAlertsCountReader struct {
// contains filtered or unexported fields
}
ReadContainerAlertsCountReader is a Reader for the ReadContainerAlertsCount structure.
func (*ReadContainerAlertsCountReader) ReadResponse ¶
func (o *ReadContainerAlertsCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadContainerAlertsCountTooManyRequests ¶
type ReadContainerAlertsCountTooManyRequests 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 }
ReadContainerAlertsCountTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewReadContainerAlertsCountTooManyRequests ¶
func NewReadContainerAlertsCountTooManyRequests() *ReadContainerAlertsCountTooManyRequests
NewReadContainerAlertsCountTooManyRequests creates a ReadContainerAlertsCountTooManyRequests with default headers values
func (*ReadContainerAlertsCountTooManyRequests) Code ¶
func (o *ReadContainerAlertsCountTooManyRequests) Code() int
Code gets the status code for the read container alerts count too many requests response
func (*ReadContainerAlertsCountTooManyRequests) Error ¶
func (o *ReadContainerAlertsCountTooManyRequests) Error() string
func (*ReadContainerAlertsCountTooManyRequests) GetPayload ¶
func (o *ReadContainerAlertsCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadContainerAlertsCountTooManyRequests) IsClientError ¶
func (o *ReadContainerAlertsCountTooManyRequests) IsClientError() bool
IsClientError returns true when this read container alerts count too many requests response has a 4xx status code
func (*ReadContainerAlertsCountTooManyRequests) IsCode ¶
func (o *ReadContainerAlertsCountTooManyRequests) IsCode(code int) bool
IsCode returns true when this read container alerts count too many requests response a status code equal to that given
func (*ReadContainerAlertsCountTooManyRequests) IsRedirect ¶
func (o *ReadContainerAlertsCountTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read container alerts count too many requests response has a 3xx status code
func (*ReadContainerAlertsCountTooManyRequests) IsServerError ¶
func (o *ReadContainerAlertsCountTooManyRequests) IsServerError() bool
IsServerError returns true when this read container alerts count too many requests response has a 5xx status code
func (*ReadContainerAlertsCountTooManyRequests) IsSuccess ¶
func (o *ReadContainerAlertsCountTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read container alerts count too many requests response has a 2xx status code
func (*ReadContainerAlertsCountTooManyRequests) String ¶
func (o *ReadContainerAlertsCountTooManyRequests) String() string
type SearchAndReadContainerAlertsForbidden ¶
type SearchAndReadContainerAlertsForbidden 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 }
SearchAndReadContainerAlertsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSearchAndReadContainerAlertsForbidden ¶
func NewSearchAndReadContainerAlertsForbidden() *SearchAndReadContainerAlertsForbidden
NewSearchAndReadContainerAlertsForbidden creates a SearchAndReadContainerAlertsForbidden with default headers values
func (*SearchAndReadContainerAlertsForbidden) Code ¶
func (o *SearchAndReadContainerAlertsForbidden) Code() int
Code gets the status code for the search and read container alerts forbidden response
func (*SearchAndReadContainerAlertsForbidden) Error ¶
func (o *SearchAndReadContainerAlertsForbidden) Error() string
func (*SearchAndReadContainerAlertsForbidden) GetPayload ¶
func (o *SearchAndReadContainerAlertsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*SearchAndReadContainerAlertsForbidden) IsClientError ¶
func (o *SearchAndReadContainerAlertsForbidden) IsClientError() bool
IsClientError returns true when this search and read container alerts forbidden response has a 4xx status code
func (*SearchAndReadContainerAlertsForbidden) IsCode ¶
func (o *SearchAndReadContainerAlertsForbidden) IsCode(code int) bool
IsCode returns true when this search and read container alerts forbidden response a status code equal to that given
func (*SearchAndReadContainerAlertsForbidden) IsRedirect ¶
func (o *SearchAndReadContainerAlertsForbidden) IsRedirect() bool
IsRedirect returns true when this search and read container alerts forbidden response has a 3xx status code
func (*SearchAndReadContainerAlertsForbidden) IsServerError ¶
func (o *SearchAndReadContainerAlertsForbidden) IsServerError() bool
IsServerError returns true when this search and read container alerts forbidden response has a 5xx status code
func (*SearchAndReadContainerAlertsForbidden) IsSuccess ¶
func (o *SearchAndReadContainerAlertsForbidden) IsSuccess() bool
IsSuccess returns true when this search and read container alerts forbidden response has a 2xx status code
func (*SearchAndReadContainerAlertsForbidden) String ¶
func (o *SearchAndReadContainerAlertsForbidden) String() string
type SearchAndReadContainerAlertsInternalServerError ¶
type SearchAndReadContainerAlertsInternalServerError 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 }
SearchAndReadContainerAlertsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewSearchAndReadContainerAlertsInternalServerError ¶
func NewSearchAndReadContainerAlertsInternalServerError() *SearchAndReadContainerAlertsInternalServerError
NewSearchAndReadContainerAlertsInternalServerError creates a SearchAndReadContainerAlertsInternalServerError with default headers values
func (*SearchAndReadContainerAlertsInternalServerError) Code ¶
func (o *SearchAndReadContainerAlertsInternalServerError) Code() int
Code gets the status code for the search and read container alerts internal server error response
func (*SearchAndReadContainerAlertsInternalServerError) Error ¶
func (o *SearchAndReadContainerAlertsInternalServerError) Error() string
func (*SearchAndReadContainerAlertsInternalServerError) GetPayload ¶
func (o *SearchAndReadContainerAlertsInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*SearchAndReadContainerAlertsInternalServerError) IsClientError ¶
func (o *SearchAndReadContainerAlertsInternalServerError) IsClientError() bool
IsClientError returns true when this search and read container alerts internal server error response has a 4xx status code
func (*SearchAndReadContainerAlertsInternalServerError) IsCode ¶
func (o *SearchAndReadContainerAlertsInternalServerError) IsCode(code int) bool
IsCode returns true when this search and read container alerts internal server error response a status code equal to that given
func (*SearchAndReadContainerAlertsInternalServerError) IsRedirect ¶
func (o *SearchAndReadContainerAlertsInternalServerError) IsRedirect() bool
IsRedirect returns true when this search and read container alerts internal server error response has a 3xx status code
func (*SearchAndReadContainerAlertsInternalServerError) IsServerError ¶
func (o *SearchAndReadContainerAlertsInternalServerError) IsServerError() bool
IsServerError returns true when this search and read container alerts internal server error response has a 5xx status code
func (*SearchAndReadContainerAlertsInternalServerError) IsSuccess ¶
func (o *SearchAndReadContainerAlertsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search and read container alerts internal server error response has a 2xx status code
func (*SearchAndReadContainerAlertsInternalServerError) String ¶
func (o *SearchAndReadContainerAlertsInternalServerError) String() string
type SearchAndReadContainerAlertsOK ¶
type SearchAndReadContainerAlertsOK 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.AlertsContainerAlertsEntityResponse }
SearchAndReadContainerAlertsOK describes a response with status code 200, with default header values.
OK
func NewSearchAndReadContainerAlertsOK ¶
func NewSearchAndReadContainerAlertsOK() *SearchAndReadContainerAlertsOK
NewSearchAndReadContainerAlertsOK creates a SearchAndReadContainerAlertsOK with default headers values
func (*SearchAndReadContainerAlertsOK) Code ¶
func (o *SearchAndReadContainerAlertsOK) Code() int
Code gets the status code for the search and read container alerts o k response
func (*SearchAndReadContainerAlertsOK) Error ¶
func (o *SearchAndReadContainerAlertsOK) Error() string
func (*SearchAndReadContainerAlertsOK) GetPayload ¶
func (o *SearchAndReadContainerAlertsOK) GetPayload() *models.AlertsContainerAlertsEntityResponse
func (*SearchAndReadContainerAlertsOK) IsClientError ¶
func (o *SearchAndReadContainerAlertsOK) IsClientError() bool
IsClientError returns true when this search and read container alerts o k response has a 4xx status code
func (*SearchAndReadContainerAlertsOK) IsCode ¶
func (o *SearchAndReadContainerAlertsOK) IsCode(code int) bool
IsCode returns true when this search and read container alerts o k response a status code equal to that given
func (*SearchAndReadContainerAlertsOK) IsRedirect ¶
func (o *SearchAndReadContainerAlertsOK) IsRedirect() bool
IsRedirect returns true when this search and read container alerts o k response has a 3xx status code
func (*SearchAndReadContainerAlertsOK) IsServerError ¶
func (o *SearchAndReadContainerAlertsOK) IsServerError() bool
IsServerError returns true when this search and read container alerts o k response has a 5xx status code
func (*SearchAndReadContainerAlertsOK) IsSuccess ¶
func (o *SearchAndReadContainerAlertsOK) IsSuccess() bool
IsSuccess returns true when this search and read container alerts o k response has a 2xx status code
func (*SearchAndReadContainerAlertsOK) String ¶
func (o *SearchAndReadContainerAlertsOK) String() string
type SearchAndReadContainerAlertsParams ¶
type SearchAndReadContainerAlertsParams struct { /* Filter. Search Container Alerts using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,last_seen,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. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchAndReadContainerAlertsParams contains all the parameters to send to the API endpoint
for the search and read container alerts operation. Typically these are written to a http.Request.
func NewSearchAndReadContainerAlertsParams ¶
func NewSearchAndReadContainerAlertsParams() *SearchAndReadContainerAlertsParams
NewSearchAndReadContainerAlertsParams creates a new SearchAndReadContainerAlertsParams 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 NewSearchAndReadContainerAlertsParamsWithContext ¶
func NewSearchAndReadContainerAlertsParamsWithContext(ctx context.Context) *SearchAndReadContainerAlertsParams
NewSearchAndReadContainerAlertsParamsWithContext creates a new SearchAndReadContainerAlertsParams object with the ability to set a context for a request.
func NewSearchAndReadContainerAlertsParamsWithHTTPClient ¶
func NewSearchAndReadContainerAlertsParamsWithHTTPClient(client *http.Client) *SearchAndReadContainerAlertsParams
NewSearchAndReadContainerAlertsParamsWithHTTPClient creates a new SearchAndReadContainerAlertsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchAndReadContainerAlertsParamsWithTimeout ¶
func NewSearchAndReadContainerAlertsParamsWithTimeout(timeout time.Duration) *SearchAndReadContainerAlertsParams
NewSearchAndReadContainerAlertsParamsWithTimeout creates a new SearchAndReadContainerAlertsParams object with the ability to set a timeout on a request.
func (*SearchAndReadContainerAlertsParams) SetContext ¶
func (o *SearchAndReadContainerAlertsParams) SetContext(ctx context.Context)
SetContext adds the context to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) SetDefaults ¶
func (o *SearchAndReadContainerAlertsParams) SetDefaults()
SetDefaults hydrates default values in the search and read container alerts params (not the query body).
All values with no default are reset to their zero value.
func (*SearchAndReadContainerAlertsParams) SetFilter ¶
func (o *SearchAndReadContainerAlertsParams) SetFilter(filter *string)
SetFilter adds the filter to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) SetHTTPClient ¶
func (o *SearchAndReadContainerAlertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) SetLimit ¶
func (o *SearchAndReadContainerAlertsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) SetOffset ¶
func (o *SearchAndReadContainerAlertsParams) SetOffset(offset *int64)
SetOffset adds the offset to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) SetSort ¶
func (o *SearchAndReadContainerAlertsParams) SetSort(sort *string)
SetSort adds the sort to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) SetTimeout ¶
func (o *SearchAndReadContainerAlertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) WithContext ¶
func (o *SearchAndReadContainerAlertsParams) WithContext(ctx context.Context) *SearchAndReadContainerAlertsParams
WithContext adds the context to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) WithDefaults ¶
func (o *SearchAndReadContainerAlertsParams) WithDefaults() *SearchAndReadContainerAlertsParams
WithDefaults hydrates default values in the search and read container alerts params (not the query body).
All values with no default are reset to their zero value.
func (*SearchAndReadContainerAlertsParams) WithFilter ¶
func (o *SearchAndReadContainerAlertsParams) WithFilter(filter *string) *SearchAndReadContainerAlertsParams
WithFilter adds the filter to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) WithHTTPClient ¶
func (o *SearchAndReadContainerAlertsParams) WithHTTPClient(client *http.Client) *SearchAndReadContainerAlertsParams
WithHTTPClient adds the HTTPClient to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) WithLimit ¶
func (o *SearchAndReadContainerAlertsParams) WithLimit(limit *int64) *SearchAndReadContainerAlertsParams
WithLimit adds the limit to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) WithOffset ¶
func (o *SearchAndReadContainerAlertsParams) WithOffset(offset *int64) *SearchAndReadContainerAlertsParams
WithOffset adds the offset to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) WithSort ¶
func (o *SearchAndReadContainerAlertsParams) WithSort(sort *string) *SearchAndReadContainerAlertsParams
WithSort adds the sort to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) WithTimeout ¶
func (o *SearchAndReadContainerAlertsParams) WithTimeout(timeout time.Duration) *SearchAndReadContainerAlertsParams
WithTimeout adds the timeout to the search and read container alerts params
func (*SearchAndReadContainerAlertsParams) WriteToRequest ¶
func (o *SearchAndReadContainerAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchAndReadContainerAlertsReader ¶
type SearchAndReadContainerAlertsReader struct {
// contains filtered or unexported fields
}
SearchAndReadContainerAlertsReader is a Reader for the SearchAndReadContainerAlerts structure.
func (*SearchAndReadContainerAlertsReader) ReadResponse ¶
func (o *SearchAndReadContainerAlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchAndReadContainerAlertsTooManyRequests ¶
type SearchAndReadContainerAlertsTooManyRequests 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 }
SearchAndReadContainerAlertsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewSearchAndReadContainerAlertsTooManyRequests ¶
func NewSearchAndReadContainerAlertsTooManyRequests() *SearchAndReadContainerAlertsTooManyRequests
NewSearchAndReadContainerAlertsTooManyRequests creates a SearchAndReadContainerAlertsTooManyRequests with default headers values
func (*SearchAndReadContainerAlertsTooManyRequests) Code ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) Code() int
Code gets the status code for the search and read container alerts too many requests response
func (*SearchAndReadContainerAlertsTooManyRequests) Error ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) Error() string
func (*SearchAndReadContainerAlertsTooManyRequests) GetPayload ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*SearchAndReadContainerAlertsTooManyRequests) IsClientError ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) IsClientError() bool
IsClientError returns true when this search and read container alerts too many requests response has a 4xx status code
func (*SearchAndReadContainerAlertsTooManyRequests) IsCode ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) IsCode(code int) bool
IsCode returns true when this search and read container alerts too many requests response a status code equal to that given
func (*SearchAndReadContainerAlertsTooManyRequests) IsRedirect ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this search and read container alerts too many requests response has a 3xx status code
func (*SearchAndReadContainerAlertsTooManyRequests) IsServerError ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) IsServerError() bool
IsServerError returns true when this search and read container alerts too many requests response has a 5xx status code
func (*SearchAndReadContainerAlertsTooManyRequests) IsSuccess ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this search and read container alerts too many requests response has a 2xx status code
func (*SearchAndReadContainerAlertsTooManyRequests) String ¶
func (o *SearchAndReadContainerAlertsTooManyRequests) String() string
Source Files ¶
- container_alerts_client.go
- read_container_alerts_count_by_severity_parameters.go
- read_container_alerts_count_by_severity_responses.go
- read_container_alerts_count_parameters.go
- read_container_alerts_count_responses.go
- search_and_read_container_alerts_parameters.go
- search_and_read_container_alerts_responses.go