Documentation ¶
Index ¶
- type Client
- func (a *Client) ReadPackagesByFixableVulnCount(params *ReadPackagesByFixableVulnCountParams, opts ...ClientOption) (*ReadPackagesByFixableVulnCountOK, error)
- func (a *Client) ReadPackagesByVulnCount(params *ReadPackagesByVulnCountParams, opts ...ClientOption) (*ReadPackagesByVulnCountOK, error)
- func (a *Client) ReadPackagesCombined(params *ReadPackagesCombinedParams, opts ...ClientOption) (*ReadPackagesCombinedOK, error)
- func (a *Client) ReadPackagesCombinedExport(params *ReadPackagesCombinedExportParams, opts ...ClientOption) (*ReadPackagesCombinedExportOK, error)
- func (a *Client) ReadPackagesCountByZeroDay(params *ReadPackagesCountByZeroDayParams, opts ...ClientOption) (*ReadPackagesCountByZeroDayOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ReadPackagesByFixableVulnCountForbidden
- func (o *ReadPackagesByFixableVulnCountForbidden) Code() int
- func (o *ReadPackagesByFixableVulnCountForbidden) Error() string
- func (o *ReadPackagesByFixableVulnCountForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesByFixableVulnCountForbidden) IsClientError() bool
- func (o *ReadPackagesByFixableVulnCountForbidden) IsCode(code int) bool
- func (o *ReadPackagesByFixableVulnCountForbidden) IsRedirect() bool
- func (o *ReadPackagesByFixableVulnCountForbidden) IsServerError() bool
- func (o *ReadPackagesByFixableVulnCountForbidden) IsSuccess() bool
- func (o *ReadPackagesByFixableVulnCountForbidden) String() string
- type ReadPackagesByFixableVulnCountInternalServerError
- func (o *ReadPackagesByFixableVulnCountInternalServerError) Code() int
- func (o *ReadPackagesByFixableVulnCountInternalServerError) Error() string
- func (o *ReadPackagesByFixableVulnCountInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadPackagesByFixableVulnCountInternalServerError) IsClientError() bool
- func (o *ReadPackagesByFixableVulnCountInternalServerError) IsCode(code int) bool
- func (o *ReadPackagesByFixableVulnCountInternalServerError) IsRedirect() bool
- func (o *ReadPackagesByFixableVulnCountInternalServerError) IsServerError() bool
- func (o *ReadPackagesByFixableVulnCountInternalServerError) IsSuccess() bool
- func (o *ReadPackagesByFixableVulnCountInternalServerError) String() string
- type ReadPackagesByFixableVulnCountOK
- func (o *ReadPackagesByFixableVulnCountOK) Code() int
- func (o *ReadPackagesByFixableVulnCountOK) Error() string
- func (o *ReadPackagesByFixableVulnCountOK) GetPayload() *models.PackagesAPIPackagesByVulnCount
- func (o *ReadPackagesByFixableVulnCountOK) IsClientError() bool
- func (o *ReadPackagesByFixableVulnCountOK) IsCode(code int) bool
- func (o *ReadPackagesByFixableVulnCountOK) IsRedirect() bool
- func (o *ReadPackagesByFixableVulnCountOK) IsServerError() bool
- func (o *ReadPackagesByFixableVulnCountOK) IsSuccess() bool
- func (o *ReadPackagesByFixableVulnCountOK) String() string
- type ReadPackagesByFixableVulnCountParams
- func NewReadPackagesByFixableVulnCountParams() *ReadPackagesByFixableVulnCountParams
- func NewReadPackagesByFixableVulnCountParamsWithContext(ctx context.Context) *ReadPackagesByFixableVulnCountParams
- func NewReadPackagesByFixableVulnCountParamsWithHTTPClient(client *http.Client) *ReadPackagesByFixableVulnCountParams
- func NewReadPackagesByFixableVulnCountParamsWithTimeout(timeout time.Duration) *ReadPackagesByFixableVulnCountParams
- func (o *ReadPackagesByFixableVulnCountParams) SetContext(ctx context.Context)
- func (o *ReadPackagesByFixableVulnCountParams) SetDefaults()
- func (o *ReadPackagesByFixableVulnCountParams) SetFilter(filter *string)
- func (o *ReadPackagesByFixableVulnCountParams) SetHTTPClient(client *http.Client)
- func (o *ReadPackagesByFixableVulnCountParams) SetLimit(limit *int64)
- func (o *ReadPackagesByFixableVulnCountParams) SetOffset(offset *int64)
- func (o *ReadPackagesByFixableVulnCountParams) SetTimeout(timeout time.Duration)
- func (o *ReadPackagesByFixableVulnCountParams) WithContext(ctx context.Context) *ReadPackagesByFixableVulnCountParams
- func (o *ReadPackagesByFixableVulnCountParams) WithDefaults() *ReadPackagesByFixableVulnCountParams
- func (o *ReadPackagesByFixableVulnCountParams) WithFilter(filter *string) *ReadPackagesByFixableVulnCountParams
- func (o *ReadPackagesByFixableVulnCountParams) WithHTTPClient(client *http.Client) *ReadPackagesByFixableVulnCountParams
- func (o *ReadPackagesByFixableVulnCountParams) WithLimit(limit *int64) *ReadPackagesByFixableVulnCountParams
- func (o *ReadPackagesByFixableVulnCountParams) WithOffset(offset *int64) *ReadPackagesByFixableVulnCountParams
- func (o *ReadPackagesByFixableVulnCountParams) WithTimeout(timeout time.Duration) *ReadPackagesByFixableVulnCountParams
- func (o *ReadPackagesByFixableVulnCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPackagesByFixableVulnCountReader
- type ReadPackagesByFixableVulnCountTooManyRequests
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) Code() int
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) Error() string
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsClientError() bool
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsCode(code int) bool
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsRedirect() bool
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsServerError() bool
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsSuccess() bool
- func (o *ReadPackagesByFixableVulnCountTooManyRequests) String() string
- type ReadPackagesByVulnCountForbidden
- func (o *ReadPackagesByVulnCountForbidden) Code() int
- func (o *ReadPackagesByVulnCountForbidden) Error() string
- func (o *ReadPackagesByVulnCountForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesByVulnCountForbidden) IsClientError() bool
- func (o *ReadPackagesByVulnCountForbidden) IsCode(code int) bool
- func (o *ReadPackagesByVulnCountForbidden) IsRedirect() bool
- func (o *ReadPackagesByVulnCountForbidden) IsServerError() bool
- func (o *ReadPackagesByVulnCountForbidden) IsSuccess() bool
- func (o *ReadPackagesByVulnCountForbidden) String() string
- type ReadPackagesByVulnCountInternalServerError
- func (o *ReadPackagesByVulnCountInternalServerError) Code() int
- func (o *ReadPackagesByVulnCountInternalServerError) Error() string
- func (o *ReadPackagesByVulnCountInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadPackagesByVulnCountInternalServerError) IsClientError() bool
- func (o *ReadPackagesByVulnCountInternalServerError) IsCode(code int) bool
- func (o *ReadPackagesByVulnCountInternalServerError) IsRedirect() bool
- func (o *ReadPackagesByVulnCountInternalServerError) IsServerError() bool
- func (o *ReadPackagesByVulnCountInternalServerError) IsSuccess() bool
- func (o *ReadPackagesByVulnCountInternalServerError) String() string
- type ReadPackagesByVulnCountOK
- func (o *ReadPackagesByVulnCountOK) Code() int
- func (o *ReadPackagesByVulnCountOK) Error() string
- func (o *ReadPackagesByVulnCountOK) GetPayload() *models.PackagesAPIPackagesByVulnCount
- func (o *ReadPackagesByVulnCountOK) IsClientError() bool
- func (o *ReadPackagesByVulnCountOK) IsCode(code int) bool
- func (o *ReadPackagesByVulnCountOK) IsRedirect() bool
- func (o *ReadPackagesByVulnCountOK) IsServerError() bool
- func (o *ReadPackagesByVulnCountOK) IsSuccess() bool
- func (o *ReadPackagesByVulnCountOK) String() string
- type ReadPackagesByVulnCountParams
- func NewReadPackagesByVulnCountParams() *ReadPackagesByVulnCountParams
- func NewReadPackagesByVulnCountParamsWithContext(ctx context.Context) *ReadPackagesByVulnCountParams
- func NewReadPackagesByVulnCountParamsWithHTTPClient(client *http.Client) *ReadPackagesByVulnCountParams
- func NewReadPackagesByVulnCountParamsWithTimeout(timeout time.Duration) *ReadPackagesByVulnCountParams
- func (o *ReadPackagesByVulnCountParams) SetContext(ctx context.Context)
- func (o *ReadPackagesByVulnCountParams) SetDefaults()
- func (o *ReadPackagesByVulnCountParams) SetFilter(filter *string)
- func (o *ReadPackagesByVulnCountParams) SetHTTPClient(client *http.Client)
- func (o *ReadPackagesByVulnCountParams) SetLimit(limit *int64)
- func (o *ReadPackagesByVulnCountParams) SetOffset(offset *int64)
- func (o *ReadPackagesByVulnCountParams) SetTimeout(timeout time.Duration)
- func (o *ReadPackagesByVulnCountParams) WithContext(ctx context.Context) *ReadPackagesByVulnCountParams
- func (o *ReadPackagesByVulnCountParams) WithDefaults() *ReadPackagesByVulnCountParams
- func (o *ReadPackagesByVulnCountParams) WithFilter(filter *string) *ReadPackagesByVulnCountParams
- func (o *ReadPackagesByVulnCountParams) WithHTTPClient(client *http.Client) *ReadPackagesByVulnCountParams
- func (o *ReadPackagesByVulnCountParams) WithLimit(limit *int64) *ReadPackagesByVulnCountParams
- func (o *ReadPackagesByVulnCountParams) WithOffset(offset *int64) *ReadPackagesByVulnCountParams
- func (o *ReadPackagesByVulnCountParams) WithTimeout(timeout time.Duration) *ReadPackagesByVulnCountParams
- func (o *ReadPackagesByVulnCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPackagesByVulnCountReader
- type ReadPackagesByVulnCountTooManyRequests
- func (o *ReadPackagesByVulnCountTooManyRequests) Code() int
- func (o *ReadPackagesByVulnCountTooManyRequests) Error() string
- func (o *ReadPackagesByVulnCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesByVulnCountTooManyRequests) IsClientError() bool
- func (o *ReadPackagesByVulnCountTooManyRequests) IsCode(code int) bool
- func (o *ReadPackagesByVulnCountTooManyRequests) IsRedirect() bool
- func (o *ReadPackagesByVulnCountTooManyRequests) IsServerError() bool
- func (o *ReadPackagesByVulnCountTooManyRequests) IsSuccess() bool
- func (o *ReadPackagesByVulnCountTooManyRequests) String() string
- type ReadPackagesCombinedExportForbidden
- func (o *ReadPackagesCombinedExportForbidden) Code() int
- func (o *ReadPackagesCombinedExportForbidden) Error() string
- func (o *ReadPackagesCombinedExportForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesCombinedExportForbidden) IsClientError() bool
- func (o *ReadPackagesCombinedExportForbidden) IsCode(code int) bool
- func (o *ReadPackagesCombinedExportForbidden) IsRedirect() bool
- func (o *ReadPackagesCombinedExportForbidden) IsServerError() bool
- func (o *ReadPackagesCombinedExportForbidden) IsSuccess() bool
- func (o *ReadPackagesCombinedExportForbidden) String() string
- type ReadPackagesCombinedExportInternalServerError
- func (o *ReadPackagesCombinedExportInternalServerError) Code() int
- func (o *ReadPackagesCombinedExportInternalServerError) Error() string
- func (o *ReadPackagesCombinedExportInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadPackagesCombinedExportInternalServerError) IsClientError() bool
- func (o *ReadPackagesCombinedExportInternalServerError) IsCode(code int) bool
- func (o *ReadPackagesCombinedExportInternalServerError) IsRedirect() bool
- func (o *ReadPackagesCombinedExportInternalServerError) IsServerError() bool
- func (o *ReadPackagesCombinedExportInternalServerError) IsSuccess() bool
- func (o *ReadPackagesCombinedExportInternalServerError) String() string
- type ReadPackagesCombinedExportOK
- func (o *ReadPackagesCombinedExportOK) Code() int
- func (o *ReadPackagesCombinedExportOK) Error() string
- func (o *ReadPackagesCombinedExportOK) GetPayload() *models.PackagesAPICombinedPackageExport
- func (o *ReadPackagesCombinedExportOK) IsClientError() bool
- func (o *ReadPackagesCombinedExportOK) IsCode(code int) bool
- func (o *ReadPackagesCombinedExportOK) IsRedirect() bool
- func (o *ReadPackagesCombinedExportOK) IsServerError() bool
- func (o *ReadPackagesCombinedExportOK) IsSuccess() bool
- func (o *ReadPackagesCombinedExportOK) String() string
- type ReadPackagesCombinedExportParams
- func NewReadPackagesCombinedExportParams() *ReadPackagesCombinedExportParams
- func NewReadPackagesCombinedExportParamsWithContext(ctx context.Context) *ReadPackagesCombinedExportParams
- func NewReadPackagesCombinedExportParamsWithHTTPClient(client *http.Client) *ReadPackagesCombinedExportParams
- func NewReadPackagesCombinedExportParamsWithTimeout(timeout time.Duration) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) SetContext(ctx context.Context)
- func (o *ReadPackagesCombinedExportParams) SetDefaults()
- func (o *ReadPackagesCombinedExportParams) SetFilter(filter *string)
- func (o *ReadPackagesCombinedExportParams) SetHTTPClient(client *http.Client)
- func (o *ReadPackagesCombinedExportParams) SetLimit(limit *int64)
- func (o *ReadPackagesCombinedExportParams) SetOffset(offset *int64)
- func (o *ReadPackagesCombinedExportParams) SetOnlyZeroDayAffected(onlyZeroDayAffected *bool)
- func (o *ReadPackagesCombinedExportParams) SetSort(sort *string)
- func (o *ReadPackagesCombinedExportParams) SetTimeout(timeout time.Duration)
- func (o *ReadPackagesCombinedExportParams) WithContext(ctx context.Context) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WithDefaults() *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WithFilter(filter *string) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WithHTTPClient(client *http.Client) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WithLimit(limit *int64) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WithOffset(offset *int64) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WithOnlyZeroDayAffected(onlyZeroDayAffected *bool) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WithSort(sort *string) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WithTimeout(timeout time.Duration) *ReadPackagesCombinedExportParams
- func (o *ReadPackagesCombinedExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPackagesCombinedExportReader
- type ReadPackagesCombinedExportTooManyRequests
- func (o *ReadPackagesCombinedExportTooManyRequests) Code() int
- func (o *ReadPackagesCombinedExportTooManyRequests) Error() string
- func (o *ReadPackagesCombinedExportTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesCombinedExportTooManyRequests) IsClientError() bool
- func (o *ReadPackagesCombinedExportTooManyRequests) IsCode(code int) bool
- func (o *ReadPackagesCombinedExportTooManyRequests) IsRedirect() bool
- func (o *ReadPackagesCombinedExportTooManyRequests) IsServerError() bool
- func (o *ReadPackagesCombinedExportTooManyRequests) IsSuccess() bool
- func (o *ReadPackagesCombinedExportTooManyRequests) String() string
- type ReadPackagesCombinedForbidden
- func (o *ReadPackagesCombinedForbidden) Code() int
- func (o *ReadPackagesCombinedForbidden) Error() string
- func (o *ReadPackagesCombinedForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesCombinedForbidden) IsClientError() bool
- func (o *ReadPackagesCombinedForbidden) IsCode(code int) bool
- func (o *ReadPackagesCombinedForbidden) IsRedirect() bool
- func (o *ReadPackagesCombinedForbidden) IsServerError() bool
- func (o *ReadPackagesCombinedForbidden) IsSuccess() bool
- func (o *ReadPackagesCombinedForbidden) String() string
- type ReadPackagesCombinedInternalServerError
- func (o *ReadPackagesCombinedInternalServerError) Code() int
- func (o *ReadPackagesCombinedInternalServerError) Error() string
- func (o *ReadPackagesCombinedInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadPackagesCombinedInternalServerError) IsClientError() bool
- func (o *ReadPackagesCombinedInternalServerError) IsCode(code int) bool
- func (o *ReadPackagesCombinedInternalServerError) IsRedirect() bool
- func (o *ReadPackagesCombinedInternalServerError) IsServerError() bool
- func (o *ReadPackagesCombinedInternalServerError) IsSuccess() bool
- func (o *ReadPackagesCombinedInternalServerError) String() string
- type ReadPackagesCombinedOK
- func (o *ReadPackagesCombinedOK) Code() int
- func (o *ReadPackagesCombinedOK) Error() string
- func (o *ReadPackagesCombinedOK) GetPayload() *models.PackagesAPICombinedPackage
- func (o *ReadPackagesCombinedOK) IsClientError() bool
- func (o *ReadPackagesCombinedOK) IsCode(code int) bool
- func (o *ReadPackagesCombinedOK) IsRedirect() bool
- func (o *ReadPackagesCombinedOK) IsServerError() bool
- func (o *ReadPackagesCombinedOK) IsSuccess() bool
- func (o *ReadPackagesCombinedOK) String() string
- type ReadPackagesCombinedParams
- func NewReadPackagesCombinedParams() *ReadPackagesCombinedParams
- func NewReadPackagesCombinedParamsWithContext(ctx context.Context) *ReadPackagesCombinedParams
- func NewReadPackagesCombinedParamsWithHTTPClient(client *http.Client) *ReadPackagesCombinedParams
- func NewReadPackagesCombinedParamsWithTimeout(timeout time.Duration) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) SetContext(ctx context.Context)
- func (o *ReadPackagesCombinedParams) SetDefaults()
- func (o *ReadPackagesCombinedParams) SetFilter(filter *string)
- func (o *ReadPackagesCombinedParams) SetHTTPClient(client *http.Client)
- func (o *ReadPackagesCombinedParams) SetLimit(limit *int64)
- func (o *ReadPackagesCombinedParams) SetOffset(offset *int64)
- func (o *ReadPackagesCombinedParams) SetOnlyZeroDayAffected(onlyZeroDayAffected *bool)
- func (o *ReadPackagesCombinedParams) SetSort(sort *string)
- func (o *ReadPackagesCombinedParams) SetTimeout(timeout time.Duration)
- func (o *ReadPackagesCombinedParams) WithContext(ctx context.Context) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WithDefaults() *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WithFilter(filter *string) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WithHTTPClient(client *http.Client) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WithLimit(limit *int64) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WithOffset(offset *int64) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WithOnlyZeroDayAffected(onlyZeroDayAffected *bool) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WithSort(sort *string) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WithTimeout(timeout time.Duration) *ReadPackagesCombinedParams
- func (o *ReadPackagesCombinedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPackagesCombinedReader
- type ReadPackagesCombinedTooManyRequests
- func (o *ReadPackagesCombinedTooManyRequests) Code() int
- func (o *ReadPackagesCombinedTooManyRequests) Error() string
- func (o *ReadPackagesCombinedTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesCombinedTooManyRequests) IsClientError() bool
- func (o *ReadPackagesCombinedTooManyRequests) IsCode(code int) bool
- func (o *ReadPackagesCombinedTooManyRequests) IsRedirect() bool
- func (o *ReadPackagesCombinedTooManyRequests) IsServerError() bool
- func (o *ReadPackagesCombinedTooManyRequests) IsSuccess() bool
- func (o *ReadPackagesCombinedTooManyRequests) String() string
- type ReadPackagesCountByZeroDayForbidden
- func (o *ReadPackagesCountByZeroDayForbidden) Code() int
- func (o *ReadPackagesCountByZeroDayForbidden) Error() string
- func (o *ReadPackagesCountByZeroDayForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesCountByZeroDayForbidden) IsClientError() bool
- func (o *ReadPackagesCountByZeroDayForbidden) IsCode(code int) bool
- func (o *ReadPackagesCountByZeroDayForbidden) IsRedirect() bool
- func (o *ReadPackagesCountByZeroDayForbidden) IsServerError() bool
- func (o *ReadPackagesCountByZeroDayForbidden) IsSuccess() bool
- func (o *ReadPackagesCountByZeroDayForbidden) String() string
- type ReadPackagesCountByZeroDayInternalServerError
- func (o *ReadPackagesCountByZeroDayInternalServerError) Code() int
- func (o *ReadPackagesCountByZeroDayInternalServerError) Error() string
- func (o *ReadPackagesCountByZeroDayInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadPackagesCountByZeroDayInternalServerError) IsClientError() bool
- func (o *ReadPackagesCountByZeroDayInternalServerError) IsCode(code int) bool
- func (o *ReadPackagesCountByZeroDayInternalServerError) IsRedirect() bool
- func (o *ReadPackagesCountByZeroDayInternalServerError) IsServerError() bool
- func (o *ReadPackagesCountByZeroDayInternalServerError) IsSuccess() bool
- func (o *ReadPackagesCountByZeroDayInternalServerError) String() string
- type ReadPackagesCountByZeroDayOK
- func (o *ReadPackagesCountByZeroDayOK) Code() int
- func (o *ReadPackagesCountByZeroDayOK) Error() string
- func (o *ReadPackagesCountByZeroDayOK) GetPayload() *models.CommonCountResponse
- func (o *ReadPackagesCountByZeroDayOK) IsClientError() bool
- func (o *ReadPackagesCountByZeroDayOK) IsCode(code int) bool
- func (o *ReadPackagesCountByZeroDayOK) IsRedirect() bool
- func (o *ReadPackagesCountByZeroDayOK) IsServerError() bool
- func (o *ReadPackagesCountByZeroDayOK) IsSuccess() bool
- func (o *ReadPackagesCountByZeroDayOK) String() string
- type ReadPackagesCountByZeroDayParams
- func NewReadPackagesCountByZeroDayParams() *ReadPackagesCountByZeroDayParams
- func NewReadPackagesCountByZeroDayParamsWithContext(ctx context.Context) *ReadPackagesCountByZeroDayParams
- func NewReadPackagesCountByZeroDayParamsWithHTTPClient(client *http.Client) *ReadPackagesCountByZeroDayParams
- func NewReadPackagesCountByZeroDayParamsWithTimeout(timeout time.Duration) *ReadPackagesCountByZeroDayParams
- func (o *ReadPackagesCountByZeroDayParams) SetContext(ctx context.Context)
- func (o *ReadPackagesCountByZeroDayParams) SetDefaults()
- func (o *ReadPackagesCountByZeroDayParams) SetFilter(filter *string)
- func (o *ReadPackagesCountByZeroDayParams) SetHTTPClient(client *http.Client)
- func (o *ReadPackagesCountByZeroDayParams) SetTimeout(timeout time.Duration)
- func (o *ReadPackagesCountByZeroDayParams) WithContext(ctx context.Context) *ReadPackagesCountByZeroDayParams
- func (o *ReadPackagesCountByZeroDayParams) WithDefaults() *ReadPackagesCountByZeroDayParams
- func (o *ReadPackagesCountByZeroDayParams) WithFilter(filter *string) *ReadPackagesCountByZeroDayParams
- func (o *ReadPackagesCountByZeroDayParams) WithHTTPClient(client *http.Client) *ReadPackagesCountByZeroDayParams
- func (o *ReadPackagesCountByZeroDayParams) WithTimeout(timeout time.Duration) *ReadPackagesCountByZeroDayParams
- func (o *ReadPackagesCountByZeroDayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPackagesCountByZeroDayReader
- type ReadPackagesCountByZeroDayTooManyRequests
- func (o *ReadPackagesCountByZeroDayTooManyRequests) Code() int
- func (o *ReadPackagesCountByZeroDayTooManyRequests) Error() string
- func (o *ReadPackagesCountByZeroDayTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPackagesCountByZeroDayTooManyRequests) IsClientError() bool
- func (o *ReadPackagesCountByZeroDayTooManyRequests) IsCode(code int) bool
- func (o *ReadPackagesCountByZeroDayTooManyRequests) IsRedirect() bool
- func (o *ReadPackagesCountByZeroDayTooManyRequests) IsServerError() bool
- func (o *ReadPackagesCountByZeroDayTooManyRequests) IsSuccess() bool
- func (o *ReadPackagesCountByZeroDayTooManyRequests) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for container 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 ¶
func (o *ReadPackagesByFixableVulnCountForbidden) Code() int
Code gets the status code for the read packages by fixable vuln count forbidden response
func (*ReadPackagesByFixableVulnCountForbidden) Error ¶
func (o *ReadPackagesByFixableVulnCountForbidden) Error() string
func (*ReadPackagesByFixableVulnCountForbidden) GetPayload ¶
func (o *ReadPackagesByFixableVulnCountForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadPackagesByFixableVulnCountForbidden) IsCode(code int) bool
IsCode returns true when this read packages by fixable vuln count forbidden response a status code equal to that given
func (*ReadPackagesByFixableVulnCountForbidden) IsRedirect ¶
func (o *ReadPackagesByFixableVulnCountForbidden) IsRedirect() bool
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 ¶
func (o *ReadPackagesByFixableVulnCountForbidden) IsSuccess() bool
IsSuccess returns true when this read packages by fixable vuln count forbidden response has a 2xx status code
func (*ReadPackagesByFixableVulnCountForbidden) String ¶
func (o *ReadPackagesByFixableVulnCountForbidden) String() 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 ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) Code() int
Code gets the status code for the read packages by fixable vuln count internal server error response
func (*ReadPackagesByFixableVulnCountInternalServerError) Error ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) Error() string
func (*ReadPackagesByFixableVulnCountInternalServerError) GetPayload ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadPackagesByFixableVulnCountInternalServerError) IsClientError ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) IsClientError() bool
IsClientError returns true when this read packages by fixable vuln count internal server error response has a 4xx status code
func (*ReadPackagesByFixableVulnCountInternalServerError) IsCode ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) IsCode(code int) bool
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 ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) IsRedirect() bool
IsRedirect returns true when this read packages by fixable vuln count internal server error response has a 3xx status code
func (*ReadPackagesByFixableVulnCountInternalServerError) IsServerError ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) IsServerError() bool
IsServerError returns true when this read packages by fixable vuln count internal server error response has a 5xx status code
func (*ReadPackagesByFixableVulnCountInternalServerError) IsSuccess ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) IsSuccess() bool
IsSuccess returns true when this read packages by fixable vuln count internal server error response has a 2xx status code
func (*ReadPackagesByFixableVulnCountInternalServerError) String ¶
func (o *ReadPackagesByFixableVulnCountInternalServerError) String() 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 ¶
func (o *ReadPackagesByFixableVulnCountOK) Code() int
Code gets the status code for the read packages by fixable vuln count o k response
func (*ReadPackagesByFixableVulnCountOK) Error ¶
func (o *ReadPackagesByFixableVulnCountOK) Error() string
func (*ReadPackagesByFixableVulnCountOK) GetPayload ¶
func (o *ReadPackagesByFixableVulnCountOK) GetPayload() *models.PackagesAPIPackagesByVulnCount
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 ¶
func (o *ReadPackagesByFixableVulnCountOK) String() 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 ¶
func (o *ReadPackagesByFixableVulnCountParams) SetContext(ctx context.Context)
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 ¶
func (o *ReadPackagesByFixableVulnCountParams) WithContext(ctx context.Context) *ReadPackagesByFixableVulnCountParams
WithContext adds the context to the read packages by fixable vuln count params
func (*ReadPackagesByFixableVulnCountParams) WithDefaults ¶
func (o *ReadPackagesByFixableVulnCountParams) WithDefaults() *ReadPackagesByFixableVulnCountParams
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 ¶
func (o *ReadPackagesByFixableVulnCountParams) WithFilter(filter *string) *ReadPackagesByFixableVulnCountParams
WithFilter adds the filter to the read packages by fixable vuln count params
func (*ReadPackagesByFixableVulnCountParams) WithHTTPClient ¶
func (o *ReadPackagesByFixableVulnCountParams) WithHTTPClient(client *http.Client) *ReadPackagesByFixableVulnCountParams
WithHTTPClient adds the HTTPClient to the read packages by fixable vuln count params
func (*ReadPackagesByFixableVulnCountParams) WithLimit ¶
func (o *ReadPackagesByFixableVulnCountParams) WithLimit(limit *int64) *ReadPackagesByFixableVulnCountParams
WithLimit adds the limit to the read packages by fixable vuln count params
func (*ReadPackagesByFixableVulnCountParams) WithOffset ¶
func (o *ReadPackagesByFixableVulnCountParams) WithOffset(offset *int64) *ReadPackagesByFixableVulnCountParams
WithOffset adds the offset to the read packages by fixable vuln count params
func (*ReadPackagesByFixableVulnCountParams) WithTimeout ¶
func (o *ReadPackagesByFixableVulnCountParams) WithTimeout(timeout time.Duration) *ReadPackagesByFixableVulnCountParams
WithTimeout adds the timeout to the read packages by fixable vuln count params
func (*ReadPackagesByFixableVulnCountParams) WriteToRequest ¶
func (o *ReadPackagesByFixableVulnCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) Code() int
Code gets the status code for the read packages by fixable vuln count too many requests response
func (*ReadPackagesByFixableVulnCountTooManyRequests) Error ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) Error() string
func (*ReadPackagesByFixableVulnCountTooManyRequests) GetPayload ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPackagesByFixableVulnCountTooManyRequests) IsClientError ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsClientError() bool
IsClientError returns true when this read packages by fixable vuln count too many requests response has a 4xx status code
func (*ReadPackagesByFixableVulnCountTooManyRequests) IsCode ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsCode(code int) bool
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 ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read packages by fixable vuln count too many requests response has a 3xx status code
func (*ReadPackagesByFixableVulnCountTooManyRequests) IsServerError ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsServerError() bool
IsServerError returns true when this read packages by fixable vuln count too many requests response has a 5xx status code
func (*ReadPackagesByFixableVulnCountTooManyRequests) IsSuccess ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read packages by fixable vuln count too many requests response has a 2xx status code
func (*ReadPackagesByFixableVulnCountTooManyRequests) String ¶
func (o *ReadPackagesByFixableVulnCountTooManyRequests) String() 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 ¶
func (o *ReadPackagesByVulnCountForbidden) Code() int
Code gets the status code for the read packages by vuln count forbidden response
func (*ReadPackagesByVulnCountForbidden) Error ¶
func (o *ReadPackagesByVulnCountForbidden) Error() string
func (*ReadPackagesByVulnCountForbidden) GetPayload ¶
func (o *ReadPackagesByVulnCountForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadPackagesByVulnCountForbidden) String() 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 ¶
func (o *ReadPackagesByVulnCountInternalServerError) Code() int
Code gets the status code for the read packages by vuln count internal server error response
func (*ReadPackagesByVulnCountInternalServerError) Error ¶
func (o *ReadPackagesByVulnCountInternalServerError) Error() string
func (*ReadPackagesByVulnCountInternalServerError) GetPayload ¶
func (o *ReadPackagesByVulnCountInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadPackagesByVulnCountInternalServerError) IsClientError ¶
func (o *ReadPackagesByVulnCountInternalServerError) IsClientError() bool
IsClientError returns true when this read packages by vuln count internal server error response has a 4xx status code
func (*ReadPackagesByVulnCountInternalServerError) IsCode ¶
func (o *ReadPackagesByVulnCountInternalServerError) IsCode(code int) bool
IsCode returns true when this read packages by vuln count internal server error response a status code equal to that given
func (*ReadPackagesByVulnCountInternalServerError) IsRedirect ¶
func (o *ReadPackagesByVulnCountInternalServerError) IsRedirect() bool
IsRedirect returns true when this read packages by vuln count internal server error response has a 3xx status code
func (*ReadPackagesByVulnCountInternalServerError) IsServerError ¶
func (o *ReadPackagesByVulnCountInternalServerError) IsServerError() bool
IsServerError returns true when this read packages by vuln count internal server error response has a 5xx status code
func (*ReadPackagesByVulnCountInternalServerError) IsSuccess ¶
func (o *ReadPackagesByVulnCountInternalServerError) IsSuccess() bool
IsSuccess returns true when this read packages by vuln count internal server error response has a 2xx status code
func (*ReadPackagesByVulnCountInternalServerError) String ¶
func (o *ReadPackagesByVulnCountInternalServerError) String() 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 (o *ReadPackagesByVulnCountOK) GetPayload() *models.PackagesAPIPackagesByVulnCount
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 ¶
func (o *ReadPackagesByVulnCountParams) WithContext(ctx context.Context) *ReadPackagesByVulnCountParams
WithContext adds the context to the read packages by vuln count params
func (*ReadPackagesByVulnCountParams) WithDefaults ¶
func (o *ReadPackagesByVulnCountParams) WithDefaults() *ReadPackagesByVulnCountParams
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 ¶
func (o *ReadPackagesByVulnCountParams) WithFilter(filter *string) *ReadPackagesByVulnCountParams
WithFilter adds the filter to the read packages by vuln count params
func (*ReadPackagesByVulnCountParams) WithHTTPClient ¶
func (o *ReadPackagesByVulnCountParams) WithHTTPClient(client *http.Client) *ReadPackagesByVulnCountParams
WithHTTPClient adds the HTTPClient to the read packages by vuln count params
func (*ReadPackagesByVulnCountParams) WithLimit ¶
func (o *ReadPackagesByVulnCountParams) WithLimit(limit *int64) *ReadPackagesByVulnCountParams
WithLimit adds the limit to the read packages by vuln count params
func (*ReadPackagesByVulnCountParams) WithOffset ¶
func (o *ReadPackagesByVulnCountParams) WithOffset(offset *int64) *ReadPackagesByVulnCountParams
WithOffset adds the offset to the read packages by vuln count params
func (*ReadPackagesByVulnCountParams) WithTimeout ¶
func (o *ReadPackagesByVulnCountParams) WithTimeout(timeout time.Duration) *ReadPackagesByVulnCountParams
WithTimeout adds the timeout to the read packages by vuln count params
func (*ReadPackagesByVulnCountParams) WriteToRequest ¶
func (o *ReadPackagesByVulnCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadPackagesByVulnCountTooManyRequests) Code() int
Code gets the status code for the read packages by vuln count too many requests response
func (*ReadPackagesByVulnCountTooManyRequests) Error ¶
func (o *ReadPackagesByVulnCountTooManyRequests) Error() string
func (*ReadPackagesByVulnCountTooManyRequests) GetPayload ¶
func (o *ReadPackagesByVulnCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadPackagesByVulnCountTooManyRequests) IsCode(code int) bool
IsCode returns true when this read packages by vuln count too many requests response a status code equal to that given
func (*ReadPackagesByVulnCountTooManyRequests) IsRedirect ¶
func (o *ReadPackagesByVulnCountTooManyRequests) IsRedirect() bool
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 ¶
func (o *ReadPackagesByVulnCountTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read packages by vuln count too many requests response has a 2xx status code
func (*ReadPackagesByVulnCountTooManyRequests) String ¶
func (o *ReadPackagesByVulnCountTooManyRequests) String() 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 ¶
func (o *ReadPackagesCombinedExportForbidden) Code() int
Code gets the status code for the read packages combined export forbidden response
func (*ReadPackagesCombinedExportForbidden) Error ¶
func (o *ReadPackagesCombinedExportForbidden) Error() string
func (*ReadPackagesCombinedExportForbidden) GetPayload ¶
func (o *ReadPackagesCombinedExportForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadPackagesCombinedExportForbidden) IsCode(code int) bool
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 ¶
func (o *ReadPackagesCombinedExportForbidden) IsSuccess() bool
IsSuccess returns true when this read packages combined export forbidden response has a 2xx status code
func (*ReadPackagesCombinedExportForbidden) String ¶
func (o *ReadPackagesCombinedExportForbidden) String() 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 ¶
func (o *ReadPackagesCombinedExportInternalServerError) Code() int
Code gets the status code for the read packages combined export internal server error response
func (*ReadPackagesCombinedExportInternalServerError) Error ¶
func (o *ReadPackagesCombinedExportInternalServerError) Error() string
func (*ReadPackagesCombinedExportInternalServerError) GetPayload ¶
func (o *ReadPackagesCombinedExportInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadPackagesCombinedExportInternalServerError) IsClientError ¶
func (o *ReadPackagesCombinedExportInternalServerError) IsClientError() bool
IsClientError returns true when this read packages combined export internal server error response has a 4xx status code
func (*ReadPackagesCombinedExportInternalServerError) IsCode ¶
func (o *ReadPackagesCombinedExportInternalServerError) IsCode(code int) bool
IsCode returns true when this read packages combined export internal server error response a status code equal to that given
func (*ReadPackagesCombinedExportInternalServerError) IsRedirect ¶
func (o *ReadPackagesCombinedExportInternalServerError) IsRedirect() bool
IsRedirect returns true when this read packages combined export internal server error response has a 3xx status code
func (*ReadPackagesCombinedExportInternalServerError) IsServerError ¶
func (o *ReadPackagesCombinedExportInternalServerError) IsServerError() bool
IsServerError returns true when this read packages combined export internal server error response has a 5xx status code
func (*ReadPackagesCombinedExportInternalServerError) IsSuccess ¶
func (o *ReadPackagesCombinedExportInternalServerError) IsSuccess() bool
IsSuccess returns true when this read packages combined export internal server error response has a 2xx status code
func (*ReadPackagesCombinedExportInternalServerError) String ¶
func (o *ReadPackagesCombinedExportInternalServerError) String() 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 ¶
func (o *ReadPackagesCombinedExportOK) Code() int
Code gets the status code for the read packages combined export o k response
func (*ReadPackagesCombinedExportOK) Error ¶
func (o *ReadPackagesCombinedExportOK) Error() string
func (*ReadPackagesCombinedExportOK) GetPayload ¶
func (o *ReadPackagesCombinedExportOK) GetPayload() *models.PackagesAPICombinedPackageExport
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 ¶
func (o *ReadPackagesCombinedExportOK) String() 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 ¶
func (o *ReadPackagesCombinedExportParams) SetContext(ctx context.Context)
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 ¶
func (o *ReadPackagesCombinedExportParams) WithContext(ctx context.Context) *ReadPackagesCombinedExportParams
WithContext adds the context to the read packages combined export params
func (*ReadPackagesCombinedExportParams) WithDefaults ¶
func (o *ReadPackagesCombinedExportParams) WithDefaults() *ReadPackagesCombinedExportParams
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 ¶
func (o *ReadPackagesCombinedExportParams) WithFilter(filter *string) *ReadPackagesCombinedExportParams
WithFilter adds the filter to the read packages combined export params
func (*ReadPackagesCombinedExportParams) WithHTTPClient ¶
func (o *ReadPackagesCombinedExportParams) WithHTTPClient(client *http.Client) *ReadPackagesCombinedExportParams
WithHTTPClient adds the HTTPClient to the read packages combined export params
func (*ReadPackagesCombinedExportParams) WithLimit ¶
func (o *ReadPackagesCombinedExportParams) WithLimit(limit *int64) *ReadPackagesCombinedExportParams
WithLimit adds the limit to the read packages combined export params
func (*ReadPackagesCombinedExportParams) WithOffset ¶
func (o *ReadPackagesCombinedExportParams) WithOffset(offset *int64) *ReadPackagesCombinedExportParams
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 ¶
func (o *ReadPackagesCombinedExportParams) WithSort(sort *string) *ReadPackagesCombinedExportParams
WithSort adds the sort to the read packages combined export params
func (*ReadPackagesCombinedExportParams) WithTimeout ¶
func (o *ReadPackagesCombinedExportParams) WithTimeout(timeout time.Duration) *ReadPackagesCombinedExportParams
WithTimeout adds the timeout to the read packages combined export params
func (*ReadPackagesCombinedExportParams) WriteToRequest ¶
func (o *ReadPackagesCombinedExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadPackagesCombinedExportTooManyRequests) Code() int
Code gets the status code for the read packages combined export too many requests response
func (*ReadPackagesCombinedExportTooManyRequests) Error ¶
func (o *ReadPackagesCombinedExportTooManyRequests) Error() string
func (*ReadPackagesCombinedExportTooManyRequests) GetPayload ¶
func (o *ReadPackagesCombinedExportTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPackagesCombinedExportTooManyRequests) IsClientError ¶
func (o *ReadPackagesCombinedExportTooManyRequests) IsClientError() bool
IsClientError returns true when this read packages combined export too many requests response has a 4xx status code
func (*ReadPackagesCombinedExportTooManyRequests) IsCode ¶
func (o *ReadPackagesCombinedExportTooManyRequests) IsCode(code int) bool
IsCode returns true when this read packages combined export too many requests response a status code equal to that given
func (*ReadPackagesCombinedExportTooManyRequests) IsRedirect ¶
func (o *ReadPackagesCombinedExportTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read packages combined export too many requests response has a 3xx status code
func (*ReadPackagesCombinedExportTooManyRequests) IsServerError ¶
func (o *ReadPackagesCombinedExportTooManyRequests) IsServerError() bool
IsServerError returns true when this read packages combined export too many requests response has a 5xx status code
func (*ReadPackagesCombinedExportTooManyRequests) IsSuccess ¶
func (o *ReadPackagesCombinedExportTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read packages combined export too many requests response has a 2xx status code
func (*ReadPackagesCombinedExportTooManyRequests) String ¶
func (o *ReadPackagesCombinedExportTooManyRequests) String() 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 ¶
func (o *ReadPackagesCombinedForbidden) Code() int
Code gets the status code for the read packages combined forbidden response
func (*ReadPackagesCombinedForbidden) Error ¶
func (o *ReadPackagesCombinedForbidden) Error() string
func (*ReadPackagesCombinedForbidden) GetPayload ¶
func (o *ReadPackagesCombinedForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadPackagesCombinedForbidden) String() 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 ¶
func (o *ReadPackagesCombinedInternalServerError) Code() int
Code gets the status code for the read packages combined internal server error response
func (*ReadPackagesCombinedInternalServerError) Error ¶
func (o *ReadPackagesCombinedInternalServerError) Error() string
func (*ReadPackagesCombinedInternalServerError) GetPayload ¶
func (o *ReadPackagesCombinedInternalServerError) GetPayload() *models.CoreEntitiesResponse
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 ¶
func (o *ReadPackagesCombinedInternalServerError) IsCode(code int) bool
IsCode returns true when this read packages combined internal server error response a status code equal to that given
func (*ReadPackagesCombinedInternalServerError) IsRedirect ¶
func (o *ReadPackagesCombinedInternalServerError) IsRedirect() bool
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 ¶
func (o *ReadPackagesCombinedInternalServerError) IsSuccess() bool
IsSuccess returns true when this read packages combined internal server error response has a 2xx status code
func (*ReadPackagesCombinedInternalServerError) String ¶
func (o *ReadPackagesCombinedInternalServerError) String() 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 (o *ReadPackagesCombinedOK) GetPayload() *models.PackagesAPICombinedPackage
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 ¶
func (o *ReadPackagesCombinedParams) WithContext(ctx context.Context) *ReadPackagesCombinedParams
WithContext adds the context to the read packages combined params
func (*ReadPackagesCombinedParams) WithDefaults ¶
func (o *ReadPackagesCombinedParams) WithDefaults() *ReadPackagesCombinedParams
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 ¶
func (o *ReadPackagesCombinedParams) WithFilter(filter *string) *ReadPackagesCombinedParams
WithFilter adds the filter to the read packages combined params
func (*ReadPackagesCombinedParams) WithHTTPClient ¶
func (o *ReadPackagesCombinedParams) WithHTTPClient(client *http.Client) *ReadPackagesCombinedParams
WithHTTPClient adds the HTTPClient to the read packages combined params
func (*ReadPackagesCombinedParams) WithLimit ¶
func (o *ReadPackagesCombinedParams) WithLimit(limit *int64) *ReadPackagesCombinedParams
WithLimit adds the limit to the read packages combined params
func (*ReadPackagesCombinedParams) WithOffset ¶
func (o *ReadPackagesCombinedParams) WithOffset(offset *int64) *ReadPackagesCombinedParams
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 ¶
func (o *ReadPackagesCombinedParams) WithSort(sort *string) *ReadPackagesCombinedParams
WithSort adds the sort to the read packages combined params
func (*ReadPackagesCombinedParams) WithTimeout ¶
func (o *ReadPackagesCombinedParams) WithTimeout(timeout time.Duration) *ReadPackagesCombinedParams
WithTimeout adds the timeout to the read packages combined params
func (*ReadPackagesCombinedParams) WriteToRequest ¶
func (o *ReadPackagesCombinedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadPackagesCombinedTooManyRequests) Code() int
Code gets the status code for the read packages combined too many requests response
func (*ReadPackagesCombinedTooManyRequests) Error ¶
func (o *ReadPackagesCombinedTooManyRequests) Error() string
func (*ReadPackagesCombinedTooManyRequests) GetPayload ¶
func (o *ReadPackagesCombinedTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadPackagesCombinedTooManyRequests) IsCode(code int) bool
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 ¶
func (o *ReadPackagesCombinedTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read packages combined too many requests response has a 2xx status code
func (*ReadPackagesCombinedTooManyRequests) String ¶
func (o *ReadPackagesCombinedTooManyRequests) String() 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 ¶
func (o *ReadPackagesCountByZeroDayForbidden) Code() int
Code gets the status code for the read packages count by zero day forbidden response
func (*ReadPackagesCountByZeroDayForbidden) Error ¶
func (o *ReadPackagesCountByZeroDayForbidden) Error() string
func (*ReadPackagesCountByZeroDayForbidden) GetPayload ¶
func (o *ReadPackagesCountByZeroDayForbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *ReadPackagesCountByZeroDayForbidden) IsCode(code int) bool
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 ¶
func (o *ReadPackagesCountByZeroDayForbidden) IsSuccess() bool
IsSuccess returns true when this read packages count by zero day forbidden response has a 2xx status code
func (*ReadPackagesCountByZeroDayForbidden) String ¶
func (o *ReadPackagesCountByZeroDayForbidden) String() 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 ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) Code() int
Code gets the status code for the read packages count by zero day internal server error response
func (*ReadPackagesCountByZeroDayInternalServerError) Error ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) Error() string
func (*ReadPackagesCountByZeroDayInternalServerError) GetPayload ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadPackagesCountByZeroDayInternalServerError) IsClientError ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) IsClientError() bool
IsClientError returns true when this read packages count by zero day internal server error response has a 4xx status code
func (*ReadPackagesCountByZeroDayInternalServerError) IsCode ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) IsCode(code int) bool
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 ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) IsRedirect() bool
IsRedirect returns true when this read packages count by zero day internal server error response has a 3xx status code
func (*ReadPackagesCountByZeroDayInternalServerError) IsServerError ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) IsServerError() bool
IsServerError returns true when this read packages count by zero day internal server error response has a 5xx status code
func (*ReadPackagesCountByZeroDayInternalServerError) IsSuccess ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) IsSuccess() bool
IsSuccess returns true when this read packages count by zero day internal server error response has a 2xx status code
func (*ReadPackagesCountByZeroDayInternalServerError) String ¶
func (o *ReadPackagesCountByZeroDayInternalServerError) String() 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 ¶
func (o *ReadPackagesCountByZeroDayOK) Code() int
Code gets the status code for the read packages count by zero day o k response
func (*ReadPackagesCountByZeroDayOK) Error ¶
func (o *ReadPackagesCountByZeroDayOK) Error() string
func (*ReadPackagesCountByZeroDayOK) GetPayload ¶
func (o *ReadPackagesCountByZeroDayOK) GetPayload() *models.CommonCountResponse
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 ¶
func (o *ReadPackagesCountByZeroDayOK) String() 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 ¶
func (o *ReadPackagesCountByZeroDayParams) SetContext(ctx context.Context)
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 ¶
func (o *ReadPackagesCountByZeroDayParams) WithContext(ctx context.Context) *ReadPackagesCountByZeroDayParams
WithContext adds the context to the read packages count by zero day params
func (*ReadPackagesCountByZeroDayParams) WithDefaults ¶
func (o *ReadPackagesCountByZeroDayParams) WithDefaults() *ReadPackagesCountByZeroDayParams
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 ¶
func (o *ReadPackagesCountByZeroDayParams) WithFilter(filter *string) *ReadPackagesCountByZeroDayParams
WithFilter adds the filter to the read packages count by zero day params
func (*ReadPackagesCountByZeroDayParams) WithHTTPClient ¶
func (o *ReadPackagesCountByZeroDayParams) WithHTTPClient(client *http.Client) *ReadPackagesCountByZeroDayParams
WithHTTPClient adds the HTTPClient to the read packages count by zero day params
func (*ReadPackagesCountByZeroDayParams) WithTimeout ¶
func (o *ReadPackagesCountByZeroDayParams) WithTimeout(timeout time.Duration) *ReadPackagesCountByZeroDayParams
WithTimeout adds the timeout to the read packages count by zero day params
func (*ReadPackagesCountByZeroDayParams) WriteToRequest ¶
func (o *ReadPackagesCountByZeroDayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) Code() int
Code gets the status code for the read packages count by zero day too many requests response
func (*ReadPackagesCountByZeroDayTooManyRequests) Error ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) Error() string
func (*ReadPackagesCountByZeroDayTooManyRequests) GetPayload ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPackagesCountByZeroDayTooManyRequests) IsClientError ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) IsClientError() bool
IsClientError returns true when this read packages count by zero day too many requests response has a 4xx status code
func (*ReadPackagesCountByZeroDayTooManyRequests) IsCode ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) IsCode(code int) bool
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 ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read packages count by zero day too many requests response has a 3xx status code
func (*ReadPackagesCountByZeroDayTooManyRequests) IsServerError ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) IsServerError() bool
IsServerError returns true when this read packages count by zero day too many requests response has a 5xx status code
func (*ReadPackagesCountByZeroDayTooManyRequests) IsSuccess ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read packages count by zero day too many requests response has a 2xx status code
func (*ReadPackagesCountByZeroDayTooManyRequests) String ¶
func (o *ReadPackagesCountByZeroDayTooManyRequests) String() string
Source Files ¶
- container_packages_client.go
- read_packages_by_fixable_vuln_count_parameters.go
- read_packages_by_fixable_vuln_count_responses.go
- read_packages_by_vuln_count_parameters.go
- read_packages_by_vuln_count_responses.go
- read_packages_combined_export_parameters.go
- read_packages_combined_export_responses.go
- read_packages_combined_parameters.go
- read_packages_combined_responses.go
- read_packages_count_by_zero_day_parameters.go
- read_packages_count_by_zero_day_responses.go