v1alpha1

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha1 provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Index

Constants

View Source
const ServerUrlApiv1 = "/api/v1"

ServerUrlApiv1 defines the Server URL for

Variables

This section is empty.

Functions

func NewCreateCatalogItemRequest

func NewCreateCatalogItemRequest(server string, catalog string, body CreateCatalogItemJSONRequestBody) (*http.Request, error)

NewCreateCatalogItemRequest calls the generic CreateCatalogItem builder with application/json body

func NewCreateCatalogItemRequestWithBody

func NewCreateCatalogItemRequestWithBody(server string, catalog string, contentType string, body io.Reader) (*http.Request, error)

NewCreateCatalogItemRequestWithBody generates requests for CreateCatalogItem with any type of body

func NewCreateCatalogRequest

func NewCreateCatalogRequest(server string, body CreateCatalogJSONRequestBody) (*http.Request, error)

NewCreateCatalogRequest calls the generic CreateCatalog builder with application/json body

func NewCreateCatalogRequestWithBody

func NewCreateCatalogRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateCatalogRequestWithBody generates requests for CreateCatalog with any type of body

func NewDeleteCatalogItemRequest

func NewDeleteCatalogItemRequest(server string, catalog string, name string) (*http.Request, error)

NewDeleteCatalogItemRequest generates requests for DeleteCatalogItem

func NewDeleteCatalogRequest

func NewDeleteCatalogRequest(server string, name string) (*http.Request, error)

NewDeleteCatalogRequest generates requests for DeleteCatalog

func NewGetCatalogItemRequest

func NewGetCatalogItemRequest(server string, catalog string, name string) (*http.Request, error)

NewGetCatalogItemRequest generates requests for GetCatalogItem

func NewGetCatalogRequest

func NewGetCatalogRequest(server string, name string) (*http.Request, error)

NewGetCatalogRequest generates requests for GetCatalog

func NewGetCatalogStatusRequest

func NewGetCatalogStatusRequest(server string, name string) (*http.Request, error)

NewGetCatalogStatusRequest generates requests for GetCatalogStatus

func NewGetDeviceVulnerabilitiesRequest added in v1.2.0

func NewGetDeviceVulnerabilitiesRequest(server string, name string, params *GetDeviceVulnerabilitiesParams) (*http.Request, error)

NewGetDeviceVulnerabilitiesRequest generates requests for GetDeviceVulnerabilities

func NewGetDeviceVulnerabilitySummaryRequest added in v1.2.0

func NewGetDeviceVulnerabilitySummaryRequest(server string, name string, params *GetDeviceVulnerabilitySummaryParams) (*http.Request, error)

NewGetDeviceVulnerabilitySummaryRequest generates requests for GetDeviceVulnerabilitySummary

func NewGetFleetVulnerabilitiesRequest added in v1.2.0

func NewGetFleetVulnerabilitiesRequest(server string, name string, params *GetFleetVulnerabilitiesParams) (*http.Request, error)

NewGetFleetVulnerabilitiesRequest generates requests for GetFleetVulnerabilities

func NewGetFleetVulnerabilitySummaryRequest added in v1.2.0

func NewGetFleetVulnerabilitySummaryRequest(server string, name string, params *GetFleetVulnerabilitySummaryParams) (*http.Request, error)

NewGetFleetVulnerabilitySummaryRequest generates requests for GetFleetVulnerabilitySummary

func NewGetVulnerabilityImpactRequest added in v1.2.0

func NewGetVulnerabilityImpactRequest(server string, cveId string, params *GetVulnerabilityImpactParams) (*http.Request, error)

NewGetVulnerabilityImpactRequest generates requests for GetVulnerabilityImpact

func NewGetVulnerabilitySummaryRequest added in v1.2.0

func NewGetVulnerabilitySummaryRequest(server string) (*http.Request, error)

NewGetVulnerabilitySummaryRequest generates requests for GetVulnerabilitySummary

func NewListAllCatalogItemsRequest

func NewListAllCatalogItemsRequest(server string, params *ListAllCatalogItemsParams) (*http.Request, error)

NewListAllCatalogItemsRequest generates requests for ListAllCatalogItems

func NewListCatalogItemsRequest

func NewListCatalogItemsRequest(server string, catalog string, params *ListCatalogItemsParams) (*http.Request, error)

NewListCatalogItemsRequest generates requests for ListCatalogItems

func NewListCatalogsRequest

func NewListCatalogsRequest(server string, params *ListCatalogsParams) (*http.Request, error)

NewListCatalogsRequest generates requests for ListCatalogs

func NewListVulnerabilitiesRequest added in v1.2.0

func NewListVulnerabilitiesRequest(server string, params *ListVulnerabilitiesParams) (*http.Request, error)

NewListVulnerabilitiesRequest generates requests for ListVulnerabilities

func NewPatchCatalogItemRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchCatalogItemRequestWithApplicationJSONPatchPlusJSONBody(server string, catalog string, name string, body PatchCatalogItemApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchCatalogItemRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchCatalogItem builder with application/json-patch+json body

func NewPatchCatalogItemRequestWithBody

func NewPatchCatalogItemRequestWithBody(server string, catalog string, name string, contentType string, body io.Reader) (*http.Request, error)

NewPatchCatalogItemRequestWithBody generates requests for PatchCatalogItem with any type of body

func NewPatchCatalogRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchCatalogRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchCatalogApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchCatalogRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchCatalog builder with application/json-patch+json body

func NewPatchCatalogRequestWithBody

func NewPatchCatalogRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewPatchCatalogRequestWithBody generates requests for PatchCatalog with any type of body

func NewPatchCatalogStatusRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchCatalogStatusRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchCatalogStatusApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchCatalogStatusRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchCatalogStatus builder with application/json-patch+json body

func NewPatchCatalogStatusRequestWithBody

func NewPatchCatalogStatusRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewPatchCatalogStatusRequestWithBody generates requests for PatchCatalogStatus with any type of body

func NewReplaceCatalogItemRequest

func NewReplaceCatalogItemRequest(server string, catalog string, name string, body ReplaceCatalogItemJSONRequestBody) (*http.Request, error)

NewReplaceCatalogItemRequest calls the generic ReplaceCatalogItem builder with application/json body

func NewReplaceCatalogItemRequestWithBody

func NewReplaceCatalogItemRequestWithBody(server string, catalog string, name string, contentType string, body io.Reader) (*http.Request, error)

NewReplaceCatalogItemRequestWithBody generates requests for ReplaceCatalogItem with any type of body

func NewReplaceCatalogRequest

func NewReplaceCatalogRequest(server string, name string, body ReplaceCatalogJSONRequestBody) (*http.Request, error)

NewReplaceCatalogRequest calls the generic ReplaceCatalog builder with application/json body

func NewReplaceCatalogRequestWithBody

func NewReplaceCatalogRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewReplaceCatalogRequestWithBody generates requests for ReplaceCatalog with any type of body

func NewReplaceCatalogStatusRequest

func NewReplaceCatalogStatusRequest(server string, name string, body ReplaceCatalogStatusJSONRequestBody) (*http.Request, error)

NewReplaceCatalogStatusRequest calls the generic ReplaceCatalogStatus builder with application/json body

func NewReplaceCatalogStatusRequestWithBody

func NewReplaceCatalogStatusRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewReplaceCatalogStatusRequestWithBody generates requests for ReplaceCatalogStatus with any type of body

Types

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateCatalog

func (c *Client) CreateCatalog(ctx context.Context, body CreateCatalogJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCatalogItem

func (c *Client) CreateCatalogItem(ctx context.Context, catalog string, body CreateCatalogItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCatalogItemWithBody

func (c *Client) CreateCatalogItemWithBody(ctx context.Context, catalog string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCatalogWithBody

func (c *Client) CreateCatalogWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCatalog

func (c *Client) DeleteCatalog(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCatalogItem

func (c *Client) DeleteCatalogItem(ctx context.Context, catalog string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCatalog

func (c *Client) GetCatalog(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCatalogItem

func (c *Client) GetCatalogItem(ctx context.Context, catalog string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCatalogStatus

func (c *Client) GetCatalogStatus(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDeviceVulnerabilities added in v1.2.0

func (c *Client) GetDeviceVulnerabilities(ctx context.Context, name string, params *GetDeviceVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDeviceVulnerabilitySummary added in v1.2.0

func (c *Client) GetDeviceVulnerabilitySummary(ctx context.Context, name string, params *GetDeviceVulnerabilitySummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetVulnerabilities added in v1.2.0

func (c *Client) GetFleetVulnerabilities(ctx context.Context, name string, params *GetFleetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetVulnerabilitySummary added in v1.2.0

func (c *Client) GetFleetVulnerabilitySummary(ctx context.Context, name string, params *GetFleetVulnerabilitySummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetVulnerabilityImpact added in v1.2.0

func (c *Client) GetVulnerabilityImpact(ctx context.Context, cveId string, params *GetVulnerabilityImpactParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetVulnerabilitySummary added in v1.2.0

func (c *Client) GetVulnerabilitySummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAllCatalogItems

func (c *Client) ListAllCatalogItems(ctx context.Context, params *ListAllCatalogItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCatalogItems

func (c *Client) ListCatalogItems(ctx context.Context, catalog string, params *ListCatalogItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCatalogs

func (c *Client) ListCatalogs(ctx context.Context, params *ListCatalogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListVulnerabilities added in v1.2.0

func (c *Client) ListVulnerabilities(ctx context.Context, params *ListVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCatalogItemWithApplicationJSONPatchPlusJSONBody

func (c *Client) PatchCatalogItemWithApplicationJSONPatchPlusJSONBody(ctx context.Context, catalog string, name string, body PatchCatalogItemApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCatalogItemWithBody

func (c *Client) PatchCatalogItemWithBody(ctx context.Context, catalog string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCatalogStatusWithApplicationJSONPatchPlusJSONBody

func (c *Client) PatchCatalogStatusWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, body PatchCatalogStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCatalogStatusWithBody

func (c *Client) PatchCatalogStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCatalogWithApplicationJSONPatchPlusJSONBody

func (c *Client) PatchCatalogWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, body PatchCatalogApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCatalogWithBody

func (c *Client) PatchCatalogWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceCatalog

func (c *Client) ReplaceCatalog(ctx context.Context, name string, body ReplaceCatalogJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceCatalogItem

func (c *Client) ReplaceCatalogItem(ctx context.Context, catalog string, name string, body ReplaceCatalogItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceCatalogItemWithBody

func (c *Client) ReplaceCatalogItemWithBody(ctx context.Context, catalog string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceCatalogStatus

func (c *Client) ReplaceCatalogStatus(ctx context.Context, name string, body ReplaceCatalogStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceCatalogStatusWithBody

func (c *Client) ReplaceCatalogStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceCatalogWithBody

func (c *Client) ReplaceCatalogWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListAllCatalogItems request
	ListAllCatalogItems(ctx context.Context, params *ListAllCatalogItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCatalogs request
	ListCatalogs(ctx context.Context, params *ListCatalogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCatalogWithBody request with any body
	CreateCatalogWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateCatalog(ctx context.Context, body CreateCatalogJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCatalogItems request
	ListCatalogItems(ctx context.Context, catalog string, params *ListCatalogItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCatalogItemWithBody request with any body
	CreateCatalogItemWithBody(ctx context.Context, catalog string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateCatalogItem(ctx context.Context, catalog string, body CreateCatalogItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCatalogItem request
	DeleteCatalogItem(ctx context.Context, catalog string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCatalogItem request
	GetCatalogItem(ctx context.Context, catalog string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchCatalogItemWithBody request with any body
	PatchCatalogItemWithBody(ctx context.Context, catalog string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchCatalogItemWithApplicationJSONPatchPlusJSONBody(ctx context.Context, catalog string, name string, body PatchCatalogItemApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceCatalogItemWithBody request with any body
	ReplaceCatalogItemWithBody(ctx context.Context, catalog string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceCatalogItem(ctx context.Context, catalog string, name string, body ReplaceCatalogItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCatalog request
	DeleteCatalog(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCatalog request
	GetCatalog(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchCatalogWithBody request with any body
	PatchCatalogWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchCatalogWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, body PatchCatalogApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceCatalogWithBody request with any body
	ReplaceCatalogWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceCatalog(ctx context.Context, name string, body ReplaceCatalogJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCatalogStatus request
	GetCatalogStatus(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchCatalogStatusWithBody request with any body
	PatchCatalogStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchCatalogStatusWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, body PatchCatalogStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceCatalogStatusWithBody request with any body
	ReplaceCatalogStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceCatalogStatus(ctx context.Context, name string, body ReplaceCatalogStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListVulnerabilities request
	ListVulnerabilities(ctx context.Context, params *ListVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVulnerabilityImpact request
	GetVulnerabilityImpact(ctx context.Context, cveId string, params *GetVulnerabilityImpactParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeviceVulnerabilities request
	GetDeviceVulnerabilities(ctx context.Context, name string, params *GetDeviceVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeviceVulnerabilitySummary request
	GetDeviceVulnerabilitySummary(ctx context.Context, name string, params *GetDeviceVulnerabilitySummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetVulnerabilities request
	GetFleetVulnerabilities(ctx context.Context, name string, params *GetFleetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetVulnerabilitySummary request
	GetFleetVulnerabilitySummary(ctx context.Context, name string, params *GetFleetVulnerabilitySummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVulnerabilitySummary request
	GetVulnerabilitySummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateCatalogItemWithBodyWithResponse

func (c *ClientWithResponses) CreateCatalogItemWithBodyWithResponse(ctx context.Context, catalog string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCatalogItemResponse, error)

CreateCatalogItemWithBodyWithResponse request with arbitrary body returning *CreateCatalogItemResponse

func (*ClientWithResponses) CreateCatalogItemWithResponse

func (c *ClientWithResponses) CreateCatalogItemWithResponse(ctx context.Context, catalog string, body CreateCatalogItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCatalogItemResponse, error)

func (*ClientWithResponses) CreateCatalogWithBodyWithResponse

func (c *ClientWithResponses) CreateCatalogWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCatalogResponse, error)

CreateCatalogWithBodyWithResponse request with arbitrary body returning *CreateCatalogResponse

func (*ClientWithResponses) CreateCatalogWithResponse

func (c *ClientWithResponses) CreateCatalogWithResponse(ctx context.Context, body CreateCatalogJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCatalogResponse, error)

func (*ClientWithResponses) DeleteCatalogItemWithResponse

func (c *ClientWithResponses) DeleteCatalogItemWithResponse(ctx context.Context, catalog string, name string, reqEditors ...RequestEditorFn) (*DeleteCatalogItemResponse, error)

DeleteCatalogItemWithResponse request returning *DeleteCatalogItemResponse

func (*ClientWithResponses) DeleteCatalogWithResponse

func (c *ClientWithResponses) DeleteCatalogWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteCatalogResponse, error)

DeleteCatalogWithResponse request returning *DeleteCatalogResponse

func (*ClientWithResponses) GetCatalogItemWithResponse

func (c *ClientWithResponses) GetCatalogItemWithResponse(ctx context.Context, catalog string, name string, reqEditors ...RequestEditorFn) (*GetCatalogItemResponse, error)

GetCatalogItemWithResponse request returning *GetCatalogItemResponse

func (*ClientWithResponses) GetCatalogStatusWithResponse

func (c *ClientWithResponses) GetCatalogStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetCatalogStatusResponse, error)

GetCatalogStatusWithResponse request returning *GetCatalogStatusResponse

func (*ClientWithResponses) GetCatalogWithResponse

func (c *ClientWithResponses) GetCatalogWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetCatalogResponse, error)

GetCatalogWithResponse request returning *GetCatalogResponse

func (*ClientWithResponses) GetDeviceVulnerabilitiesWithResponse added in v1.2.0

func (c *ClientWithResponses) GetDeviceVulnerabilitiesWithResponse(ctx context.Context, name string, params *GetDeviceVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*GetDeviceVulnerabilitiesResponse, error)

GetDeviceVulnerabilitiesWithResponse request returning *GetDeviceVulnerabilitiesResponse

func (*ClientWithResponses) GetDeviceVulnerabilitySummaryWithResponse added in v1.2.0

func (c *ClientWithResponses) GetDeviceVulnerabilitySummaryWithResponse(ctx context.Context, name string, params *GetDeviceVulnerabilitySummaryParams, reqEditors ...RequestEditorFn) (*GetDeviceVulnerabilitySummaryResponse, error)

GetDeviceVulnerabilitySummaryWithResponse request returning *GetDeviceVulnerabilitySummaryResponse

func (*ClientWithResponses) GetFleetVulnerabilitiesWithResponse added in v1.2.0

func (c *ClientWithResponses) GetFleetVulnerabilitiesWithResponse(ctx context.Context, name string, params *GetFleetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*GetFleetVulnerabilitiesResponse, error)

GetFleetVulnerabilitiesWithResponse request returning *GetFleetVulnerabilitiesResponse

func (*ClientWithResponses) GetFleetVulnerabilitySummaryWithResponse added in v1.2.0

func (c *ClientWithResponses) GetFleetVulnerabilitySummaryWithResponse(ctx context.Context, name string, params *GetFleetVulnerabilitySummaryParams, reqEditors ...RequestEditorFn) (*GetFleetVulnerabilitySummaryResponse, error)

GetFleetVulnerabilitySummaryWithResponse request returning *GetFleetVulnerabilitySummaryResponse

func (*ClientWithResponses) GetVulnerabilityImpactWithResponse added in v1.2.0

func (c *ClientWithResponses) GetVulnerabilityImpactWithResponse(ctx context.Context, cveId string, params *GetVulnerabilityImpactParams, reqEditors ...RequestEditorFn) (*GetVulnerabilityImpactResponse, error)

GetVulnerabilityImpactWithResponse request returning *GetVulnerabilityImpactResponse

func (*ClientWithResponses) GetVulnerabilitySummaryWithResponse added in v1.2.0

func (c *ClientWithResponses) GetVulnerabilitySummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVulnerabilitySummaryResponse, error)

GetVulnerabilitySummaryWithResponse request returning *GetVulnerabilitySummaryResponse

func (*ClientWithResponses) ListAllCatalogItemsWithResponse

func (c *ClientWithResponses) ListAllCatalogItemsWithResponse(ctx context.Context, params *ListAllCatalogItemsParams, reqEditors ...RequestEditorFn) (*ListAllCatalogItemsResponse, error)

ListAllCatalogItemsWithResponse request returning *ListAllCatalogItemsResponse

func (*ClientWithResponses) ListCatalogItemsWithResponse

func (c *ClientWithResponses) ListCatalogItemsWithResponse(ctx context.Context, catalog string, params *ListCatalogItemsParams, reqEditors ...RequestEditorFn) (*ListCatalogItemsResponse, error)

ListCatalogItemsWithResponse request returning *ListCatalogItemsResponse

func (*ClientWithResponses) ListCatalogsWithResponse

func (c *ClientWithResponses) ListCatalogsWithResponse(ctx context.Context, params *ListCatalogsParams, reqEditors ...RequestEditorFn) (*ListCatalogsResponse, error)

ListCatalogsWithResponse request returning *ListCatalogsResponse

func (*ClientWithResponses) ListVulnerabilitiesWithResponse added in v1.2.0

func (c *ClientWithResponses) ListVulnerabilitiesWithResponse(ctx context.Context, params *ListVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*ListVulnerabilitiesResponse, error)

ListVulnerabilitiesWithResponse request returning *ListVulnerabilitiesResponse

func (*ClientWithResponses) PatchCatalogItemWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchCatalogItemWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, catalog string, name string, body PatchCatalogItemApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCatalogItemResponse, error)

func (*ClientWithResponses) PatchCatalogItemWithBodyWithResponse

func (c *ClientWithResponses) PatchCatalogItemWithBodyWithResponse(ctx context.Context, catalog string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCatalogItemResponse, error)

PatchCatalogItemWithBodyWithResponse request with arbitrary body returning *PatchCatalogItemResponse

func (*ClientWithResponses) PatchCatalogStatusWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchCatalogStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchCatalogStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCatalogStatusResponse, error)

func (*ClientWithResponses) PatchCatalogStatusWithBodyWithResponse

func (c *ClientWithResponses) PatchCatalogStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCatalogStatusResponse, error)

PatchCatalogStatusWithBodyWithResponse request with arbitrary body returning *PatchCatalogStatusResponse

func (*ClientWithResponses) PatchCatalogWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchCatalogWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchCatalogApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCatalogResponse, error)

func (*ClientWithResponses) PatchCatalogWithBodyWithResponse

func (c *ClientWithResponses) PatchCatalogWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCatalogResponse, error)

PatchCatalogWithBodyWithResponse request with arbitrary body returning *PatchCatalogResponse

func (*ClientWithResponses) ReplaceCatalogItemWithBodyWithResponse

func (c *ClientWithResponses) ReplaceCatalogItemWithBodyWithResponse(ctx context.Context, catalog string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceCatalogItemResponse, error)

ReplaceCatalogItemWithBodyWithResponse request with arbitrary body returning *ReplaceCatalogItemResponse

func (*ClientWithResponses) ReplaceCatalogItemWithResponse

func (c *ClientWithResponses) ReplaceCatalogItemWithResponse(ctx context.Context, catalog string, name string, body ReplaceCatalogItemJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceCatalogItemResponse, error)

func (*ClientWithResponses) ReplaceCatalogStatusWithBodyWithResponse

func (c *ClientWithResponses) ReplaceCatalogStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceCatalogStatusResponse, error)

ReplaceCatalogStatusWithBodyWithResponse request with arbitrary body returning *ReplaceCatalogStatusResponse

func (*ClientWithResponses) ReplaceCatalogStatusWithResponse

func (c *ClientWithResponses) ReplaceCatalogStatusWithResponse(ctx context.Context, name string, body ReplaceCatalogStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceCatalogStatusResponse, error)

func (*ClientWithResponses) ReplaceCatalogWithBodyWithResponse

func (c *ClientWithResponses) ReplaceCatalogWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceCatalogResponse, error)

ReplaceCatalogWithBodyWithResponse request with arbitrary body returning *ReplaceCatalogResponse

func (*ClientWithResponses) ReplaceCatalogWithResponse

func (c *ClientWithResponses) ReplaceCatalogWithResponse(ctx context.Context, name string, body ReplaceCatalogJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceCatalogResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListAllCatalogItemsWithResponse request
	ListAllCatalogItemsWithResponse(ctx context.Context, params *ListAllCatalogItemsParams, reqEditors ...RequestEditorFn) (*ListAllCatalogItemsResponse, error)

	// ListCatalogsWithResponse request
	ListCatalogsWithResponse(ctx context.Context, params *ListCatalogsParams, reqEditors ...RequestEditorFn) (*ListCatalogsResponse, error)

	// CreateCatalogWithBodyWithResponse request with any body
	CreateCatalogWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCatalogResponse, error)

	CreateCatalogWithResponse(ctx context.Context, body CreateCatalogJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCatalogResponse, error)

	// ListCatalogItemsWithResponse request
	ListCatalogItemsWithResponse(ctx context.Context, catalog string, params *ListCatalogItemsParams, reqEditors ...RequestEditorFn) (*ListCatalogItemsResponse, error)

	// CreateCatalogItemWithBodyWithResponse request with any body
	CreateCatalogItemWithBodyWithResponse(ctx context.Context, catalog string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCatalogItemResponse, error)

	CreateCatalogItemWithResponse(ctx context.Context, catalog string, body CreateCatalogItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCatalogItemResponse, error)

	// DeleteCatalogItemWithResponse request
	DeleteCatalogItemWithResponse(ctx context.Context, catalog string, name string, reqEditors ...RequestEditorFn) (*DeleteCatalogItemResponse, error)

	// GetCatalogItemWithResponse request
	GetCatalogItemWithResponse(ctx context.Context, catalog string, name string, reqEditors ...RequestEditorFn) (*GetCatalogItemResponse, error)

	// PatchCatalogItemWithBodyWithResponse request with any body
	PatchCatalogItemWithBodyWithResponse(ctx context.Context, catalog string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCatalogItemResponse, error)

	PatchCatalogItemWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, catalog string, name string, body PatchCatalogItemApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCatalogItemResponse, error)

	// ReplaceCatalogItemWithBodyWithResponse request with any body
	ReplaceCatalogItemWithBodyWithResponse(ctx context.Context, catalog string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceCatalogItemResponse, error)

	ReplaceCatalogItemWithResponse(ctx context.Context, catalog string, name string, body ReplaceCatalogItemJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceCatalogItemResponse, error)

	// DeleteCatalogWithResponse request
	DeleteCatalogWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteCatalogResponse, error)

	// GetCatalogWithResponse request
	GetCatalogWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetCatalogResponse, error)

	// PatchCatalogWithBodyWithResponse request with any body
	PatchCatalogWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCatalogResponse, error)

	PatchCatalogWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchCatalogApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCatalogResponse, error)

	// ReplaceCatalogWithBodyWithResponse request with any body
	ReplaceCatalogWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceCatalogResponse, error)

	ReplaceCatalogWithResponse(ctx context.Context, name string, body ReplaceCatalogJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceCatalogResponse, error)

	// GetCatalogStatusWithResponse request
	GetCatalogStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetCatalogStatusResponse, error)

	// PatchCatalogStatusWithBodyWithResponse request with any body
	PatchCatalogStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCatalogStatusResponse, error)

	PatchCatalogStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchCatalogStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCatalogStatusResponse, error)

	// ReplaceCatalogStatusWithBodyWithResponse request with any body
	ReplaceCatalogStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceCatalogStatusResponse, error)

	ReplaceCatalogStatusWithResponse(ctx context.Context, name string, body ReplaceCatalogStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceCatalogStatusResponse, error)

	// ListVulnerabilitiesWithResponse request
	ListVulnerabilitiesWithResponse(ctx context.Context, params *ListVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*ListVulnerabilitiesResponse, error)

	// GetVulnerabilityImpactWithResponse request
	GetVulnerabilityImpactWithResponse(ctx context.Context, cveId string, params *GetVulnerabilityImpactParams, reqEditors ...RequestEditorFn) (*GetVulnerabilityImpactResponse, error)

	// GetDeviceVulnerabilitiesWithResponse request
	GetDeviceVulnerabilitiesWithResponse(ctx context.Context, name string, params *GetDeviceVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*GetDeviceVulnerabilitiesResponse, error)

	// GetDeviceVulnerabilitySummaryWithResponse request
	GetDeviceVulnerabilitySummaryWithResponse(ctx context.Context, name string, params *GetDeviceVulnerabilitySummaryParams, reqEditors ...RequestEditorFn) (*GetDeviceVulnerabilitySummaryResponse, error)

	// GetFleetVulnerabilitiesWithResponse request
	GetFleetVulnerabilitiesWithResponse(ctx context.Context, name string, params *GetFleetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*GetFleetVulnerabilitiesResponse, error)

	// GetFleetVulnerabilitySummaryWithResponse request
	GetFleetVulnerabilitySummaryWithResponse(ctx context.Context, name string, params *GetFleetVulnerabilitySummaryParams, reqEditors ...RequestEditorFn) (*GetFleetVulnerabilitySummaryResponse, error)

	// GetVulnerabilitySummaryWithResponse request
	GetVulnerabilitySummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVulnerabilitySummaryResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateCatalogItemResponse

type CreateCatalogItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CatalogItem
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON409      *Status
	JSON503      *Status
}

func ParseCreateCatalogItemResponse

func ParseCreateCatalogItemResponse(rsp *http.Response) (*CreateCatalogItemResponse, error)

ParseCreateCatalogItemResponse parses an HTTP response from a CreateCatalogItemWithResponse call

func (CreateCatalogItemResponse) Status

func (r CreateCatalogItemResponse) Status() string

Status returns HTTPResponse.Status

func (CreateCatalogItemResponse) StatusCode

func (r CreateCatalogItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCatalogResponse

type CreateCatalogResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Catalog
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON409      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseCreateCatalogResponse

func ParseCreateCatalogResponse(rsp *http.Response) (*CreateCatalogResponse, error)

ParseCreateCatalogResponse parses an HTTP response from a CreateCatalogWithResponse call

func (CreateCatalogResponse) Status

func (r CreateCatalogResponse) Status() string

Status returns HTTPResponse.Status

func (CreateCatalogResponse) StatusCode

func (r CreateCatalogResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCatalogItemResponse

type DeleteCatalogItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Status
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON503      *Status
}

func ParseDeleteCatalogItemResponse

func ParseDeleteCatalogItemResponse(rsp *http.Response) (*DeleteCatalogItemResponse, error)

ParseDeleteCatalogItemResponse parses an HTTP response from a DeleteCatalogItemWithResponse call

func (DeleteCatalogItemResponse) Status

func (r DeleteCatalogItemResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteCatalogItemResponse) StatusCode

func (r DeleteCatalogItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCatalogResponse

type DeleteCatalogResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Status
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON409      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseDeleteCatalogResponse

func ParseDeleteCatalogResponse(rsp *http.Response) (*DeleteCatalogResponse, error)

ParseDeleteCatalogResponse parses an HTTP response from a DeleteCatalogWithResponse call

func (DeleteCatalogResponse) Status

func (r DeleteCatalogResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteCatalogResponse) StatusCode

func (r DeleteCatalogResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCatalogItemResponse

type GetCatalogItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogItem
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON503      *Status
}

func ParseGetCatalogItemResponse

func ParseGetCatalogItemResponse(rsp *http.Response) (*GetCatalogItemResponse, error)

ParseGetCatalogItemResponse parses an HTTP response from a GetCatalogItemWithResponse call

func (GetCatalogItemResponse) Status

func (r GetCatalogItemResponse) Status() string

Status returns HTTPResponse.Status

func (GetCatalogItemResponse) StatusCode

func (r GetCatalogItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCatalogResponse

type GetCatalogResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Catalog
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseGetCatalogResponse

func ParseGetCatalogResponse(rsp *http.Response) (*GetCatalogResponse, error)

ParseGetCatalogResponse parses an HTTP response from a GetCatalogWithResponse call

func (GetCatalogResponse) Status

func (r GetCatalogResponse) Status() string

Status returns HTTPResponse.Status

func (GetCatalogResponse) StatusCode

func (r GetCatalogResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCatalogStatusResponse

type GetCatalogStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Catalog
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseGetCatalogStatusResponse

func ParseGetCatalogStatusResponse(rsp *http.Response) (*GetCatalogStatusResponse, error)

ParseGetCatalogStatusResponse parses an HTTP response from a GetCatalogStatusWithResponse call

func (GetCatalogStatusResponse) Status

func (r GetCatalogStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetCatalogStatusResponse) StatusCode

func (r GetCatalogStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeviceVulnerabilitiesResponse added in v1.2.0

type GetDeviceVulnerabilitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *VulnerabilityList
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON429      *Status
	JSON501      *Status
}

func ParseGetDeviceVulnerabilitiesResponse added in v1.2.0

func ParseGetDeviceVulnerabilitiesResponse(rsp *http.Response) (*GetDeviceVulnerabilitiesResponse, error)

ParseGetDeviceVulnerabilitiesResponse parses an HTTP response from a GetDeviceVulnerabilitiesWithResponse call

func (GetDeviceVulnerabilitiesResponse) Status added in v1.2.0

Status returns HTTPResponse.Status

func (GetDeviceVulnerabilitiesResponse) StatusCode added in v1.2.0

func (r GetDeviceVulnerabilitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeviceVulnerabilitySummaryResponse added in v1.2.0

type GetDeviceVulnerabilitySummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeviceVulnerabilitySummaryResponse
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON429      *Status
	JSON501      *Status
}

func ParseGetDeviceVulnerabilitySummaryResponse added in v1.2.0

func ParseGetDeviceVulnerabilitySummaryResponse(rsp *http.Response) (*GetDeviceVulnerabilitySummaryResponse, error)

ParseGetDeviceVulnerabilitySummaryResponse parses an HTTP response from a GetDeviceVulnerabilitySummaryWithResponse call

func (GetDeviceVulnerabilitySummaryResponse) Status added in v1.2.0

Status returns HTTPResponse.Status

func (GetDeviceVulnerabilitySummaryResponse) StatusCode added in v1.2.0

StatusCode returns HTTPResponse.StatusCode

type GetFleetVulnerabilitiesResponse added in v1.2.0

type GetFleetVulnerabilitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *VulnerabilityGroupList
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON429      *Status
	JSON501      *Status
}

func ParseGetFleetVulnerabilitiesResponse added in v1.2.0

func ParseGetFleetVulnerabilitiesResponse(rsp *http.Response) (*GetFleetVulnerabilitiesResponse, error)

ParseGetFleetVulnerabilitiesResponse parses an HTTP response from a GetFleetVulnerabilitiesWithResponse call

func (GetFleetVulnerabilitiesResponse) Status added in v1.2.0

Status returns HTTPResponse.Status

func (GetFleetVulnerabilitiesResponse) StatusCode added in v1.2.0

func (r GetFleetVulnerabilitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFleetVulnerabilitySummaryResponse added in v1.2.0

type GetFleetVulnerabilitySummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FleetVulnerabilitySummaryResponse
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON429      *Status
	JSON501      *Status
}

func ParseGetFleetVulnerabilitySummaryResponse added in v1.2.0

func ParseGetFleetVulnerabilitySummaryResponse(rsp *http.Response) (*GetFleetVulnerabilitySummaryResponse, error)

ParseGetFleetVulnerabilitySummaryResponse parses an HTTP response from a GetFleetVulnerabilitySummaryWithResponse call

func (GetFleetVulnerabilitySummaryResponse) Status added in v1.2.0

Status returns HTTPResponse.Status

func (GetFleetVulnerabilitySummaryResponse) StatusCode added in v1.2.0

StatusCode returns HTTPResponse.StatusCode

type GetVulnerabilityImpactResponse added in v1.2.0

type GetVulnerabilityImpactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *VulnerabilityImpact
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON429      *Status
	JSON501      *Status
}

func ParseGetVulnerabilityImpactResponse added in v1.2.0

func ParseGetVulnerabilityImpactResponse(rsp *http.Response) (*GetVulnerabilityImpactResponse, error)

ParseGetVulnerabilityImpactResponse parses an HTTP response from a GetVulnerabilityImpactWithResponse call

func (GetVulnerabilityImpactResponse) Status added in v1.2.0

Status returns HTTPResponse.Status

func (GetVulnerabilityImpactResponse) StatusCode added in v1.2.0

func (r GetVulnerabilityImpactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVulnerabilitySummaryResponse added in v1.2.0

type GetVulnerabilitySummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *VulnerabilitySummaryResponse
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON429      *Status
	JSON501      *Status
}

func ParseGetVulnerabilitySummaryResponse added in v1.2.0

func ParseGetVulnerabilitySummaryResponse(rsp *http.Response) (*GetVulnerabilitySummaryResponse, error)

ParseGetVulnerabilitySummaryResponse parses an HTTP response from a GetVulnerabilitySummaryWithResponse call

func (GetVulnerabilitySummaryResponse) Status added in v1.2.0

Status returns HTTPResponse.Status

func (GetVulnerabilitySummaryResponse) StatusCode added in v1.2.0

func (r GetVulnerabilitySummaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListAllCatalogItemsResponse

type ListAllCatalogItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogItemList
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseListAllCatalogItemsResponse

func ParseListAllCatalogItemsResponse(rsp *http.Response) (*ListAllCatalogItemsResponse, error)

ParseListAllCatalogItemsResponse parses an HTTP response from a ListAllCatalogItemsWithResponse call

func (ListAllCatalogItemsResponse) Status

Status returns HTTPResponse.Status

func (ListAllCatalogItemsResponse) StatusCode

func (r ListAllCatalogItemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCatalogItemsResponse

type ListCatalogItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogItemList
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseListCatalogItemsResponse

func ParseListCatalogItemsResponse(rsp *http.Response) (*ListCatalogItemsResponse, error)

ParseListCatalogItemsResponse parses an HTTP response from a ListCatalogItemsWithResponse call

func (ListCatalogItemsResponse) Status

func (r ListCatalogItemsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCatalogItemsResponse) StatusCode

func (r ListCatalogItemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCatalogsResponse

type ListCatalogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogList
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseListCatalogsResponse

func ParseListCatalogsResponse(rsp *http.Response) (*ListCatalogsResponse, error)

ParseListCatalogsResponse parses an HTTP response from a ListCatalogsWithResponse call

func (ListCatalogsResponse) Status

func (r ListCatalogsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCatalogsResponse) StatusCode

func (r ListCatalogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListVulnerabilitiesResponse added in v1.2.0

type ListVulnerabilitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *VulnerabilityGroupList
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON429      *Status
	JSON501      *Status
	JSON503      *Status
}

func ParseListVulnerabilitiesResponse added in v1.2.0

func ParseListVulnerabilitiesResponse(rsp *http.Response) (*ListVulnerabilitiesResponse, error)

ParseListVulnerabilitiesResponse parses an HTTP response from a ListVulnerabilitiesWithResponse call

func (ListVulnerabilitiesResponse) Status added in v1.2.0

Status returns HTTPResponse.Status

func (ListVulnerabilitiesResponse) StatusCode added in v1.2.0

func (r ListVulnerabilitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchCatalogItemResponse

type PatchCatalogItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogItem
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON409      *Status
	JSON503      *Status
}

func ParsePatchCatalogItemResponse

func ParsePatchCatalogItemResponse(rsp *http.Response) (*PatchCatalogItemResponse, error)

ParsePatchCatalogItemResponse parses an HTTP response from a PatchCatalogItemWithResponse call

func (PatchCatalogItemResponse) Status

func (r PatchCatalogItemResponse) Status() string

Status returns HTTPResponse.Status

func (PatchCatalogItemResponse) StatusCode

func (r PatchCatalogItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchCatalogResponse

type PatchCatalogResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Catalog
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON409      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParsePatchCatalogResponse

func ParsePatchCatalogResponse(rsp *http.Response) (*PatchCatalogResponse, error)

ParsePatchCatalogResponse parses an HTTP response from a PatchCatalogWithResponse call

func (PatchCatalogResponse) Status

func (r PatchCatalogResponse) Status() string

Status returns HTTPResponse.Status

func (PatchCatalogResponse) StatusCode

func (r PatchCatalogResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchCatalogStatusResponse

type PatchCatalogStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Catalog
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParsePatchCatalogStatusResponse

func ParsePatchCatalogStatusResponse(rsp *http.Response) (*PatchCatalogStatusResponse, error)

ParsePatchCatalogStatusResponse parses an HTTP response from a PatchCatalogStatusWithResponse call

func (PatchCatalogStatusResponse) Status

Status returns HTTPResponse.Status

func (PatchCatalogStatusResponse) StatusCode

func (r PatchCatalogStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceCatalogItemResponse

type ReplaceCatalogItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogItem
	JSON201      *CatalogItem
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON409      *Status
	JSON503      *Status
}

func ParseReplaceCatalogItemResponse

func ParseReplaceCatalogItemResponse(rsp *http.Response) (*ReplaceCatalogItemResponse, error)

ParseReplaceCatalogItemResponse parses an HTTP response from a ReplaceCatalogItemWithResponse call

func (ReplaceCatalogItemResponse) Status

Status returns HTTPResponse.Status

func (ReplaceCatalogItemResponse) StatusCode

func (r ReplaceCatalogItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceCatalogResponse

type ReplaceCatalogResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Catalog
	JSON201      *Catalog
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON409      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseReplaceCatalogResponse

func ParseReplaceCatalogResponse(rsp *http.Response) (*ReplaceCatalogResponse, error)

ParseReplaceCatalogResponse parses an HTTP response from a ReplaceCatalogWithResponse call

func (ReplaceCatalogResponse) Status

func (r ReplaceCatalogResponse) Status() string

Status returns HTTPResponse.Status

func (ReplaceCatalogResponse) StatusCode

func (r ReplaceCatalogResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceCatalogStatusResponse

type ReplaceCatalogStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Catalog
	JSON400      *Status
	JSON401      *Status
	JSON403      *Status
	JSON404      *Status
	JSON409      *Status
	JSON429      *Status
	JSON503      *Status
}

func ParseReplaceCatalogStatusResponse

func ParseReplaceCatalogStatusResponse(rsp *http.Response) (*ReplaceCatalogStatusResponse, error)

ParseReplaceCatalogStatusResponse parses an HTTP response from a ReplaceCatalogStatusWithResponse call

func (ReplaceCatalogStatusResponse) Status

Status returns HTTPResponse.Status

func (ReplaceCatalogStatusResponse) StatusCode

func (r ReplaceCatalogStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

Jump to

Keyboard shortcuts

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