container_alerts

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for container 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

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

func (*ReadContainerAlertsCountBySeverityForbidden) Error

func (*ReadContainerAlertsCountBySeverityForbidden) GetPayload

func (*ReadContainerAlertsCountBySeverityForbidden) IsClientError

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

func (*ReadContainerAlertsCountBySeverityForbidden) IsCode

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

func (*ReadContainerAlertsCountBySeverityForbidden) IsRedirect

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

func (*ReadContainerAlertsCountBySeverityForbidden) IsServerError

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

func (*ReadContainerAlertsCountBySeverityForbidden) IsSuccess

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

func (*ReadContainerAlertsCountBySeverityForbidden) 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

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

func (*ReadContainerAlertsCountBySeverityInternalServerError) Error

func (*ReadContainerAlertsCountBySeverityInternalServerError) GetPayload

func (*ReadContainerAlertsCountBySeverityInternalServerError) IsClientError

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

func (*ReadContainerAlertsCountBySeverityInternalServerError) IsCode

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

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

func (*ReadContainerAlertsCountBySeverityInternalServerError) IsServerError

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

func (*ReadContainerAlertsCountBySeverityInternalServerError) IsSuccess

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

func (*ReadContainerAlertsCountBySeverityInternalServerError) 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

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

func (*ReadContainerAlertsCountBySeverityOK) Error

func (*ReadContainerAlertsCountBySeverityOK) GetPayload

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

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

func (*ReadContainerAlertsCountBySeverityOK) IsRedirect

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

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

func (*ReadContainerAlertsCountBySeverityOK) 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

SetContext adds the context to the read container alerts count by severity params

