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 ¶
- func NewApproveEnrollmentRequestRequest(server string, name string, body ApproveEnrollmentRequestJSONRequestBody) (*http.Request, error)
- func NewApproveEnrollmentRequestRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthConfigRequest(server string) (*http.Request, error)
- func NewAuthValidateRequest(server string, params *AuthValidateParams) (*http.Request, error)
- func NewCreateCertificateSigningRequestRequest(server string, body CreateCertificateSigningRequestJSONRequestBody) (*http.Request, error)
- func NewCreateCertificateSigningRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDeviceRequest(server string, body CreateDeviceJSONRequestBody) (*http.Request, error)
- func NewCreateDeviceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEnrollmentRequestRequest(server string, body CreateEnrollmentRequestJSONRequestBody) (*http.Request, error)
- func NewCreateEnrollmentRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFleetRequest(server string, body CreateFleetJSONRequestBody) (*http.Request, error)
- func NewCreateFleetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRepositoryRequest(server string, body CreateRepositoryJSONRequestBody) (*http.Request, error)
- func NewCreateRepositoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateResourceSyncRequest(server string, body CreateResourceSyncJSONRequestBody) (*http.Request, error)
- func NewCreateResourceSyncRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDecommissionDeviceRequest(server string, name string, body DecommissionDeviceJSONRequestBody) (*http.Request, error)
- func NewDecommissionDeviceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteCertificateSigningRequestRequest(server string, name string) (*http.Request, error)
- func NewDeleteDeviceRequest(server string, name string) (*http.Request, error)
- func NewDeleteEnrollmentRequestRequest(server string, name string) (*http.Request, error)
- func NewDeleteFleetRequest(server string, name string) (*http.Request, error)
- func NewDeleteRepositoryRequest(server string, name string) (*http.Request, error)
- func NewDeleteResourceSyncRequest(server string, name string) (*http.Request, error)
- func NewDeleteTemplateVersionRequest(server string, fleet string, name string) (*http.Request, error)
- func NewGetCertificateSigningRequestRequest(server string, name string) (*http.Request, error)
- func NewGetDeviceRequest(server string, name string) (*http.Request, error)
- func NewGetDeviceStatusRequest(server string, name string) (*http.Request, error)
- func NewGetEnrollmentConfigRequest(server string, params *GetEnrollmentConfigParams) (*http.Request, error)
- func NewGetEnrollmentRequestRequest(server string, name string) (*http.Request, error)
- func NewGetEnrollmentRequestStatusRequest(server string, name string) (*http.Request, error)
- func NewGetFleetRequest(server string, name string, params *GetFleetParams) (*http.Request, error)
- func NewGetFleetStatusRequest(server string, name string) (*http.Request, error)
- func NewGetRenderedDeviceRequest(server string, name string, params *GetRenderedDeviceParams) (*http.Request, error)
- func NewGetRepositoryRequest(server string, name string) (*http.Request, error)
- func NewGetResourceSyncRequest(server string, name string) (*http.Request, error)
- func NewGetTemplateVersionRequest(server string, fleet string, name string) (*http.Request, error)
- func NewGetVersionRequest(server string) (*http.Request, error)
- func NewListCertificateSigningRequestsRequest(server string, params *ListCertificateSigningRequestsParams) (*http.Request, error)
- func NewListDevicesRequest(server string, params *ListDevicesParams) (*http.Request, error)
- func NewListEnrollmentRequestsRequest(server string, params *ListEnrollmentRequestsParams) (*http.Request, error)
- func NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)
- func NewListFleetsRequest(server string, params *ListFleetsParams) (*http.Request, error)
- func NewListLabelsRequest(server string, params *ListLabelsParams) (*http.Request, error)
- func NewListOrganizationsRequest(server string) (*http.Request, error)
- func NewListRepositoriesRequest(server string, params *ListRepositoriesParams) (*http.Request, error)
- func NewListResourceSyncsRequest(server string, params *ListResourceSyncsParams) (*http.Request, error)
- func NewListTemplateVersionsRequest(server string, fleet string, params *ListTemplateVersionsParams) (*http.Request, error)
- func NewPatchCertificateSigningRequestRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchCertificateSigningRequestRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchDeviceRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchDeviceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchDeviceStatusRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchDeviceStatusRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchEnrollmentRequestRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchEnrollmentRequestRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchEnrollmentRequestStatusRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchEnrollmentRequestStatusRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchFleetRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchFleetRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchFleetStatusRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchFleetStatusRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchRepositoryRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchRepositoryRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchResourceSyncRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchResourceSyncRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceCertificateSigningRequestRequest(server string, name string, ...) (*http.Request, error)
- func NewReplaceCertificateSigningRequestRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceDeviceRequest(server string, name string, body ReplaceDeviceJSONRequestBody) (*http.Request, error)
- func NewReplaceDeviceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceDeviceStatusRequest(server string, name string, body ReplaceDeviceStatusJSONRequestBody) (*http.Request, error)
- func NewReplaceDeviceStatusRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceEnrollmentRequestRequest(server string, name string, body ReplaceEnrollmentRequestJSONRequestBody) (*http.Request, error)
- func NewReplaceEnrollmentRequestRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceEnrollmentRequestStatusRequest(server string, name string, body ReplaceEnrollmentRequestStatusJSONRequestBody) (*http.Request, error)
- func NewReplaceEnrollmentRequestStatusRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceFleetRequest(server string, name string, body ReplaceFleetJSONRequestBody) (*http.Request, error)
- func NewReplaceFleetRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceFleetStatusRequest(server string, name string, body ReplaceFleetStatusJSONRequestBody) (*http.Request, error)
- func NewReplaceFleetStatusRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceRepositoryRequest(server string, name string, body ReplaceRepositoryJSONRequestBody) (*http.Request, error)
- func NewReplaceRepositoryRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceResourceSyncRequest(server string, name string, body ReplaceResourceSyncJSONRequestBody) (*http.Request, error)
- func NewReplaceResourceSyncRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCertificateSigningRequestApprovalRequest(server string, name string, ...) (*http.Request, error)
- func NewUpdateCertificateSigningRequestApprovalRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- type ApproveEnrollmentRequestResponse
- type AuthConfigResponse
- type AuthValidateResponse
- type Client
- func (c *Client) ApproveEnrollmentRequest(ctx context.Context, name string, body ApproveEnrollmentRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApproveEnrollmentRequestWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthValidate(ctx context.Context, params *AuthValidateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateCertificateSigningRequest(ctx context.Context, body CreateCertificateSigningRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCertificateSigningRequestWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDevice(ctx context.Context, body CreateDeviceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDeviceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEnrollmentRequest(ctx context.Context, body CreateEnrollmentRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEnrollmentRequestWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFleet(ctx context.Context, body CreateFleetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateFleetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRepository(ctx context.Context, body CreateRepositoryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRepositoryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateResourceSync(ctx context.Context, body CreateResourceSyncJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateResourceSyncWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DecommissionDevice(ctx context.Context, name string, body DecommissionDeviceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DecommissionDeviceWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteCertificateSigningRequest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteDevice(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteEnrollmentRequest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFleet(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteRepository(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteResourceSync(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTemplateVersion(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCertificateSigningRequest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDevice(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDeviceStatus(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnrollmentConfig(ctx context.Context, params *GetEnrollmentConfigParams, ...) (*http.Response, error)
- func (c *Client) GetEnrollmentRequest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnrollmentRequestStatus(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFleet(ctx context.Context, name string, params *GetFleetParams, ...) (*http.Response, error)
- func (c *Client) GetFleetStatus(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRenderedDevice(ctx context.Context, name string, params *GetRenderedDeviceParams, ...) (*http.Response, error)
- func (c *Client) GetRepository(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetResourceSync(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTemplateVersion(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCertificateSigningRequests(ctx context.Context, params *ListCertificateSigningRequestsParams, ...) (*http.Response, error)
- func (c *Client) ListDevices(ctx context.Context, params *ListDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEnrollmentRequests(ctx context.Context, params *ListEnrollmentRequestsParams, ...) (*http.Response, error)
- func (c *Client) ListEvents(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFleets(ctx context.Context, params *ListFleetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListLabels(ctx context.Context, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRepositories(ctx context.Context, params *ListRepositoriesParams, ...) (*http.Response, error)
- func (c *Client) ListResourceSyncs(ctx context.Context, params *ListResourceSyncsParams, ...) (*http.Response, error)
- func (c *Client) ListTemplateVersions(ctx context.Context, fleet string, params *ListTemplateVersionsParams, ...) (*http.Response, error)
- func (c *Client) PatchCertificateSigningRequestWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchCertificateSigningRequestWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchDeviceStatusWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchDeviceStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchDeviceWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchDeviceWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchEnrollmentRequestStatusWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchEnrollmentRequestStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchEnrollmentRequestWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchEnrollmentRequestWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchFleetStatusWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchFleetStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchFleetWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchFleetWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchRepositoryWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchRepositoryWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchResourceSyncWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchResourceSyncWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceCertificateSigningRequest(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) ReplaceCertificateSigningRequestWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceDevice(ctx context.Context, name string, body ReplaceDeviceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceDeviceStatus(ctx context.Context, name string, body ReplaceDeviceStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceDeviceStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceDeviceWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceEnrollmentRequest(ctx context.Context, name string, body ReplaceEnrollmentRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceEnrollmentRequestStatus(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) ReplaceEnrollmentRequestStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceEnrollmentRequestWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceFleet(ctx context.Context, name string, body ReplaceFleetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceFleetStatus(ctx context.Context, name string, body ReplaceFleetStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceFleetStatusWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceFleetWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceRepository(ctx context.Context, name string, body ReplaceRepositoryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceRepositoryWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceResourceSync(ctx context.Context, name string, body ReplaceResourceSyncJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceResourceSyncWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCertificateSigningRequestApproval(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) UpdateCertificateSigningRequestApprovalWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ApproveEnrollmentRequestWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ApproveEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) ApproveEnrollmentRequestWithResponse(ctx context.Context, name string, body ApproveEnrollmentRequestJSONRequestBody, ...) (*ApproveEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) AuthConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthConfigResponse, error)
- func (c *ClientWithResponses) AuthValidateWithResponse(ctx context.Context, params *AuthValidateParams, reqEditors ...RequestEditorFn) (*AuthValidateResponse, error)
- func (c *ClientWithResponses) CreateCertificateSigningRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCertificateSigningRequestResponse, error)
- func (c *ClientWithResponses) CreateCertificateSigningRequestWithResponse(ctx context.Context, body CreateCertificateSigningRequestJSONRequestBody, ...) (*CreateCertificateSigningRequestResponse, error)
- func (c *ClientWithResponses) CreateDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDeviceResponse, error)
- func (c *ClientWithResponses) CreateDeviceWithResponse(ctx context.Context, body CreateDeviceJSONRequestBody, ...) (*CreateDeviceResponse, error)
- func (c *ClientWithResponses) CreateEnrollmentRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) CreateEnrollmentRequestWithResponse(ctx context.Context, body CreateEnrollmentRequestJSONRequestBody, ...) (*CreateEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) CreateFleetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateFleetResponse, error)
- func (c *ClientWithResponses) CreateFleetWithResponse(ctx context.Context, body CreateFleetJSONRequestBody, ...) (*CreateFleetResponse, error)
- func (c *ClientWithResponses) CreateRepositoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRepositoryResponse, error)
- func (c *ClientWithResponses) CreateRepositoryWithResponse(ctx context.Context, body CreateRepositoryJSONRequestBody, ...) (*CreateRepositoryResponse, error)
- func (c *ClientWithResponses) CreateResourceSyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateResourceSyncResponse, error)
- func (c *ClientWithResponses) CreateResourceSyncWithResponse(ctx context.Context, body CreateResourceSyncJSONRequestBody, ...) (*CreateResourceSyncResponse, error)
- func (c *ClientWithResponses) DecommissionDeviceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*DecommissionDeviceResponse, error)
- func (c *ClientWithResponses) DecommissionDeviceWithResponse(ctx context.Context, name string, body DecommissionDeviceJSONRequestBody, ...) (*DecommissionDeviceResponse, error)
- func (c *ClientWithResponses) DeleteCertificateSigningRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteCertificateSigningRequestResponse, error)
- func (c *ClientWithResponses) DeleteDeviceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDeviceResponse, error)
- func (c *ClientWithResponses) DeleteEnrollmentRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) DeleteFleetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteFleetResponse, error)
- func (c *ClientWithResponses) DeleteRepositoryWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteRepositoryResponse, error)
- func (c *ClientWithResponses) DeleteResourceSyncWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteResourceSyncResponse, error)
- func (c *ClientWithResponses) DeleteTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*DeleteTemplateVersionResponse, error)
- func (c *ClientWithResponses) GetCertificateSigningRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetCertificateSigningRequestResponse, error)
- func (c *ClientWithResponses) GetDeviceStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeviceStatusResponse, error)
- func (c *ClientWithResponses) GetDeviceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeviceResponse, error)
- func (c *ClientWithResponses) GetEnrollmentConfigWithResponse(ctx context.Context, params *GetEnrollmentConfigParams, ...) (*GetEnrollmentConfigResponse, error)
- func (c *ClientWithResponses) GetEnrollmentRequestStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetEnrollmentRequestStatusResponse, error)
- func (c *ClientWithResponses) GetEnrollmentRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) GetFleetStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetFleetStatusResponse, error)
- func (c *ClientWithResponses) GetFleetWithResponse(ctx context.Context, name string, params *GetFleetParams, ...) (*GetFleetResponse, error)
- func (c *ClientWithResponses) GetRenderedDeviceWithResponse(ctx context.Context, name string, params *GetRenderedDeviceParams, ...) (*GetRenderedDeviceResponse, error)
- func (c *ClientWithResponses) GetRepositoryWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetRepositoryResponse, error)
- func (c *ClientWithResponses) GetResourceSyncWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetResourceSyncResponse, error)
- func (c *ClientWithResponses) GetTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*GetTemplateVersionResponse, error)
- func (c *ClientWithResponses) GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)
- func (c *ClientWithResponses) ListCertificateSigningRequestsWithResponse(ctx context.Context, params *ListCertificateSigningRequestsParams, ...) (*ListCertificateSigningRequestsResponse, error)
- func (c *ClientWithResponses) ListDevicesWithResponse(ctx context.Context, params *ListDevicesParams, reqEditors ...RequestEditorFn) (*ListDevicesResponse, error)
- func (c *ClientWithResponses) ListEnrollmentRequestsWithResponse(ctx context.Context, params *ListEnrollmentRequestsParams, ...) (*ListEnrollmentRequestsResponse, error)
- func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)
- func (c *ClientWithResponses) ListFleetsWithResponse(ctx context.Context, params *ListFleetsParams, reqEditors ...RequestEditorFn) (*ListFleetsResponse, error)
- func (c *ClientWithResponses) ListLabelsWithResponse(ctx context.Context, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResponse, error)
- func (c *ClientWithResponses) ListOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationsResponse, error)
- func (c *ClientWithResponses) ListRepositoriesWithResponse(ctx context.Context, params *ListRepositoriesParams, ...) (*ListRepositoriesResponse, error)
- func (c *ClientWithResponses) ListResourceSyncsWithResponse(ctx context.Context, params *ListResourceSyncsParams, ...) (*ListResourceSyncsResponse, error)
- func (c *ClientWithResponses) ListTemplateVersionsWithResponse(ctx context.Context, fleet string, params *ListTemplateVersionsParams, ...) (*ListTemplateVersionsResponse, error)
- func (c *ClientWithResponses) PatchCertificateSigningRequestWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchCertificateSigningRequestResponse, error)
- func (c *ClientWithResponses) PatchCertificateSigningRequestWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchCertificateSigningRequestResponse, error)
- func (c *ClientWithResponses) PatchDeviceStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchDeviceStatusResponse, error)
- func (c *ClientWithResponses) PatchDeviceStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchDeviceStatusResponse, error)
- func (c *ClientWithResponses) PatchDeviceWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchDeviceResponse, error)
- func (c *ClientWithResponses) PatchDeviceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchDeviceResponse, error)
- func (c *ClientWithResponses) PatchEnrollmentRequestStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchEnrollmentRequestStatusResponse, error)
- func (c *ClientWithResponses) PatchEnrollmentRequestStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchEnrollmentRequestStatusResponse, error)
- func (c *ClientWithResponses) PatchEnrollmentRequestWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) PatchEnrollmentRequestWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) PatchFleetStatusWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchFleetStatusResponse, error)
- func (c *ClientWithResponses) PatchFleetStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchFleetStatusResponse, error)
- func (c *ClientWithResponses) PatchFleetWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchFleetResponse, error)
- func (c *ClientWithResponses) PatchFleetWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchFleetResponse, error)
- func (c *ClientWithResponses) PatchRepositoryWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchRepositoryResponse, error)
- func (c *ClientWithResponses) PatchRepositoryWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchRepositoryResponse, error)
- func (c *ClientWithResponses) PatchResourceSyncWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchResourceSyncResponse, error)
- func (c *ClientWithResponses) PatchResourceSyncWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchResourceSyncResponse, error)
- func (c *ClientWithResponses) ReplaceCertificateSigningRequestWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceCertificateSigningRequestResponse, error)
- func (c *ClientWithResponses) ReplaceCertificateSigningRequestWithResponse(ctx context.Context, name string, ...) (*ReplaceCertificateSigningRequestResponse, error)
- func (c *ClientWithResponses) ReplaceDeviceStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceDeviceStatusResponse, error)
- func (c *ClientWithResponses) ReplaceDeviceStatusWithResponse(ctx context.Context, name string, body ReplaceDeviceStatusJSONRequestBody, ...) (*ReplaceDeviceStatusResponse, error)
- func (c *ClientWithResponses) ReplaceDeviceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceDeviceResponse, error)
- func (c *ClientWithResponses) ReplaceDeviceWithResponse(ctx context.Context, name string, body ReplaceDeviceJSONRequestBody, ...) (*ReplaceDeviceResponse, error)
- func (c *ClientWithResponses) ReplaceEnrollmentRequestStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceEnrollmentRequestStatusResponse, error)
- func (c *ClientWithResponses) ReplaceEnrollmentRequestStatusWithResponse(ctx context.Context, name string, ...) (*ReplaceEnrollmentRequestStatusResponse, error)
- func (c *ClientWithResponses) ReplaceEnrollmentRequestWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) ReplaceEnrollmentRequestWithResponse(ctx context.Context, name string, body ReplaceEnrollmentRequestJSONRequestBody, ...) (*ReplaceEnrollmentRequestResponse, error)
- func (c *ClientWithResponses) ReplaceFleetStatusWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceFleetStatusResponse, error)
- func (c *ClientWithResponses) ReplaceFleetStatusWithResponse(ctx context.Context, name string, body ReplaceFleetStatusJSONRequestBody, ...) (*ReplaceFleetStatusResponse, error)
- func (c *ClientWithResponses) ReplaceFleetWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceFleetResponse, error)
- func (c *ClientWithResponses) ReplaceFleetWithResponse(ctx context.Context, name string, body ReplaceFleetJSONRequestBody, ...) (*ReplaceFleetResponse, error)
- func (c *ClientWithResponses) ReplaceRepositoryWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceRepositoryResponse, error)
- func (c *ClientWithResponses) ReplaceRepositoryWithResponse(ctx context.Context, name string, body ReplaceRepositoryJSONRequestBody, ...) (*ReplaceRepositoryResponse, error)
- func (c *ClientWithResponses) ReplaceResourceSyncWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceResourceSyncResponse, error)
- func (c *ClientWithResponses) ReplaceResourceSyncWithResponse(ctx context.Context, name string, body ReplaceResourceSyncJSONRequestBody, ...) (*ReplaceResourceSyncResponse, error)
- func (c *ClientWithResponses) UpdateCertificateSigningRequestApprovalWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*UpdateCertificateSigningRequestApprovalResponse, error)
- func (c *ClientWithResponses) UpdateCertificateSigningRequestApprovalWithResponse(ctx context.Context, name string, ...) (*UpdateCertificateSigningRequestApprovalResponse, error)
- type ClientWithResponsesInterface
- type CreateCertificateSigningRequestResponse
- type CreateDeviceResponse
- type CreateEnrollmentRequestResponse
- type CreateFleetResponse
- type CreateRepositoryResponse
- type CreateResourceSyncResponse
- type DecommissionDeviceResponse
- type DeleteCertificateSigningRequestResponse
- type DeleteDeviceResponse
- type DeleteEnrollmentRequestResponse
- type DeleteFleetResponse
- type DeleteRepositoryResponse
- type DeleteResourceSyncResponse
- type DeleteTemplateVersionResponse
- type GetCertificateSigningRequestResponse
- type GetDeviceResponse
- type GetDeviceStatusResponse
- type GetEnrollmentConfigResponse
- type GetEnrollmentRequestResponse
- type GetEnrollmentRequestStatusResponse
- type GetFleetResponse
- type GetFleetStatusResponse
- type GetRenderedDeviceResponse
- type GetRepositoryResponse
- type GetResourceSyncResponse
- type GetTemplateVersionResponse
- type GetVersionResponse
- type HttpRequestDoer
- type ListCertificateSigningRequestsResponse
- type ListDevicesResponse
- type ListEnrollmentRequestsResponse
- type ListEventsResponse
- type ListFleetsResponse
- type ListLabelsResponse
- type ListOrganizationsResponse
- type ListRepositoriesResponse
- type ListResourceSyncsResponse
- type ListTemplateVersionsResponse
- type PatchCertificateSigningRequestResponse
- type PatchDeviceResponse
- type PatchDeviceStatusResponse
- type PatchEnrollmentRequestResponse
- type PatchEnrollmentRequestStatusResponse
- type PatchFleetResponse
- type PatchFleetStatusResponse
- type PatchRepositoryResponse
- type PatchResourceSyncResponse
- type ReplaceCertificateSigningRequestResponse
- type ReplaceDeviceResponse
- type ReplaceDeviceStatusResponse
- type ReplaceEnrollmentRequestResponse
- type ReplaceEnrollmentRequestStatusResponse
- type ReplaceFleetResponse
- type ReplaceFleetStatusResponse
- type ReplaceRepositoryResponse
- type ReplaceResourceSyncResponse
- type RequestEditorFn
- type UpdateCertificateSigningRequestApprovalResponse
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 ¶
NewAuthConfigRequest generates requests for AuthConfig
func NewAuthValidateRequest ¶
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 ¶
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 ¶
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 ¶
NewDeleteCertificateSigningRequestRequest generates requests for DeleteCertificateSigningRequest
func NewDeleteDeviceRequest ¶
NewDeleteDeviceRequest generates requests for DeleteDevice
func NewDeleteEnrollmentRequestRequest ¶
NewDeleteEnrollmentRequestRequest generates requests for DeleteEnrollmentRequest
func NewDeleteFleetRequest ¶
NewDeleteFleetRequest generates requests for DeleteFleet
func NewDeleteRepositoryRequest ¶
NewDeleteRepositoryRequest generates requests for DeleteRepository
func NewDeleteResourceSyncRequest ¶
NewDeleteResourceSyncRequest generates requests for DeleteResourceSync
func NewDeleteTemplateVersionRequest ¶
func NewDeleteTemplateVersionRequest(server string, fleet string, name string) (*http.Request, error)
NewDeleteTemplateVersionRequest generates requests for DeleteTemplateVersion
func NewGetCertificateSigningRequestRequest ¶ added in v0.6.0
NewGetCertificateSigningRequestRequest generates requests for GetCertificateSigningRequest
func NewGetDeviceRequest ¶ added in v0.6.0
NewGetDeviceRequest generates requests for GetDevice
func NewGetDeviceStatusRequest ¶ added in v0.6.0
NewGetDeviceStatusRequest generates requests for GetDeviceStatus
func NewGetEnrollmentConfigRequest ¶ added in v0.4.0
func NewGetEnrollmentConfigRequest(server string, params *GetEnrollmentConfigParams) (*http.Request, error)
NewGetEnrollmentConfigRequest generates requests for GetEnrollmentConfig
func NewGetEnrollmentRequestRequest ¶ added in v0.6.0
NewGetEnrollmentRequestRequest generates requests for GetEnrollmentRequest
func NewGetEnrollmentRequestStatusRequest ¶ added in v0.6.0
NewGetEnrollmentRequestStatusRequest generates requests for GetEnrollmentRequestStatus
func NewGetFleetRequest ¶ added in v0.6.0
NewGetFleetRequest generates requests for GetFleet
func NewGetFleetStatusRequest ¶ added in v0.6.0
NewGetFleetStatusRequest generates requests for GetFleetStatus
func NewGetRenderedDeviceRequest ¶ added in v0.5.0
func NewGetRenderedDeviceRequest(server string, name string, params *GetRenderedDeviceParams) (*http.Request, error)
NewGetRenderedDeviceRequest generates requests for GetRenderedDevice
func NewGetRepositoryRequest ¶ added in v0.6.0
NewGetRepositoryRequest generates requests for GetRepository
func NewGetResourceSyncRequest ¶ added in v0.6.0
NewGetResourceSyncRequest generates requests for GetResourceSync
func NewGetTemplateVersionRequest ¶ added in v0.6.0
NewGetTemplateVersionRequest generates requests for GetTemplateVersion
func NewGetVersionRequest ¶ added in v0.4.0
NewGetVersionRequest generates requests for GetVersion
func NewListCertificateSigningRequestsRequest ¶
func NewListCertificateSigningRequestsRequest(server string, params *ListCertificateSigningRequestsParams) (*http.Request, error)
NewListCertificateSigningRequestsRequest generates requests for ListCertificateSigningRequests
func NewListDevicesRequest ¶
NewListDevicesRequest generates requests for ListDevices
func NewListEnrollmentRequestsRequest ¶
func NewListEnrollmentRequestsRequest(server string, params *ListEnrollmentRequestsParams) (*http.Request, error)
NewListEnrollmentRequestsRequest generates requests for ListEnrollmentRequests
func NewListEventsRequest ¶ added in v0.7.0
NewListEventsRequest generates requests for ListEvents
func NewListFleetsRequest ¶
NewListFleetsRequest generates requests for ListFleets
func NewListLabelsRequest ¶ added in v0.6.0
NewListLabelsRequest generates requests for ListLabels
func NewListOrganizationsRequest ¶ added in v0.9.0
NewListOrganizationsRequest generates requests for ListOrganizations
func NewListRepositoriesRequest ¶
func NewListRepositoriesRequest(server string, params *ListRepositoriesParams) (*http.Request, error)
NewListRepositoriesRequest generates requests for ListRepositories
func NewListResourceSyncsRequest ¶ added in v0.6.0
func NewListResourceSyncsRequest(server string, params *ListResourceSyncsParams) (*http.Request, error)
NewListResourceSyncsRequest generates requests for ListResourceSyncs
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 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 JSON429 *Status JSON503 *Status }
func ParseApproveEnrollmentRequestResponse ¶
func ParseApproveEnrollmentRequestResponse(rsp *http.Response) (*ApproveEnrollmentRequestResponse, error)
ParseApproveEnrollmentRequestResponse parses an HTTP response from a ApproveEnrollmentRequestWithResponse call
func (ApproveEnrollmentRequestResponse) Status ¶
func (r ApproveEnrollmentRequestResponse) Status() string
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 JSON418 *Status }
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 JSON200 *Status JSON400 *Status JSON401 *Status JSON418 *Status 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 (*Client) ApproveEnrollmentRequestWithBody ¶
func (*Client) AuthConfig ¶
func (*Client) AuthValidate ¶
func (*Client) CreateCertificateSigningRequest ¶
func (*Client) CreateCertificateSigningRequestWithBody ¶
func (*Client) CreateDevice ¶
func (*Client) CreateDeviceWithBody ¶
func (*Client) CreateEnrollmentRequest ¶
func (*Client) CreateEnrollmentRequestWithBody ¶
func (*Client) CreateFleet ¶
func (*Client) CreateFleetWithBody ¶
func (*Client) CreateRepository ¶
func (*Client) CreateRepositoryWithBody ¶
func (*Client) CreateResourceSync ¶
func (*Client) CreateResourceSyncWithBody ¶
func (*Client) DecommissionDevice ¶ added in v0.4.0
func (*Client) DecommissionDeviceWithBody ¶ added in v0.4.0
func (*Client) DeleteCertificateSigningRequest ¶
func (*Client) DeleteDevice ¶
func (*Client) DeleteEnrollmentRequest ¶
func (*Client) DeleteFleet ¶
func (*Client) DeleteRepository ¶
func (*Client) DeleteResourceSync ¶
func (*Client) DeleteTemplateVersion ¶
func (*Client) GetCertificateSigningRequest ¶ added in v0.6.0
func (*Client) GetDeviceStatus ¶ added in v0.6.0
func (*Client) GetEnrollmentConfig ¶ added in v0.4.0
func (*Client) GetEnrollmentRequest ¶ added in v0.6.0
func (*Client) GetEnrollmentRequestStatus ¶ added in v0.6.0
func (*Client) GetFleetStatus ¶ added in v0.6.0
func (*Client) GetRenderedDevice ¶ added in v0.5.0
func (*Client) GetRepository ¶ added in v0.6.0
func (*Client) GetResourceSync ¶ added in v0.6.0
func (*Client) GetTemplateVersion ¶ added in v0.6.0
func (*Client) GetVersion ¶ added in v0.4.0
func (*Client) ListCertificateSigningRequests ¶
func (*Client) ListDevices ¶
func (*Client) ListEnrollmentRequests ¶
func (*Client) ListEvents ¶ added in v0.7.0
func (*Client) ListFleets ¶
func (*Client) ListLabels ¶ added in v0.6.0
func (*Client) ListOrganizations ¶ added in v0.9.0
func (*Client) ListRepositories ¶
func (*Client) ListResourceSyncs ¶ added in v0.6.0
func (*Client) ListTemplateVersions ¶
func (*Client) PatchCertificateSigningRequestWithBody ¶
func (*Client) PatchDeviceStatusWithApplicationJSONPatchPlusJSONBody ¶ added in v0.4.0
func (*Client) PatchDeviceStatusWithBody ¶ added in v0.4.0
func (*Client) PatchDeviceWithApplicationJSONPatchPlusJSONBody ¶
func (*Client) PatchDeviceWithBody ¶
func (*Client) PatchEnrollmentRequestStatusWithApplicationJSONPatchPlusJSONBody ¶ added in v0.4.0
func (*Client) PatchEnrollmentRequestStatusWithBody ¶ added in v0.4.0
func (*Client) PatchEnrollmentRequestWithApplicationJSONPatchPlusJSONBody ¶ added in v0.4.0
func (*Client) PatchEnrollmentRequestWithBody ¶ added in v0.4.0
func (*Client) PatchFleetStatusWithApplicationJSONPatchPlusJSONBody ¶ added in v0.4.0
func (*Client) PatchFleetStatusWithBody ¶ added in v0.4.0
func (*Client) PatchFleetWithApplicationJSONPatchPlusJSONBody ¶
func (*Client) PatchFleetWithBody ¶
func (*Client) PatchRepositoryWithApplicationJSONPatchPlusJSONBody ¶
func (*Client) PatchRepositoryWithBody ¶
func (*Client) PatchResourceSyncWithApplicationJSONPatchPlusJSONBody ¶
func (*Client) PatchResourceSyncWithBody ¶
func (*Client) ReplaceCertificateSigningRequest ¶
func (*Client) ReplaceCertificateSigningRequestWithBody ¶
func (*Client) ReplaceDevice ¶
func (*Client) ReplaceDeviceStatus ¶
func (*Client) ReplaceDeviceStatusWithBody ¶
func (*Client) ReplaceDeviceWithBody ¶
func (*Client) ReplaceEnrollmentRequest ¶
func (*Client) ReplaceEnrollmentRequestStatus ¶
func (*Client) ReplaceEnrollmentRequestStatusWithBody ¶
func (*Client) ReplaceEnrollmentRequestWithBody ¶
func (*Client) ReplaceFleet ¶
func (*Client) ReplaceFleetStatus ¶
func (*Client) ReplaceFleetStatusWithBody ¶
func (*Client) ReplaceFleetWithBody ¶
func (*Client) ReplaceRepository ¶
func (*Client) ReplaceRepositoryWithBody ¶
func (*Client) ReplaceResourceSync ¶
func (*Client) ReplaceResourceSyncWithBody ¶
func (*Client) UpdateCertificateSigningRequestApproval ¶ added in v0.4.0
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) // 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) // GetCertificateSigningRequest request GetCertificateSigningRequest(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) // 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) // GetDevice request GetDevice(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) // GetDeviceStatus request GetDeviceStatus(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) // 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) // GetEnrollmentRequest request GetEnrollmentRequest(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) // GetEnrollmentRequestStatus request GetEnrollmentRequestStatus(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) // ListEvents request ListEvents(ctx context.Context, params *ListEventsParams, 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) // 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) // GetTemplateVersion request GetTemplateVersion(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) // GetFleet request GetFleet(ctx context.Context, name string, params *GetFleetParams, 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) // GetFleetStatus request GetFleetStatus(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) // ListLabels request ListLabels(ctx context.Context, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ListOrganizations request ListOrganizations(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) // GetRepository request GetRepository(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) // ListResourceSyncs request ListResourceSyncs(ctx context.Context, params *ListResourceSyncsParams, 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) // GetResourceSync request GetResourceSync(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 ¶
ClientOption allows setting custom parameters during construction
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) DeleteDeviceWithResponse ¶
func (c *ClientWithResponses) DeleteDeviceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDeviceResponse, error)
DeleteDeviceWithResponse request returning *DeleteDeviceResponse
func (*ClientWithResponses) DeleteEnrollmentRequestWithResponse ¶
func (c *ClientWithResponses) DeleteEnrollmentRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteEnrollmentRequestResponse, error)
DeleteEnrollmentRequestWithResponse request returning *DeleteEnrollmentRequestResponse
func (*ClientWithResponses) DeleteFleetWithResponse ¶
func (c *ClientWithResponses) DeleteFleetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteFleetResponse, error)
DeleteFleetWithResponse request returning *DeleteFleetResponse
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) DeleteTemplateVersionWithResponse ¶
func (c *ClientWithResponses) DeleteTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*DeleteTemplateVersionResponse, error)
DeleteTemplateVersionWithResponse request returning *DeleteTemplateVersionResponse
func (*ClientWithResponses) GetCertificateSigningRequestWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetCertificateSigningRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetCertificateSigningRequestResponse, error)
GetCertificateSigningRequestWithResponse request returning *GetCertificateSigningRequestResponse
func (*ClientWithResponses) GetDeviceStatusWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetDeviceStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeviceStatusResponse, error)
GetDeviceStatusWithResponse request returning *GetDeviceStatusResponse
func (*ClientWithResponses) GetDeviceWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetDeviceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeviceResponse, error)
GetDeviceWithResponse request returning *GetDeviceResponse
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) GetEnrollmentRequestStatusWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetEnrollmentRequestStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetEnrollmentRequestStatusResponse, error)
GetEnrollmentRequestStatusWithResponse request returning *GetEnrollmentRequestStatusResponse
func (*ClientWithResponses) GetEnrollmentRequestWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetEnrollmentRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetEnrollmentRequestResponse, error)
GetEnrollmentRequestWithResponse request returning *GetEnrollmentRequestResponse
func (*ClientWithResponses) GetFleetStatusWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetFleetStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetFleetStatusResponse, error)
GetFleetStatusWithResponse request returning *GetFleetStatusResponse
func (*ClientWithResponses) GetFleetWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetFleetWithResponse(ctx context.Context, name string, params *GetFleetParams, reqEditors ...RequestEditorFn) (*GetFleetResponse, error)
GetFleetWithResponse request returning *GetFleetResponse
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) GetRepositoryWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetRepositoryWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetRepositoryResponse, error)
GetRepositoryWithResponse request returning *GetRepositoryResponse
func (*ClientWithResponses) GetResourceSyncWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetResourceSyncWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetResourceSyncResponse, error)
GetResourceSyncWithResponse request returning *GetResourceSyncResponse
func (*ClientWithResponses) GetTemplateVersionWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*GetTemplateVersionResponse, error)
GetTemplateVersionWithResponse request returning *GetTemplateVersionResponse
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) ListEventsWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)
ListEventsWithResponse request returning *ListEventsResponse
func (*ClientWithResponses) ListFleetsWithResponse ¶
func (c *ClientWithResponses) ListFleetsWithResponse(ctx context.Context, params *ListFleetsParams, reqEditors ...RequestEditorFn) (*ListFleetsResponse, error)
ListFleetsWithResponse request returning *ListFleetsResponse
func (*ClientWithResponses) ListLabelsWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) ListLabelsWithResponse(ctx context.Context, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResponse, error)
ListLabelsWithResponse request returning *ListLabelsResponse
func (*ClientWithResponses) ListOrganizationsWithResponse ¶ added in v0.9.0
func (c *ClientWithResponses) ListOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationsResponse, error)
ListOrganizationsWithResponse request returning *ListOrganizationsResponse
func (*ClientWithResponses) ListRepositoriesWithResponse ¶
func (c *ClientWithResponses) ListRepositoriesWithResponse(ctx context.Context, params *ListRepositoriesParams, reqEditors ...RequestEditorFn) (*ListRepositoriesResponse, error)
ListRepositoriesWithResponse request returning *ListRepositoriesResponse
func (*ClientWithResponses) ListResourceSyncsWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) ListResourceSyncsWithResponse(ctx context.Context, params *ListResourceSyncsParams, reqEditors ...RequestEditorFn) (*ListResourceSyncsResponse, error)
ListResourceSyncsWithResponse request returning *ListResourceSyncsResponse
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) 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) // 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) // GetCertificateSigningRequestWithResponse request GetCertificateSigningRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetCertificateSigningRequestResponse, 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) // 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) // GetDeviceWithResponse request GetDeviceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeviceResponse, 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) // GetDeviceStatusWithResponse request GetDeviceStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeviceStatusResponse, 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) // 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) // GetEnrollmentRequestWithResponse request GetEnrollmentRequestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetEnrollmentRequestResponse, 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) // GetEnrollmentRequestStatusWithResponse request GetEnrollmentRequestStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetEnrollmentRequestStatusResponse, 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) // ListEventsWithResponse request ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, 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) // 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) // GetTemplateVersionWithResponse request GetTemplateVersionWithResponse(ctx context.Context, fleet string, name string, reqEditors ...RequestEditorFn) (*GetTemplateVersionResponse, error) // DeleteFleetWithResponse request DeleteFleetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteFleetResponse, error) // GetFleetWithResponse request GetFleetWithResponse(ctx context.Context, name string, params *GetFleetParams, reqEditors ...RequestEditorFn) (*GetFleetResponse, 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) // GetFleetStatusWithResponse request GetFleetStatusWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetFleetStatusResponse, 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) // ListLabelsWithResponse request ListLabelsWithResponse(ctx context.Context, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResponse, error) // ListOrganizationsWithResponse request ListOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationsResponse, 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) // GetRepositoryWithResponse request GetRepositoryWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetRepositoryResponse, 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) // ListResourceSyncsWithResponse request ListResourceSyncsWithResponse(ctx context.Context, params *ListResourceSyncsParams, reqEditors ...RequestEditorFn) (*ListResourceSyncsResponse, 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) // GetResourceSyncWithResponse request GetResourceSyncWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetResourceSyncResponse, 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 JSON429 *Status JSON503 *Status }
func ParseCreateCertificateSigningRequestResponse ¶
func ParseCreateCertificateSigningRequestResponse(rsp *http.Response) (*CreateCertificateSigningRequestResponse, error)
ParseCreateCertificateSigningRequestResponse parses an HTTP response from a CreateCertificateSigningRequestWithResponse call
func (CreateCertificateSigningRequestResponse) Status ¶
func (r CreateCertificateSigningRequestResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCertificateSigningRequestResponse) StatusCode ¶
func (r CreateCertificateSigningRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDeviceResponse ¶
type CreateDeviceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *Device JSON400 *Status JSON401 *Status JSON403 *Status JSON409 *Status JSON429 *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 JSON429 *Status JSON503 *Status }
func ParseCreateEnrollmentRequestResponse ¶
func ParseCreateEnrollmentRequestResponse(rsp *http.Response) (*CreateEnrollmentRequestResponse, error)
ParseCreateEnrollmentRequestResponse parses an HTTP response from a CreateEnrollmentRequestWithResponse call
func (CreateEnrollmentRequestResponse) Status ¶
func (r CreateEnrollmentRequestResponse) Status() string
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 JSON429 *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 JSON429 *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 JSON429 *Status JSON503 *Status }
func ParseCreateResourceSyncResponse ¶
func ParseCreateResourceSyncResponse(rsp *http.Response) (*CreateResourceSyncResponse, error)
ParseCreateResourceSyncResponse parses an HTTP response from a CreateResourceSyncWithResponse call
func (CreateResourceSyncResponse) Status ¶
func (r CreateResourceSyncResponse) Status() string
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 JSON429 *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
func (r DecommissionDeviceResponse) Status() string
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 *Status JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseDeleteCertificateSigningRequestResponse ¶
func ParseDeleteCertificateSigningRequestResponse(rsp *http.Response) (*DeleteCertificateSigningRequestResponse, error)
ParseDeleteCertificateSigningRequestResponse parses an HTTP response from a DeleteCertificateSigningRequestWithResponse call
func (DeleteCertificateSigningRequestResponse) Status ¶
func (r DeleteCertificateSigningRequestResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCertificateSigningRequestResponse) StatusCode ¶
func (r DeleteCertificateSigningRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Status JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *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 DeleteEnrollmentRequestResponse ¶
type DeleteEnrollmentRequestResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Status JSON401 *Status JSON403 *Status JSON404 *Status JSON409 *Status JSON429 *Status JSON503 *Status }
func ParseDeleteEnrollmentRequestResponse ¶
func ParseDeleteEnrollmentRequestResponse(rsp *http.Response) (*DeleteEnrollmentRequestResponse, error)
ParseDeleteEnrollmentRequestResponse parses an HTTP response from a DeleteEnrollmentRequestWithResponse call
func (DeleteEnrollmentRequestResponse) Status ¶
func (r DeleteEnrollmentRequestResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnrollmentRequestResponse) StatusCode ¶
func (r DeleteEnrollmentRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFleetResponse ¶
type DeleteFleetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Status JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *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 DeleteRepositoryResponse ¶
type DeleteRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Status JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *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 *Status JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseDeleteResourceSyncResponse ¶
func ParseDeleteResourceSyncResponse(rsp *http.Response) (*DeleteResourceSyncResponse, error)
ParseDeleteResourceSyncResponse parses an HTTP response from a DeleteResourceSyncWithResponse call
func (DeleteResourceSyncResponse) Status ¶
func (r DeleteResourceSyncResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteResourceSyncResponse) StatusCode ¶
func (r DeleteResourceSyncResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTemplateVersionResponse ¶
type DeleteTemplateVersionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Status JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseDeleteTemplateVersionResponse ¶
func ParseDeleteTemplateVersionResponse(rsp *http.Response) (*DeleteTemplateVersionResponse, error)
ParseDeleteTemplateVersionResponse parses an HTTP response from a DeleteTemplateVersionWithResponse call
func (DeleteTemplateVersionResponse) Status ¶
func (r DeleteTemplateVersionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTemplateVersionResponse) StatusCode ¶
func (r DeleteTemplateVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCertificateSigningRequestResponse ¶ added in v0.6.0
type GetCertificateSigningRequestResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CertificateSigningRequest JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetCertificateSigningRequestResponse ¶ added in v0.6.0
func ParseGetCertificateSigningRequestResponse(rsp *http.Response) (*GetCertificateSigningRequestResponse, error)
ParseGetCertificateSigningRequestResponse parses an HTTP response from a GetCertificateSigningRequestWithResponse call
func (GetCertificateSigningRequestResponse) Status ¶ added in v0.6.0
func (r GetCertificateSigningRequestResponse) Status() string
Status returns HTTPResponse.Status
func (GetCertificateSigningRequestResponse) StatusCode ¶ added in v0.6.0
func (r GetCertificateSigningRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceResponse ¶ added in v0.6.0
type GetDeviceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Device JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetDeviceResponse ¶ added in v0.6.0
func ParseGetDeviceResponse(rsp *http.Response) (*GetDeviceResponse, error)
ParseGetDeviceResponse parses an HTTP response from a GetDeviceWithResponse call
func (GetDeviceResponse) Status ¶ added in v0.6.0
func (r GetDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceResponse) StatusCode ¶ added in v0.6.0
func (r GetDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceStatusResponse ¶ added in v0.6.0
type GetDeviceStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Device JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetDeviceStatusResponse ¶ added in v0.6.0
func ParseGetDeviceStatusResponse(rsp *http.Response) (*GetDeviceStatusResponse, error)
ParseGetDeviceStatusResponse parses an HTTP response from a GetDeviceStatusWithResponse call
func (GetDeviceStatusResponse) Status ¶ added in v0.6.0
func (r GetDeviceStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeviceStatusResponse) StatusCode ¶ added in v0.6.0
func (r GetDeviceStatusResponse) 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 JSON429 *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
func (r GetEnrollmentConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnrollmentConfigResponse) StatusCode ¶ added in v0.4.0
func (r GetEnrollmentConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnrollmentRequestResponse ¶ added in v0.6.0
type GetEnrollmentRequestResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EnrollmentRequest JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetEnrollmentRequestResponse ¶ added in v0.6.0
func ParseGetEnrollmentRequestResponse(rsp *http.Response) (*GetEnrollmentRequestResponse, error)
ParseGetEnrollmentRequestResponse parses an HTTP response from a GetEnrollmentRequestWithResponse call
func (GetEnrollmentRequestResponse) Status ¶ added in v0.6.0
func (r GetEnrollmentRequestResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnrollmentRequestResponse) StatusCode ¶ added in v0.6.0
func (r GetEnrollmentRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnrollmentRequestStatusResponse ¶ added in v0.6.0
type GetEnrollmentRequestStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EnrollmentRequest JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetEnrollmentRequestStatusResponse ¶ added in v0.6.0
func ParseGetEnrollmentRequestStatusResponse(rsp *http.Response) (*GetEnrollmentRequestStatusResponse, error)
ParseGetEnrollmentRequestStatusResponse parses an HTTP response from a GetEnrollmentRequestStatusWithResponse call
func (GetEnrollmentRequestStatusResponse) Status ¶ added in v0.6.0
func (r GetEnrollmentRequestStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnrollmentRequestStatusResponse) StatusCode ¶ added in v0.6.0
func (r GetEnrollmentRequestStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFleetResponse ¶ added in v0.6.0
type GetFleetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Fleet JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetFleetResponse ¶ added in v0.6.0
func ParseGetFleetResponse(rsp *http.Response) (*GetFleetResponse, error)
ParseGetFleetResponse parses an HTTP response from a GetFleetWithResponse call
func (GetFleetResponse) Status ¶ added in v0.6.0
func (r GetFleetResponse) Status() string
Status returns HTTPResponse.Status
func (GetFleetResponse) StatusCode ¶ added in v0.6.0
func (r GetFleetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFleetStatusResponse ¶ added in v0.6.0
type GetFleetStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Fleet JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetFleetStatusResponse ¶ added in v0.6.0
func ParseGetFleetStatusResponse(rsp *http.Response) (*GetFleetStatusResponse, error)
ParseGetFleetStatusResponse parses an HTTP response from a GetFleetStatusWithResponse call
func (GetFleetStatusResponse) Status ¶ added in v0.6.0
func (r GetFleetStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetFleetStatusResponse) StatusCode ¶ added in v0.6.0
func (r GetFleetStatusResponse) 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 JSON429 *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 GetRepositoryResponse ¶ added in v0.6.0
type GetRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Repository JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetRepositoryResponse ¶ added in v0.6.0
func ParseGetRepositoryResponse(rsp *http.Response) (*GetRepositoryResponse, error)
ParseGetRepositoryResponse parses an HTTP response from a GetRepositoryWithResponse call
func (GetRepositoryResponse) Status ¶ added in v0.6.0
func (r GetRepositoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetRepositoryResponse) StatusCode ¶ added in v0.6.0
func (r GetRepositoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResourceSyncResponse ¶ added in v0.6.0
type GetResourceSyncResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceSync JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetResourceSyncResponse ¶ added in v0.6.0
func ParseGetResourceSyncResponse(rsp *http.Response) (*GetResourceSyncResponse, error)
ParseGetResourceSyncResponse parses an HTTP response from a GetResourceSyncWithResponse call
func (GetResourceSyncResponse) Status ¶ added in v0.6.0
func (r GetResourceSyncResponse) Status() string
Status returns HTTPResponse.Status
func (GetResourceSyncResponse) StatusCode ¶ added in v0.6.0
func (r GetResourceSyncResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplateVersionResponse ¶ added in v0.6.0
type GetTemplateVersionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TemplateVersion JSON401 *Status JSON403 *Status JSON404 *Status JSON429 *Status JSON503 *Status }
func ParseGetTemplateVersionResponse ¶ added in v0.6.0
func ParseGetTemplateVersionResponse(rsp *http.Response) (*GetTemplateVersionResponse, error)
ParseGetTemplateVersionResponse parses an HTTP response from a GetTemplateVersionWithResponse call
func (GetTemplateVersionResponse) Status ¶ added in v0.6.0
func (r GetTemplateVersionResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplateVersionResponse) StatusCode ¶ added in v0.6.0
func (r GetTemplateVersionResponse) 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 JSON429 *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 ¶
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 JSON429 *Status JSON503 *Status }
func ParseListCertificateSigningRequestsResponse ¶
func ParseListCertificateSigningRequestsResponse(rsp *http.Response) (*ListCertificateSigningRequestsResponse, error)
ParseListCertificateSigningRequestsResponse parses an HTTP response from a ListCertificateSigningRequestsWithResponse call
func (ListCertificateSigningRequestsResponse) Status ¶
func (r ListCertificateSigningRequestsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCertificateSigningRequestsResponse) StatusCode ¶
func (r ListCertificateSigningRequestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDevicesResponse ¶
type ListDevicesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeviceList JSON400 *Status JSON401 *Status JSON403 *Status JSON429 *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 JSON429 *Status JSON503 *Status }
func ParseListEnrollmentRequestsResponse ¶
func ParseListEnrollmentRequestsResponse(rsp *http.Response) (*ListEnrollmentRequestsResponse, error)
ParseListEnrollmentRequestsResponse parses an HTTP response from a ListEnrollmentRequestsWithResponse call
func (ListEnrollmentRequestsResponse) Status ¶
func (r ListEnrollmentRequestsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEnrollmentRequestsResponse) StatusCode ¶
func (r ListEnrollmentRequestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEventsResponse ¶ added in v0.7.0
type ListEventsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EventList JSON400 *Status JSON401 *Status JSON403 *Status JSON429 *Status JSON503 *Status }
func ParseListEventsResponse ¶ added in v0.7.0
func ParseListEventsResponse(rsp *http.Response) (*ListEventsResponse, error)
ParseListEventsResponse parses an HTTP response from a ListEventsWithResponse call
func (ListEventsResponse) Status ¶ added in v0.7.0
func (r ListEventsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEventsResponse) StatusCode ¶ added in v0.7.0
func (r ListEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFleetsResponse ¶
type ListFleetsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *FleetList JSON400 *Status JSON401 *Status JSON403 *Status JSON429 *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 ListLabelsResponse ¶ added in v0.6.0
type ListLabelsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *LabelList JSON400 *Status JSON401 *Status JSON403 *Status JSON429 *Status JSON503 *Status }
func ParseListLabelsResponse ¶ added in v0.6.0
func ParseListLabelsResponse(rsp *http.Response) (*ListLabelsResponse, error)
ParseListLabelsResponse parses an HTTP response from a ListLabelsWithResponse call
func (ListLabelsResponse) Status ¶ added in v0.6.0
func (r ListLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (ListLabelsResponse) StatusCode ¶ added in v0.6.0
func (r ListLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOrganizationsResponse ¶ added in v0.9.0
type ListOrganizationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrganizationList JSON400 *Status JSON401 *Status JSON403 *Status JSON429 *Status JSON503 *Status }
func ParseListOrganizationsResponse ¶ added in v0.9.0
func ParseListOrganizationsResponse(rsp *http.Response) (*ListOrganizationsResponse, error)
ParseListOrganizationsResponse parses an HTTP response from a ListOrganizationsWithResponse call
func (ListOrganizationsResponse) Status ¶ added in v0.9.0
func (r ListOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListOrganizationsResponse) StatusCode ¶ added in v0.9.0
func (r ListOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoryList JSON400 *Status JSON401 *Status JSON403 *Status JSON429 *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 ListResourceSyncsResponse ¶ added in v0.6.0
type ListResourceSyncsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceSyncList JSON400 *Status JSON401 *Status JSON403 *Status JSON429 *Status JSON503 *Status }
func ParseListResourceSyncsResponse ¶ added in v0.6.0
func ParseListResourceSyncsResponse(rsp *http.Response) (*ListResourceSyncsResponse, error)
ParseListResourceSyncsResponse parses an HTTP response from a ListResourceSyncsWithResponse call
func (ListResourceSyncsResponse) Status ¶ added in v0.6.0
func (r ListResourceSyncsResponse) Status() string
Status returns HTTPResponse.Status
func (ListResourceSyncsResponse) StatusCode ¶ added in v0.6.0
func (r ListResourceSyncsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTemplateVersionsResponse ¶
type ListTemplateVersionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TemplateVersionList JSON400 *Status JSON401 *Status JSON403 *Status JSON429 *Status JSON503 *Status }
func ParseListTemplateVersionsResponse ¶
func ParseListTemplateVersionsResponse(rsp *http.Response) (*ListTemplateVersionsResponse, error)
ParseListTemplateVersionsResponse parses an HTTP response from a ListTemplateVersionsWithResponse call
func (ListTemplateVersionsResponse) Status ¶
func (r ListTemplateVersionsResponse) Status() string
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 JSON429 *Status JSON503 *Status }
func ParsePatchCertificateSigningRequestResponse ¶
func ParsePatchCertificateSigningRequestResponse(rsp *http.Response) (*PatchCertificateSigningRequestResponse, error)
ParsePatchCertificateSigningRequestResponse parses an HTTP response from a PatchCertificateSigningRequestWithResponse call
func (PatchCertificateSigningRequestResponse) Status ¶
func (r PatchCertificateSigningRequestResponse) Status() string
Status returns HTTPResponse.Status
func (PatchCertificateSigningRequestResponse) StatusCode ¶
func (r PatchCertificateSigningRequestResponse) StatusCode() int
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 JSON429 *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 JSON429 *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 JSON429 *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
func (r PatchEnrollmentRequestResponse) Status() string
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 JSON429 *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
func (r PatchEnrollmentRequestStatusResponse) Status() string
Status returns HTTPResponse.Status
func (PatchEnrollmentRequestStatusResponse) StatusCode ¶ added in v0.4.0
func (r PatchEnrollmentRequestStatusResponse) StatusCode() int
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 JSON429 *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 JSON429 *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 JSON429 *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 JSON429 *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 ReplaceCertificateSigningRequestResponse ¶
type ReplaceCertificateSigningRequestResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CertificateSigningRequest JSON201 *CertificateSigningRequest JSON400 *Status JSON401 *Status JSON403 *Status JSON404 *Status JSON409 *Status JSON429 *Status JSON503 *Status }
func ParseReplaceCertificateSigningRequestResponse ¶
func ParseReplaceCertificateSigningRequestResponse(rsp *http.Response) (*ReplaceCertificateSigningRequestResponse, error)
ParseReplaceCertificateSigningRequestResponse parses an HTTP response from a ReplaceCertificateSigningRequestWithResponse call
func (ReplaceCertificateSigningRequestResponse) Status ¶
func (r ReplaceCertificateSigningRequestResponse) Status() string
Status returns HTTPResponse.Status
func (ReplaceCertificateSigningRequestResponse) StatusCode ¶
func (r ReplaceCertificateSigningRequestResponse) StatusCode() int
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 JSON429 *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 JSON409 *Status JSON429 *Status JSON503 *Status }
func ParseReplaceDeviceStatusResponse ¶
func ParseReplaceDeviceStatusResponse(rsp *http.Response) (*ReplaceDeviceStatusResponse, error)
ParseReplaceDeviceStatusResponse parses an HTTP response from a ReplaceDeviceStatusWithResponse call
func (ReplaceDeviceStatusResponse) Status ¶
func (r ReplaceDeviceStatusResponse) Status() string
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 JSON429 *Status JSON503 *Status }
func ParseReplaceEnrollmentRequestResponse ¶
func ParseReplaceEnrollmentRequestResponse(rsp *http.Response) (*ReplaceEnrollmentRequestResponse, error)
ParseReplaceEnrollmentRequestResponse parses an HTTP response from a ReplaceEnrollmentRequestWithResponse call
func (ReplaceEnrollmentRequestResponse) Status ¶
func (r ReplaceEnrollmentRequestResponse) Status() string
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 JSON429 *Status JSON503 *Status }
func ParseReplaceEnrollmentRequestStatusResponse ¶
func ParseReplaceEnrollmentRequestStatusResponse(rsp *http.Response) (*ReplaceEnrollmentRequestStatusResponse, error)
ParseReplaceEnrollmentRequestStatusResponse parses an HTTP response from a ReplaceEnrollmentRequestStatusWithResponse call
func (ReplaceEnrollmentRequestStatusResponse) Status ¶
func (r ReplaceEnrollmentRequestStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ReplaceEnrollmentRequestStatusResponse) StatusCode ¶
func (r ReplaceEnrollmentRequestStatusResponse) StatusCode() int
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 JSON429 *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 JSON429 *Status JSON503 *Status }
func ParseReplaceFleetStatusResponse ¶
func ParseReplaceFleetStatusResponse(rsp *http.Response) (*ReplaceFleetStatusResponse, error)
ParseReplaceFleetStatusResponse parses an HTTP response from a ReplaceFleetStatusWithResponse call
func (ReplaceFleetStatusResponse) Status ¶
func (r ReplaceFleetStatusResponse) Status() string
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 JSON429 *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 JSON429 *Status JSON503 *Status }
func ParseReplaceResourceSyncResponse ¶
func ParseReplaceResourceSyncResponse(rsp *http.Response) (*ReplaceResourceSyncResponse, error)
ParseReplaceResourceSyncResponse parses an HTTP response from a ReplaceResourceSyncWithResponse call
func (ReplaceResourceSyncResponse) Status ¶
func (r ReplaceResourceSyncResponse) Status() string
Status returns HTTPResponse.Status
func (ReplaceResourceSyncResponse) StatusCode ¶
func (r ReplaceResourceSyncResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
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 JSON429 *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
func (r UpdateCertificateSigningRequestApprovalResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCertificateSigningRequestApprovalResponse) StatusCode ¶ added in v0.4.0
func (r UpdateCertificateSigningRequestApprovalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode