container_packages

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 packages API

func (*Client) ReadPackagesByFixableVulnCount

func (a *Client) ReadPackagesByFixableVulnCount(params *ReadPackagesByFixableVulnCountParams, opts ...ClientOption) (*ReadPackagesByFixableVulnCountOK, error)

ReadPackagesByFixableVulnCount retrieves top x app packages with the most fixable vulnerabilities

func (*Client) ReadPackagesByVulnCount

func (a *Client) ReadPackagesByVulnCount(params *ReadPackagesByVulnCountParams, opts ...ClientOption) (*ReadPackagesByVulnCountOK, error)

ReadPackagesByVulnCount retrieves top x packages with the most vulnerabilities

func (*Client) ReadPackagesCombined

func (a *Client) ReadPackagesCombined(params *ReadPackagesCombinedParams, opts ...ClientOption) (*ReadPackagesCombinedOK, error)

ReadPackagesCombined retrieves packages identified by the provided filter criteria

func (*Client) ReadPackagesCombinedExport

func (a *Client) ReadPackagesCombinedExport(params *ReadPackagesCombinedExportParams, opts ...ClientOption) (*ReadPackagesCombinedExportOK, error)

ReadPackagesCombinedExport retrieves packages identified by the provided filter criteria for the purpose of export

func (*Client) ReadPackagesCountByZeroDay

func (a *Client) ReadPackagesCountByZeroDay(params *ReadPackagesCountByZeroDayParams, opts ...ClientOption) (*ReadPackagesCountByZeroDayOK, error)

