client

package
v0.5.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApproveEnrollmentRequestRequest

func NewApproveEnrollmentRequestRequest(server string, name string, body ApproveEnrollmentRequestJSONRequestBody) (*http.Request, error)

NewApproveEnrollmentRequestRequest calls the generic ApproveEnrollmentRequest builder with application/json body

func NewApproveEnrollmentRequestRequestWithBody

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

NewApproveEnrollmentRequestRequestWithBody generates requests for ApproveEnrollmentRequest with any type of body

func NewAuthConfigRequest

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

NewAuthConfigRequest generates requests for AuthConfig

func NewAuthValidateRequest

func NewAuthValidateRequest(server string, params *AuthValidateParams) (*http.Request, error)

NewAuthValidateRequest generates requests for AuthValidate

func NewCreateCertificateSigningRequestRequest

func NewCreateCertificateSigningRequestRequest(server string, body CreateCertificateSigningRequestJSONRequestBody) (*http.Request, error)

NewCreateCertificateSigningRequestRequest calls the generic CreateCertificateSigningRequest builder with application/json body

func NewCreateCertificateSigningRequestRequestWithBody

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

NewCreateCertificateSigningRequestRequestWithBody generates requests for CreateCertificateSigningRequest with any type of body

func NewCreateDeviceRequest

func NewCreateDeviceRequest(server string, body CreateDeviceJSONRequestBody) (*http.Request, error)

NewCreateDeviceRequest calls the generic CreateDevice builder with application/json body

func NewCreateDeviceRequestWithBody

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

NewCreateDeviceRequestWithBody generates requests for CreateDevice with any type of body

func NewCreateEnrollmentRequestRequest

func NewCreateEnrollmentRequestRequest(server string, body CreateEnrollmentRequestJSONRequestBody) (*http.Request, error)

NewCreateEnrollmentRequestRequest calls the generic CreateEnrollmentRequest builder with application/json body

func NewCreateEnrollmentRequestRequestWithBody

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

NewCreateEnrollmentRequestRequestWithBody generates requests for CreateEnrollmentRequest with any type of body

func NewCreateFleetRequest

func NewCreateFleetRequest(server string, body CreateFleetJSONRequestBody) (*http.Request, error)

NewCreateFleetRequest calls the generic CreateFleet builder with application/json body

func NewCreateFleetRequestWithBody

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

NewCreateFleetRequestWithBody generates requests for CreateFleet with any type of body

func NewCreateRepositoryRequest

func NewCreateRepositoryRequest(server string, body CreateRepositoryJSONRequestBody) (*http.Request, error)

NewCreateRepositoryRequest calls the generic CreateRepository builder with application/json body

func NewCreateRepositoryRequestWithBody

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

NewCreateRepositoryRequestWithBody generates requests for CreateRepository with any type of body

func NewCreateResourceSyncRequest

func NewCreateResourceSyncRequest(server string, body CreateResourceSyncJSONRequestBody) (*http.Request, error)

NewCreateResourceSyncRequest calls the generic CreateResourceSync builder with application/json body

func NewCreateResourceSyncRequestWithBody

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

NewCreateResourceSyncRequestWithBody generates requests for CreateResourceSync with any type of body

func NewDecommissionDeviceRequest added in v0.4.0

func NewDecommissionDeviceRequest(server string, name string, body DecommissionDeviceJSONRequestBody) (*http.Request, error)

NewDecommissionDeviceRequest calls the generic DecommissionDevice builder with application/json body

func NewDecommissionDeviceRequestWithBody added in v0.4.0

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

NewDecommissionDeviceRequestWithBody generates requests for DecommissionDevice with any type of body

func NewDeleteCertificateSigningRequestRequest

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

NewDeleteCertificateSigningRequestRequest generates requests for DeleteCertificateSigningRequest

func NewDeleteCertificateSigningRequestsRequest

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

NewDeleteCertificateSigningRequestsRequest generates requests for DeleteCertificateSigningRequests

func NewDeleteDeviceRequest

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

NewDeleteDeviceRequest generates requests for DeleteDevice

func NewDeleteDevicesRequest

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

NewDeleteDevicesRequest generates requests for DeleteDevices

func NewDeleteEnrollmentRequestRequest

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

NewDeleteEnrollmentRequestRequest generates requests for DeleteEnrollmentRequest

func NewDeleteEnrollmentRequestsRequest

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

NewDeleteEnrollmentRequestsRequest generates requests for DeleteEnrollmentRequests

func NewDeleteFleetRequest

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

NewDeleteFleetRequest generates requests for DeleteFleet

func NewDeleteFleetsRequest

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

NewDeleteFleetsRequest generates requests for DeleteFleets

func NewDeleteRepositoriesRequest

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

NewDeleteRepositoriesRequest generates requests for DeleteRepositories

func NewDeleteRepositoryRequest

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

NewDeleteRepositoryRequest generates requests for DeleteRepository

func NewDeleteResourceSyncRequest

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

NewDeleteResourceSyncRequest generates requests for DeleteResourceSync

func NewDeleteResourceSyncsRequest

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

NewDeleteResourceSyncsRequest generates requests for DeleteResourceSyncs

func NewDeleteTemplateVersionRequest

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

NewDeleteTemplateVersionRequest generates requests for DeleteTemplateVersion

func NewDeleteTemplateVersionsRequest

func NewDeleteTemplateVersionsRequest(server string, fleet string) (*http.Request, error)

NewDeleteTemplateVersionsRequest generates requests for DeleteTemplateVersions

func NewGetEnrollmentConfigRequest added in v0.4.0

func NewGetEnrollmentConfigRequest(server string, params *GetEnrollmentConfigParams) (*http.Request, error)

NewGetEnrollmentConfigRequest generates requests for GetEnrollmentConfig

func NewGetRenderedDeviceRequest added in v0.5.0

func NewGetRenderedDeviceRequest(server string, name string, params *GetRenderedDeviceParams) (*http.Request, error)

NewGetRenderedDeviceRequest generates requests for GetRenderedDevice

func NewGetVersionRequest added in v0.4.0

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

NewGetVersionRequest generates requests for GetVersion

func NewListCertificateSigningRequestsRequest

func NewListCertificateSigningRequestsRequest(server string, params *ListCertificateSigningRequestsParams) (*http.Request, error)

NewListCertificateSigningRequestsRequest generates requests for ListCertificateSigningRequests

func NewListDevicesRequest

func NewListDevicesRequest(server string, params *ListDevicesParams) (*http.Request, error)

NewListDevicesRequest generates requests for ListDevices

func NewListEnrollmentRequestsRequest

func NewListEnrollmentRequestsRequest(server string, params *ListEnrollmentRequestsParams) (*http.Request, error)

NewListEnrollmentRequestsRequest generates requests for ListEnrollmentRequests

func NewListFleetsRequest

func NewListFleetsRequest(server string, params *ListFleetsParams) (*http.Request, error)

NewListFleetsRequest generates requests for ListFleets

func NewListRepositoriesRequest

func NewListRepositoriesRequest(server string, params *ListRepositoriesParams) (*http.Request, error)

NewListRepositoriesRequest generates requests for ListRepositories

func NewListResourceSyncRequest

func NewListResourceSyncRequest(server string, params *ListResourceSyncParams) (*http.Request, error)

NewListResourceSyncRequest generates requests for ListResourceSync

func NewListTemplateVersionsRequest

func NewListTemplateVersionsRequest(server string, fleet string, params *ListTemplateVersionsParams) (*http.Request, error)

NewListTemplateVersionsRequest generates requests for ListTemplateVersions

func NewPatchCertificateSigningRequestRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchCertificateSigningRequestRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchCertificateSigningRequestApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchCertificateSigningRequestRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchCertificateSigningRequest builder with application/json-patch+json body

func NewPatchCertificateSigningRequestRequestWithBody

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

NewPatchCertificateSigningRequestRequestWithBody generates requests for PatchCertificateSigningRequest with any type of body

func NewPatchDeviceRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchDeviceRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchDeviceApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchDeviceRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchDevice builder with application/json-patch+json body

func NewPatchDeviceRequestWithBody

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

NewPatchDeviceRequestWithBody generates requests for PatchDevice with any type of body

func NewPatchDeviceStatusRequestWithApplicationJSONPatchPlusJSONBody added in v0.4.0

func NewPatchDeviceStatusRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchDeviceStatusApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchDeviceStatusRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchDeviceStatus builder with application/json-patch+json body

func NewPatchDeviceStatusRequestWithBody added in v0.4.0

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

NewPatchDeviceStatusRequestWithBody generates requests for PatchDeviceStatus with any type of body

func NewPatchEnrollmentRequestRequestWithApplicationJSONPatchPlusJSONBody added in v0.4.0

func NewPatchEnrollmentRequestRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchEnrollmentRequestApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchEnrollmentRequestRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchEnrollmentRequest builder with application/json-patch+json body

func NewPatchEnrollmentRequestRequestWithBody added in v0.4.0

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

NewPatchEnrollmentRequestRequestWithBody generates requests for PatchEnrollmentRequest with any type of body

func NewPatchEnrollmentRequestStatusRequestWithApplicationJSONPatchPlusJSONBody added in v0.4.0

func NewPatchEnrollmentRequestStatusRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchEnrollmentRequestStatusApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchEnrollmentRequestStatusRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchEnrollmentRequestStatus builder with application/json-patch+json body

func NewPatchEnrollmentRequestStatusRequestWithBody added in v0.4.0

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

NewPatchEnrollmentRequestStatusRequestWithBody generates requests for PatchEnrollmentRequestStatus with any type of body

func NewPatchFleetRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchFleetRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchFleetApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchFleetRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchFleet builder with application/json-patch+json body

func NewPatchFleetRequestWithBody

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

NewPatchFleetRequestWithBody generates requests for PatchFleet with any type of body

func NewPatchFleetStatusRequestWithApplicationJSONPatchPlusJSONBody added in v0.4.0

func NewPatchFleetStatusRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchFleetStatusApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchFleetStatusRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchFleetStatus builder with application/json-patch+json body

func NewPatchFleetStatusRequestWithBody added in v0.4.0

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

NewPatchFleetStatusRequestWithBody generates requests for PatchFleetStatus with any type of body

func NewPatchRepositoryRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchRepositoryRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchRepositoryApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchRepositoryRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchRepository builder with application/json-patch+json body

func NewPatchRepositoryRequestWithBody

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

NewPatchRepositoryRequestWithBody generates requests for PatchRepository with any type of body

func NewPatchResourceSyncRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchResourceSyncRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchResourceSyncApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchResourceSyncRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchResourceSync builder with application/json-patch+json body

func NewPatchResourceSyncRequestWithBody

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

NewPatchResourceSyncRequestWithBody generates requests for PatchResourceSync with any type of body

func NewReadCertificateSigningRequestRequest

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

NewReadCertificateSigningRequestRequest generates requests for ReadCertificateSigningRequest

func NewReadDeviceRequest

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

NewReadDeviceRequest generates requests for ReadDevice

func NewReadDeviceStatusRequest

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

NewReadDeviceStatusRequest generates requests for ReadDeviceStatus

func NewReadEnrollmentRequestRequest

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

NewReadEnrollmentRequestRequest generates requests for ReadEnrollmentRequest

func NewReadEnrollmentRequestStatusRequest

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

NewReadEnrollmentRequestStatusRequest generates requests for ReadEnrollmentRequestStatus

func NewReadFleetRequest

func NewReadFleetRequest(server string, name string, params *ReadFleetParams) (*http.Request, error)

NewReadFleetRequest generates requests for ReadFleet

func NewReadFleetStatusRequest

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

NewReadFleetStatusRequest generates requests for ReadFleetStatus

func NewReadRepositoryRequest

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

NewReadRepositoryRequest generates requests for ReadRepository

func NewReadResourceSyncRequest

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

NewReadResourceSyncRequest generates requests for ReadResourceSync

func NewReadTemplateVersionRequest

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

NewReadTemplateVersionRequest generates requests for ReadTemplateVersion

func NewReplaceCertificateSigningRequestRequest

func NewReplaceCertificateSigningRequestRequest(server string, name string, body ReplaceCertificateSigningRequestJSONRequestBody) (*http.Request, error)

NewReplaceCertificateSigningRequestRequest calls the generic ReplaceCertificateSigningRequest builder with application/json body

func NewReplaceCertificateSigningRequestRequestWithBody

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

NewReplaceCertificateSigningRequestRequestWithBody generates requests for ReplaceCertificateSigningRequest with any type of body

func NewReplaceDeviceRequest

func NewReplaceDeviceRequest(server string, name string, body ReplaceDeviceJSONRequestBody) (*http.Request, error)

NewReplaceDeviceRequest calls the generic ReplaceDevice builder with application/json body

func NewReplaceDeviceRequestWithBody

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

NewReplaceDeviceRequestWithBody generates requests for ReplaceDevice with any type of body

func NewReplaceDeviceStatusRequest

func NewReplaceDeviceStatusRequest(server string, name string, body ReplaceDeviceStatusJSONRequestBody) (*http.Request, error)

NewReplaceDeviceStatusRequest calls the generic ReplaceDeviceStatus builder with application/json body

func NewReplaceDeviceStatusRequestWithBody

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

NewReplaceDeviceStatusRequestWithBody generates requests for ReplaceDeviceStatus with any type of body

func NewReplaceEnrollmentRequestRequest

func NewReplaceEnrollmentRequestRequest(server string, name string, body ReplaceEnrollmentRequestJSONRequestBody) (*http.Request, error)

NewReplaceEnrollmentRequestRequest calls the generic ReplaceEnrollmentRequest builder with application/json body

func NewReplaceEnrollmentRequestRequestWithBody

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

NewReplaceEnrollmentRequestRequestWithBody generates requests for ReplaceEnrollmentRequest with any type of body

func NewReplaceEnrollmentRequestStatusRequest

func NewReplaceEnrollmentRequestStatusRequest(server string, name string, body ReplaceEnrollmentRequestStatusJSONRequestBody) (*http.Request, error)

NewReplaceEnrollmentRequestStatusRequest calls the generic ReplaceEnrollmentRequestStatus builder with application/json body

func NewReplaceEnrollmentRequestStatusRequestWithBody

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

NewReplaceEnrollmentRequestStatusRequestWithBody generates requests for ReplaceEnrollmentRequestStatus with any type of body

func NewReplaceFleetRequest

func NewReplaceFleetRequest(server string, name string, body ReplaceFleetJSONRequestBody) (*http.Request, error)

NewReplaceFleetRequest calls the generic ReplaceFleet builder with application/json body

func NewReplaceFleetRequestWithBody

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

NewReplaceFleetRequestWithBody generates requests for ReplaceFleet with any type of body

func NewReplaceFleetStatusRequest

func NewReplaceFleetStatusRequest(server string, name string, body ReplaceFleetStatusJSONRequestBody) (*http.Request, error)

NewReplaceFleetStatusRequest calls the generic ReplaceFleetStatus builder with application/json body

func NewReplaceFleetStatusRequestWithBody

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

NewReplaceFleetStatusRequestWithBody generates requests for ReplaceFleetStatus with any type of body

func NewReplaceRepositoryRequest

func NewReplaceRepositoryRequest(server string, name string, body ReplaceRepositoryJSONRequestBody) (*http.Request, error)

NewReplaceRepositoryRequest calls the generic ReplaceRepository builder with application/json body

func NewReplaceRepositoryRequestWithBody

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

NewReplaceRepositoryRequestWithBody generates requests for ReplaceRepository with any type of body

func NewReplaceResourceSyncRequest

func NewReplaceResourceSyncRequest(server string, name string, body ReplaceResourceSyncJSONRequestBody) (*http.Request, error)

NewReplaceResourceSyncRequest calls the generic ReplaceResourceSync builder with application/json body

func NewReplaceResourceSyncRequestWithBody

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

NewReplaceResourceSyncRequestWithBody generates requests for ReplaceResourceSync with any type of body

func NewUpdateCertificateSigningRequestApprovalRequest added in v0.4.0

func NewUpdateCertificateSigningRequestApprovalRequest(server string, name string, body UpdateCertificateSigningRequestApprovalJSONRequestBody) (*http.Request, error)

NewUpdateCertificateSigningRequestApprovalRequest calls the generic UpdateCertificateSigningRequestApproval builder with application/json body

func NewUpdateCertificateSigningRequestApprovalRequestWithBody added in v0.4.0

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

NewUpdateCertificateSigningRequestApprovalRequestWithBody generates requests for UpdateCertificateSigningRequestApproval with any type of body

Types

type ApproveEnrollmentRequestResponse

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

func ParseApproveEnrollmentRequestResponse

func ParseApproveEnrollmentRequestResponse(rsp *http.Response) (*ApproveEnrollmentRequestResponse, error)

ParseApproveEnrollmentRequestResponse parses an HTTP response from a ApproveEnrollmentRequestWithResponse call

func (ApproveEnrollmentRequestResponse) Status

Status returns HTTPResponse.Status

func (ApproveEnrollmentRequestResponse) StatusCode

func (r ApproveEnrollmentRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuthConfigResponse

type AuthConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthConfig
}

func ParseAuthConfigResponse

func ParseAuthConfigResponse(rsp *http.Response) (*AuthConfigResponse, error)

ParseAuthConfigResponse parses an HTTP response from a AuthConfigWithResponse call

func (AuthConfigResponse) Status

func (r AuthConfigResponse) Status() string

Status returns HTTPResponse.Status

func (AuthConfigResponse) StatusCode

func (r AuthConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuthValidateResponse

type AuthValidateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Status
}

func ParseAuthValidateResponse

func ParseAuthValidateResponse(rsp *http.Response) (*AuthValidateResponse, error)

ParseAuthValidateResponse parses an HTTP response from a AuthValidateWithResponse call

func (AuthValidateResponse) Status

func (r AuthValidateResponse) Status() string

Status returns HTTPResponse.Status

func (AuthValidateResponse) StatusCode

func (r AuthValidateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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) ApproveEnrollmentRequest

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

func (*Client) ApproveEnrollmentRequestWithBody

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

func (*Client) AuthConfig

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

func (*Client) AuthValidate

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

func (*Client) CreateCertificateSigningRequest

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

func (*Client) CreateCertificateSigningRequestWithBody

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

func (*Client) CreateDevice

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

func (*Client) CreateDeviceWithBody

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

func (*Client) CreateEnrollmentRequest

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

func (*Client) CreateEnrollmentRequestWithBody

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

func (*Client) CreateFleet

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

func (*Client) CreateFleetWithBody

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

func (*Client) CreateRepository

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

func (*Client) CreateRepositoryWithBody

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

func (*Client) CreateResourceSync

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

func (*Client) CreateResourceSyncWithBody

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

func (*Client) DecommissionDevice added in v0.4.0

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

func (*Client) DecommissionDeviceWithBody added in v0.4.0

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

func (*Client) DeleteCertificateSigningRequest

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

func (*Client) DeleteCertificateSigningRequests

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

func (*Client) DeleteDevice

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

func (*Client) DeleteDevices

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

func (*Client) DeleteEnrollmentRequest

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

func (*Client) DeleteEnrollmentRequests

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

func (*Client) DeleteFleet

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

func (*Client) DeleteFleets

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

func (*Client) DeleteRepositories

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

func (*Client) DeleteRepository

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

func (*Client) DeleteResourceSync

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

func (*Client) DeleteResourceSyncs

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

func (*Client) DeleteTemplateVersion

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

func (*Client) DeleteTemplateVersions

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

func (*Client) GetEnrollmentConfig added in v0.4.0

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

func (*Client) GetRenderedDevice added in v0.5.0

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

func (*Client) GetVersion added in v0.4.0

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

func (*Client) ListCertificateSigningRequests

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

func (*Client) ListDevices

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

func (*Client) ListEnrollmentRequests

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

func (*Client) ListFleets

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

func (*Client) ListRepositories

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

func (*Client) ListResourceSync

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

func (*Client) ListTemplateVersions

func (c *Client) ListTemplateVersions(ctx context.Context, fleet string, params *ListTemplateVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCertificateSigningRequestWithApplicationJSONPatchPlusJSONBody

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

func (*Client) PatchCertificateSigningRequestWithBody

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

func (*Client) PatchDeviceStatusWithApplicationJSONPatchPlusJSONBody added in v0.4.0

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

func (*Client) PatchDeviceStatusWithBody added in v0.4.0

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

func (*Client) PatchDeviceWithApplicationJSONPatchPlusJSONBody

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

func (*Client) PatchDeviceWithBody

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

func (*Client) PatchEnrollmentRequestStatusWithApplicationJSONPatchPlusJSONBody added in v0.4.0

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

func (*Client) PatchEnrollmentRequestStatusWithBody added in v0.4.0

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

func (*Client) PatchEnrollmentRequestWithApplicationJSONPatchPlusJSONBody added in v0.4.0

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

func (*Client) PatchEnrollmentRequestWithBody added in v0.4.0

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

func (*Client) PatchFleetStatusWithApplicationJSONPatchPlusJSONBody added in v0.4.0

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

func (*Client) PatchFleetStatusWithBody added in v0.4.0

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

func (*Client) PatchFleetWithApplicationJSONPatchPlusJSONBody

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

func (*Client) PatchFleetWithBody

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

func (*Client) PatchRepositoryWithApplicationJSONPatchPlusJSONBody

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

func (*Client) PatchRepositoryWithBody

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

func (*Client) PatchResourceSyncWithApplicationJSONPatchPlusJSONBody

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

func (*Client) PatchResourceSyncWithBody

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

func (*Client) ReadCertificateSigningRequest

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

func (*Client) ReadDevice

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

func (*Client) ReadDeviceStatus

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

func (*Client) ReadEnrollmentRequest

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

func (*Client) ReadEnrollmentRequestStatus

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

func (*Client) ReadFleet

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

func (*Client) ReadFleetStatus

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

func (*Client) ReadRepository

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

func (*Client) ReadResourceSync

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

func (*Client) ReadTemplateVersion

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

func (*Client) ReplaceCertificateSigningRequest

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

func (*Client) ReplaceCertificateSigningRequestWithBody

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

func (*Client) ReplaceDevice

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

func (*Client) ReplaceDeviceStatus

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

func (*Client) ReplaceDeviceStatusWithBody

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

func (*Client) ReplaceDeviceWithBody

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

func (*Client) ReplaceEnrollmentRequest

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

func (*Client) ReplaceEnrollmentRequestStatus

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

func (*Client) ReplaceEnrollmentRequestStatusWithBody

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

func (*Client) ReplaceEnrollmentRequestWithBody

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

func (*Client) ReplaceFleet

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

func (*Client) ReplaceFleetStatus

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

func (*Client) ReplaceFleetStatusWithBody

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

func (*Client) ReplaceFleetWithBody

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

func (*Client) ReplaceRepository

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

func (*Client) ReplaceRepositoryWithBody

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

func (*Client) ReplaceResourceSync

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

func (*Client) ReplaceResourceSyncWithBody

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

func (*Client) UpdateCertificateSigningRequestApproval added in v0.4.0

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

func (*Client) UpdateCertificateSigningRequestApprovalWithBody added in v0.4.0

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

type ClientInterface

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

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

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

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

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

	CreateCertificateSigningRequest(ctx context.Context, body CreateCertificateSigningRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

	CreateDevice(ctx context.Context, body CreateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	CreateEnrollmentRequest(ctx context.Context, body CreateEnrollmentRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	CreateFleet(ctx context.Context, body CreateFleetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ListTemplateVersions request
	ListTemplateVersions(ctx context.Context, fleet string, params *ListTemplateVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	CreateRepository(ctx context.Context, body CreateRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

	CreateResourceSync(ctx context.Context, body CreateResourceSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

	// GetVersion request
	GetVersion(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) ApproveEnrollmentRequestWithBodyWithResponse

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

ApproveEnrollmentRequestWithBodyWithResponse request with arbitrary body returning *ApproveEnrollmentRequestResponse

func (*ClientWithResponses) ApproveEnrollmentRequestWithResponse

func (c *ClientWithResponses) ApproveEnrollmentRequestWithResponse(ctx context.Context, name string, body ApproveEnrollmentRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveEnrollmentRequestResponse, error)

func (*ClientWithResponses) AuthConfigWithResponse

func (c *ClientWithResponses) AuthConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthConfigResponse, error)

AuthConfigWithResponse request returning *AuthConfigResponse

func (*ClientWithResponses) AuthValidateWithResponse

func (c *ClientWithResponses) AuthValidateWithResponse(ctx context.Context, params *AuthValidateParams, reqEditors ...RequestEditorFn) (*AuthValidateResponse, error)

AuthValidateWithResponse request returning *AuthValidateResponse

func (*ClientWithResponses) CreateCertificateSigningRequestWithBodyWithResponse

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

CreateCertificateSigningRequestWithBodyWithResponse request with arbitrary body returning *CreateCertificateSigningRequestResponse

func (*ClientWithResponses) CreateCertificateSigningRequestWithResponse

func (c *ClientWithResponses) CreateCertificateSigningRequestWithResponse(ctx context.Context, body CreateCertificateSigningRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCertificateSigningRequestResponse, error)

func (*ClientWithResponses) CreateDeviceWithBodyWithResponse

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

CreateDeviceWithBodyWithResponse request with arbitrary body returning *CreateDeviceResponse

func (*ClientWithResponses) CreateDeviceWithResponse

func (c *ClientWithResponses) CreateDeviceWithResponse(ctx context.Context, body CreateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeviceResponse, error)

func (*ClientWithResponses) CreateEnrollmentRequestWithBodyWithResponse

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

CreateEnrollmentRequestWithBodyWithResponse request with arbitrary body returning *CreateEnrollmentRequestResponse

func (*ClientWithResponses) CreateEnrollmentRequestWithResponse

func (c *ClientWithResponses) CreateEnrollmentRequestWithResponse(ctx context.Context, body CreateEnrollmentRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnrollmentRequestResponse, error)

func (*ClientWithResponses) CreateFleetWithBodyWithResponse

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

CreateFleetWithBodyWithResponse request with arbitrary body returning *CreateFleetResponse

func (*ClientWithResponses) CreateFleetWithResponse

func (c *ClientWithResponses) CreateFleetWithResponse(ctx context.Context, body CreateFleetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFleetResponse, error)

func (*ClientWithResponses) CreateRepositoryWithBodyWithResponse

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

CreateRepositoryWithBodyWithResponse request with arbitrary body returning *CreateRepositoryResponse

func (*ClientWithResponses) CreateRepositoryWithResponse

func (c *ClientWithResponses) CreateRepositoryWithResponse(ctx context.Context, body CreateRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRepositoryResponse, error)

func (*ClientWithResponses) CreateResourceSyncWithBodyWithResponse

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

CreateResourceSyncWithBodyWithResponse request with arbitrary body returning *CreateResourceSyncResponse

func (*ClientWithResponses) CreateResourceSyncWithResponse

func (c *ClientWithResponses) CreateResourceSyncWithResponse(ctx context.Context, body CreateResourceSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceSyncResponse, error)

func (*ClientWithResponses) DecommissionDeviceWithBodyWithResponse added in v0.4.0

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

DecommissionDeviceWithBodyWithResponse request with arbitrary body returning *DecommissionDeviceResponse

func (*ClientWithResponses) DecommissionDeviceWithResponse added in v0.4.0

func (c *ClientWithResponses) DecommissionDeviceWithResponse(ctx context.Context, name string, body DecommissionDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*DecommissionDeviceResponse, error)

func (*ClientWithResponses) DeleteCertificateSigningRequestWithResponse

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

DeleteCertificateSigningRequestWithResponse request returning *DeleteCertificateSigningRequestResponse

func (*ClientWithResponses) DeleteCertificateSigningRequestsWithResponse

func (c *ClientWithResponses) DeleteCertificateSigningRequestsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteCertificateSigningRequestsResponse, error)

DeleteCertificateSigningRequestsWithResponse request returning *DeleteCertificateSigningRequestsResponse

func (*ClientWithResponses) DeleteDeviceWithResponse

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

DeleteDeviceWithResponse request returning *DeleteDeviceResponse

func (*ClientWithResponses) DeleteDevicesWithResponse

func (c *ClientWithResponses) DeleteDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteDevicesResponse, error)

DeleteDevicesWithResponse request returning *DeleteDevicesResponse

func (*ClientWithResponses) DeleteEnrollmentRequestWithResponse

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

DeleteEnrollmentRequestWithResponse request returning *DeleteEnrollmentRequestResponse

func (*ClientWithResponses) DeleteEnrollmentRequestsWithResponse

func (c *ClientWithResponses) DeleteEnrollmentRequestsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteEnrollmentRequestsResponse, error)

DeleteEnrollmentRequestsWithResponse request returning *DeleteEnrollmentRequestsResponse

func (*ClientWithResponses) DeleteFleetWithResponse

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

DeleteFleetWithResponse request returning *DeleteFleetResponse

func (*ClientWithResponses) DeleteFleetsWithResponse

func (c *ClientWithResponses) DeleteFleetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteFleetsResponse, error)

DeleteFleetsWithResponse request returning *DeleteFleetsResponse

func (*ClientWithResponses) DeleteRepositoriesWithResponse

func (c *ClientWithResponses) DeleteRepositoriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteRepositoriesResponse, error)

DeleteRepositoriesWithResponse request returning *DeleteRepositoriesResponse

func (*ClientWithResponses) DeleteRepositoryWithResponse

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

DeleteRepositoryWithResponse request returning *DeleteRepositoryResponse

func (*ClientWithResponses) DeleteResourceSyncWithResponse

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

DeleteResourceSyncWithResponse request returning *DeleteResourceSyncResponse

func (*ClientWithResponses) DeleteResourceSyncsWithResponse

func (c *ClientWithResponses) DeleteResourceSyncsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteResourceSyncsResponse, error)

DeleteResourceSyncsWithResponse request returning *DeleteResourceSyncsResponse

func (*ClientWithResponses) DeleteTemplateVersionWithResponse

func (c *ClientWithResponses) DeleteTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*DeleteTemplateVersionResponse, error)

DeleteTemplateVersionWithResponse request returning *DeleteTemplateVersionResponse

func (*ClientWithResponses) DeleteTemplateVersionsWithResponse

func (c *ClientWithResponses) DeleteTemplateVersionsWithResponse(ctx context.Context, fleet string, reqEditors ...RequestEditorFn) (*DeleteTemplateVersionsResponse, error)

DeleteTemplateVersionsWithResponse request returning *DeleteTemplateVersionsResponse

func (*ClientWithResponses) GetEnrollmentConfigWithResponse added in v0.4.0

func (c *ClientWithResponses) GetEnrollmentConfigWithResponse(ctx context.Context, params *GetEnrollmentConfigParams, reqEditors ...RequestEditorFn) (*GetEnrollmentConfigResponse, error)

GetEnrollmentConfigWithResponse request returning *GetEnrollmentConfigResponse

func (*ClientWithResponses) GetRenderedDeviceWithResponse added in v0.5.0

func (c *ClientWithResponses) GetRenderedDeviceWithResponse(ctx context.Context, name string, params *GetRenderedDeviceParams, reqEditors ...RequestEditorFn) (*GetRenderedDeviceResponse, error)

GetRenderedDeviceWithResponse request returning *GetRenderedDeviceResponse

func (*ClientWithResponses) GetVersionWithResponse added in v0.4.0

func (c *ClientWithResponses) GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)

GetVersionWithResponse request returning *GetVersionResponse

func (*ClientWithResponses) ListCertificateSigningRequestsWithResponse

func (c *ClientWithResponses) ListCertificateSigningRequestsWithResponse(ctx context.Context, params *ListCertificateSigningRequestsParams, reqEditors ...RequestEditorFn) (*ListCertificateSigningRequestsResponse, error)

ListCertificateSigningRequestsWithResponse request returning *ListCertificateSigningRequestsResponse

func (*ClientWithResponses) ListDevicesWithResponse

func (c *ClientWithResponses) ListDevicesWithResponse(ctx context.Context, params *ListDevicesParams, reqEditors ...RequestEditorFn) (*ListDevicesResponse, error)

ListDevicesWithResponse request returning *ListDevicesResponse

func (*ClientWithResponses) ListEnrollmentRequestsWithResponse

func (c *ClientWithResponses) ListEnrollmentRequestsWithResponse(ctx context.Context, params *ListEnrollmentRequestsParams, reqEditors ...RequestEditorFn) (*ListEnrollmentRequestsResponse, error)

ListEnrollmentRequestsWithResponse request returning *ListEnrollmentRequestsResponse

func (*ClientWithResponses) ListFleetsWithResponse

func (c *ClientWithResponses) ListFleetsWithResponse(ctx context.Context, params *ListFleetsParams, reqEditors ...RequestEditorFn) (*ListFleetsResponse, error)

ListFleetsWithResponse request returning *ListFleetsResponse

func (*ClientWithResponses) ListRepositoriesWithResponse

func (c *ClientWithResponses) ListRepositoriesWithResponse(ctx context.Context, params *ListRepositoriesParams, reqEditors ...RequestEditorFn) (*ListRepositoriesResponse, error)

ListRepositoriesWithResponse request returning *ListRepositoriesResponse

func (*ClientWithResponses) ListResourceSyncWithResponse

func (c *ClientWithResponses) ListResourceSyncWithResponse(ctx context.Context, params *ListResourceSyncParams, reqEditors ...RequestEditorFn) (*ListResourceSyncResponse, error)

ListResourceSyncWithResponse request returning *ListResourceSyncResponse

func (*ClientWithResponses) ListTemplateVersionsWithResponse

func (c *ClientWithResponses) ListTemplateVersionsWithResponse(ctx context.Context, fleet string, params *ListTemplateVersionsParams, reqEditors ...RequestEditorFn) (*ListTemplateVersionsResponse, error)

ListTemplateVersionsWithResponse request returning *ListTemplateVersionsResponse

func (*ClientWithResponses) PatchCertificateSigningRequestWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchCertificateSigningRequestWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchCertificateSigningRequestApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCertificateSigningRequestResponse, error)

func (*ClientWithResponses) PatchCertificateSigningRequestWithBodyWithResponse

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

PatchCertificateSigningRequestWithBodyWithResponse request with arbitrary body returning *PatchCertificateSigningRequestResponse

func (*ClientWithResponses) PatchDeviceStatusWithApplicationJSONPatchPlusJSONBodyWithResponse added in v0.4.0

func (c *ClientWithResponses) PatchDeviceStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchDeviceStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDeviceStatusResponse, error)

func (*ClientWithResponses) PatchDeviceStatusWithBodyWithResponse added in v0.4.0

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

PatchDeviceStatusWithBodyWithResponse request with arbitrary body returning *PatchDeviceStatusResponse

func (*ClientWithResponses) PatchDeviceWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchDeviceWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchDeviceApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDeviceResponse, error)

func (*ClientWithResponses) PatchDeviceWithBodyWithResponse

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

PatchDeviceWithBodyWithResponse request with arbitrary body returning *PatchDeviceResponse

func (*ClientWithResponses) PatchEnrollmentRequestStatusWithApplicationJSONPatchPlusJSONBodyWithResponse added in v0.4.0

func (c *ClientWithResponses) PatchEnrollmentRequestStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchEnrollmentRequestStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEnrollmentRequestStatusResponse, error)

func (*ClientWithResponses) PatchEnrollmentRequestStatusWithBodyWithResponse added in v0.4.0

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

PatchEnrollmentRequestStatusWithBodyWithResponse request with arbitrary body returning *PatchEnrollmentRequestStatusResponse

func (*ClientWithResponses) PatchEnrollmentRequestWithApplicationJSONPatchPlusJSONBodyWithResponse added in v0.4.0

func (c *ClientWithResponses) PatchEnrollmentRequestWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchEnrollmentRequestApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEnrollmentRequestResponse, error)

func (*ClientWithResponses) PatchEnrollmentRequestWithBodyWithResponse added in v0.4.0

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

PatchEnrollmentRequestWithBodyWithResponse request with arbitrary body returning *PatchEnrollmentRequestResponse

func (*ClientWithResponses) PatchFleetStatusWithApplicationJSONPatchPlusJSONBodyWithResponse added in v0.4.0

func (c *ClientWithResponses) PatchFleetStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchFleetStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFleetStatusResponse, error)

func (*ClientWithResponses) PatchFleetStatusWithBodyWithResponse added in v0.4.0

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

PatchFleetStatusWithBodyWithResponse request with arbitrary body returning *PatchFleetStatusResponse

func (*ClientWithResponses) PatchFleetWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchFleetWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchFleetApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFleetResponse, error)

func (*ClientWithResponses) PatchFleetWithBodyWithResponse

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

PatchFleetWithBodyWithResponse request with arbitrary body returning *PatchFleetResponse

func (*ClientWithResponses) PatchRepositoryWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchRepositoryWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchRepositoryApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchRepositoryResponse, error)

func (*ClientWithResponses) PatchRepositoryWithBodyWithResponse

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

PatchRepositoryWithBodyWithResponse request with arbitrary body returning *PatchRepositoryResponse

func (*ClientWithResponses) PatchResourceSyncWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchResourceSyncWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchResourceSyncApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchResourceSyncResponse, error)

func (*ClientWithResponses) PatchResourceSyncWithBodyWithResponse

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

PatchResourceSyncWithBodyWithResponse request with arbitrary body returning *PatchResourceSyncResponse

func (*ClientWithResponses) ReadCertificateSigningRequestWithResponse

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

ReadCertificateSigningRequestWithResponse request returning *ReadCertificateSigningRequestResponse

func (*ClientWithResponses) ReadDeviceStatusWithResponse

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

ReadDeviceStatusWithResponse request returning *ReadDeviceStatusResponse

func (*ClientWithResponses) ReadDeviceWithResponse

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

ReadDeviceWithResponse request returning *ReadDeviceResponse

func (*ClientWithResponses) ReadEnrollmentRequestStatusWithResponse

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

ReadEnrollmentRequestStatusWithResponse request returning *ReadEnrollmentRequestStatusResponse

func (*ClientWithResponses) ReadEnrollmentRequestWithResponse

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

ReadEnrollmentRequestWithResponse request returning *ReadEnrollmentRequestResponse

func (*ClientWithResponses) ReadFleetStatusWithResponse

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

ReadFleetStatusWithResponse request returning *ReadFleetStatusResponse

func (*ClientWithResponses) ReadFleetWithResponse

func (c *ClientWithResponses) ReadFleetWithResponse(ctx context.Context, name string, params *ReadFleetParams, reqEditors ...RequestEditorFn) (*ReadFleetResponse, error)

ReadFleetWithResponse request returning *ReadFleetResponse

func (*ClientWithResponses) ReadRepositoryWithResponse

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

ReadRepositoryWithResponse request returning *ReadRepositoryResponse

func (*ClientWithResponses) ReadResourceSyncWithResponse

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

ReadResourceSyncWithResponse request returning *ReadResourceSyncResponse

func (*ClientWithResponses) ReadTemplateVersionWithResponse

func (c *ClientWithResponses) ReadTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*ReadTemplateVersionResponse, error)

ReadTemplateVersionWithResponse request returning *ReadTemplateVersionResponse

func (*ClientWithResponses) ReplaceCertificateSigningRequestWithBodyWithResponse

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

ReplaceCertificateSigningRequestWithBodyWithResponse request with arbitrary body returning *ReplaceCertificateSigningRequestResponse

func (*ClientWithResponses) ReplaceCertificateSigningRequestWithResponse

func (c *ClientWithResponses) ReplaceCertificateSigningRequestWithResponse(ctx context.Context, name string, body ReplaceCertificateSigningRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceCertificateSigningRequestResponse, error)

func (*ClientWithResponses) ReplaceDeviceStatusWithBodyWithResponse

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

ReplaceDeviceStatusWithBodyWithResponse request with arbitrary body returning *ReplaceDeviceStatusResponse

func (*ClientWithResponses) ReplaceDeviceStatusWithResponse

func (c *ClientWithResponses) ReplaceDeviceStatusWithResponse(ctx context.Context, name string, body ReplaceDeviceStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceDeviceStatusResponse, error)

func (*ClientWithResponses) ReplaceDeviceWithBodyWithResponse

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

ReplaceDeviceWithBodyWithResponse request with arbitrary body returning *ReplaceDeviceResponse

func (*ClientWithResponses) ReplaceDeviceWithResponse

func (c *ClientWithResponses) ReplaceDeviceWithResponse(ctx context.Context, name string, body ReplaceDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceDeviceResponse, error)