func (*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

SetTimeout adds the timeout to the read container alerts count by severity params

func (*ReadContainerAlertsCountBySeverityParams) WithContext

WithContext adds the context to the read container alerts count by severity params

func (*ReadContainerAlertsCountBySeverityParams) WithDefaults

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

WithFilter adds the filter to the read container alerts count by severity params

func (*ReadContainerAlertsCountBySeverityParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read container alerts count by severity params

func (*ReadContainerAlertsCountBySeverityParams) WithTimeout

WithTimeout adds the timeout to the read container alerts count by severity params

func (*ReadContainerAlertsCountBySeverityParams) WriteToRequest

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

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

func (*ReadContainerAlertsCountBySeverityTooManyRequests) Error

func (*ReadContainerAlertsCountBySeverityTooManyRequests) GetPayload

func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsClientError

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

func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsCode

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

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

func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsServerError

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

func (*ReadContainerAlertsCountBySeverityTooManyRequests) IsSuccess

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

func (*ReadContainerAlertsCountBySeverityTooManyRequests) 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

Code gets the status code for the read container alerts count forbidden response

func (*ReadContainerAlertsCountForbidden) Error

func (*ReadContainerAlertsCountForbidden) GetPayload

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

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

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

func (*ReadContainerAlertsCountInternalServerError) Error

func (*ReadContainerAlertsCountInternalServerError) GetPayload

func (*ReadContainerAlertsCountInternalServerError) IsClientError

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

func (*ReadContainerAlertsCountInternalServerError) IsCode

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

func (*ReadContainerAlertsCountInternalServerError) IsRedirect

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

func (*ReadContainerAlertsCountInternalServerError) IsServerError

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

func (*ReadContainerAlertsCountInternalServerError) IsSuccess

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

func (*ReadContainerAlertsCountInternalServerError) 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 (*ReadContainerAlertsCountOK) GetPayload

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

WithContext adds the context to the read container alerts count params

func (*ReadContainerAlertsCountParams) WithDefaults

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

WithFilter adds the filter to the read container alerts count params

func (*ReadContainerAlertsCountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read container alerts count params

func (*ReadContainerAlertsCountParams) WithTimeout

WithTimeout adds the timeout to the read container alerts count params

func (*ReadContainerAlertsCountParams) WriteToRequest

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

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

func (*ReadContainerAlertsCountTooManyRequests) Error

func (*ReadContainerAlertsCountTooManyRequests) GetPayload

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

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

func (*ReadContainerAlertsCountTooManyRequests) IsRedirect

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

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

func (*ReadContainerAlertsCountTooManyRequests) 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

Code gets the status code for the search and read container alerts forbidden response

func (*SearchAndReadContainerAlertsForbidden) Error

func (*SearchAndReadContainerAlertsForbidden) GetPayload

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

IsCode returns true when this search and read container alerts forbidden response a status code equal to that given

func (*SearchAndReadContainerAlertsForbidden) IsRedirect

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

IsSuccess returns true when this search and read container alerts forbidden response has a 2xx status code

func (*SearchAndReadContainerAlertsForbidden) 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

Code gets the status code for the search and read container alerts internal server error response

func (*SearchAndReadContainerAlertsInternalServerError) Error

func (*SearchAndReadContainerAlertsInternalServerError) GetPayload

func (*SearchAndReadContainerAlertsInternalServerError) IsClientError

IsClientError returns true when this search and read container alerts internal server error response has a 4xx status code

func (*SearchAndReadContainerAlertsInternalServerError) IsCode

IsCode returns true when this search and read container alerts internal server error response a status code equal to that given

func (*SearchAndReadContainerAlertsInternalServerError) IsRedirect

IsRedirect returns true when this search and read container alerts internal server error response has a 3xx status code

func (*SearchAndReadContainerAlertsInternalServerError) IsServerError

IsServerError returns true when this search and read container alerts internal server error response has a 5xx status code

func (*SearchAndReadContainerAlertsInternalServerError) IsSuccess

IsSuccess returns true when this search and read container alerts internal server error response has a 2xx status code

func (*SearchAndReadContainerAlertsInternalServerError) 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

Code gets the status code for the search and read container alerts o k response

func (*SearchAndReadContainerAlertsOK) Error

func (*SearchAndReadContainerAlertsOK) GetPayload

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

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

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

WithContext adds the context to the search and read container alerts params

func (*SearchAndReadContainerAlertsParams) WithDefaults

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

WithFilter adds the filter to the search and read container alerts params

func (*SearchAndReadContainerAlertsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the search and read container alerts params

func (*SearchAndReadContainerAlertsParams) WithLimit

WithLimit adds the limit to the search and read container alerts params

func (*SearchAndReadContainerAlertsParams) WithOffset

WithOffset adds the offset to the search and read container alerts params

func (*SearchAndReadContainerAlertsParams) WithSort

WithSort adds the sort to the search and read container alerts params

func (*SearchAndReadContainerAlertsParams) WithTimeout

WithTimeout adds the timeout to the search and read container alerts params

func (*SearchAndReadContainerAlertsParams) WriteToRequest

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

Code gets the status code for the search and read container alerts too many requests response

func (*SearchAndReadContainerAlertsTooManyRequests) Error

func (*SearchAndReadContainerAlertsTooManyRequests) GetPayload

func (*SearchAndReadContainerAlertsTooManyRequests) IsClientError

IsClientError returns true when this search and read container alerts too many requests response has a 4xx status code

func (*SearchAndReadContainerAlertsTooManyRequests) IsCode

IsCode returns true when this search and read container alerts too many requests response a status code equal to that given

func (*SearchAndReadContainerAlertsTooManyRequests) IsRedirect

IsRedirect returns true when this search and read container alerts too many requests response has a 3xx status code

func (*SearchAndReadContainerAlertsTooManyRequests) IsServerError

IsServerError returns true when this search and read container alerts too many requests response has a 5xx status code

func (*SearchAndReadContainerAlertsTooManyRequests) IsSuccess

IsSuccess returns true when this search and read container alerts too many requests response has a 2xx status code

func (*SearchAndReadContainerAlertsTooManyRequests) String

Jump to

Keyboard shortcuts

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