ReadPackagesCountByZeroDay retrieves packages count affected by zero day vulnerabilities

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 {
	ReadPackagesByFixableVulnCount(params *ReadPackagesByFixableVulnCountParams, opts ...ClientOption) (*ReadPackagesByFixableVulnCountOK, error)

	ReadPackagesByVulnCount(params *ReadPackagesByVulnCountParams, opts ...ClientOption) (*ReadPackagesByVulnCountOK, error)

	ReadPackagesCombined(params *ReadPackagesCombinedParams, opts ...ClientOption) (*ReadPackagesCombinedOK, error)

	ReadPackagesCombinedExport(params *ReadPackagesCombinedExportParams, opts ...ClientOption) (*ReadPackagesCombinedExportOK, error)

	ReadPackagesCountByZeroDay(params *ReadPackagesCountByZeroDayParams, opts ...ClientOption) (*ReadPackagesCountByZeroDayOK, 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 packages API client.

type ReadPackagesByFixableVulnCountForbidden

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

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

Forbidden

func NewReadPackagesByFixableVulnCountForbidden

func NewReadPackagesByFixableVulnCountForbidden() *ReadPackagesByFixableVulnCountForbidden

NewReadPackagesByFixableVulnCountForbidden creates a ReadPackagesByFixableVulnCountForbidden with default headers values

func (*ReadPackagesByFixableVulnCountForbidden) Code

Code gets the status code for the read packages by fixable vuln count forbidden response

func (*ReadPackagesByFixableVulnCountForbidden) Error

func (*ReadPackagesByFixableVulnCountForbidden) GetPayload

func (*ReadPackagesByFixableVulnCountForbidden) IsClientError

func (o *ReadPackagesByFixableVulnCountForbidden) IsClientError() bool

IsClientError returns true when this read packages by fixable vuln count forbidden response has a 4xx status code

func (*ReadPackagesByFixableVulnCountForbidden) IsCode

IsCode returns true when this read packages by fixable vuln count forbidden response a status code equal to that given

func (*ReadPackagesByFixableVulnCountForbidden) IsRedirect

IsRedirect returns true when this read packages by fixable vuln count forbidden response has a 3xx status code

func (*ReadPackagesByFixableVulnCountForbidden) IsServerError

func (o *ReadPackagesByFixableVulnCountForbidden) IsServerError() bool

IsServerError returns true when this read packages by fixable vuln count forbidden response has a 5xx status code

func (*ReadPackagesByFixableVulnCountForbidden) IsSuccess

IsSuccess returns true when this read packages by fixable vuln count forbidden response has a 2xx status code

func (*ReadPackagesByFixableVulnCountForbidden) String

type ReadPackagesByFixableVulnCountInternalServerError

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

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

Internal Server Error

func NewReadPackagesByFixableVulnCountInternalServerError

func NewReadPackagesByFixableVulnCountInternalServerError() *ReadPackagesByFixableVulnCountInternalServerError

NewReadPackagesByFixableVulnCountInternalServerError creates a ReadPackagesByFixableVulnCountInternalServerError with default headers values

func (*ReadPackagesByFixableVulnCountInternalServerError) Code

Code gets the status code for the read packages by fixable vuln count internal server error response

func (*ReadPackagesByFixableVulnCountInternalServerError) Error

func (*ReadPackagesByFixableVulnCountInternalServerError) GetPayload

func (*ReadPackagesByFixableVulnCountInternalServerError) IsClientError

IsClientError returns true when this read packages by fixable vuln count internal server error response has a 4xx status code

func (*ReadPackagesByFixableVulnCountInternalServerError) IsCode

IsCode returns true when this read packages by fixable vuln count internal server error response a status code equal to that given

func (*ReadPackagesByFixableVulnCountInternalServerError) IsRedirect

IsRedirect returns true when this read packages by fixable vuln count internal server error response has a 3xx status code

func (*ReadPackagesByFixableVulnCountInternalServerError) IsServerError

IsServerError returns true when this read packages by fixable vuln count internal server error response has a 5xx status code

func (*ReadPackagesByFixableVulnCountInternalServerError) IsSuccess

IsSuccess returns true when this read packages by fixable vuln count internal server error response has a 2xx status code

func (*ReadPackagesByFixableVulnCountInternalServerError) String

type ReadPackagesByFixableVulnCountOK

type ReadPackagesByFixableVulnCountOK 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.PackagesAPIPackagesByVulnCount
}

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

OK

func NewReadPackagesByFixableVulnCountOK

func NewReadPackagesByFixableVulnCountOK() *ReadPackagesByFixableVulnCountOK

NewReadPackagesByFixableVulnCountOK creates a ReadPackagesByFixableVulnCountOK with default headers values

func (*ReadPackagesByFixableVulnCountOK) Code

Code gets the status code for the read packages by fixable vuln count o k response

func (*ReadPackagesByFixableVulnCountOK) Error

func (*ReadPackagesByFixableVulnCountOK) GetPayload

func (*ReadPackagesByFixableVulnCountOK) IsClientError

func (o *ReadPackagesByFixableVulnCountOK) IsClientError() bool

IsClientError returns true when this read packages by fixable vuln count o k response has a 4xx status code

func (*ReadPackagesByFixableVulnCountOK) IsCode

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

IsCode returns true when this read packages by fixable vuln count o k response a status code equal to that given

func (*ReadPackagesByFixableVulnCountOK) IsRedirect

func (o *ReadPackagesByFixableVulnCountOK) IsRedirect() bool

IsRedirect returns true when this read packages by fixable vuln count o k response has a 3xx status code

func (*ReadPackagesByFixableVulnCountOK) IsServerError

func (o *ReadPackagesByFixableVulnCountOK) IsServerError() bool

IsServerError returns true when this read packages by fixable vuln count o k response has a 5xx status code

func (*ReadPackagesByFixableVulnCountOK) IsSuccess

func (o *ReadPackagesByFixableVulnCountOK) IsSuccess() bool

IsSuccess returns true when this read packages by fixable vuln count o k response has a 2xx status code

func (*ReadPackagesByFixableVulnCountOK) String

type ReadPackagesByFixableVulnCountParams

type ReadPackagesByFixableVulnCountParams struct {

	/* Filter.

	   Filter packages using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,cveid,fix_status,image_digest,license,package_name_version,severity,type,vulnerability_count
	*/
	Filter *string

	/* Limit.

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

	/* Offset.

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

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

ReadPackagesByFixableVulnCountParams contains all the parameters to send to the API endpoint

for the read packages by fixable vuln count operation.

Typically these are written to a http.Request.

func NewReadPackagesByFixableVulnCountParams

func NewReadPackagesByFixableVulnCountParams() *ReadPackagesByFixableVulnCountParams

NewReadPackagesByFixableVulnCountParams creates a new ReadPackagesByFixableVulnCountParams 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 NewReadPackagesByFixableVulnCountParamsWithContext

func NewReadPackagesByFixableVulnCountParamsWithContext(ctx context.Context) *ReadPackagesByFixableVulnCountParams

NewReadPackagesByFixableVulnCountParamsWithContext creates a new ReadPackagesByFixableVulnCountParams object with the ability to set a context for a request.

func NewReadPackagesByFixableVulnCountParamsWithHTTPClient

func NewReadPackagesByFixableVulnCountParamsWithHTTPClient(client *http.Client) *ReadPackagesByFixableVulnCountParams

NewReadPackagesByFixableVulnCountParamsWithHTTPClient creates a new ReadPackagesByFixableVulnCountParams object with the ability to set a custom HTTPClient for a request.

func NewReadPackagesByFixableVulnCountParamsWithTimeout

func NewReadPackagesByFixableVulnCountParamsWithTimeout(timeout time.Duration) *ReadPackagesByFixableVulnCountParams

NewReadPackagesByFixableVulnCountParamsWithTimeout creates a new ReadPackagesByFixableVulnCountParams object with the ability to set a timeout on a request.

func (*ReadPackagesByFixableVulnCountParams) SetContext

SetContext adds the context to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) SetDefaults

func (o *ReadPackagesByFixableVulnCountParams) SetDefaults()

SetDefaults hydrates default values in the read packages by fixable vuln count params (not the query body).

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

func (*ReadPackagesByFixableVulnCountParams) SetFilter

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

SetFilter adds the filter to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) SetLimit

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

SetLimit adds the limit to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) SetOffset

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

SetOffset adds the offset to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) SetTimeout

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

SetTimeout adds the timeout to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) WithContext

WithContext adds the context to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) WithDefaults

WithDefaults hydrates default values in the read packages by fixable vuln count params (not the query body).

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

func (*ReadPackagesByFixableVulnCountParams) WithFilter

WithFilter adds the filter to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) WithLimit

WithLimit adds the limit to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) WithOffset

WithOffset adds the offset to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) WithTimeout

WithTimeout adds the timeout to the read packages by fixable vuln count params

func (*ReadPackagesByFixableVulnCountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadPackagesByFixableVulnCountReader

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

ReadPackagesByFixableVulnCountReader is a Reader for the ReadPackagesByFixableVulnCount structure.

func (*ReadPackagesByFixableVulnCountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadPackagesByFixableVulnCountTooManyRequests

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

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

Too Many Requests

func NewReadPackagesByFixableVulnCountTooManyRequests

func NewReadPackagesByFixableVulnCountTooManyRequests() *ReadPackagesByFixableVulnCountTooManyRequests

NewReadPackagesByFixableVulnCountTooManyRequests creates a ReadPackagesByFixableVulnCountTooManyRequests with default headers values

func (*ReadPackagesByFixableVulnCountTooManyRequests) Code

Code gets the status code for the read packages by fixable vuln count too many requests response

func (*ReadPackagesByFixableVulnCountTooManyRequests) Error

func (*ReadPackagesByFixableVulnCountTooManyRequests) GetPayload

func (*ReadPackagesByFixableVulnCountTooManyRequests) IsClientError

IsClientError returns true when this read packages by fixable vuln count too many requests response has a 4xx status code

func (*ReadPackagesByFixableVulnCountTooManyRequests) IsCode

IsCode returns true when this read packages by fixable vuln count too many requests response a status code equal to that given

func (*ReadPackagesByFixableVulnCountTooManyRequests) IsRedirect

IsRedirect returns true when this read packages by fixable vuln count too many requests response has a 3xx status code

func (*ReadPackagesByFixableVulnCountTooManyRequests) IsServerError

IsServerError returns true when this read packages by fixable vuln count too many requests response has a 5xx status code

func (*ReadPackagesByFixableVulnCountTooManyRequests) IsSuccess

IsSuccess returns true when this read packages by fixable vuln count too many requests response has a 2xx status code

func (*ReadPackagesByFixableVulnCountTooManyRequests) String

type ReadPackagesByVulnCountForbidden

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

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

Forbidden

func NewReadPackagesByVulnCountForbidden

func NewReadPackagesByVulnCountForbidden() *ReadPackagesByVulnCountForbidden

NewReadPackagesByVulnCountForbidden creates a ReadPackagesByVulnCountForbidden with default headers values

func (*ReadPackagesByVulnCountForbidden) Code

Code gets the status code for the read packages by vuln count forbidden response

func (*ReadPackagesByVulnCountForbidden) Error

func (*ReadPackagesByVulnCountForbidden) GetPayload

func (*ReadPackagesByVulnCountForbidden) IsClientError

func (o *ReadPackagesByVulnCountForbidden) IsClientError() bool

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

func (*ReadPackagesByVulnCountForbidden) IsCode

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

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

func (*ReadPackagesByVulnCountForbidden) IsRedirect

func (o *ReadPackagesByVulnCountForbidden) IsRedirect() bool

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

func (*ReadPackagesByVulnCountForbidden) IsServerError

func (o *ReadPackagesByVulnCountForbidden) IsServerError() bool

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

func (*ReadPackagesByVulnCountForbidden) IsSuccess

func (o *ReadPackagesByVulnCountForbidden) IsSuccess() bool

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

func (*ReadPackagesByVulnCountForbidden) String

type ReadPackagesByVulnCountInternalServerError

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

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

Internal Server Error

func NewReadPackagesByVulnCountInternalServerError

func NewReadPackagesByVulnCountInternalServerError() *ReadPackagesByVulnCountInternalServerError

NewReadPackagesByVulnCountInternalServerError creates a ReadPackagesByVulnCountInternalServerError with default headers values

func (*ReadPackagesByVulnCountInternalServerError) Code

Code gets the status code for the read packages by vuln count internal server error response

func (*ReadPackagesByVulnCountInternalServerError) Error

func (*ReadPackagesByVulnCountInternalServerError) GetPayload

func (*ReadPackagesByVulnCountInternalServerError) IsClientError

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

func (*ReadPackagesByVulnCountInternalServerError) IsCode

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

func (*ReadPackagesByVulnCountInternalServerError) IsRedirect

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

func (*ReadPackagesByVulnCountInternalServerError) IsServerError

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

func (*ReadPackagesByVulnCountInternalServerError) IsSuccess

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

func (*ReadPackagesByVulnCountInternalServerError) String

type ReadPackagesByVulnCountOK

type ReadPackagesByVulnCountOK 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.PackagesAPIPackagesByVulnCount
}

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

OK

func NewReadPackagesByVulnCountOK

func NewReadPackagesByVulnCountOK() *ReadPackagesByVulnCountOK

NewReadPackagesByVulnCountOK creates a ReadPackagesByVulnCountOK with default headers values

func (*ReadPackagesByVulnCountOK) Code

func (o *ReadPackagesByVulnCountOK) Code() int

Code gets the status code for the read packages by vuln count o k response

func (*ReadPackagesByVulnCountOK) Error

func (o *ReadPackagesByVulnCountOK) Error() string

func (*ReadPackagesByVulnCountOK) GetPayload

func (*ReadPackagesByVulnCountOK) IsClientError

func (o *ReadPackagesByVulnCountOK) IsClientError() bool

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

func (*ReadPackagesByVulnCountOK) IsCode

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

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

func (*ReadPackagesByVulnCountOK) IsRedirect

func (o *ReadPackagesByVulnCountOK) IsRedirect() bool

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

func (*ReadPackagesByVulnCountOK) IsServerError

func (o *ReadPackagesByVulnCountOK) IsServerError() bool

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

func (*ReadPackagesByVulnCountOK) IsSuccess

func (o *ReadPackagesByVulnCountOK) IsSuccess() bool

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

func (*ReadPackagesByVulnCountOK) String

func (o *ReadPackagesByVulnCountOK) String() string

type ReadPackagesByVulnCountParams

type ReadPackagesByVulnCountParams struct {

	/* Filter.

	   Filter packages using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,cveid,fix_status,image_digest,license,package_name_version,severity,type,vulnerability_count
	*/
	Filter *string

	/* Limit.

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

	/* Offset.

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

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

ReadPackagesByVulnCountParams contains all the parameters to send to the API endpoint

for the read packages by vuln count operation.

Typically these are written to a http.Request.

func NewReadPackagesByVulnCountParams

func NewReadPackagesByVulnCountParams() *ReadPackagesByVulnCountParams

NewReadPackagesByVulnCountParams creates a new ReadPackagesByVulnCountParams 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 NewReadPackagesByVulnCountParamsWithContext

func NewReadPackagesByVulnCountParamsWithContext(ctx context.Context) *ReadPackagesByVulnCountParams

NewReadPackagesByVulnCountParamsWithContext creates a new ReadPackagesByVulnCountParams object with the ability to set a context for a request.

func NewReadPackagesByVulnCountParamsWithHTTPClient

func NewReadPackagesByVulnCountParamsWithHTTPClient(client *http.Client) *ReadPackagesByVulnCountParams

NewReadPackagesByVulnCountParamsWithHTTPClient creates a new ReadPackagesByVulnCountParams object with the ability to set a custom HTTPClient for a request.

func NewReadPackagesByVulnCountParamsWithTimeout

func NewReadPackagesByVulnCountParamsWithTimeout(timeout time.Duration) *ReadPackagesByVulnCountParams

NewReadPackagesByVulnCountParamsWithTimeout creates a new ReadPackagesByVulnCountParams object with the ability to set a timeout on a request.

func (*ReadPackagesByVulnCountParams) SetContext

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

SetContext adds the context to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) SetDefaults

func (o *ReadPackagesByVulnCountParams) SetDefaults()

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

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

func (*ReadPackagesByVulnCountParams) SetFilter

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

SetFilter adds the filter to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) SetLimit

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

SetLimit adds the limit to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) SetOffset

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

SetOffset adds the offset to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) SetTimeout

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

SetTimeout adds the timeout to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) WithContext

WithContext adds the context to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) WithDefaults

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

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

func (*ReadPackagesByVulnCountParams) WithFilter

WithFilter adds the filter to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) WithLimit

WithLimit adds the limit to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) WithOffset

WithOffset adds the offset to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) WithTimeout

WithTimeout adds the timeout to the read packages by vuln count params

func (*ReadPackagesByVulnCountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadPackagesByVulnCountReader

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

ReadPackagesByVulnCountReader is a Reader for the ReadPackagesByVulnCount structure.

func (*ReadPackagesByVulnCountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadPackagesByVulnCountTooManyRequests

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

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

Too Many Requests

func NewReadPackagesByVulnCountTooManyRequests

func NewReadPackagesByVulnCountTooManyRequests() *ReadPackagesByVulnCountTooManyRequests

NewReadPackagesByVulnCountTooManyRequests creates a ReadPackagesByVulnCountTooManyRequests with default headers values

func (*ReadPackagesByVulnCountTooManyRequests) Code

Code gets the status code for the read packages by vuln count too many requests response

func (*ReadPackagesByVulnCountTooManyRequests) Error

func (*ReadPackagesByVulnCountTooManyRequests) GetPayload

func (*ReadPackagesByVulnCountTooManyRequests) IsClientError

func (o *ReadPackagesByVulnCountTooManyRequests) IsClientError() bool

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

func (*ReadPackagesByVulnCountTooManyRequests) IsCode

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

func (*ReadPackagesByVulnCountTooManyRequests) IsRedirect

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

func (*ReadPackagesByVulnCountTooManyRequests) IsServerError

func (o *ReadPackagesByVulnCountTooManyRequests) IsServerError() bool

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

func (*ReadPackagesByVulnCountTooManyRequests) IsSuccess

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

func (*ReadPackagesByVulnCountTooManyRequests) String

type ReadPackagesCombinedExportForbidden

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

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

Forbidden

func NewReadPackagesCombinedExportForbidden

func NewReadPackagesCombinedExportForbidden() *ReadPackagesCombinedExportForbidden

NewReadPackagesCombinedExportForbidden creates a ReadPackagesCombinedExportForbidden with default headers values

func (*ReadPackagesCombinedExportForbidden) Code

Code gets the status code for the read packages combined export forbidden response

func (*ReadPackagesCombinedExportForbidden) Error

func (*ReadPackagesCombinedExportForbidden) GetPayload

func (*ReadPackagesCombinedExportForbidden) IsClientError

func (o *ReadPackagesCombinedExportForbidden) IsClientError() bool

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

func (*ReadPackagesCombinedExportForbidden) IsCode

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

func (*ReadPackagesCombinedExportForbidden) IsRedirect

func (o *ReadPackagesCombinedExportForbidden) IsRedirect() bool

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

func (*ReadPackagesCombinedExportForbidden) IsServerError

func (o *ReadPackagesCombinedExportForbidden) IsServerError() bool

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

func (*ReadPackagesCombinedExportForbidden) IsSuccess

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

func (*ReadPackagesCombinedExportForbidden) String

type ReadPackagesCombinedExportInternalServerError

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

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

Internal Server Error

func NewReadPackagesCombinedExportInternalServerError

func NewReadPackagesCombinedExportInternalServerError() *ReadPackagesCombinedExportInternalServerError

NewReadPackagesCombinedExportInternalServerError creates a ReadPackagesCombinedExportInternalServerError with default headers values

func (*ReadPackagesCombinedExportInternalServerError) Code

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

func (*ReadPackagesCombinedExportInternalServerError) Error

func (*ReadPackagesCombinedExportInternalServerError) GetPayload

func (*ReadPackagesCombinedExportInternalServerError) IsClientError

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

func (*ReadPackagesCombinedExportInternalServerError) IsCode

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

func (*ReadPackagesCombinedExportInternalServerError) IsRedirect

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

func (*ReadPackagesCombinedExportInternalServerError) IsServerError

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

func (*ReadPackagesCombinedExportInternalServerError) IsSuccess

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

func (*ReadPackagesCombinedExportInternalServerError) String

type ReadPackagesCombinedExportOK

type ReadPackagesCombinedExportOK 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.PackagesAPICombinedPackageExport
}

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

OK

func NewReadPackagesCombinedExportOK

func NewReadPackagesCombinedExportOK() *ReadPackagesCombinedExportOK

NewReadPackagesCombinedExportOK creates a ReadPackagesCombinedExportOK with default headers values

func (*ReadPackagesCombinedExportOK) Code

Code gets the status code for the read packages combined export o k response

func (*ReadPackagesCombinedExportOK) Error

func (*ReadPackagesCombinedExportOK) GetPayload

func (*ReadPackagesCombinedExportOK) IsClientError

func (o *ReadPackagesCombinedExportOK) IsClientError() bool

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

func (*ReadPackagesCombinedExportOK) IsCode

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

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

func (*ReadPackagesCombinedExportOK) IsRedirect

func (o *ReadPackagesCombinedExportOK) IsRedirect() bool

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

func (*ReadPackagesCombinedExportOK) IsServerError

func (o *ReadPackagesCombinedExportOK) IsServerError() bool

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

func (*ReadPackagesCombinedExportOK) IsSuccess

func (o *ReadPackagesCombinedExportOK) IsSuccess() bool

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

func (*ReadPackagesCombinedExportOK) String

type ReadPackagesCombinedExportParams

type ReadPackagesCombinedExportParams struct {

	/* Filter.

	   Filter packages using a query in Falcon Query Language (FQL). Supported filters:  cid,container_id,cveid,fix_status,image_digest,license,package_name_version,severity,type,vulnerability_count
	*/
	Filter *string

	/* Limit.

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

	/* Offset.

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

	/* OnlyZeroDayAffected.

	   (true/false) load zero day affected packages, default is false
	*/
	OnlyZeroDayAffected *bool

	/* Sort.

	   The fields to sort the records on. Supported columns:  [license package_name_version type]
	*/
	Sort *string

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

ReadPackagesCombinedExportParams contains all the parameters to send to the API endpoint

for the read packages combined export operation.

Typically these are written to a http.Request.

func NewReadPackagesCombinedExportParams

func NewReadPackagesCombinedExportParams() *ReadPackagesCombinedExportParams

NewReadPackagesCombinedExportParams creates a new ReadPackagesCombinedExportParams 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 NewReadPackagesCombinedExportParamsWithContext

func NewReadPackagesCombinedExportParamsWithContext(ctx context.Context) *ReadPackagesCombinedExportParams

NewReadPackagesCombinedExportParamsWithContext creates a new ReadPackagesCombinedExportParams object with the ability to set a context for a request.

func NewReadPackagesCombinedExportParamsWithHTTPClient

func NewReadPackagesCombinedExportParamsWithHTTPClient(client *http.Client) *ReadPackagesCombinedExportParams

NewReadPackagesCombinedExportParamsWithHTTPClient creates a new ReadPackagesCombinedExportParams object with the ability to set a custom HTTPClient for a request.

func NewReadPackagesCombinedExportParamsWithTimeout

func NewReadPackagesCombinedExportParamsWithTimeout(timeout time.Duration) *ReadPackagesCombinedExportParams

NewReadPackagesCombinedExportParamsWithTimeout creates a new ReadPackagesCombinedExportParams object with the ability to set a timeout on a request.

func (*ReadPackagesCombinedExportParams) SetContext

SetContext adds the context to the read packages combined export params

func (*ReadPackagesCombinedExportParams) SetDefaults

func (o *ReadPackagesCombinedExportParams) SetDefaults()

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

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

func (*ReadPackagesCombinedExportParams) SetFilter

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

SetFilter adds the filter to the read packages combined export params

func (*ReadPackagesCombinedExportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read packages combined export params

func (*ReadPackagesCombinedExportParams) SetLimit

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

SetLimit adds the limit to the read packages combined export params

func (*ReadPackagesCombinedExportParams) SetOffset

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

SetOffset adds the offset to the read packages combined export params

func (*ReadPackagesCombinedExportParams) SetOnlyZeroDayAffected

func (o *ReadPackagesCombinedExportParams) SetOnlyZeroDayAffected(onlyZeroDayAffected *bool)

SetOnlyZeroDayAffected adds the onlyZeroDayAffected to the read packages combined export params

func (*ReadPackagesCombinedExportParams) SetSort

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

SetSort adds the sort to the read packages combined export params

func (*ReadPackagesCombinedExportParams) SetTimeout

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

SetTimeout adds the timeout to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WithContext

WithContext adds the context to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WithDefaults

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

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

func (*ReadPackagesCombinedExportParams) WithFilter

WithFilter adds the filter to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WithLimit

WithLimit adds the limit to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WithOffset

WithOffset adds the offset to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WithOnlyZeroDayAffected

func (o *ReadPackagesCombinedExportParams) WithOnlyZeroDayAffected(onlyZeroDayAffected *bool) *ReadPackagesCombinedExportParams

WithOnlyZeroDayAffected adds the onlyZeroDayAffected to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WithSort

WithSort adds the sort to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WithTimeout

WithTimeout adds the timeout to the read packages combined export params

func (*ReadPackagesCombinedExportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadPackagesCombinedExportReader

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

ReadPackagesCombinedExportReader is a Reader for the ReadPackagesCombinedExport structure.

func (*ReadPackagesCombinedExportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadPackagesCombinedExportTooManyRequests

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

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

Too Many Requests

func NewReadPackagesCombinedExportTooManyRequests

func NewReadPackagesCombinedExportTooManyRequests() *ReadPackagesCombinedExportTooManyRequests

NewReadPackagesCombinedExportTooManyRequests creates a ReadPackagesCombinedExportTooManyRequests with default headers values

func (*ReadPackagesCombinedExportTooManyRequests) Code

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

func (*ReadPackagesCombinedExportTooManyRequests) Error

func (*ReadPackagesCombinedExportTooManyRequests) GetPayload

func (*ReadPackagesCombinedExportTooManyRequests) IsClientError

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

func (*ReadPackagesCombinedExportTooManyRequests) IsCode

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

func (*ReadPackagesCombinedExportTooManyRequests) IsRedirect

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

func (*ReadPackagesCombinedExportTooManyRequests) IsServerError

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

func (*ReadPackagesCombinedExportTooManyRequests) IsSuccess

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

func (*ReadPackagesCombinedExportTooManyRequests) String

type ReadPackagesCombinedForbidden

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

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

Forbidden

func NewReadPackagesCombinedForbidden

func NewReadPackagesCombinedForbidden() *ReadPackagesCombinedForbidden

NewReadPackagesCombinedForbidden creates a ReadPackagesCombinedForbidden with default headers values

func (*ReadPackagesCombinedForbidden) Code

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

func (*ReadPackagesCombinedForbidden) Error

func (*ReadPackagesCombinedForbidden) GetPayload

func (*ReadPackagesCombinedForbidden) IsClientError

func (o *ReadPackagesCombinedForbidden) IsClientError() bool

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

func (*ReadPackagesCombinedForbidden) IsCode

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

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

func (*ReadPackagesCombinedForbidden) IsRedirect

func (o *ReadPackagesCombinedForbidden) IsRedirect() bool

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

func (*ReadPackagesCombinedForbidden) IsServerError

func (o *ReadPackagesCombinedForbidden) IsServerError() bool

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

func (*ReadPackagesCombinedForbidden) IsSuccess

func (o *ReadPackagesCombinedForbidden) IsSuccess() bool

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

func (*ReadPackagesCombinedForbidden) String

type ReadPackagesCombinedInternalServerError

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

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

Internal Server Error

func NewReadPackagesCombinedInternalServerError

func NewReadPackagesCombinedInternalServerError() *ReadPackagesCombinedInternalServerError

NewReadPackagesCombinedInternalServerError creates a ReadPackagesCombinedInternalServerError with default headers values

func (*ReadPackagesCombinedInternalServerError) Code

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

func (*ReadPackagesCombinedInternalServerError) Error

func (*ReadPackagesCombinedInternalServerError) GetPayload

func (*ReadPackagesCombinedInternalServerError) IsClientError

func (o *ReadPackagesCombinedInternalServerError) IsClientError() bool

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

func (*ReadPackagesCombinedInternalServerError) IsCode

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

func (*ReadPackagesCombinedInternalServerError) IsRedirect

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

func (*ReadPackagesCombinedInternalServerError) IsServerError

func (o *ReadPackagesCombinedInternalServerError) IsServerError() bool

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

func (*ReadPackagesCombinedInternalServerError) IsSuccess

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

func (*ReadPackagesCombinedInternalServerError) String

type ReadPackagesCombinedOK

type ReadPackagesCombinedOK 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.PackagesAPICombinedPackage
}

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

OK

func NewReadPackagesCombinedOK

func NewReadPackagesCombinedOK() *ReadPackagesCombinedOK

NewReadPackagesCombinedOK creates a ReadPackagesCombinedOK with default headers values

func (*ReadPackagesCombinedOK) Code

func (o *ReadPackagesCombinedOK) Code() int

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

func (*ReadPackagesCombinedOK) Error

func (o *ReadPackagesCombinedOK) Error() string

func (*ReadPackagesCombinedOK) GetPayload

func (*ReadPackagesCombinedOK) IsClientError

func (o *ReadPackagesCombinedOK) IsClientError() bool

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

func (*ReadPackagesCombinedOK) IsCode

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

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

func (*ReadPackagesCombinedOK) IsRedirect

func (o *ReadPackagesCombinedOK) IsRedirect() bool

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

func (*ReadPackagesCombinedOK) IsServerError

func (o *ReadPackagesCombinedOK) IsServerError() bool

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

func (*ReadPackagesCombinedOK) IsSuccess

func (o *ReadPackagesCombinedOK) IsSuccess() bool

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

func (*ReadPackagesCombinedOK) String

func (o *ReadPackagesCombinedOK) String() string

type ReadPackagesCombinedParams

type ReadPackagesCombinedParams struct {

	/* Filter.

	   Filter packages using a query in Falcon Query Language (FQL). Supported filters:  cid,container_id,cveid,fix_status,image_digest,license,package_name_version,severity,type,vulnerability_count
	*/
	Filter *string

	/* Limit.

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

	/* Offset.

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

	/* OnlyZeroDayAffected.

	   (true/false) load zero day affected packages, default is false
	*/
	OnlyZeroDayAffected *bool

	/* Sort.

	   The fields to sort the records on. Supported columns:  [license package_name_version type]
	*/
	Sort *string

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

ReadPackagesCombinedParams contains all the parameters to send to the API endpoint

for the read packages combined operation.

Typically these are written to a http.Request.

func NewReadPackagesCombinedParams

func NewReadPackagesCombinedParams() *ReadPackagesCombinedParams

NewReadPackagesCombinedParams creates a new ReadPackagesCombinedParams 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 NewReadPackagesCombinedParamsWithContext

func NewReadPackagesCombinedParamsWithContext(ctx context.Context) *ReadPackagesCombinedParams

NewReadPackagesCombinedParamsWithContext creates a new ReadPackagesCombinedParams object with the ability to set a context for a request.

func NewReadPackagesCombinedParamsWithHTTPClient

func NewReadPackagesCombinedParamsWithHTTPClient(client *http.Client) *ReadPackagesCombinedParams

NewReadPackagesCombinedParamsWithHTTPClient creates a new ReadPackagesCombinedParams object with the ability to set a custom HTTPClient for a request.

func NewReadPackagesCombinedParamsWithTimeout

func NewReadPackagesCombinedParamsWithTimeout(timeout time.Duration) *ReadPackagesCombinedParams

NewReadPackagesCombinedParamsWithTimeout creates a new ReadPackagesCombinedParams object with the ability to set a timeout on a request.

func (*ReadPackagesCombinedParams) SetContext

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

SetContext adds the context to the read packages combined params

func (*ReadPackagesCombinedParams) SetDefaults

func (o *ReadPackagesCombinedParams) SetDefaults()

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

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

func (*ReadPackagesCombinedParams) SetFilter

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

SetFilter adds the filter to the read packages combined params

func (*ReadPackagesCombinedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read packages combined params

func (*ReadPackagesCombinedParams) SetLimit

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

SetLimit adds the limit to the read packages combined params

func (*ReadPackagesCombinedParams) SetOffset

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

SetOffset adds the offset to the read packages combined params

func (*ReadPackagesCombinedParams) SetOnlyZeroDayAffected

func (o *ReadPackagesCombinedParams) SetOnlyZeroDayAffected(onlyZeroDayAffected *bool)

SetOnlyZeroDayAffected adds the onlyZeroDayAffected to the read packages combined params

func (*ReadPackagesCombinedParams) SetSort

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

SetSort adds the sort to the read packages combined params

func (*ReadPackagesCombinedParams) SetTimeout

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

SetTimeout adds the timeout to the read packages combined params

func (*ReadPackagesCombinedParams) WithContext

WithContext adds the context to the read packages combined params

func (*ReadPackagesCombinedParams) WithDefaults

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

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

func (*ReadPackagesCombinedParams) WithFilter

WithFilter adds the filter to the read packages combined params

func (*ReadPackagesCombinedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read packages combined params

func (*ReadPackagesCombinedParams) WithLimit

WithLimit adds the limit to the read packages combined params

func (*ReadPackagesCombinedParams) WithOffset

WithOffset adds the offset to the read packages combined params

func (*ReadPackagesCombinedParams) WithOnlyZeroDayAffected

func (o *ReadPackagesCombinedParams) WithOnlyZeroDayAffected(onlyZeroDayAffected *bool) *ReadPackagesCombinedParams

WithOnlyZeroDayAffected adds the onlyZeroDayAffected to the read packages combined params

func (*ReadPackagesCombinedParams) WithSort

WithSort adds the sort to the read packages combined params

func (*ReadPackagesCombinedParams) WithTimeout

WithTimeout adds the timeout to the read packages combined params

func (*ReadPackagesCombinedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadPackagesCombinedReader

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

ReadPackagesCombinedReader is a Reader for the ReadPackagesCombined structure.

func (*ReadPackagesCombinedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadPackagesCombinedTooManyRequests

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

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

Too Many Requests

func NewReadPackagesCombinedTooManyRequests

func NewReadPackagesCombinedTooManyRequests() *ReadPackagesCombinedTooManyRequests

NewReadPackagesCombinedTooManyRequests creates a ReadPackagesCombinedTooManyRequests with default headers values

func (*ReadPackagesCombinedTooManyRequests) Code

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

func (*ReadPackagesCombinedTooManyRequests) Error

func (*ReadPackagesCombinedTooManyRequests) GetPayload

func (*ReadPackagesCombinedTooManyRequests) IsClientError

func (o *ReadPackagesCombinedTooManyRequests) IsClientError() bool

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

func (*ReadPackagesCombinedTooManyRequests) IsCode

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

func (*ReadPackagesCombinedTooManyRequests) IsRedirect

func (o *ReadPackagesCombinedTooManyRequests) IsRedirect() bool

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

func (*ReadPackagesCombinedTooManyRequests) IsServerError

func (o *ReadPackagesCombinedTooManyRequests) IsServerError() bool

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

func (*ReadPackagesCombinedTooManyRequests) IsSuccess

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

func (*ReadPackagesCombinedTooManyRequests) String

type ReadPackagesCountByZeroDayForbidden

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

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

Forbidden

func NewReadPackagesCountByZeroDayForbidden

func NewReadPackagesCountByZeroDayForbidden() *ReadPackagesCountByZeroDayForbidden

NewReadPackagesCountByZeroDayForbidden creates a ReadPackagesCountByZeroDayForbidden with default headers values

func (*ReadPackagesCountByZeroDayForbidden) Code

Code gets the status code for the read packages count by zero day forbidden response

func (*ReadPackagesCountByZeroDayForbidden) Error

func (*ReadPackagesCountByZeroDayForbidden) GetPayload

func (*ReadPackagesCountByZeroDayForbidden) IsClientError

func (o *ReadPackagesCountByZeroDayForbidden) IsClientError() bool

IsClientError returns true when this read packages count by zero day forbidden response has a 4xx status code

func (*ReadPackagesCountByZeroDayForbidden) IsCode

IsCode returns true when this read packages count by zero day forbidden response a status code equal to that given

func (*ReadPackagesCountByZeroDayForbidden) IsRedirect

func (o *ReadPackagesCountByZeroDayForbidden) IsRedirect() bool

IsRedirect returns true when this read packages count by zero day forbidden response has a 3xx status code

func (*ReadPackagesCountByZeroDayForbidden) IsServerError

func (o *ReadPackagesCountByZeroDayForbidden) IsServerError() bool

IsServerError returns true when this read packages count by zero day forbidden response has a 5xx status code

func (*ReadPackagesCountByZeroDayForbidden) IsSuccess

IsSuccess returns true when this read packages count by zero day forbidden response has a 2xx status code

func (*ReadPackagesCountByZeroDayForbidden) String

type ReadPackagesCountByZeroDayInternalServerError

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

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

Internal Server Error

func NewReadPackagesCountByZeroDayInternalServerError

func NewReadPackagesCountByZeroDayInternalServerError() *ReadPackagesCountByZeroDayInternalServerError

NewReadPackagesCountByZeroDayInternalServerError creates a ReadPackagesCountByZeroDayInternalServerError with default headers values

func (*ReadPackagesCountByZeroDayInternalServerError) Code

Code gets the status code for the read packages count by zero day internal server error response

func (*ReadPackagesCountByZeroDayInternalServerError) Error

func (*ReadPackagesCountByZeroDayInternalServerError) GetPayload

func (*ReadPackagesCountByZeroDayInternalServerError) IsClientError

IsClientError returns true when this read packages count by zero day internal server error response has a 4xx status code

func (*ReadPackagesCountByZeroDayInternalServerError) IsCode

IsCode returns true when this read packages count by zero day internal server error response a status code equal to that given

func (*ReadPackagesCountByZeroDayInternalServerError) IsRedirect

IsRedirect returns true when this read packages count by zero day internal server error response has a 3xx status code

func (*ReadPackagesCountByZeroDayInternalServerError) IsServerError

IsServerError returns true when this read packages count by zero day internal server error response has a 5xx status code

func (*ReadPackagesCountByZeroDayInternalServerError) IsSuccess

IsSuccess returns true when this read packages count by zero day internal server error response has a 2xx status code

func (*ReadPackagesCountByZeroDayInternalServerError) String

type ReadPackagesCountByZeroDayOK

type ReadPackagesCountByZeroDayOK 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.CommonCountResponse
}

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

OK

func NewReadPackagesCountByZeroDayOK

func NewReadPackagesCountByZeroDayOK() *ReadPackagesCountByZeroDayOK

NewReadPackagesCountByZeroDayOK creates a ReadPackagesCountByZeroDayOK with default headers values

func (*ReadPackagesCountByZeroDayOK) Code

Code gets the status code for the read packages count by zero day o k response

func (*ReadPackagesCountByZeroDayOK) Error

func (*ReadPackagesCountByZeroDayOK) GetPayload

func (*ReadPackagesCountByZeroDayOK) IsClientError

func (o *ReadPackagesCountByZeroDayOK) IsClientError() bool

IsClientError returns true when this read packages count by zero day o k response has a 4xx status code

func (*ReadPackagesCountByZeroDayOK) IsCode

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

IsCode returns true when this read packages count by zero day o k response a status code equal to that given

func (*ReadPackagesCountByZeroDayOK) IsRedirect

func (o *ReadPackagesCountByZeroDayOK) IsRedirect() bool

IsRedirect returns true when this read packages count by zero day o k response has a 3xx status code

func (*ReadPackagesCountByZeroDayOK) IsServerError

func (o *ReadPackagesCountByZeroDayOK) IsServerError() bool

IsServerError returns true when this read packages count by zero day o k response has a 5xx status code

func (*ReadPackagesCountByZeroDayOK) IsSuccess

func (o *ReadPackagesCountByZeroDayOK) IsSuccess() bool

IsSuccess returns true when this read packages count by zero day o k response has a 2xx status code

func (*ReadPackagesCountByZeroDayOK) String

type ReadPackagesCountByZeroDayParams

type ReadPackagesCountByZeroDayParams struct {

	/* Filter.

	   Filter packages using a query in Falcon Query Language (FQL). Supported filters: cid
	*/
	Filter *string

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

ReadPackagesCountByZeroDayParams contains all the parameters to send to the API endpoint

for the read packages count by zero day operation.

Typically these are written to a http.Request.

func NewReadPackagesCountByZeroDayParams

func NewReadPackagesCountByZeroDayParams() *ReadPackagesCountByZeroDayParams

NewReadPackagesCountByZeroDayParams creates a new ReadPackagesCountByZeroDayParams 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 NewReadPackagesCountByZeroDayParamsWithContext

func NewReadPackagesCountByZeroDayParamsWithContext(ctx context.Context) *ReadPackagesCountByZeroDayParams

NewReadPackagesCountByZeroDayParamsWithContext creates a new ReadPackagesCountByZeroDayParams object with the ability to set a context for a request.

func NewReadPackagesCountByZeroDayParamsWithHTTPClient

func NewReadPackagesCountByZeroDayParamsWithHTTPClient(client *http.Client) *ReadPackagesCountByZeroDayParams

NewReadPackagesCountByZeroDayParamsWithHTTPClient creates a new ReadPackagesCountByZeroDayParams object with the ability to set a custom HTTPClient for a request.

func NewReadPackagesCountByZeroDayParamsWithTimeout

func NewReadPackagesCountByZeroDayParamsWithTimeout(timeout time.Duration) *ReadPackagesCountByZeroDayParams

NewReadPackagesCountByZeroDayParamsWithTimeout creates a new ReadPackagesCountByZeroDayParams object with the ability to set a timeout on a request.

func (*ReadPackagesCountByZeroDayParams) SetContext

SetContext adds the context to the read packages count by zero day params

func (*ReadPackagesCountByZeroDayParams) SetDefaults

func (o *ReadPackagesCountByZeroDayParams) SetDefaults()

SetDefaults hydrates default values in the read packages count by zero day params (not the query body).

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

func (*ReadPackagesCountByZeroDayParams) SetFilter

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

SetFilter adds the filter to the read packages count by zero day params

func (*ReadPackagesCountByZeroDayParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read packages count by zero day params

func (*ReadPackagesCountByZeroDayParams) SetTimeout

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

SetTimeout adds the timeout to the read packages count by zero day params

func (*ReadPackagesCountByZeroDayParams) WithContext

WithContext adds the context to the read packages count by zero day params

func (*ReadPackagesCountByZeroDayParams) WithDefaults

WithDefaults hydrates default values in the read packages count by zero day params (not the query body).

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

func (*ReadPackagesCountByZeroDayParams) WithFilter

WithFilter adds the filter to the read packages count by zero day params

func (*ReadPackagesCountByZeroDayParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read packages count by zero day params

func (*ReadPackagesCountByZeroDayParams) WithTimeout

WithTimeout adds the timeout to the read packages count by zero day params

func (*ReadPackagesCountByZeroDayParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadPackagesCountByZeroDayReader

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

ReadPackagesCountByZeroDayReader is a Reader for the ReadPackagesCountByZeroDay structure.

func (*ReadPackagesCountByZeroDayReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadPackagesCountByZeroDayTooManyRequests

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

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

Too Many Requests

func NewReadPackagesCountByZeroDayTooManyRequests

func NewReadPackagesCountByZeroDayTooManyRequests() *ReadPackagesCountByZeroDayTooManyRequests

NewReadPackagesCountByZeroDayTooManyRequests creates a ReadPackagesCountByZeroDayTooManyRequests with default headers values

func (*ReadPackagesCountByZeroDayTooManyRequests) Code

Code gets the status code for the read packages count by zero day too many requests response

func (*ReadPackagesCountByZeroDayTooManyRequests) Error

func (*ReadPackagesCountByZeroDayTooManyRequests) GetPayload

func (*ReadPackagesCountByZeroDayTooManyRequests) IsClientError

IsClientError returns true when this read packages count by zero day too many requests response has a 4xx status code

func (*ReadPackagesCountByZeroDayTooManyRequests) IsCode

IsCode returns true when this read packages count by zero day too many requests response a status code equal to that given

func (*ReadPackagesCountByZeroDayTooManyRequests) IsRedirect

IsRedirect returns true when this read packages count by zero day too many requests response has a 3xx status code

func (*ReadPackagesCountByZeroDayTooManyRequests) IsServerError

IsServerError returns true when this read packages count by zero day too many requests response has a 5xx status code

func (*ReadPackagesCountByZeroDayTooManyRequests) IsSuccess

IsSuccess returns true when this read packages count by zero day too many requests response has a 2xx status code

func (*ReadPackagesCountByZeroDayTooManyRequests) String

Jump to

Keyboard shortcuts

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