func (*ClientWithResponses) ReplaceEnrollmentRequestStatusWithBodyWithResponse

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

ReplaceEnrollmentRequestStatusWithBodyWithResponse request with arbitrary body returning *ReplaceEnrollmentRequestStatusResponse

func (*ClientWithResponses) ReplaceEnrollmentRequestStatusWithResponse

func (c *ClientWithResponses) ReplaceEnrollmentRequestStatusWithResponse(ctx context.Context, name string, body ReplaceEnrollmentRequestStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceEnrollmentRequestStatusResponse, error)

func (*ClientWithResponses) ReplaceEnrollmentRequestWithBodyWithResponse

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

ReplaceEnrollmentRequestWithBodyWithResponse request with arbitrary body returning *ReplaceEnrollmentRequestResponse

func (*ClientWithResponses) ReplaceEnrollmentRequestWithResponse

func (c *ClientWithResponses) ReplaceEnrollmentRequestWithResponse(ctx context.Context, name string, body ReplaceEnrollmentRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceEnrollmentRequestResponse, error)

func (*ClientWithResponses) ReplaceFleetStatusWithBodyWithResponse

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

ReplaceFleetStatusWithBodyWithResponse request with arbitrary body returning *ReplaceFleetStatusResponse

func (*ClientWithResponses) ReplaceFleetStatusWithResponse

func (c *ClientWithResponses) ReplaceFleetStatusWithResponse(ctx context.Context, name string, body ReplaceFleetStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceFleetStatusResponse, error)

func (*ClientWithResponses) ReplaceFleetWithBodyWithResponse

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

ReplaceFleetWithBodyWithResponse request with arbitrary body returning *ReplaceFleetResponse

func (*ClientWithResponses) ReplaceFleetWithResponse

func (c *ClientWithResponses) ReplaceFleetWithResponse(ctx context.Context, name string, body ReplaceFleetJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceFleetResponse, error)

func (*ClientWithResponses) ReplaceRepositoryWithBodyWithResponse

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

ReplaceRepositoryWithBodyWithResponse request with arbitrary body returning *ReplaceRepositoryResponse

func (*ClientWithResponses) ReplaceRepositoryWithResponse

func (c *ClientWithResponses) ReplaceRepositoryWithResponse(ctx context.Context, name string, body ReplaceRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceRepositoryResponse, error)

func (*ClientWithResponses) ReplaceResourceSyncWithBodyWithResponse

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

ReplaceResourceSyncWithBodyWithResponse request with arbitrary body returning *ReplaceResourceSyncResponse

func (*ClientWithResponses) ReplaceResourceSyncWithResponse

func (c *ClientWithResponses) ReplaceResourceSyncWithResponse(ctx context.Context, name string, body ReplaceResourceSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceResourceSyncResponse, error)

func (*ClientWithResponses) UpdateCertificateSigningRequestApprovalWithBodyWithResponse added in v0.4.0

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

UpdateCertificateSigningRequestApprovalWithBodyWithResponse request with arbitrary body returning *UpdateCertificateSigningRequestApprovalResponse

func (*ClientWithResponses) UpdateCertificateSigningRequestApprovalWithResponse added in v0.4.0

func (c *ClientWithResponses) UpdateCertificateSigningRequestApprovalWithResponse(ctx context.Context, name string, body UpdateCertificateSigningRequestApprovalJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCertificateSigningRequestApprovalResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// AuthConfigWithResponse request
	AuthConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthConfigResponse, error)

	// AuthValidateWithResponse request
	AuthValidateWithResponse(ctx context.Context, params *AuthValidateParams, reqEditors ...RequestEditorFn) (*AuthValidateResponse, error)

	// DeleteCertificateSigningRequestsWithResponse request
	DeleteCertificateSigningRequestsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteCertificateSigningRequestsResponse, error)

	// ListCertificateSigningRequestsWithResponse request
	ListCertificateSigningRequestsWithResponse(ctx context.Context, params *ListCertificateSigningRequestsParams, reqEditors ...RequestEditorFn) (*ListCertificateSigningRequestsResponse, error)

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

	CreateCertificateSigningRequestWithResponse(ctx context.Context, body CreateCertificateSigningRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCertificateSigningRequestResponse, error)

	// DeleteCertificateSigningRequestWithResponse request
	DeleteCertificateSigningRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteCertificateSigningRequestResponse, error)

	// ReadCertificateSigningRequestWithResponse request
	ReadCertificateSigningRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ReadCertificateSigningRequestResponse, error)

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

	PatchCertificateSigningRequestWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchCertificateSigningRequestApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCertificateSigningRequestResponse, error)

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

	ReplaceCertificateSigningRequestWithResponse(ctx context.Context, name string, body ReplaceCertificateSigningRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceCertificateSigningRequestResponse, error)

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

	UpdateCertificateSigningRequestApprovalWithResponse(ctx context.Context, name string, body UpdateCertificateSigningRequestApprovalJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCertificateSigningRequestApprovalResponse, error)

	// DeleteDevicesWithResponse request
	DeleteDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteDevicesResponse, error)

	// ListDevicesWithResponse request
	ListDevicesWithResponse(ctx context.Context, params *ListDevicesParams, reqEditors ...RequestEditorFn) (*ListDevicesResponse, error)

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

	CreateDeviceWithResponse(ctx context.Context, body CreateDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeviceResponse, error)

	// DeleteDeviceWithResponse request
	DeleteDeviceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDeviceResponse, error)

	// ReadDeviceWithResponse request
	ReadDeviceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ReadDeviceResponse, error)

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

	PatchDeviceWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchDeviceApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDeviceResponse, error)

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

	ReplaceDeviceWithResponse(ctx context.Context, name string, body ReplaceDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceDeviceResponse, error)

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

	DecommissionDeviceWithResponse(ctx context.Context, name string, body DecommissionDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*DecommissionDeviceResponse, error)

	// GetRenderedDeviceWithResponse request
	GetRenderedDeviceWithResponse(ctx context.Context, name string, params *GetRenderedDeviceParams, reqEditors ...RequestEditorFn) (*GetRenderedDeviceResponse, error)

	// ReadDeviceStatusWithResponse request
	ReadDeviceStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ReadDeviceStatusResponse, error)

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

	PatchDeviceStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchDeviceStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDeviceStatusResponse, error)

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

	ReplaceDeviceStatusWithResponse(ctx context.Context, name string, body ReplaceDeviceStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceDeviceStatusResponse, error)

	// GetEnrollmentConfigWithResponse request
	GetEnrollmentConfigWithResponse(ctx context.Context, params *GetEnrollmentConfigParams, reqEditors ...RequestEditorFn) (*GetEnrollmentConfigResponse, error)

	// DeleteEnrollmentRequestsWithResponse request
	DeleteEnrollmentRequestsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteEnrollmentRequestsResponse, error)

	// ListEnrollmentRequestsWithResponse request
	ListEnrollmentRequestsWithResponse(ctx context.Context, params *ListEnrollmentRequestsParams, reqEditors ...RequestEditorFn) (*ListEnrollmentRequestsResponse, error)

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

	CreateEnrollmentRequestWithResponse(ctx context.Context, body CreateEnrollmentRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnrollmentRequestResponse, error)

	// DeleteEnrollmentRequestWithResponse request
	DeleteEnrollmentRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteEnrollmentRequestResponse, error)

	// ReadEnrollmentRequestWithResponse request
	ReadEnrollmentRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ReadEnrollmentRequestResponse, error)

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

	PatchEnrollmentRequestWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchEnrollmentRequestApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEnrollmentRequestResponse, error)

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

	ReplaceEnrollmentRequestWithResponse(ctx context.Context, name string, body ReplaceEnrollmentRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceEnrollmentRequestResponse, error)

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

	ApproveEnrollmentRequestWithResponse(ctx context.Context, name string, body ApproveEnrollmentRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveEnrollmentRequestResponse, error)

	// ReadEnrollmentRequestStatusWithResponse request
	ReadEnrollmentRequestStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ReadEnrollmentRequestStatusResponse, error)

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

	PatchEnrollmentRequestStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchEnrollmentRequestStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEnrollmentRequestStatusResponse, error)

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

	ReplaceEnrollmentRequestStatusWithResponse(ctx context.Context, name string, body ReplaceEnrollmentRequestStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceEnrollmentRequestStatusResponse, error)

	// DeleteFleetsWithResponse request
	DeleteFleetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteFleetsResponse, error)

	// ListFleetsWithResponse request
	ListFleetsWithResponse(ctx context.Context, params *ListFleetsParams, reqEditors ...RequestEditorFn) (*ListFleetsResponse, error)

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

	CreateFleetWithResponse(ctx context.Context, body CreateFleetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFleetResponse, error)

	// DeleteTemplateVersionsWithResponse request
	DeleteTemplateVersionsWithResponse(ctx context.Context, fleet string, reqEditors ...RequestEditorFn) (*DeleteTemplateVersionsResponse, error)

	// ListTemplateVersionsWithResponse request
	ListTemplateVersionsWithResponse(ctx context.Context, fleet string, params *ListTemplateVersionsParams, reqEditors ...RequestEditorFn) (*ListTemplateVersionsResponse, error)

	// DeleteTemplateVersionWithResponse request
	DeleteTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*DeleteTemplateVersionResponse, error)

	// ReadTemplateVersionWithResponse request
	ReadTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*ReadTemplateVersionResponse, error)

	// DeleteFleetWithResponse request
	DeleteFleetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteFleetResponse, error)

	// ReadFleetWithResponse request
	ReadFleetWithResponse(ctx context.Context, name string, params *ReadFleetParams, reqEditors ...RequestEditorFn) (*ReadFleetResponse, error)

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

	PatchFleetWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchFleetApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFleetResponse, error)

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

	ReplaceFleetWithResponse(ctx context.Context, name string, body ReplaceFleetJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceFleetResponse, error)

	// ReadFleetStatusWithResponse request
	ReadFleetStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ReadFleetStatusResponse, error)

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

	PatchFleetStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchFleetStatusApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFleetStatusResponse, error)

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

	ReplaceFleetStatusWithResponse(ctx context.Context, name string, body ReplaceFleetStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceFleetStatusResponse, error)

	// DeleteRepositoriesWithResponse request
	DeleteRepositoriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteRepositoriesResponse, error)

	// ListRepositoriesWithResponse request
	ListRepositoriesWithResponse(ctx context.Context, params *ListRepositoriesParams, reqEditors ...RequestEditorFn) (*ListRepositoriesResponse, error)

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

	CreateRepositoryWithResponse(ctx context.Context, body CreateRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRepositoryResponse, error)

	// DeleteRepositoryWithResponse request
	DeleteRepositoryWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteRepositoryResponse, error)

	// ReadRepositoryWithResponse request
	ReadRepositoryWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ReadRepositoryResponse, error)

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

	PatchRepositoryWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchRepositoryApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchRepositoryResponse, error)

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

	ReplaceRepositoryWithResponse(ctx context.Context, name string, body ReplaceRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceRepositoryResponse, error)

	// DeleteResourceSyncsWithResponse request
	DeleteResourceSyncsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteResourceSyncsResponse, error)

	// ListResourceSyncWithResponse request
	ListResourceSyncWithResponse(ctx context.Context, params *ListResourceSyncParams, reqEditors ...RequestEditorFn) (*ListResourceSyncResponse, error)

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

	CreateResourceSyncWithResponse(ctx context.Context, body CreateResourceSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceSyncResponse, error)

	// DeleteResourceSyncWithResponse request
	DeleteResourceSyncWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteResourceSyncResponse, error)

	// ReadResourceSyncWithResponse request
	ReadResourceSyncWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ReadResourceSyncResponse, error)

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

	PatchResourceSyncWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchResourceSyncApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchResourceSyncResponse, error)

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

	ReplaceResourceSyncWithResponse(ctx context.Context, name string, body ReplaceResourceSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceResourceSyncResponse, error)

	// GetVersionWithResponse request
	GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)
}

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

type CreateCertificateSigningRequestResponse

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

func ParseCreateCertificateSigningRequestResponse

func ParseCreateCertificateSigningRequestResponse(rsp *http.Response) (*CreateCertificateSigningRequestResponse, error)

ParseCreateCertificateSigningRequestResponse parses an HTTP response from a CreateCertificateSigningRequestWithResponse call

func (CreateCertificateSigningRequestResponse) Status

Status returns HTTPResponse.Status

func (CreateCertificateSigningRequestResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateDeviceResponse

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

func ParseCreateDeviceResponse

func ParseCreateDeviceResponse(rsp *http.Response) (*CreateDeviceResponse, error)

ParseCreateDeviceResponse parses an HTTP response from a CreateDeviceWithResponse call

func (CreateDeviceResponse) Status

func (r CreateDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDeviceResponse) StatusCode

func (r CreateDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEnrollmentRequestResponse

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

func ParseCreateEnrollmentRequestResponse

func ParseCreateEnrollmentRequestResponse(rsp *http.Response) (*CreateEnrollmentRequestResponse, error)

ParseCreateEnrollmentRequestResponse parses an HTTP response from a CreateEnrollmentRequestWithResponse call

func (CreateEnrollmentRequestResponse) Status

Status returns HTTPResponse.Status

func (CreateEnrollmentRequestResponse) StatusCode

func (r CreateEnrollmentRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateFleetResponse

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

func ParseCreateFleetResponse

func ParseCreateFleetResponse(rsp *http.Response) (*CreateFleetResponse, error)

ParseCreateFleetResponse parses an HTTP response from a CreateFleetWithResponse call

func (CreateFleetResponse) Status

func (r CreateFleetResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFleetResponse) StatusCode

func (r CreateFleetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRepositoryResponse

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

func ParseCreateRepositoryResponse

func ParseCreateRepositoryResponse(rsp *http.Response) (*CreateRepositoryResponse, error)

ParseCreateRepositoryResponse parses an HTTP response from a CreateRepositoryWithResponse call

func (CreateRepositoryResponse) Status

func (r CreateRepositoryResponse) Status() string

Status returns HTTPResponse.Status

func (CreateRepositoryResponse) StatusCode

func (r CreateRepositoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateResourceSyncResponse

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

func ParseCreateResourceSyncResponse

func ParseCreateResourceSyncResponse(rsp *http.Response) (*CreateResourceSyncResponse, error)

ParseCreateResourceSyncResponse parses an HTTP response from a CreateResourceSyncWithResponse call

func (CreateResourceSyncResponse) Status

Status returns HTTPResponse.Status

func (CreateResourceSyncResponse) StatusCode

func (r CreateResourceSyncResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DecommissionDeviceResponse added in v0.4.0

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

func ParseDecommissionDeviceResponse added in v0.4.0

func ParseDecommissionDeviceResponse(rsp *http.Response) (*DecommissionDeviceResponse, error)

ParseDecommissionDeviceResponse parses an HTTP response from a DecommissionDeviceWithResponse call

func (DecommissionDeviceResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (DecommissionDeviceResponse) StatusCode added in v0.4.0

func (r DecommissionDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCertificateSigningRequestResponse

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

func ParseDeleteCertificateSigningRequestResponse

func ParseDeleteCertificateSigningRequestResponse(rsp *http.Response) (*DeleteCertificateSigningRequestResponse, error)

ParseDeleteCertificateSigningRequestResponse parses an HTTP response from a DeleteCertificateSigningRequestWithResponse call

func (DeleteCertificateSigningRequestResponse) Status

Status returns HTTPResponse.Status

func (DeleteCertificateSigningRequestResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteCertificateSigningRequestsResponse

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

func ParseDeleteCertificateSigningRequestsResponse

func ParseDeleteCertificateSigningRequestsResponse(rsp *http.Response) (*DeleteCertificateSigningRequestsResponse, error)

ParseDeleteCertificateSigningRequestsResponse parses an HTTP response from a DeleteCertificateSigningRequestsWithResponse call

func (DeleteCertificateSigningRequestsResponse) Status

Status returns HTTPResponse.Status

func (DeleteCertificateSigningRequestsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteDeviceResponse

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

func ParseDeleteDeviceResponse

func ParseDeleteDeviceResponse(rsp *http.Response) (*DeleteDeviceResponse, error)

ParseDeleteDeviceResponse parses an HTTP response from a DeleteDeviceWithResponse call

func (DeleteDeviceResponse) Status

func (r DeleteDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteDeviceResponse) StatusCode

func (r DeleteDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDevicesResponse

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

func ParseDeleteDevicesResponse

func ParseDeleteDevicesResponse(rsp *http.Response) (*DeleteDevicesResponse, error)

ParseDeleteDevicesResponse parses an HTTP response from a DeleteDevicesWithResponse call

func (DeleteDevicesResponse) Status

func (r DeleteDevicesResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteDevicesResponse) StatusCode

func (r DeleteDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteEnrollmentRequestResponse

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

func ParseDeleteEnrollmentRequestResponse

func ParseDeleteEnrollmentRequestResponse(rsp *http.Response) (*DeleteEnrollmentRequestResponse, error)

ParseDeleteEnrollmentRequestResponse parses an HTTP response from a DeleteEnrollmentRequestWithResponse call

func (DeleteEnrollmentRequestResponse) Status

Status returns HTTPResponse.Status

func (DeleteEnrollmentRequestResponse) StatusCode

func (r DeleteEnrollmentRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteEnrollmentRequestsResponse

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

func ParseDeleteEnrollmentRequestsResponse

func ParseDeleteEnrollmentRequestsResponse(rsp *http.Response) (*DeleteEnrollmentRequestsResponse, error)

ParseDeleteEnrollmentRequestsResponse parses an HTTP response from a DeleteEnrollmentRequestsWithResponse call

func (DeleteEnrollmentRequestsResponse) Status

Status returns HTTPResponse.Status

func (DeleteEnrollmentRequestsResponse) StatusCode

func (r DeleteEnrollmentRequestsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFleetResponse

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

func ParseDeleteFleetResponse

func ParseDeleteFleetResponse(rsp *http.Response) (*DeleteFleetResponse, error)

ParseDeleteFleetResponse parses an HTTP response from a DeleteFleetWithResponse call

func (DeleteFleetResponse) Status

func (r DeleteFleetResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFleetResponse) StatusCode

func (r DeleteFleetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFleetsResponse

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

func ParseDeleteFleetsResponse

func ParseDeleteFleetsResponse(rsp *http.Response) (*DeleteFleetsResponse, error)

ParseDeleteFleetsResponse parses an HTTP response from a DeleteFleetsWithResponse call

func (DeleteFleetsResponse) Status

func (r DeleteFleetsResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFleetsResponse) StatusCode

func (r DeleteFleetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRepositoriesResponse

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

func ParseDeleteRepositoriesResponse

func ParseDeleteRepositoriesResponse(rsp *http.Response) (*DeleteRepositoriesResponse, error)

ParseDeleteRepositoriesResponse parses an HTTP response from a DeleteRepositoriesWithResponse call

func (DeleteRepositoriesResponse) Status

Status returns HTTPResponse.Status

func (DeleteRepositoriesResponse) StatusCode

func (r DeleteRepositoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRepositoryResponse

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

func ParseDeleteRepositoryResponse

func ParseDeleteRepositoryResponse(rsp *http.Response) (*DeleteRepositoryResponse, error)

ParseDeleteRepositoryResponse parses an HTTP response from a DeleteRepositoryWithResponse call

func (DeleteRepositoryResponse) Status

func (r DeleteRepositoryResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteRepositoryResponse) StatusCode

func (r DeleteRepositoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteResourceSyncResponse

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

func ParseDeleteResourceSyncResponse

func ParseDeleteResourceSyncResponse(rsp *http.Response) (*DeleteResourceSyncResponse, error)

ParseDeleteResourceSyncResponse parses an HTTP response from a DeleteResourceSyncWithResponse call

func (DeleteResourceSyncResponse) Status

Status returns HTTPResponse.Status

func (DeleteResourceSyncResponse) StatusCode

func (r DeleteResourceSyncResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteResourceSyncsResponse

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

func ParseDeleteResourceSyncsResponse

func ParseDeleteResourceSyncsResponse(rsp *http.Response) (*DeleteResourceSyncsResponse, error)

ParseDeleteResourceSyncsResponse parses an HTTP response from a DeleteResourceSyncsWithResponse call

func (DeleteResourceSyncsResponse) Status

Status returns HTTPResponse.Status

func (DeleteResourceSyncsResponse) StatusCode

func (r DeleteResourceSyncsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplateVersionResponse

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

func ParseDeleteTemplateVersionResponse

func ParseDeleteTemplateVersionResponse(rsp *http.Response) (*DeleteTemplateVersionResponse, error)

ParseDeleteTemplateVersionResponse parses an HTTP response from a DeleteTemplateVersionWithResponse call

func (DeleteTemplateVersionResponse) Status

Status returns HTTPResponse.Status

func (DeleteTemplateVersionResponse) StatusCode

func (r DeleteTemplateVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplateVersionsResponse

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

func ParseDeleteTemplateVersionsResponse

func ParseDeleteTemplateVersionsResponse(rsp *http.Response) (*DeleteTemplateVersionsResponse, error)

ParseDeleteTemplateVersionsResponse parses an HTTP response from a DeleteTemplateVersionsWithResponse call

func (DeleteTemplateVersionsResponse) Status

Status returns HTTPResponse.Status

func (DeleteTemplateVersionsResponse) StatusCode

func (r DeleteTemplateVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEnrollmentConfigResponse added in v0.4.0

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

func ParseGetEnrollmentConfigResponse added in v0.4.0

func ParseGetEnrollmentConfigResponse(rsp *http.Response) (*GetEnrollmentConfigResponse, error)

ParseGetEnrollmentConfigResponse parses an HTTP response from a GetEnrollmentConfigWithResponse call

func (GetEnrollmentConfigResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (GetEnrollmentConfigResponse) StatusCode added in v0.4.0

func (r GetEnrollmentConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRenderedDeviceResponse added in v0.5.0

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

func ParseGetRenderedDeviceResponse added in v0.5.0

func ParseGetRenderedDeviceResponse(rsp *http.Response) (*GetRenderedDeviceResponse, error)

ParseGetRenderedDeviceResponse parses an HTTP response from a GetRenderedDeviceWithResponse call

func (GetRenderedDeviceResponse) Status added in v0.5.0

func (r GetRenderedDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (GetRenderedDeviceResponse) StatusCode added in v0.5.0

func (r GetRenderedDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionResponse added in v0.4.0

type GetVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Version
	JSON403      *Status
	JSON503      *Status
}

func ParseGetVersionResponse added in v0.4.0

func ParseGetVersionResponse(rsp *http.Response) (*GetVersionResponse, error)

ParseGetVersionResponse parses an HTTP response from a GetVersionWithResponse call

func (GetVersionResponse) Status added in v0.4.0

func (r GetVersionResponse) Status() string

Status returns HTTPResponse.Status

func (GetVersionResponse) StatusCode added in v0.4.0

func (r GetVersionResponse) 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 ListCertificateSigningRequestsResponse

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

func ParseListCertificateSigningRequestsResponse

func ParseListCertificateSigningRequestsResponse(rsp *http.Response) (*ListCertificateSigningRequestsResponse, error)

ParseListCertificateSigningRequestsResponse parses an HTTP response from a ListCertificateSigningRequestsWithResponse call

func (ListCertificateSigningRequestsResponse) Status

Status returns HTTPResponse.Status

func (ListCertificateSigningRequestsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListDevicesResponse

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

func ParseListDevicesResponse

func ParseListDevicesResponse(rsp *http.Response) (*ListDevicesResponse, error)

ParseListDevicesResponse parses an HTTP response from a ListDevicesWithResponse call

func (ListDevicesResponse) Status

func (r ListDevicesResponse) Status() string

Status returns HTTPResponse.Status

func (ListDevicesResponse) StatusCode

func (r ListDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnrollmentRequestsResponse

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

func ParseListEnrollmentRequestsResponse

func ParseListEnrollmentRequestsResponse(rsp *http.Response) (*ListEnrollmentRequestsResponse, error)

ParseListEnrollmentRequestsResponse parses an HTTP response from a ListEnrollmentRequestsWithResponse call

func (ListEnrollmentRequestsResponse) Status

Status returns HTTPResponse.Status

func (ListEnrollmentRequestsResponse) StatusCode

func (r ListEnrollmentRequestsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFleetsResponse

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

func ParseListFleetsResponse

func ParseListFleetsResponse(rsp *http.Response) (*ListFleetsResponse, error)

ParseListFleetsResponse parses an HTTP response from a ListFleetsWithResponse call

func (ListFleetsResponse) Status

func (r ListFleetsResponse) Status() string

Status returns HTTPResponse.Status

func (ListFleetsResponse) StatusCode

func (r ListFleetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRepositoriesResponse

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

func ParseListRepositoriesResponse

func ParseListRepositoriesResponse(rsp *http.Response) (*ListRepositoriesResponse, error)

ParseListRepositoriesResponse parses an HTTP response from a ListRepositoriesWithResponse call

func (ListRepositoriesResponse) Status

func (r ListRepositoriesResponse) Status() string

Status returns HTTPResponse.Status

func (ListRepositoriesResponse) StatusCode

func (r ListRepositoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListResourceSyncResponse

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

func ParseListResourceSyncResponse

func ParseListResourceSyncResponse(rsp *http.Response) (*ListResourceSyncResponse, error)

ParseListResourceSyncResponse parses an HTTP response from a ListResourceSyncWithResponse call

func (ListResourceSyncResponse) Status

func (r ListResourceSyncResponse) Status() string

Status returns HTTPResponse.Status

func (ListResourceSyncResponse) StatusCode

func (r ListResourceSyncResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTemplateVersionsResponse

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

func ParseListTemplateVersionsResponse

func ParseListTemplateVersionsResponse(rsp *http.Response) (*ListTemplateVersionsResponse, error)

ParseListTemplateVersionsResponse parses an HTTP response from a ListTemplateVersionsWithResponse call

func (ListTemplateVersionsResponse) Status

Status returns HTTPResponse.Status

func (ListTemplateVersionsResponse) StatusCode

func (r ListTemplateVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchCertificateSigningRequestResponse

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

func ParsePatchCertificateSigningRequestResponse

func ParsePatchCertificateSigningRequestResponse(rsp *http.Response) (*PatchCertificateSigningRequestResponse, error)

ParsePatchCertificateSigningRequestResponse parses an HTTP response from a PatchCertificateSigningRequestWithResponse call

func (PatchCertificateSigningRequestResponse) Status

Status returns HTTPResponse.Status

func (PatchCertificateSigningRequestResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchDeviceResponse

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

func ParsePatchDeviceResponse

func ParsePatchDeviceResponse(rsp *http.Response) (*PatchDeviceResponse, error)

ParsePatchDeviceResponse parses an HTTP response from a PatchDeviceWithResponse call

func (PatchDeviceResponse) Status

func (r PatchDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (PatchDeviceResponse) StatusCode

func (r PatchDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchDeviceStatusResponse added in v0.4.0

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

func ParsePatchDeviceStatusResponse added in v0.4.0

func ParsePatchDeviceStatusResponse(rsp *http.Response) (*PatchDeviceStatusResponse, error)

ParsePatchDeviceStatusResponse parses an HTTP response from a PatchDeviceStatusWithResponse call

func (PatchDeviceStatusResponse) Status added in v0.4.0

func (r PatchDeviceStatusResponse) Status() string

Status returns HTTPResponse.Status

func (PatchDeviceStatusResponse) StatusCode added in v0.4.0

func (r PatchDeviceStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchEnrollmentRequestResponse added in v0.4.0

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

func ParsePatchEnrollmentRequestResponse added in v0.4.0

func ParsePatchEnrollmentRequestResponse(rsp *http.Response) (*PatchEnrollmentRequestResponse, error)

ParsePatchEnrollmentRequestResponse parses an HTTP response from a PatchEnrollmentRequestWithResponse call

func (PatchEnrollmentRequestResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (PatchEnrollmentRequestResponse) StatusCode added in v0.4.0

func (r PatchEnrollmentRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchEnrollmentRequestStatusResponse added in v0.4.0

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

func ParsePatchEnrollmentRequestStatusResponse added in v0.4.0

func ParsePatchEnrollmentRequestStatusResponse(rsp *http.Response) (*PatchEnrollmentRequestStatusResponse, error)

ParsePatchEnrollmentRequestStatusResponse parses an HTTP response from a PatchEnrollmentRequestStatusWithResponse call

func (PatchEnrollmentRequestStatusResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (PatchEnrollmentRequestStatusResponse) StatusCode added in v0.4.0

StatusCode returns HTTPResponse.StatusCode

type PatchFleetResponse

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

func ParsePatchFleetResponse

func ParsePatchFleetResponse(rsp *http.Response) (*PatchFleetResponse, error)

ParsePatchFleetResponse parses an HTTP response from a PatchFleetWithResponse call

func (PatchFleetResponse) Status

func (r PatchFleetResponse) Status() string

Status returns HTTPResponse.Status

func (PatchFleetResponse) StatusCode

func (r PatchFleetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchFleetStatusResponse added in v0.4.0

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

func ParsePatchFleetStatusResponse added in v0.4.0

func ParsePatchFleetStatusResponse(rsp *http.Response) (*PatchFleetStatusResponse, error)

ParsePatchFleetStatusResponse parses an HTTP response from a PatchFleetStatusWithResponse call

func (PatchFleetStatusResponse) Status added in v0.4.0

func (r PatchFleetStatusResponse) Status() string

Status returns HTTPResponse.Status

func (PatchFleetStatusResponse) StatusCode added in v0.4.0

func (r PatchFleetStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchRepositoryResponse

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

func ParsePatchRepositoryResponse

func ParsePatchRepositoryResponse(rsp *http.Response) (*PatchRepositoryResponse, error)

ParsePatchRepositoryResponse parses an HTTP response from a PatchRepositoryWithResponse call

func (PatchRepositoryResponse) Status

func (r PatchRepositoryResponse) Status() string

Status returns HTTPResponse.Status

func (PatchRepositoryResponse) StatusCode

func (r PatchRepositoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchResourceSyncResponse

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

func ParsePatchResourceSyncResponse

func ParsePatchResourceSyncResponse(rsp *http.Response) (*PatchResourceSyncResponse, error)

ParsePatchResourceSyncResponse parses an HTTP response from a PatchResourceSyncWithResponse call

func (PatchResourceSyncResponse) Status

func (r PatchResourceSyncResponse) Status() string

Status returns HTTPResponse.Status

func (PatchResourceSyncResponse) StatusCode

func (r PatchResourceSyncResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadCertificateSigningRequestResponse

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

func ParseReadCertificateSigningRequestResponse

func ParseReadCertificateSigningRequestResponse(rsp *http.Response) (*ReadCertificateSigningRequestResponse, error)

ParseReadCertificateSigningRequestResponse parses an HTTP response from a ReadCertificateSigningRequestWithResponse call

func (ReadCertificateSigningRequestResponse) Status

Status returns HTTPResponse.Status

func (ReadCertificateSigningRequestResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ReadDeviceResponse

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

func ParseReadDeviceResponse

func ParseReadDeviceResponse(rsp *http.Response) (*ReadDeviceResponse, error)

ParseReadDeviceResponse parses an HTTP response from a ReadDeviceWithResponse call

func (ReadDeviceResponse) Status

func (r ReadDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (ReadDeviceResponse) StatusCode

func (r ReadDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadDeviceStatusResponse

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

func ParseReadDeviceStatusResponse

func ParseReadDeviceStatusResponse(rsp *http.Response) (*ReadDeviceStatusResponse, error)

ParseReadDeviceStatusResponse parses an HTTP response from a ReadDeviceStatusWithResponse call

func (ReadDeviceStatusResponse) Status

func (r ReadDeviceStatusResponse) Status() string

Status returns HTTPResponse.Status

func (ReadDeviceStatusResponse) StatusCode

func (r ReadDeviceStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadEnrollmentRequestResponse

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

func ParseReadEnrollmentRequestResponse

func ParseReadEnrollmentRequestResponse(rsp *http.Response) (*ReadEnrollmentRequestResponse, error)

ParseReadEnrollmentRequestResponse parses an HTTP response from a ReadEnrollmentRequestWithResponse call

func (ReadEnrollmentRequestResponse) Status

Status returns HTTPResponse.Status

func (ReadEnrollmentRequestResponse) StatusCode

func (r ReadEnrollmentRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadEnrollmentRequestStatusResponse

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

func ParseReadEnrollmentRequestStatusResponse

func ParseReadEnrollmentRequestStatusResponse(rsp *http.Response) (*ReadEnrollmentRequestStatusResponse, error)

ParseReadEnrollmentRequestStatusResponse parses an HTTP response from a ReadEnrollmentRequestStatusWithResponse call

func (ReadEnrollmentRequestStatusResponse) Status

Status returns HTTPResponse.Status

func (ReadEnrollmentRequestStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ReadFleetResponse

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

func ParseReadFleetResponse

func ParseReadFleetResponse(rsp *http.Response) (*ReadFleetResponse, error)

ParseReadFleetResponse parses an HTTP response from a ReadFleetWithResponse call

func (ReadFleetResponse) Status

func (r ReadFleetResponse) Status() string

Status returns HTTPResponse.Status

func (ReadFleetResponse) StatusCode

func (r ReadFleetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadFleetStatusResponse

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

func ParseReadFleetStatusResponse

func ParseReadFleetStatusResponse(rsp *http.Response) (*ReadFleetStatusResponse, error)

ParseReadFleetStatusResponse parses an HTTP response from a ReadFleetStatusWithResponse call

func (ReadFleetStatusResponse) Status

func (r ReadFleetStatusResponse) Status() string

Status returns HTTPResponse.Status

func (ReadFleetStatusResponse) StatusCode

func (r ReadFleetStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadRepositoryResponse

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

func ParseReadRepositoryResponse

func ParseReadRepositoryResponse(rsp *http.Response) (*ReadRepositoryResponse, error)

ParseReadRepositoryResponse parses an HTTP response from a ReadRepositoryWithResponse call

func (ReadRepositoryResponse) Status

func (r ReadRepositoryResponse) Status() string

Status returns HTTPResponse.Status

func (ReadRepositoryResponse) StatusCode

func (r ReadRepositoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadResourceSyncResponse

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

func ParseReadResourceSyncResponse

func ParseReadResourceSyncResponse(rsp *http.Response) (*ReadResourceSyncResponse, error)

ParseReadResourceSyncResponse parses an HTTP response from a ReadResourceSyncWithResponse call

func (ReadResourceSyncResponse) Status

func (r ReadResourceSyncResponse) Status() string

Status returns HTTPResponse.Status

func (ReadResourceSyncResponse) StatusCode

func (r ReadResourceSyncResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadTemplateVersionResponse

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

func ParseReadTemplateVersionResponse

func ParseReadTemplateVersionResponse(rsp *http.Response) (*ReadTemplateVersionResponse, error)

ParseReadTemplateVersionResponse parses an HTTP response from a ReadTemplateVersionWithResponse call

func (ReadTemplateVersionResponse) Status

Status returns HTTPResponse.Status

func (ReadTemplateVersionResponse) StatusCode

func (r ReadTemplateVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceCertificateSigningRequestResponse

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

func ParseReplaceCertificateSigningRequestResponse

func ParseReplaceCertificateSigningRequestResponse(rsp *http.Response) (*ReplaceCertificateSigningRequestResponse, error)

ParseReplaceCertificateSigningRequestResponse parses an HTTP response from a ReplaceCertificateSigningRequestWithResponse call

func (ReplaceCertificateSigningRequestResponse) Status

Status returns HTTPResponse.Status

func (ReplaceCertificateSigningRequestResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ReplaceDeviceResponse

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

func ParseReplaceDeviceResponse

func ParseReplaceDeviceResponse(rsp *http.Response) (*ReplaceDeviceResponse, error)

ParseReplaceDeviceResponse parses an HTTP response from a ReplaceDeviceWithResponse call

func (ReplaceDeviceResponse) Status

func (r ReplaceDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (ReplaceDeviceResponse) StatusCode

func (r ReplaceDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceDeviceStatusResponse

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

func ParseReplaceDeviceStatusResponse

func ParseReplaceDeviceStatusResponse(rsp *http.Response) (*ReplaceDeviceStatusResponse, error)

ParseReplaceDeviceStatusResponse parses an HTTP response from a ReplaceDeviceStatusWithResponse call

func (ReplaceDeviceStatusResponse) Status

Status returns HTTPResponse.Status

func (ReplaceDeviceStatusResponse) StatusCode

func (r ReplaceDeviceStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceEnrollmentRequestResponse

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

func ParseReplaceEnrollmentRequestResponse

func ParseReplaceEnrollmentRequestResponse(rsp *http.Response) (*ReplaceEnrollmentRequestResponse, error)

ParseReplaceEnrollmentRequestResponse parses an HTTP response from a ReplaceEnrollmentRequestWithResponse call

func (ReplaceEnrollmentRequestResponse) Status

Status returns HTTPResponse.Status

func (ReplaceEnrollmentRequestResponse) StatusCode

func (r ReplaceEnrollmentRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceEnrollmentRequestStatusResponse

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

func ParseReplaceEnrollmentRequestStatusResponse

func ParseReplaceEnrollmentRequestStatusResponse(rsp *http.Response) (*ReplaceEnrollmentRequestStatusResponse, error)

ParseReplaceEnrollmentRequestStatusResponse parses an HTTP response from a ReplaceEnrollmentRequestStatusWithResponse call

func (ReplaceEnrollmentRequestStatusResponse) Status

Status returns HTTPResponse.Status

func (ReplaceEnrollmentRequestStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ReplaceFleetResponse

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

func ParseReplaceFleetResponse

func ParseReplaceFleetResponse(rsp *http.Response) (*ReplaceFleetResponse, error)

ParseReplaceFleetResponse parses an HTTP response from a ReplaceFleetWithResponse call

func (ReplaceFleetResponse) Status

func (r ReplaceFleetResponse) Status() string

Status returns HTTPResponse.Status

func (ReplaceFleetResponse) StatusCode

func (r ReplaceFleetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceFleetStatusResponse

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

func ParseReplaceFleetStatusResponse

func ParseReplaceFleetStatusResponse(rsp *http.Response) (*ReplaceFleetStatusResponse, error)

ParseReplaceFleetStatusResponse parses an HTTP response from a ReplaceFleetStatusWithResponse call

func (ReplaceFleetStatusResponse) Status

Status returns HTTPResponse.Status

func (ReplaceFleetStatusResponse) StatusCode

func (r ReplaceFleetStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceRepositoryResponse

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

func ParseReplaceRepositoryResponse

func ParseReplaceRepositoryResponse(rsp *http.Response) (*ReplaceRepositoryResponse, error)

ParseReplaceRepositoryResponse parses an HTTP response from a ReplaceRepositoryWithResponse call

func (ReplaceRepositoryResponse) Status

func (r ReplaceRepositoryResponse) Status() string

Status returns HTTPResponse.Status

func (ReplaceRepositoryResponse) StatusCode

func (r ReplaceRepositoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceResourceSyncResponse

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

func ParseReplaceResourceSyncResponse

func ParseReplaceResourceSyncResponse(rsp *http.Response) (*ReplaceResourceSyncResponse, error)

ParseReplaceResourceSyncResponse parses an HTTP response from a ReplaceResourceSyncWithResponse call

func (ReplaceResourceSyncResponse) Status

Status returns HTTPResponse.Status

func (ReplaceResourceSyncResponse) StatusCode

func (r ReplaceResourceSyncResponse) 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

type UpdateCertificateSigningRequestApprovalResponse added in v0.4.0

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

func ParseUpdateCertificateSigningRequestApprovalResponse added in v0.4.0

func ParseUpdateCertificateSigningRequestApprovalResponse(rsp *http.Response) (*UpdateCertificateSigningRequestApprovalResponse, error)

ParseUpdateCertificateSigningRequestApprovalResponse parses an HTTP response from a UpdateCertificateSigningRequestApprovalWithResponse call

func (UpdateCertificateSigningRequestApprovalResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (UpdateCertificateSigningRequestApprovalResponse) StatusCode added in v0.4.0

StatusCode returns HTTPResponse.StatusCode

Directories

Path Synopsis
Package client provides primitives to interact with the openapi HTTP API.
Package client provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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