api

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

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

Package api is the generated client of the zbox orchestrator REST API plus a thin wrapper around it.

gen.go is produced by oapi-codegen from openapi.yml, the orchestrator's public REST contract, never edit it by hand.

Index

Constants

View Source
const ProxyApiPrefix = "/service-api"

ProxyApiPrefix is the path under which zproxy serves the header-authenticated API of a workspace (the same constant as zerops.ProxyApiPrefix, kept here so this package stays on its own).

Variables

View Source
var ErrAccessRenewed = errors.New("the workspace access had expired and was renewed, run the command again")

ErrAccessRenewed is answered when the access was renewed but the request could not be sent again, since its body was already read: the next run goes through.

Functions

func IsCode

func IsCode(err error, code string) bool

IsCode matches an error the API named, for example sandboxNotFound.

func Key

func Key() string

Key mints the idempotency key of one capacity-consuming call. One per logical call, reused on a retry of that call, never shared between two.

func MetaValue

func MetaValue(err error, field string) string

MetaValue is the first value the API put under a metadata field, empty when there is none.

func NewDeleteBaseBuildCacheRequest

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

NewDeleteBaseBuildCacheRequest constructs an http.Request for the DeleteBaseBuildCache method

func NewDeleteBaseRequest

func NewDeleteBaseRequest(server string, digest Digest) (*http.Request, error)

NewDeleteBaseRequest constructs an http.Request for the DeleteBase method

func NewDeleteConnectorCredentialRequest

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

NewDeleteConnectorCredentialRequest constructs an http.Request for the DeleteConnectorCredential method

func NewDeleteExportRequest

func NewDeleteExportRequest(server string, id Id) (*http.Request, error)

NewDeleteExportRequest constructs an http.Request for the DeleteExport method

func NewDeleteIngressCredentialRequest

func NewDeleteIngressCredentialRequest(server string, id Id) (*http.Request, error)

NewDeleteIngressCredentialRequest constructs an http.Request for the DeleteIngressCredential method

func NewDeleteIntegrationRequest

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

NewDeleteIntegrationRequest constructs an http.Request for the DeleteIntegration method

func NewDeleteQuarantineRequest

func NewDeleteQuarantineRequest(server string, id Id) (*http.Request, error)

NewDeleteQuarantineRequest constructs an http.Request for the DeleteQuarantine method

func NewDeleteSandboxFileRequest

func NewDeleteSandboxFileRequest(server string, id Id, params *DeleteSandboxFileParams) (*http.Request, error)

NewDeleteSandboxFileRequest constructs an http.Request for the DeleteSandboxFile method

func NewDeleteSandboxIntegrationAttachmentRequest

func NewDeleteSandboxIntegrationAttachmentRequest(server string, id Id, name string) (*http.Request, error)

NewDeleteSandboxIntegrationAttachmentRequest constructs an http.Request for the DeleteSandboxIntegrationAttachment method

func NewDeleteSandboxRequest

func NewDeleteSandboxRequest(server string, id Id, params *DeleteSandboxParams) (*http.Request, error)

NewDeleteSandboxRequest constructs an http.Request for the DeleteSandbox method

func NewDeleteSnapshotRequest

func NewDeleteSnapshotRequest(server string, id Id) (*http.Request, error)

NewDeleteSnapshotRequest constructs an http.Request for the DeleteSnapshot method

func NewDeleteTemplateRequest

func NewDeleteTemplateRequest(server string, digest Digest) (*http.Request, error)

NewDeleteTemplateRequest constructs an http.Request for the DeleteTemplate method

func NewDeleteTokenRequest

func NewDeleteTokenRequest(server string, id Id) (*http.Request, error)

NewDeleteTokenRequest constructs an http.Request for the DeleteToken method

func NewDeleteWebhookRequest

func NewDeleteWebhookRequest(server string, id Id) (*http.Request, error)

NewDeleteWebhookRequest constructs an http.Request for the DeleteWebhook method

func NewGetBaseBuildCacheRequest

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

NewGetBaseBuildCacheRequest constructs an http.Request for the GetBaseBuildCache method

func NewGetBaseListRequest

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

NewGetBaseListRequest constructs an http.Request for the GetBaseList method

func NewGetBaseRequest

func NewGetBaseRequest(server string, digest Digest) (*http.Request, error)

NewGetBaseRequest constructs an http.Request for the GetBase method

func NewGetConnectorListRequest

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

NewGetConnectorListRequest constructs an http.Request for the GetConnectorList method

func NewGetConnectorRequest

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

NewGetConnectorRequest constructs an http.Request for the GetConnector method

func NewGetEventListRequest

func NewGetEventListRequest(server string, params *GetEventListParams) (*http.Request, error)

NewGetEventListRequest constructs an http.Request for the GetEventList method

func NewGetEventStreamRequest

func NewGetEventStreamRequest(server string, params *GetEventStreamParams) (*http.Request, error)

NewGetEventStreamRequest constructs an http.Request for the GetEventStream method

func NewGetExportArchiveRequest

func NewGetExportArchiveRequest(server string, id Id) (*http.Request, error)

NewGetExportArchiveRequest constructs an http.Request for the GetExportArchive method

func NewGetExportListRequest

func NewGetExportListRequest(server string, params *GetExportListParams) (*http.Request, error)

NewGetExportListRequest constructs an http.Request for the GetExportList method

func NewGetExportRequest

func NewGetExportRequest(server string, id Id) (*http.Request, error)

NewGetExportRequest constructs an http.Request for the GetExport method

func NewGetIntegrationListRequest

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

NewGetIntegrationListRequest constructs an http.Request for the GetIntegrationList method

func NewGetIntegrationRequest

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

NewGetIntegrationRequest constructs an http.Request for the GetIntegration method

func NewGetLineageListRequest

func NewGetLineageListRequest(server string, params *GetLineageListParams) (*http.Request, error)

NewGetLineageListRequest constructs an http.Request for the GetLineageList method

func NewGetLineageRequest

func NewGetLineageRequest(server string, id Id) (*http.Request, error)

NewGetLineageRequest constructs an http.Request for the GetLineage method

func NewGetOperationListRequest

func NewGetOperationListRequest(server string, params *GetOperationListParams) (*http.Request, error)

NewGetOperationListRequest constructs an http.Request for the GetOperationList method

func NewGetOperationRequest

func NewGetOperationRequest(server string, id Id, params *GetOperationParams) (*http.Request, error)

NewGetOperationRequest constructs an http.Request for the GetOperation method

func NewGetPingRequest

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

NewGetPingRequest constructs an http.Request for the GetPing method

func NewGetQuarantineListRequest

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

NewGetQuarantineListRequest constructs an http.Request for the GetQuarantineList method

func NewGetSandboxEventListRequest

func NewGetSandboxEventListRequest(server string, id Id, params *GetSandboxEventListParams) (*http.Request, error)

NewGetSandboxEventListRequest constructs an http.Request for the GetSandboxEventList method

func NewGetSandboxFileArchiveRequest

func NewGetSandboxFileArchiveRequest(server string, id Id, params *GetSandboxFileArchiveParams) (*http.Request, error)

NewGetSandboxFileArchiveRequest constructs an http.Request for the GetSandboxFileArchive method

func NewGetSandboxFileListRequest

func NewGetSandboxFileListRequest(server string, id Id, params *GetSandboxFileListParams) (*http.Request, error)

NewGetSandboxFileListRequest constructs an http.Request for the GetSandboxFileList method

func NewGetSandboxFileRequest

func NewGetSandboxFileRequest(server string, id Id, params *GetSandboxFileParams) (*http.Request, error)

NewGetSandboxFileRequest constructs an http.Request for the GetSandboxFile method

func NewGetSandboxIngressCredentialListRequest

func NewGetSandboxIngressCredentialListRequest(server string, id Id, params *GetSandboxIngressCredentialListParams) (*http.Request, error)

NewGetSandboxIngressCredentialListRequest constructs an http.Request for the GetSandboxIngressCredentialList method

func NewGetSandboxIntegrationAttachmentListRequest

func NewGetSandboxIntegrationAttachmentListRequest(server string, id Id) (*http.Request, error)

NewGetSandboxIntegrationAttachmentListRequest constructs an http.Request for the GetSandboxIntegrationAttachmentList method

func NewGetSandboxListRequest

func NewGetSandboxListRequest(server string, params *GetSandboxListParams) (*http.Request, error)

NewGetSandboxListRequest constructs an http.Request for the GetSandboxList method

func NewGetSandboxMetricListRequest

func NewGetSandboxMetricListRequest(server string, id Id, params *GetSandboxMetricListParams) (*http.Request, error)

NewGetSandboxMetricListRequest constructs an http.Request for the GetSandboxMetricList method

func NewGetSandboxProcessListRequest

func NewGetSandboxProcessListRequest(server string, id Id) (*http.Request, error)

NewGetSandboxProcessListRequest constructs an http.Request for the GetSandboxProcessList method

func NewGetSandboxRequest

func NewGetSandboxRequest(server string, id Id) (*http.Request, error)

NewGetSandboxRequest constructs an http.Request for the GetSandbox method

func NewGetSandboxSessionListRequest

func NewGetSandboxSessionListRequest(server string, id Id, params *GetSandboxSessionListParams) (*http.Request, error)

NewGetSandboxSessionListRequest constructs an http.Request for the GetSandboxSessionList method

func NewGetSandboxShellRequest

func NewGetSandboxShellRequest(server string, id Id, params *GetSandboxShellParams) (*http.Request, error)

NewGetSandboxShellRequest constructs an http.Request for the GetSandboxShell method

func NewGetSandboxSnapshotListRequest

func NewGetSandboxSnapshotListRequest(server string, id Id) (*http.Request, error)

NewGetSandboxSnapshotListRequest constructs an http.Request for the GetSandboxSnapshotList method

func NewGetSandboxSshConnectRequest

func NewGetSandboxSshConnectRequest(server string, id Id) (*http.Request, error)

NewGetSandboxSshConnectRequest constructs an http.Request for the GetSandboxSshConnect method

func NewGetSandboxSshRequest

func NewGetSandboxSshRequest(server string, id Id) (*http.Request, error)

NewGetSandboxSshRequest constructs an http.Request for the GetSandboxSsh method

func NewGetSessionOutputRequest

func NewGetSessionOutputRequest(server string, id Id) (*http.Request, error)

NewGetSessionOutputRequest constructs an http.Request for the GetSessionOutput method

func NewGetSessionRequest

func NewGetSessionRequest(server string, id Id) (*http.Request, error)

NewGetSessionRequest constructs an http.Request for the GetSession method

func NewGetSnapshotRequest

func NewGetSnapshotRequest(server string, id Id) (*http.Request, error)

NewGetSnapshotRequest constructs an http.Request for the GetSnapshot method

func NewGetTemplateListRequest

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

NewGetTemplateListRequest constructs an http.Request for the GetTemplateList method

func NewGetTemplateRequest

func NewGetTemplateRequest(server string, digest Digest) (*http.Request, error)

NewGetTemplateRequest constructs an http.Request for the GetTemplate method

func NewGetTokenListRequest

func NewGetTokenListRequest(server string, params *GetTokenListParams) (*http.Request, error)

NewGetTokenListRequest constructs an http.Request for the GetTokenList method

func NewGetWebhookDeliveryListRequest

func NewGetWebhookDeliveryListRequest(server string, id Id, params *GetWebhookDeliveryListParams) (*http.Request, error)

NewGetWebhookDeliveryListRequest constructs an http.Request for the GetWebhookDeliveryList method

func NewGetWebhookListRequest

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

NewGetWebhookListRequest constructs an http.Request for the GetWebhookList method

func NewGetWebhookRequest

func NewGetWebhookRequest(server string, id Id) (*http.Request, error)

NewGetWebhookRequest constructs an http.Request for the GetWebhook method

func NewGetWorkspaceRequest

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

NewGetWorkspaceRequest constructs an http.Request for the GetWorkspace method

func NewPostBaseBuildRequestWithBody

func NewPostBaseBuildRequestWithBody(server string, params *PostBaseBuildParams, contentType string, body io.Reader) (*http.Request, error)

NewPostBaseBuildRequestWithBody constructs an http.Request for the PostBaseBuild method, with any body, and a specified content type

func NewPostBaseRequest

func NewPostBaseRequest(server string, params *PostBaseParams, body PostBaseJSONRequestBody) (*http.Request, error)

NewPostBaseRequest calls the generic PostBase builder with application/json body

func NewPostBaseRequestWithBody

func NewPostBaseRequestWithBody(server string, params *PostBaseParams, contentType string, body io.Reader) (*http.Request, error)

NewPostBaseRequestWithBody constructs an http.Request for the PostBase method, with any body, and a specified content type

func NewPostConnectorLoginRequest

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

NewPostConnectorLoginRequest constructs an http.Request for the PostConnectorLogin method

func NewPostExportRequest

func NewPostExportRequest(server string, params *PostExportParams, body PostExportJSONRequestBody) (*http.Request, error)

NewPostExportRequest calls the generic PostExport builder with application/json body

func NewPostExportRequestWithBody

func NewPostExportRequestWithBody(server string, params *PostExportParams, contentType string, body io.Reader) (*http.Request, error)

NewPostExportRequestWithBody constructs an http.Request for the PostExport method, with any body, and a specified content type

func NewPostImportRequest

func NewPostImportRequest(server string, params *PostImportParams, body PostImportJSONRequestBody) (*http.Request, error)

NewPostImportRequest calls the generic PostImport builder with application/json body

func NewPostImportRequestWithBody

func NewPostImportRequestWithBody(server string, params *PostImportParams, contentType string, body io.Reader) (*http.Request, error)

NewPostImportRequestWithBody constructs an http.Request for the PostImport method, with any body, and a specified content type

func NewPostImportUploadRequestWithBody

func NewPostImportUploadRequestWithBody(server string, params *PostImportUploadParams, contentType string, body io.Reader) (*http.Request, error)

NewPostImportUploadRequestWithBody constructs an http.Request for the PostImportUpload method, with any body, and a specified content type

func NewPostIntegrationRequest

func NewPostIntegrationRequest(server string, body PostIntegrationJSONRequestBody) (*http.Request, error)

NewPostIntegrationRequest calls the generic PostIntegration builder with application/json body

func NewPostIntegrationRequestWithBody

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

NewPostIntegrationRequestWithBody constructs an http.Request for the PostIntegration method, with any body, and a specified content type

func NewPostSandboxExecRequest

func NewPostSandboxExecRequest(server string, id Id, body PostSandboxExecJSONRequestBody) (*http.Request, error)

NewPostSandboxExecRequest calls the generic PostSandboxExec builder with application/json body

func NewPostSandboxExecRequestWithBody

func NewPostSandboxExecRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxExecRequestWithBody constructs an http.Request for the PostSandboxExec method, with any body, and a specified content type

func NewPostSandboxForkRequest

func NewPostSandboxForkRequest(server string, id Id, params *PostSandboxForkParams, body PostSandboxForkJSONRequestBody) (*http.Request, error)

NewPostSandboxForkRequest calls the generic PostSandboxFork builder with application/json body

func NewPostSandboxForkRequestWithBody

func NewPostSandboxForkRequestWithBody(server string, id Id, params *PostSandboxForkParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxForkRequestWithBody constructs an http.Request for the PostSandboxFork method, with any body, and a specified content type

func NewPostSandboxIngressCredentialRequest

func NewPostSandboxIngressCredentialRequest(server string, id Id, body PostSandboxIngressCredentialJSONRequestBody) (*http.Request, error)

NewPostSandboxIngressCredentialRequest calls the generic PostSandboxIngressCredential builder with application/json body

func NewPostSandboxIngressCredentialRequestWithBody

func NewPostSandboxIngressCredentialRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxIngressCredentialRequestWithBody constructs an http.Request for the PostSandboxIngressCredential method, with any body, and a specified content type

func NewPostSandboxIntegrationAttachmentRequest

func NewPostSandboxIntegrationAttachmentRequest(server string, id Id, body PostSandboxIntegrationAttachmentJSONRequestBody) (*http.Request, error)

NewPostSandboxIntegrationAttachmentRequest calls the generic PostSandboxIntegrationAttachment builder with application/json body

func NewPostSandboxIntegrationAttachmentRequestWithBody

func NewPostSandboxIntegrationAttachmentRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxIntegrationAttachmentRequestWithBody constructs an http.Request for the PostSandboxIntegrationAttachment method, with any body, and a specified content type

func NewPostSandboxParkRequest

func NewPostSandboxParkRequest(server string, id Id, params *PostSandboxParkParams, body PostSandboxParkJSONRequestBody) (*http.Request, error)

NewPostSandboxParkRequest calls the generic PostSandboxPark builder with application/json body

func NewPostSandboxParkRequestWithBody

func NewPostSandboxParkRequestWithBody(server string, id Id, params *PostSandboxParkParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxParkRequestWithBody constructs an http.Request for the PostSandboxPark method, with any body, and a specified content type

func NewPostSandboxProcessRequest

func NewPostSandboxProcessRequest(server string, id Id, body PostSandboxProcessJSONRequestBody) (*http.Request, error)

NewPostSandboxProcessRequest calls the generic PostSandboxProcess builder with application/json body

func NewPostSandboxProcessRequestWithBody

func NewPostSandboxProcessRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxProcessRequestWithBody constructs an http.Request for the PostSandboxProcess method, with any body, and a specified content type

func NewPostSandboxRequest

func NewPostSandboxRequest(server string, params *PostSandboxParams, body PostSandboxJSONRequestBody) (*http.Request, error)

NewPostSandboxRequest calls the generic PostSandbox builder with application/json body

func NewPostSandboxRequestWithBody

func NewPostSandboxRequestWithBody(server string, params *PostSandboxParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxRequestWithBody constructs an http.Request for the PostSandbox method, with any body, and a specified content type

func NewPostSandboxSnapshotRequest

func NewPostSandboxSnapshotRequest(server string, id Id, params *PostSandboxSnapshotParams, body PostSandboxSnapshotJSONRequestBody) (*http.Request, error)

NewPostSandboxSnapshotRequest calls the generic PostSandboxSnapshot builder with application/json body

func NewPostSandboxSnapshotRequestWithBody

func NewPostSandboxSnapshotRequestWithBody(server string, id Id, params *PostSandboxSnapshotParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxSnapshotRequestWithBody constructs an http.Request for the PostSandboxSnapshot method, with any body, and a specified content type

func NewPostSandboxSshKeyRequest

func NewPostSandboxSshKeyRequest(server string, id Id, body PostSandboxSshKeyJSONRequestBody) (*http.Request, error)

NewPostSandboxSshKeyRequest calls the generic PostSandboxSshKey builder with application/json body

func NewPostSandboxSshKeyRequestWithBody

func NewPostSandboxSshKeyRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxSshKeyRequestWithBody constructs an http.Request for the PostSandboxSshKey method, with any body, and a specified content type

func NewPostSandboxWakeRequest

func NewPostSandboxWakeRequest(server string, id Id, params *PostSandboxWakeParams, body PostSandboxWakeJSONRequestBody) (*http.Request, error)

NewPostSandboxWakeRequest calls the generic PostSandboxWake builder with application/json body

func NewPostSandboxWakeRequestWithBody

func NewPostSandboxWakeRequestWithBody(server string, id Id, params *PostSandboxWakeParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxWakeRequestWithBody constructs an http.Request for the PostSandboxWake method, with any body, and a specified content type

func NewPostSessionInterruptRequest

func NewPostSessionInterruptRequest(server string, id Id) (*http.Request, error)

NewPostSessionInterruptRequest constructs an http.Request for the PostSessionInterrupt method

func NewPostSnapshotRestoreRequest

func NewPostSnapshotRestoreRequest(server string, id Id, params *PostSnapshotRestoreParams, body PostSnapshotRestoreJSONRequestBody) (*http.Request, error)

NewPostSnapshotRestoreRequest calls the generic PostSnapshotRestore builder with application/json body

func NewPostSnapshotRestoreRequestWithBody

func NewPostSnapshotRestoreRequestWithBody(server string, id Id, params *PostSnapshotRestoreParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSnapshotRestoreRequestWithBody constructs an http.Request for the PostSnapshotRestore method, with any body, and a specified content type

func NewPostTemplateRequest

func NewPostTemplateRequest(server string, params *PostTemplateParams, body PostTemplateJSONRequestBody) (*http.Request, error)

NewPostTemplateRequest calls the generic PostTemplate builder with application/json body

func NewPostTemplateRequestWithBody

func NewPostTemplateRequestWithBody(server string, params *PostTemplateParams, contentType string, body io.Reader) (*http.Request, error)

NewPostTemplateRequestWithBody constructs an http.Request for the PostTemplate method, with any body, and a specified content type

func NewPostTokenRequest

func NewPostTokenRequest(server string, body PostTokenJSONRequestBody) (*http.Request, error)

NewPostTokenRequest calls the generic PostToken builder with application/json body

func NewPostTokenRequestWithBody

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

NewPostTokenRequestWithBody constructs an http.Request for the PostToken method, with any body, and a specified content type

func NewPostWebhookRequest

func NewPostWebhookRequest(server string, body PostWebhookJSONRequestBody) (*http.Request, error)

NewPostWebhookRequest calls the generic PostWebhook builder with application/json body

func NewPostWebhookRequestWithBody

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

NewPostWebhookRequestWithBody constructs an http.Request for the PostWebhook method, with any body, and a specified content type

func NewPutBaseRequest

func NewPutBaseRequest(server string, digest Digest, body PutBaseJSONRequestBody) (*http.Request, error)

NewPutBaseRequest calls the generic PutBase builder with application/json body

func NewPutBaseRequestWithBody

func NewPutBaseRequestWithBody(server string, digest Digest, contentType string, body io.Reader) (*http.Request, error)

NewPutBaseRequestWithBody constructs an http.Request for the PutBase method, with any body, and a specified content type

func NewPutConnectorCredentialRequest

func NewPutConnectorCredentialRequest(server string, name string, body PutConnectorCredentialJSONRequestBody) (*http.Request, error)

NewPutConnectorCredentialRequest calls the generic PutConnectorCredential builder with application/json body

func NewPutConnectorCredentialRequestWithBody

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

NewPutConnectorCredentialRequestWithBody constructs an http.Request for the PutConnectorCredential method, with any body, and a specified content type

func NewPutIntegrationRequest

func NewPutIntegrationRequest(server string, name string, body PutIntegrationJSONRequestBody) (*http.Request, error)

NewPutIntegrationRequest calls the generic PutIntegration builder with application/json body

func NewPutIntegrationRequestWithBody

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

NewPutIntegrationRequestWithBody constructs an http.Request for the PutIntegration method, with any body, and a specified content type

func NewPutLineageRequest

func NewPutLineageRequest(server string, id Id, body PutLineageJSONRequestBody) (*http.Request, error)

NewPutLineageRequest calls the generic PutLineage builder with application/json body

func NewPutLineageRequestWithBody

func NewPutLineageRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPutLineageRequestWithBody constructs an http.Request for the PutLineage method, with any body, and a specified content type

func NewPutSandboxFileRequestWithBody

func NewPutSandboxFileRequestWithBody(server string, id Id, params *PutSandboxFileParams, contentType string, body io.Reader) (*http.Request, error)

NewPutSandboxFileRequestWithBody constructs an http.Request for the PutSandboxFile method, with any body, and a specified content type

func NewPutSandboxPolicyRequest

func NewPutSandboxPolicyRequest(server string, id Id, body PutSandboxPolicyJSONRequestBody) (*http.Request, error)

NewPutSandboxPolicyRequest calls the generic PutSandboxPolicy builder with application/json body

func NewPutSandboxPolicyRequestWithBody

func NewPutSandboxPolicyRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPutSandboxPolicyRequestWithBody constructs an http.Request for the PutSandboxPolicy method, with any body, and a specified content type

func NewPutSandboxRequest

func NewPutSandboxRequest(server string, id Id, body PutSandboxJSONRequestBody) (*http.Request, error)

NewPutSandboxRequest calls the generic PutSandbox builder with application/json body

func NewPutSandboxRequestWithBody

func NewPutSandboxRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPutSandboxRequestWithBody constructs an http.Request for the PutSandbox method, with any body, and a specified content type

func NewPutTemplateRequest

func NewPutTemplateRequest(server string, digest Digest, body PutTemplateJSONRequestBody) (*http.Request, error)

NewPutTemplateRequest calls the generic PutTemplate builder with application/json body

func NewPutTemplateRequestWithBody

func NewPutTemplateRequestWithBody(server string, digest Digest, contentType string, body io.Reader) (*http.Request, error)

NewPutTemplateRequestWithBody constructs an http.Request for the PutTemplate method, with any body, and a specified content type

func NewPutWebhookRequest

func NewPutWebhookRequest(server string, id Id, body PutWebhookJSONRequestBody) (*http.Request, error)

NewPutWebhookRequest calls the generic PutWebhook builder with application/json body

func NewPutWebhookRequestWithBody

func NewPutWebhookRequestWithBody(server string, id Id, contentType string, body io.Reader) (*http.Request, error)

NewPutWebhookRequestWithBody constructs an http.Request for the PutWebhook method, with any body, and a specified content type

func NewPutWorkspaceDomainsRequest

func NewPutWorkspaceDomainsRequest(server string, body PutWorkspaceDomainsJSONRequestBody) (*http.Request, error)

NewPutWorkspaceDomainsRequest calls the generic PutWorkspaceDomains builder with application/json body

func NewPutWorkspaceDomainsRequestWithBody

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

NewPutWorkspaceDomainsRequestWithBody constructs an http.Request for the PutWorkspaceDomains method, with any body, and a specified content type

func NewPutWorkspacePolicyRequest

func NewPutWorkspacePolicyRequest(server string, body PutWorkspacePolicyJSONRequestBody) (*http.Request, error)

NewPutWorkspacePolicyRequest calls the generic PutWorkspacePolicy builder with application/json body

func NewPutWorkspacePolicyRequestWithBody

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

NewPutWorkspacePolicyRequestWithBody constructs an http.Request for the PutWorkspacePolicy method, with any body, and a specified content type

func Time

func Time(s string) time.Time

Time parses a timestamp of the API. The contract types them as strings, an unparsable one comes back zero rather than failing the command.

Types

type AfterId

type AfterId = int64

AfterId Workspace-wide cursor: return events with a greater id.

type AfterSeq

type AfterSeq = int

AfterSeq Per-sandbox cursor: return events with a greater seq.

type ApiError

type ApiError struct {
	Status  int
	Code    string
	Message string
	// Details carries the per field complaints of a validation failure, without them it reads as a bare "Invalid user input".
	Details []string
	// Meta is the same metadata by field, for callers that act on it, for example the operationId of an operationInFlight answer.
	Meta map[string][]string
}

func (ApiError) Error

func (e ApiError) Error() string

type BaseBandwidth

type BaseBandwidth struct {
	BurstBytes       int64 `json:"burstBytes"`
	RxBytesPerSecond int64 `json:"rxBytesPerSecond"`
	TxBytesPerSecond int64 `json:"txBytesPerSecond"`
}

BaseBandwidth defines model for BaseBandwidth.

type BaseBase

type BaseBase struct {
	Created      string  `json:"created"`
	Digest       string  `json:"digest"`
	ExposePorts  []int   `json:"exposePorts"`
	FailedReason *string `json:"failedReason,omitempty"`

	// ImageRef The registry reference or archive URL the base was pulled from, `build:<operationId>` for one built from a Dockerfile.
	ImageRef       string                 `json:"imageRef"`
	KernelDigest   *string                `json:"kernelDigest,omitempty"`
	Labels         map[string]interface{} `json:"labels"`
	LaunchContract BaseLaunchContract     `json:"launchContract"`

	// Name Unique among the live bases. A pull or build that names an existing name takes it over, the earlier base stays unnamed.
	Name      *string `json:"name,omitempty"`
	SizeBytes *int64  `json:"sizeBytes,omitempty"`

	// Status DELETED is never listed: the image is gone and the row only stays because terminated sandboxes still name it.
	Status BaseBaseStatus `json:"status"`
}

BaseBase defines model for BaseBase.

type BaseBaseStatus

type BaseBaseStatus string

BaseBaseStatus DELETED is never listed: the image is gone and the row only stays because terminated sandboxes still name it.

const (
	BaseBaseStatusDELETED    BaseBaseStatus = "DELETED"
	BaseBaseStatusFAILED     BaseBaseStatus = "FAILED"
	BaseBaseStatusFLATTENING BaseBaseStatus = "FLATTENING"
	BaseBaseStatusPULLING    BaseBaseStatus = "PULLING"
	BaseBaseStatusREADY      BaseBaseStatus = "READY"
)

Defines values for BaseBaseStatus.

func (BaseBaseStatus) Valid

func (e BaseBaseStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseBaseStatus enum.

type BaseConnector

type BaseConnector struct {
	// CredentialEnv The Workspace environment variable the credential lives in.
	CredentialEnv string `json:"credentialEnv"`

	// CredentialKind What the stored credential is. Null while disconnected.
	CredentialKind *BaseConnectorCredentialKind `json:"credentialKind,omitempty"`

	// GuestEnv Environment variables a sandbox receives when it attaches the connector's integrations at create.
	GuestEnv []string `json:"guestEnv"`

	// Integrations The integrations the connector manages, created when it connects.
	Integrations []string `json:"integrations"`

	// LoginAvailable Whether the connector can obtain its credential through a browser login in a helper sandbox.
	LoginAvailable bool `json:"loginAvailable"`

	// Name The connector and the name of its main integration: claude, github, codex.
	Name string `json:"name"`

	// Status CONNECTED when the Workspace env holds a credential for the connector.
	Status BaseConnectorStatus `json:"status"`
	Title  string              `json:"title"`
}

BaseConnector defines model for BaseConnector.

type BaseConnectorCredentialKind

type BaseConnectorCredentialKind string

BaseConnectorCredentialKind What the stored credential is. Null while disconnected.

const (
	BaseConnectorCredentialKindAPIKEY     BaseConnectorCredentialKind = "API_KEY"
	BaseConnectorCredentialKindOAUTHTOKEN BaseConnectorCredentialKind = "OAUTH_TOKEN"
)

Defines values for BaseConnectorCredentialKind.

func (BaseConnectorCredentialKind) Valid

Valid indicates whether the value is a known member of the BaseConnectorCredentialKind enum.

type BaseConnectorStatus

type BaseConnectorStatus string

BaseConnectorStatus CONNECTED when the Workspace env holds a credential for the connector.

const (
	BaseConnectorStatusCONNECTED    BaseConnectorStatus = "CONNECTED"
	BaseConnectorStatusDISCONNECTED BaseConnectorStatus = "DISCONNECTED"
)

Defines values for BaseConnectorStatus.

func (BaseConnectorStatus) Valid

func (e BaseConnectorStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseConnectorStatus enum.

type BaseDomainFilter

type BaseDomainFilter struct {
	Enforcement BaseDomainFilterEnforcement `json:"enforcement"`
	Names       []string                    `json:"names"`
}

BaseDomainFilter defines model for BaseDomainFilter.

type BaseDomainFilterEnforcement

type BaseDomainFilterEnforcement string

BaseDomainFilterEnforcement defines model for BaseDomainFilter.Enforcement.

const (
	BaseDomainFilterEnforcementADVISORY BaseDomainFilterEnforcement = "ADVISORY"
	BaseDomainFilterEnforcementPROXY    BaseDomainFilterEnforcement = "PROXY"
)

Defines values for BaseDomainFilterEnforcement.

func (BaseDomainFilterEnforcement) Valid

Valid indicates whether the value is a known member of the BaseDomainFilterEnforcement enum.

type BaseEgress

type BaseEgress struct {
	// Allow Destinations the sandbox may reach within its network mode. With an egress document present, nothing else is reachable but the credential proxy and the resolver.
	Allow []BaseEgressRule `json:"allow"`

	// Bandwidth Not enforced yet, refused when set.
	Bandwidth *BaseBandwidth `json:"bandwidth,omitempty"`

	// Deny Destinations dropped ahead of every allow rule.
	Deny []BaseEgressRule `json:"deny"`

	// Dns Which resolver the sandbox reaches on port 53. There is no egress resolver yet, EGRESS is refused.
	Dns BaseEgressDns `json:"dns"`

	// DomainFilter Not enforced yet, refused when set.
	DomainFilter *BaseDomainFilter `json:"domainFilter,omitempty"`

	// MaxConnections Not enforced yet, refused when set.
	MaxConnections *int `json:"maxConnections,omitempty"`

	// Packets Not enforced yet, refused when set.
	Packets *BasePacketRate `json:"packets,omitempty"`
}

BaseEgress defines model for BaseEgress.

type BaseEgressDns

type BaseEgressDns string

BaseEgressDns Which resolver the sandbox reaches on port 53. There is no egress resolver yet, EGRESS is refused.

const (
	BaseEgressDnsEGRESS  BaseEgressDns = "EGRESS"
	BaseEgressDnsNONE    BaseEgressDns = "NONE"
	BaseEgressDnsPROJECT BaseEgressDns = "PROJECT"
)

Defines values for BaseEgressDns.

func (BaseEgressDns) Valid

func (e BaseEgressDns) Valid() bool

Valid indicates whether the value is a known member of the BaseEgressDns enum.

type BaseEgressRule

type BaseEgressRule struct {
	// Cidr An IPv4 prefix, a bare address, or the named set `project` for the project network.
	Cidr string `json:"cidr"`

	// Ports Destination ports. Empty means every port.
	Ports []int `json:"ports"`
}

BaseEgressRule defines model for BaseEgressRule.

type BaseEvent

type BaseEvent struct {
	Created    string               `json:"created"`
	FromStatus *BaseEventFromStatus `json:"fromStatus,omitempty"`

	// Id Workspace-wide cursor.
	Id          int64                   `json:"id"`
	OperationId *string                 `json:"operationId,omitempty"`
	Payload     *map[string]interface{} `json:"payload,omitempty"`
	SandboxId   string                  `json:"sandboxId"`

	// Seq Per-sandbox cursor.
	Seq      int                `json:"seq"`
	ToStatus *BaseEventToStatus `json:"toStatus,omitempty"`

	// Type FAILED: the sandbox turned FAILED. OPERATION_FAILED: an operation failed and the sandbox kept a usable status, the payload's reason says why.
	Type BaseEventType `json:"type"`
}

BaseEvent defines model for BaseEvent.

type BaseEventFromStatus

type BaseEventFromStatus string

BaseEventFromStatus defines model for BaseEvent.FromStatus.

const (
	BaseEventFromStatusARCHIVED    BaseEventFromStatus = "ARCHIVED"
	BaseEventFromStatusCREATING    BaseEventFromStatus = "CREATING"
	BaseEventFromStatusFAILED      BaseEventFromStatus = "FAILED"
	BaseEventFromStatusFORKING     BaseEventFromStatus = "FORKING"
	BaseEventFromStatusPARKED      BaseEventFromStatus = "PARKED"
	BaseEventFromStatusPARKING     BaseEventFromStatus = "PARKING"
	BaseEventFromStatusRESTORING   BaseEventFromStatus = "RESTORING"
	BaseEventFromStatusRUNNING     BaseEventFromStatus = "RUNNING"
	BaseEventFromStatusTERMINATED  BaseEventFromStatus = "TERMINATED"
	BaseEventFromStatusTERMINATING BaseEventFromStatus = "TERMINATING"
	BaseEventFromStatusWAKING      BaseEventFromStatus = "WAKING"
)

Defines values for BaseEventFromStatus.

func (BaseEventFromStatus) Valid

func (e BaseEventFromStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseEventFromStatus enum.

type BaseEventToStatus

type BaseEventToStatus string

BaseEventToStatus defines model for BaseEvent.ToStatus.

const (
	BaseEventToStatusARCHIVED    BaseEventToStatus = "ARCHIVED"
	BaseEventToStatusCREATING    BaseEventToStatus = "CREATING"
	BaseEventToStatusFAILED      BaseEventToStatus = "FAILED"
	BaseEventToStatusFORKING     BaseEventToStatus = "FORKING"
	BaseEventToStatusPARKED      BaseEventToStatus = "PARKED"
	BaseEventToStatusPARKING     BaseEventToStatus = "PARKING"
	BaseEventToStatusRESTORING   BaseEventToStatus = "RESTORING"
	BaseEventToStatusRUNNING     BaseEventToStatus = "RUNNING"
	BaseEventToStatusTERMINATED  BaseEventToStatus = "TERMINATED"
	BaseEventToStatusTERMINATING BaseEventToStatus = "TERMINATING"
	BaseEventToStatusWAKING      BaseEventToStatus = "WAKING"
)

Defines values for BaseEventToStatus.

func (BaseEventToStatus) Valid

func (e BaseEventToStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseEventToStatus enum.

type BaseEventType

type BaseEventType string

BaseEventType FAILED: the sandbox turned FAILED. OPERATION_FAILED: an operation failed and the sandbox kept a usable status, the payload's reason says why.

const (
	BaseEventTypeARCHIVED        BaseEventType = "ARCHIVED"
	BaseEventTypeCREATED         BaseEventType = "CREATED"
	BaseEventTypeDELETED         BaseEventType = "DELETED"
	BaseEventTypeEXPORTED        BaseEventType = "EXPORTED"
	BaseEventTypeFAILED          BaseEventType = "FAILED"
	BaseEventTypeFORKED          BaseEventType = "FORKED"
	BaseEventTypeHOOKFINISHED    BaseEventType = "HOOK_FINISHED"
	BaseEventTypeOPERATIONFAILED BaseEventType = "OPERATION_FAILED"
	BaseEventTypePARKED          BaseEventType = "PARKED"
	BaseEventTypePOLICYCHANGED   BaseEventType = "POLICY_CHANGED"
	BaseEventTypeREADY           BaseEventType = "READY"
	BaseEventTypeRESTORED        BaseEventType = "RESTORED"
	BaseEventTypeSECRETSSTALE    BaseEventType = "SECRETS_STALE"
	BaseEventTypeSESSIONCLOSED   BaseEventType = "SESSION_CLOSED"
	BaseEventTypeSESSIONOPENED   BaseEventType = "SESSION_OPENED"
	BaseEventTypeSNAPSHOTTAKEN   BaseEventType = "SNAPSHOT_TAKEN"
	BaseEventTypeWOKE            BaseEventType = "WOKE"
)

Defines values for BaseEventType.

func (BaseEventType) Valid

func (e BaseEventType) Valid() bool

Valid indicates whether the value is a known member of the BaseEventType enum.

type BaseExport

type BaseExport struct {
	Created string `json:"created"`

	// Destination The archive: `<url>/<bucket>/<key>` for S3, the download route `/api/rest/export/{id}/archive` of this API for FILE.
	Destination string  `json:"destination"`
	Error       *string `json:"error,omitempty"`
	Finished    *string `json:"finished,omitempty"`
	HasMemory   bool    `json:"hasMemory"`
	Id          string  `json:"id"`

	// Kind UPLOADED is an archive uploaded through `POST /import/upload`, its sandboxId and snapshotId are those of the Workspace that exported it.
	Kind          BaseExportKind `json:"kind"`
	LineageId     string         `json:"lineageId"`
	SandboxId     string         `json:"sandboxId"`
	SinceExportId *string        `json:"sinceExportId,omitempty"`
	SizeBytes     *int64         `json:"sizeBytes,omitempty"`

	// SnapshotId The snapshot that was exported, null for the parked sandbox itself.
	SnapshotId   *string          `json:"snapshotId,omitempty"`
	SnapshotName string           `json:"snapshotName"`
	Status       BaseExportStatus `json:"status"`

	// Storage S3 is an object in the caller's bucket, FILE a file on the Workspace's data volume that `GET /export/{id}/archive` downloads until the file retention removes it with the row.
	Storage BaseExportStorage `json:"storage"`
}

BaseExport defines model for BaseExport.

type BaseExportKind

type BaseExportKind string

BaseExportKind UPLOADED is an archive uploaded through `POST /import/upload`, its sandboxId and snapshotId are those of the Workspace that exported it.

const (
	BaseExportKindFULL        BaseExportKind = "FULL"
	BaseExportKindINCREMENTAL BaseExportKind = "INCREMENTAL"
	BaseExportKindUPLOADED    BaseExportKind = "UPLOADED"
)

Defines values for BaseExportKind.

func (BaseExportKind) Valid

func (e BaseExportKind) Valid() bool

Valid indicates whether the value is a known member of the BaseExportKind enum.

type BaseExportStatus

type BaseExportStatus string

BaseExportStatus defines model for BaseExport.Status.

const (
	BaseExportStatusFAILED   BaseExportStatus = "FAILED"
	BaseExportStatusFINISHED BaseExportStatus = "FINISHED"
	BaseExportStatusRUNNING  BaseExportStatus = "RUNNING"
)

Defines values for BaseExportStatus.

func (BaseExportStatus) Valid

func (e BaseExportStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseExportStatus enum.

type BaseExportStorage

type BaseExportStorage string

BaseExportStorage S3 is an object in the caller's bucket, FILE a file on the Workspace's data volume that `GET /export/{id}/archive` downloads until the file retention removes it with the row.

const (
	BaseExportStorageFILE BaseExportStorage = "FILE"
	BaseExportStorageS3   BaseExportStorage = "S3"
)

Defines values for BaseExportStorage.

func (BaseExportStorage) Valid

func (e BaseExportStorage) Valid() bool

Valid indicates whether the value is a known member of the BaseExportStorage enum.

type BaseFileEntry

type BaseFileEntry struct {
	Mode     string            `json:"mode"`
	Modified string            `json:"modified"`
	Name     string            `json:"name"`
	Size     int64             `json:"size"`
	Target   *string           `json:"target,omitempty"`
	Type     BaseFileEntryType `json:"type"`
}

BaseFileEntry defines model for BaseFileEntry.

type BaseFileEntryType

type BaseFileEntryType string

BaseFileEntryType defines model for BaseFileEntry.Type.

const (
	BaseFileEntryTypeDIRECTORY BaseFileEntryType = "DIRECTORY"
	BaseFileEntryTypeFILE      BaseFileEntryType = "FILE"
	BaseFileEntryTypeOTHER     BaseFileEntryType = "OTHER"
	BaseFileEntryTypeSYMLINK   BaseFileEntryType = "SYMLINK"
)

Defines values for BaseFileEntryType.

func (BaseFileEntryType) Valid

func (e BaseFileEntryType) Valid() bool

Valid indicates whether the value is a known member of the BaseFileEntryType enum.

type BaseGuestSession

type BaseGuestSession struct {
	Closed   *string             `json:"closed,omitempty"`
	Command  *BaseSessionCommand `json:"command,omitempty"`
	Created  string              `json:"created"`
	ExitCode *int                `json:"exitCode,omitempty"`

	// HasOutput Whether a recorded output stream can be fetched.
	HasOutput bool                   `json:"hasOutput"`
	Id        string                 `json:"id"`
	Kind      BaseGuestSessionKind   `json:"kind"`
	SandboxId string                 `json:"sandboxId"`
	Status    BaseGuestSessionStatus `json:"status"`
}

BaseGuestSession defines model for BaseGuestSession.

type BaseGuestSessionKind

type BaseGuestSessionKind string

BaseGuestSessionKind defines model for BaseGuestSession.Kind.

const (
	BaseGuestSessionKindEXEC BaseGuestSessionKind = "EXEC"
	BaseGuestSessionKindPTY  BaseGuestSessionKind = "PTY"
	BaseGuestSessionKindSSH  BaseGuestSessionKind = "SSH"
)

Defines values for BaseGuestSessionKind.

func (BaseGuestSessionKind) Valid

func (e BaseGuestSessionKind) Valid() bool

Valid indicates whether the value is a known member of the BaseGuestSessionKind enum.

type BaseGuestSessionStatus

type BaseGuestSessionStatus string

BaseGuestSessionStatus defines model for BaseGuestSession.Status.

const (
	BaseGuestSessionStatusCLOSED BaseGuestSessionStatus = "CLOSED"
	BaseGuestSessionStatusFAILED BaseGuestSessionStatus = "FAILED"
	BaseGuestSessionStatusOPEN   BaseGuestSessionStatus = "OPEN"
)

Defines values for BaseGuestSessionStatus.

func (BaseGuestSessionStatus) Valid

func (e BaseGuestSessionStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseGuestSessionStatus enum.

type BaseHooks

type BaseHooks struct {
	BeforePark     *string `json:"beforePark,omitempty"`
	OnBoot         *string `json:"onBoot,omitempty"`
	OnFork         *string `json:"onFork,omitempty"`
	OnWake         *string `json:"onWake,omitempty"`
	TimeoutSeconds *int    `json:"timeoutSeconds,omitempty"`
}

BaseHooks defines model for BaseHooks.

type BaseIngress

type BaseIngress struct {
	HoldTimeoutSeconds *int `json:"holdTimeoutSeconds,omitempty"`

	// MaxBodyBytes Accepted but not enforced yet.
	MaxBodyBytes *int64 `json:"maxBodyBytes,omitempty"`

	// MaxConnections Accepted but not enforced yet.
	MaxConnections *int `json:"maxConnections,omitempty"`

	// MaxHeldRequests Accepted but not enforced yet.
	MaxHeldRequests *int              `json:"maxHeldRequests,omitempty"`
	Ports           []BaseIngressPort `json:"ports"`

	// Rate Accepted but not enforced yet.
	Rate *BaseRate `json:"rate,omitempty"`

	// Ssh Open port 22 to project sources, design §7.2.
	Ssh *bool `json:"ssh,omitempty"`

	// WaitPage Digest of a static page artifact served while a request is held.
	WaitPage *string `json:"waitPage,omitempty"`
}

BaseIngress defines model for BaseIngress.

type BaseIngressCredential

type BaseIngressCredential struct {
	Created   string                    `json:"created"`
	Expires   string                    `json:"expires"`
	Id        string                    `json:"id"`
	Kind      BaseIngressCredentialKind `json:"kind"`
	Name      *string                   `json:"name,omitempty"`
	Port      int                       `json:"port"`
	RevokedAt *string                   `json:"revokedAt,omitempty"`
	SandboxId string                    `json:"sandboxId"`

	// UsedAt TICKET only: when it was exchanged for a session.
	UsedAt *string `json:"usedAt,omitempty"`
}

BaseIngressCredential defines model for BaseIngressCredential.

type BaseIngressCredentialKind

type BaseIngressCredentialKind string

BaseIngressCredentialKind defines model for BaseIngressCredential.Kind.

const (
	BaseIngressCredentialKindSESSION BaseIngressCredentialKind = "SESSION"
	BaseIngressCredentialKindTICKET  BaseIngressCredentialKind = "TICKET"
	BaseIngressCredentialKindTOKEN   BaseIngressCredentialKind = "TOKEN"
)

Defines values for BaseIngressCredentialKind.

func (BaseIngressCredentialKind) Valid

func (e BaseIngressCredentialKind) Valid() bool

Valid indicates whether the value is a known member of the BaseIngressCredentialKind enum.

type BaseIngressPort

type BaseIngressPort struct {
	// Access Who the router lets through, design §6.2 step 3. Defaults to MEMBERS. MEMBERS and TICKET take a ticket once as `?ticket=` and then the session cookie. TOKEN takes `X-Zerops-Box-Authorization: Bearer <token>` on every request, or the token once as `?token=` for the session cookie. PROJECT answers the project network only, PUBLIC anyone. The router passes `Authorization` to the sandbox untouched and strips `X-Zerops-Box-Authorization`, the session cookie and both query parameters.
	Access BaseIngressPortAccess `json:"access"`

	// Aliases Customer-owned hostnames mapped to this port.
	Aliases *[]string `json:"aliases,omitempty"`

	// Port The port inside the guest.
	Port     int                     `json:"port"`
	Protocol BaseIngressPortProtocol `json:"protocol"`

	// WakeOnRequest Whether a request may wake a parked sandbox. Defaults on for authenticated modes and off for PUBLIC.
	WakeOnRequest *bool `json:"wakeOnRequest,omitempty"`
	Websocket     *bool `json:"websocket,omitempty"`
}

BaseIngressPort defines model for BaseIngressPort.

type BaseIngressPortAccess

type BaseIngressPortAccess string

BaseIngressPortAccess Who the router lets through, design §6.2 step 3. Defaults to MEMBERS. MEMBERS and TICKET take a ticket once as `?ticket=` and then the session cookie. TOKEN takes `X-Zerops-Box-Authorization: Bearer <token>` on every request, or the token once as `?token=` for the session cookie. PROJECT answers the project network only, PUBLIC anyone. The router passes `Authorization` to the sandbox untouched and strips `X-Zerops-Box-Authorization`, the session cookie and both query parameters.

const (
	BaseIngressPortAccessMEMBERS BaseIngressPortAccess = "MEMBERS"
	BaseIngressPortAccessPROJECT BaseIngressPortAccess = "PROJECT"
	BaseIngressPortAccessPUBLIC  BaseIngressPortAccess = "PUBLIC"
	BaseIngressPortAccessTICKET  BaseIngressPortAccess = "TICKET"
	BaseIngressPortAccessTOKEN   BaseIngressPortAccess = "TOKEN"
)

Defines values for BaseIngressPortAccess.

func (BaseIngressPortAccess) Valid

func (e BaseIngressPortAccess) Valid() bool

Valid indicates whether the value is a known member of the BaseIngressPortAccess enum.

type BaseIngressPortProtocol

type BaseIngressPortProtocol string

BaseIngressPortProtocol defines model for BaseIngressPort.Protocol.

const (
	HTTP BaseIngressPortProtocol = "HTTP"
	TCP  BaseIngressPortProtocol = "TCP"
)

Defines values for BaseIngressPortProtocol.

func (BaseIngressPortProtocol) Valid

func (e BaseIngressPortProtocol) Valid() bool

Valid indicates whether the value is a known member of the BaseIngressPortProtocol enum.

type BaseInject

type BaseInject struct {
	// Header HEADER only: the header name the credential is sent in.
	Header *string        `json:"header,omitempty"`
	Type   BaseInjectType `json:"type"`
}

BaseInject defines model for BaseInject.

type BaseInjectType

type BaseInjectType string

BaseInjectType defines model for BaseInject.Type.

const (
	BASIC  BaseInjectType = "BASIC"
	BEARER BaseInjectType = "BEARER"
	HEADER BaseInjectType = "HEADER"
)

Defines values for BaseInjectType.

func (BaseInjectType) Valid

func (e BaseInjectType) Valid() bool

Valid indicates whether the value is a known member of the BaseInjectType enum.

type BaseIntegration

type BaseIntegration struct {
	Created string `json:"created"`

	// CredentialEnv Name of the Workspace environment variable holding the credential. Read on every request, never stored.
	CredentialEnv string     `json:"credentialEnv"`
	Inject        BaseInject `json:"inject"`
	Name          string     `json:"name"`
	RateLimit     *BaseRate  `json:"rateLimit,omitempty"`
	StripPrefix   *string    `json:"stripPrefix,omitempty"`
	TargetUrl     string     `json:"targetUrl"`
}

BaseIntegration defines model for BaseIntegration.

type BaseIntegrationAttachment

type BaseIntegrationAttachment struct {
	Created         string  `json:"created"`
	IntegrationName *string `json:"integrationName,omitempty"`

	// Name The label the sandbox resolves as http://{name}.int.<workspace-domain>/.
	Name          string  `json:"name"`
	PeerPort      *int    `json:"peerPort,omitempty"`
	PeerSandboxId *string `json:"peerSandboxId,omitempty"`
	SandboxId     string  `json:"sandboxId"`
}

BaseIntegrationAttachment defines model for BaseIntegrationAttachment.

type BaseLaunchContract

type BaseLaunchContract struct {
	Cmd        *[]string               `json:"cmd,omitempty"`
	Entrypoint *[]string               `json:"entrypoint,omitempty"`
	Env        *map[string]interface{} `json:"env,omitempty"`
	WorkingDir *string                 `json:"workingDir,omitempty"`
}

BaseLaunchContract defines model for BaseLaunchContract.

type BaseLineage

type BaseLineage struct {
	Created       string `json:"created"`
	ExportEnabled bool   `json:"exportEnabled"`
	Id            string `json:"id"`
}

BaseLineage defines model for BaseLineage.

type BaseMetricHourly

type BaseMetricHourly struct {
	CpuSeconds     float32 `json:"cpuSeconds"`
	DiskBytes      int64   `json:"diskBytes"`
	Hour           string  `json:"hour"`
	MemoryPssAvg   int64   `json:"memoryPssAvg"`
	MemoryPssMax   int64   `json:"memoryPssMax"`
	NetRxBytes     int64   `json:"netRxBytes"`
	NetTxBytes     int64   `json:"netTxBytes"`
	ProxyRequests  int64   `json:"proxyRequests"`
	RouterBytes    int64   `json:"routerBytes"`
	RouterRequests int64   `json:"routerRequests"`
	SandboxId      string  `json:"sandboxId"`
}

BaseMetricHourly defines model for BaseMetricHourly.

type BaseOperation

type BaseOperation struct {
	Created  string            `json:"created"`
	Error    *string           `json:"error,omitempty"`
	Finished *string           `json:"finished,omitempty"`
	Id       string            `json:"id"`
	Kind     BaseOperationKind `json:"kind"`

	// ParentId The bulk operation this one is a child of.
	ParentId *string `json:"parentId,omitempty"`

	// Result The typed receipt of a finished operation, for example the wake receipt.
	Result    *map[string]interface{} `json:"result,omitempty"`
	SandboxId *string                 `json:"sandboxId,omitempty"`
	Status    BaseOperationStatus     `json:"status"`
}

BaseOperation defines model for BaseOperation.

type BaseOperationKind

type BaseOperationKind string

BaseOperationKind defines model for BaseOperation.Kind.

const (
	BaseOperationKindBUILDBASE     BaseOperationKind = "BUILD_BASE"
	BaseOperationKindBUILDTEMPLATE BaseOperationKind = "BUILD_TEMPLATE"
	BaseOperationKindCREATE        BaseOperationKind = "CREATE"
	BaseOperationKindEXPORT        BaseOperationKind = "EXPORT"
	BaseOperationKindFORK          BaseOperationKind = "FORK"
	BaseOperationKindIMPORT        BaseOperationKind = "IMPORT"
	BaseOperationKindPARK          BaseOperationKind = "PARK"
	BaseOperationKindPULLBASE      BaseOperationKind = "PULL_BASE"
	BaseOperationKindRESTORE       BaseOperationKind = "RESTORE"
	BaseOperationKindSNAPSHOT      BaseOperationKind = "SNAPSHOT"
	BaseOperationKindTERMINATE     BaseOperationKind = "TERMINATE"
	BaseOperationKindWAKE          BaseOperationKind = "WAKE"
)

Defines values for BaseOperationKind.

func (BaseOperationKind) Valid

func (e BaseOperationKind) Valid() bool

Valid indicates whether the value is a known member of the BaseOperationKind enum.

type BaseOperationStatus

type BaseOperationStatus string

BaseOperationStatus defines model for BaseOperation.Status.

const (
	BaseOperationStatusFAILED   BaseOperationStatus = "FAILED"
	BaseOperationStatusFINISHED BaseOperationStatus = "FINISHED"
	BaseOperationStatusPENDING  BaseOperationStatus = "PENDING"
	BaseOperationStatusRUNNING  BaseOperationStatus = "RUNNING"
)

Defines values for BaseOperationStatus.

func (BaseOperationStatus) Valid

func (e BaseOperationStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseOperationStatus enum.

type BasePacketRate

type BasePacketRate struct {
	RxPerSecond int `json:"rxPerSecond"`
	TxPerSecond int `json:"txPerSecond"`
}

BasePacketRate defines model for BasePacketRate.

type BaseProcessEntry

type BaseProcessEntry struct {
	// Args The command line, empty for a process that rewrote it away.
	Args string `json:"args"`

	// Command The short name of the executable.
	Command string `json:"command"`

	// CpuSeconds User and system time since the process started.
	CpuSeconds     float32 `json:"cpuSeconds"`
	ElapsedSeconds int64   `json:"elapsedSeconds"`
	Pid            int     `json:"pid"`
	Ppid           int     `json:"ppid"`
	RssBytes       int64   `json:"rssBytes"`

	// State The /proc state letter: R running, S sleeping, D waiting on disk, Z zombie, T stopped.
	State string `json:"state"`
	Uid   int    `json:"uid"`
}

BaseProcessEntry defines model for BaseProcessEntry.

type BaseQuarantine

type BaseQuarantine struct {
	Created string             `json:"created"`
	Id      string             `json:"id"`
	Kind    BaseQuarantineKind `json:"kind"`
	Note    *string            `json:"note,omitempty"`

	// Ref The host-side identifier: jail id, dataset name.
	Ref string `json:"ref"`
}

BaseQuarantine defines model for BaseQuarantine.

type BaseQuarantineKind

type BaseQuarantineKind string

BaseQuarantineKind defines model for BaseQuarantine.Kind.

const (
	BaseQuarantineKindJAIL     BaseQuarantineKind = "JAIL"
	BaseQuarantineKindSLOT     BaseQuarantineKind = "SLOT"
	BaseQuarantineKindSNAPSHOT BaseQuarantineKind = "SNAPSHOT"
	BaseQuarantineKindVMM      BaseQuarantineKind = "VMM"
	BaseQuarantineKindZVOL     BaseQuarantineKind = "ZVOL"
)

Defines values for BaseQuarantineKind.

func (BaseQuarantineKind) Valid

func (e BaseQuarantineKind) Valid() bool

Valid indicates whether the value is a known member of the BaseQuarantineKind enum.

type BaseRate

type BaseRate struct {
	Burst             int `json:"burst"`
	RequestsPerSecond int `json:"requestsPerSecond"`
}

BaseRate defines model for BaseRate.

type BaseS3Target

type BaseS3Target struct {
	// AccessKeyIdEnv Name of the Workspace environment variable holding the access key id.
	AccessKeyIdEnv string `json:"accessKeyIdEnv"`
	Bucket         string `json:"bucket"`

	// SecretAccessKeyEnv Name of the Workspace environment variable holding the secret access key.
	SecretAccessKeyEnv string `json:"secretAccessKeyEnv"`

	// Url Endpoint of the S3 API, for example `https://storage-prg1.zerops.io`.
	Url string `json:"url"`
}

BaseS3Target defines model for BaseS3Target.

type BaseSandbox

type BaseSandbox struct {
	// AbsoluteDeadline When the sandbox is archived and destroyed, created plus absoluteTtlSeconds. An ARCHIVED sandbox keeps the deadline that ended it.
	AbsoluteDeadline   *string `json:"absoluteDeadline,omitempty"`
	AbsoluteTtlSeconds *int    `json:"absoluteTtlSeconds,omitempty"`
	BaseDigest         string  `json:"baseDigest"`
	Cpus               int     `json:"cpus"`
	Created            string  `json:"created"`

	// DiskBytes Size of the writable disk, a cap and not a reservation: blocks the guest never wrote take no space on the Workspace.
	DiskBytes    int64             `json:"diskBytes"`
	FailedReason *string           `json:"failedReason,omitempty"`
	Hosts        []BaseSandboxHost `json:"hosts"`
	Id           string            `json:"id"`

	// IdleDeadline When the sandbox is parked for idleness, lastActivity plus idleTtlSeconds. Null without an idle TTL and while the sandbox is not running.
	IdleDeadline   *string `json:"idleDeadline,omitempty"`
	IdleTtlSeconds *int    `json:"idleTtlSeconds,omitempty"`

	// LastActivity The last boot, call into the guest (exec, process, files, shell, SSH) or ingress request. An open shell or SSH connection counts as activity while it lasts.
	LastActivity   string            `json:"lastActivity"`
	LaunchContract BaseSandboxLaunch `json:"launchContract"`
	LineageId      string            `json:"lineageId"`
	MemoryBytes    int64             `json:"memoryBytes"`
	Name           *string           `json:"name,omitempty"`

	// NetworkMode Fixed at create, design §5.8.
	NetworkMode BaseSandboxNetworkMode `json:"networkMode"`

	// Operation The operation in flight on the sandbox, null when none is. One at a time, every other verb answers operationInFlight meanwhile.
	Operation        *BaseSandboxOperation `json:"operation,omitempty"`
	ParentId         *string               `json:"parentId,omitempty"`
	Policy           BaseSandboxPolicy     `json:"policy"`
	PolicyGeneration int                   `json:"policyGeneration"`
	SecretBearing    bool                  `json:"secretBearing"`

	// SecretsStale Derived: the Workspace environment changed something this sandbox was given, design §5.9.
	SecretsStale   bool              `json:"secretsStale"`
	StableAddress  *string           `json:"stableAddress,omitempty"`
	Status         BaseSandboxStatus `json:"status"`
	TemplateDigest *string           `json:"templateDigest,omitempty"`
	Updated        string            `json:"updated"`
}

BaseSandbox defines model for BaseSandbox.

type BaseSandboxHost

type BaseSandboxHost struct {
	// Access Who the router lets through, design §6.2 step 3. Defaults to MEMBERS. MEMBERS and TICKET take a ticket once as `?ticket=` and then the session cookie. TOKEN takes `X-Zerops-Box-Authorization: Bearer <token>` on every request, or the token once as `?token=` for the session cookie. PROJECT answers the project network only, PUBLIC anyone. The router passes `Authorization` to the sandbox untouched and strips `X-Zerops-Box-Authorization`, the session cookie and both query parameters.
	Access BaseSandboxHostAccess `json:"access"`
	Port   int                   `json:"port"`

	// Url The public URL of the port under one workspace domain, design §6.1; one entry per domain.
	Url string `json:"url"`
}

BaseSandboxHost defines model for BaseSandboxHost.

type BaseSandboxHostAccess

type BaseSandboxHostAccess string

BaseSandboxHostAccess Who the router lets through, design §6.2 step 3. Defaults to MEMBERS. MEMBERS and TICKET take a ticket once as `?ticket=` and then the session cookie. TOKEN takes `X-Zerops-Box-Authorization: Bearer <token>` on every request, or the token once as `?token=` for the session cookie. PROJECT answers the project network only, PUBLIC anyone. The router passes `Authorization` to the sandbox untouched and strips `X-Zerops-Box-Authorization`, the session cookie and both query parameters.

const (
	BaseSandboxHostAccessMEMBERS BaseSandboxHostAccess = "MEMBERS"
	BaseSandboxHostAccessPROJECT BaseSandboxHostAccess = "PROJECT"
	BaseSandboxHostAccessPUBLIC  BaseSandboxHostAccess = "PUBLIC"
	BaseSandboxHostAccessTICKET  BaseSandboxHostAccess = "TICKET"
	BaseSandboxHostAccessTOKEN   BaseSandboxHostAccess = "TOKEN"
)

Defines values for BaseSandboxHostAccess.

func (BaseSandboxHostAccess) Valid

func (e BaseSandboxHostAccess) Valid() bool

Valid indicates whether the value is a known member of the BaseSandboxHostAccess enum.

type BaseSandboxLaunch

type BaseSandboxLaunch struct {
	Cmd        *[]string `json:"cmd,omitempty"`
	Entrypoint *[]string `json:"entrypoint,omitempty"`

	// EnvNames The names of the launch env, sorted. The guest gets the values, the API never answers them.
	EnvNames   []string `json:"envNames"`
	WorkingDir *string  `json:"workingDir,omitempty"`
}

BaseSandboxLaunch defines model for BaseSandboxLaunch.

type BaseSandboxNetworkMode

type BaseSandboxNetworkMode string

BaseSandboxNetworkMode Fixed at create, design §5.8.

const (
	BaseSandboxNetworkModeAIRGAPPED       BaseSandboxNetworkMode = "AIRGAPPED"
	BaseSandboxNetworkModeINTERNET        BaseSandboxNetworkMode = "INTERNET"
	BaseSandboxNetworkModePROJECT         BaseSandboxNetworkMode = "PROJECT"
	BaseSandboxNetworkModePROJECTINTERNET BaseSandboxNetworkMode = "PROJECT_INTERNET"
)

Defines values for BaseSandboxNetworkMode.

func (BaseSandboxNetworkMode) Valid

func (e BaseSandboxNetworkMode) Valid() bool

Valid indicates whether the value is a known member of the BaseSandboxNetworkMode enum.

type BaseSandboxOperation

type BaseSandboxOperation struct {
	Id    string                   `json:"id"`
	Kind  BaseSandboxOperationKind `json:"kind"`
	Since string                   `json:"since"`
}

BaseSandboxOperation defines model for BaseSandboxOperation.

type BaseSandboxOperationKind

type BaseSandboxOperationKind string

BaseSandboxOperationKind defines model for BaseSandboxOperation.Kind.

const (
	BaseSandboxOperationKindBUILDBASE     BaseSandboxOperationKind = "BUILD_BASE"
	BaseSandboxOperationKindBUILDTEMPLATE BaseSandboxOperationKind = "BUILD_TEMPLATE"
	BaseSandboxOperationKindCREATE        BaseSandboxOperationKind = "CREATE"
	BaseSandboxOperationKindEXPORT        BaseSandboxOperationKind = "EXPORT"
	BaseSandboxOperationKindFORK          BaseSandboxOperationKind = "FORK"
	BaseSandboxOperationKindIMPORT        BaseSandboxOperationKind = "IMPORT"
	BaseSandboxOperationKindPARK          BaseSandboxOperationKind = "PARK"
	BaseSandboxOperationKindPULLBASE      BaseSandboxOperationKind = "PULL_BASE"
	BaseSandboxOperationKindRESTORE       BaseSandboxOperationKind = "RESTORE"
	BaseSandboxOperationKindSNAPSHOT      BaseSandboxOperationKind = "SNAPSHOT"
	BaseSandboxOperationKindTERMINATE     BaseSandboxOperationKind = "TERMINATE"
	BaseSandboxOperationKindWAKE          BaseSandboxOperationKind = "WAKE"
)

Defines values for BaseSandboxOperationKind.

func (BaseSandboxOperationKind) Valid

func (e BaseSandboxOperationKind) Valid() bool

Valid indicates whether the value is a known member of the BaseSandboxOperationKind enum.

type BaseSandboxPolicy

type BaseSandboxPolicy struct {
	Egress    *BaseEgress           `json:"egress,omitempty"`
	Hooks     *BaseHooks            `json:"hooks,omitempty"`
	Ingress   *BaseIngress          `json:"ingress,omitempty"`
	Secrets   *BaseSecrets          `json:"secrets,omitempty"`
	Snapshots *BaseSnapshotSchedule `json:"snapshots,omitempty"`
}

BaseSandboxPolicy defines model for BaseSandboxPolicy.

type BaseSandboxStatus

type BaseSandboxStatus string

BaseSandboxStatus defines model for BaseSandbox.Status.

const (
	BaseSandboxStatusARCHIVED    BaseSandboxStatus = "ARCHIVED"
	BaseSandboxStatusCREATING    BaseSandboxStatus = "CREATING"
	BaseSandboxStatusFAILED      BaseSandboxStatus = "FAILED"
	BaseSandboxStatusFORKING     BaseSandboxStatus = "FORKING"
	BaseSandboxStatusPARKED      BaseSandboxStatus = "PARKED"
	BaseSandboxStatusPARKING     BaseSandboxStatus = "PARKING"
	BaseSandboxStatusRESTORING   BaseSandboxStatus = "RESTORING"
	BaseSandboxStatusRUNNING     BaseSandboxStatus = "RUNNING"
	BaseSandboxStatusTERMINATED  BaseSandboxStatus = "TERMINATED"
	BaseSandboxStatusTERMINATING BaseSandboxStatus = "TERMINATING"
	BaseSandboxStatusWAKING      BaseSandboxStatus = "WAKING"
)

Defines values for BaseSandboxStatus.

func (BaseSandboxStatus) Valid

func (e BaseSandboxStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseSandboxStatus enum.

type BaseSecrets

type BaseSecrets struct {
	// Aliases Guest env name to Workspace env name, delivered with ALLOWLIST and ALL_ENVS, for example `{"DATABASE_URL": "DB_URL_SB42"}`. An alias wins over a Workspace env of the same name, staleness covers the mapping.
	Aliases *map[string]interface{} `json:"aliases,omitempty"`

	// Mode Which Workspace environment variables are delivered into the sandbox. Anything but NONE makes the sandbox secret bearing, design §5.9.
	Mode BaseSecretsMode `json:"mode"`

	// Names ALLOWLIST only: the Workspace env names delivered under their own names.
	Names *[]string `json:"names,omitempty"`
}

BaseSecrets defines model for BaseSecrets.

type BaseSecretsCeiling

type BaseSecretsCeiling struct {
	// AllowedModes The secrets modes a sandbox policy may take, of NONE, ALLOWLIST and ALL_ENVS. Every mode when absent.
	AllowedModes *[]string `json:"allowedModes,omitempty"`

	// AllowedNames The Workspace env names a sandbox policy may select or alias. No limit when absent or empty. ALL_ENVS selects every name, so a list refuses it.
	AllowedNames *[]string `json:"allowedNames,omitempty"`
}

BaseSecretsCeiling defines model for BaseSecretsCeiling.

type BaseSecretsMode

type BaseSecretsMode string

BaseSecretsMode Which Workspace environment variables are delivered into the sandbox. Anything but NONE makes the sandbox secret bearing, design §5.9.

const (
	BaseSecretsModeALLENVS   BaseSecretsMode = "ALL_ENVS"
	BaseSecretsModeALLOWLIST BaseSecretsMode = "ALLOWLIST"
	BaseSecretsModeNONE      BaseSecretsMode = "NONE"
)

Defines values for BaseSecretsMode.

func (BaseSecretsMode) Valid

func (e BaseSecretsMode) Valid() bool

Valid indicates whether the value is a known member of the BaseSecretsMode enum.

type BaseSessionCommand

type BaseSessionCommand struct {
	Command []string `json:"command"`

	// EnvNames The names of the env the command was given, sorted. The API never answers the values.
	EnvNames       []string `json:"envNames"`
	TimeoutSeconds *int     `json:"timeoutSeconds,omitempty"`
	WorkingDir     *string  `json:"workingDir,omitempty"`
}

BaseSessionCommand defines model for BaseSessionCommand.

type BaseSnapshot

type BaseSnapshot struct {
	// Cpus Size of the sandbox when the snapshot was taken, null for a snapshot from before the record. A restore with memory keeps it.
	Cpus        *int             `json:"cpus,omitempty"`
	Created     string           `json:"created"`
	DiskBytes   *int64           `json:"diskBytes,omitempty"`
	HasMemory   bool             `json:"hasMemory"`
	Id          string           `json:"id"`
	Kind        BaseSnapshotKind `json:"kind"`
	MemoryBytes *int64           `json:"memoryBytes,omitempty"`
	Name        *string          `json:"name,omitempty"`
	SandboxId   string           `json:"sandboxId"`

	// SecretBearing The sandbox had received secrets when the snapshot was taken, so its disk may hold them: it does not export, and a restore child is secret bearing.
	SecretBearing bool   `json:"secretBearing"`
	SizeBytes     *int64 `json:"sizeBytes,omitempty"`
}

BaseSnapshot defines model for BaseSnapshot.

type BaseSnapshotKind

type BaseSnapshotKind string

BaseSnapshotKind defines model for BaseSnapshot.Kind.

const (
	BaseSnapshotKindAUTO      BaseSnapshotKind = "AUTO"
	BaseSnapshotKindFORK      BaseSnapshotKind = "FORK"
	BaseSnapshotKindNAMED     BaseSnapshotKind = "NAMED"
	BaseSnapshotKindPARK      BaseSnapshotKind = "PARK"
	BaseSnapshotKindPREIMPORT BaseSnapshotKind = "PRE_IMPORT"
)

Defines values for BaseSnapshotKind.

func (BaseSnapshotKind) Valid

func (e BaseSnapshotKind) Valid() bool

Valid indicates whether the value is a known member of the BaseSnapshotKind enum.

type BaseSnapshotSchedule

type BaseSnapshotSchedule struct {
	// IntervalSeconds Scheduled disk snapshots while running. 0 disables.
	IntervalSeconds int `json:"intervalSeconds"`
	Retain          int `json:"retain"`
}

BaseSnapshotSchedule defines model for BaseSnapshotSchedule.

type BaseTemplate

type BaseTemplate struct {
	BaseDigest string `json:"baseDigest"`
	Cpus       int    `json:"cpus"`
	Created    string `json:"created"`
	Digest     string `json:"digest"`

	// DiskBytes Size of the template's disk, the default of sandboxes spawned from it. A spawn of another disk size boots the template's disk cold.
	DiskBytes    int64   `json:"diskBytes"`
	FailedReason *string `json:"failedReason,omitempty"`

	// HasMemory A warmed template carries the identity-free memory snapshot, design §5.1 step 3.
	HasMemory bool `json:"hasMemory"`

	// MemoryBytes The memory image is taken at this size, a sandbox spawned from the template takes it as its default and resumes only when it matches.
	MemoryBytes int64              `json:"memoryBytes"`
	Name        *string            `json:"name,omitempty"`
	Policy      BaseTemplatePolicy `json:"policy"`

	// Status DELETED is never listed: the image is gone and the row only stays because terminated sandboxes still name it.
	Status BaseTemplateStatus `json:"status"`

	// Warmup Shell command run in the guest before its memory is captured, under the image's launch environment: what it loads is resident in every spawn. Nothing listens and nothing has an identity, the image stays free of both.
	Warmup *string `json:"warmup,omitempty"`
}

BaseTemplate defines model for BaseTemplate.

type BaseTemplatePolicy

type BaseTemplatePolicy struct {
	AllowedNetworkModes   *[]string             `json:"allowedNetworkModes,omitempty"`
	DefaultEgress         *BaseEgress           `json:"defaultEgress,omitempty"`
	DefaultPorts          []BaseIngressPort     `json:"defaultPorts"`
	Hooks                 *BaseHooks            `json:"hooks,omitempty"`
	MaxAbsoluteTtlSeconds *int                  `json:"maxAbsoluteTtlSeconds,omitempty"`
	MaxCpus               *int                  `json:"maxCpus,omitempty"`
	MaxIdleTtlSeconds     *int                  `json:"maxIdleTtlSeconds,omitempty"`
	MaxMemoryBytes        *int64                `json:"maxMemoryBytes,omitempty"`
	MaxPorts              *int                  `json:"maxPorts,omitempty"`
	Snapshots             *BaseSnapshotSchedule `json:"snapshots,omitempty"`
	WaitPage              *string               `json:"waitPage,omitempty"`
	WakeOnRequestAllowed  *bool                 `json:"wakeOnRequestAllowed,omitempty"`
}

BaseTemplatePolicy defines model for BaseTemplatePolicy.

type BaseTemplateStatus

type BaseTemplateStatus string

BaseTemplateStatus DELETED is never listed: the image is gone and the row only stays because terminated sandboxes still name it.

const (
	BaseTemplateStatusBUILDING BaseTemplateStatus = "BUILDING"
	BaseTemplateStatusDELETED  BaseTemplateStatus = "DELETED"
	BaseTemplateStatusFAILED   BaseTemplateStatus = "FAILED"
	BaseTemplateStatusREADY    BaseTemplateStatus = "READY"
)

Defines values for BaseTemplateStatus.

func (BaseTemplateStatus) Valid

func (e BaseTemplateStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseTemplateStatus enum.

type BaseToken

type BaseToken struct {
	Created string `json:"created"`

	// Expires Null for a token that never expires.
	Expires *string `json:"expires,omitempty"`
	Id      string  `json:"id"`

	// LastUsedAt Updated at most once a minute.
	LastUsedAt *string `json:"lastUsedAt,omitempty"`
	Name       string  `json:"name"`
	RevokedAt  *string `json:"revokedAt,omitempty"`

	// Scopes What the token may call: admin (every route but tokens), sandbox (implies sandbox:read), sandbox:read, base, integration, webhook, workspace. A sandbox token selects secrets within the secrets ceiling of the Workspace policy, and the workspace scope sets that ceiling.
	Scopes []string `json:"scopes"`
}

BaseToken defines model for BaseToken.

type BaseWebhookDelivery

type BaseWebhookDelivery struct {
	Attempts         int                       `json:"attempts"`
	Created          string                    `json:"created"`
	Delivered        *string                   `json:"delivered,omitempty"`
	EndpointId       string                    `json:"endpointId"`
	EventId          int64                     `json:"eventId"`
	Id               string                    `json:"id"`
	LastError        *string                   `json:"lastError,omitempty"`
	LastResponseCode *int                      `json:"lastResponseCode,omitempty"`
	NextAttempt      *string                   `json:"nextAttempt,omitempty"`
	SandboxId        string                    `json:"sandboxId"`
	Status           BaseWebhookDeliveryStatus `json:"status"`
}

BaseWebhookDelivery defines model for BaseWebhookDelivery.

type BaseWebhookDeliveryStatus

type BaseWebhookDeliveryStatus string

BaseWebhookDeliveryStatus defines model for BaseWebhookDelivery.Status.

const (
	BaseWebhookDeliveryStatusABANDONED BaseWebhookDeliveryStatus = "ABANDONED"
	BaseWebhookDeliveryStatusDELIVERED BaseWebhookDeliveryStatus = "DELIVERED"
	BaseWebhookDeliveryStatusPENDING   BaseWebhookDeliveryStatus = "PENDING"
)

Defines values for BaseWebhookDeliveryStatus.

func (BaseWebhookDeliveryStatus) Valid

func (e BaseWebhookDeliveryStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseWebhookDeliveryStatus enum.

type BaseWebhookEndpoint

type BaseWebhookEndpoint struct {
	Created string `json:"created"`
	Enabled bool   `json:"enabled"`

	// Events Event types this endpoint subscribes to.
	Events []string `json:"events"`
	Id     string   `json:"id"`
	Url    string   `json:"url"`
}

BaseWebhookEndpoint defines model for BaseWebhookEndpoint.

type BaseWorkspaceCapacity

type BaseWorkspaceCapacity struct {
	// CpuOvercommit vCPUs the running sandboxes may reserve per core, the policy's cpuOvercommit or its default.
	CpuOvercommit float32 `json:"cpuOvercommit"`

	// Cpus Cores of the Workspace VM.
	Cpus int `json:"cpus"`

	// DiskBytes Size of the data volume that holds bases, templates, sandboxes and snapshots.
	DiskBytes int64 `json:"diskBytes"`

	// DiskHeadroomBytes Free space the data volume must keep for a create, fork, restore, wake, snapshot or build to be admitted.
	DiskHeadroomBytes int64 `json:"diskHeadroomBytes"`

	// MemoryBytes Memory the sandboxes may reserve: the VM's memory less the core reserve. A running sandbox reserves its cap in full.
	MemoryBytes int64 `json:"memoryBytes"`

	// MemoryReserveBytes The policy's coreReserveBytes or its default: what the kernel and the core processes keep.
	MemoryReserveBytes int64 `json:"memoryReserveBytes"`

	// MemoryTotalBytes Memory of the Workspace VM, MemTotal as its kernel sees it.
	MemoryTotalBytes int64 `json:"memoryTotalBytes"`
}

BaseWorkspaceCapacity defines model for BaseWorkspaceCapacity.

type BaseWorkspaceDomain

type BaseWorkspaceDomain struct {
	// Domain A hostname the edge routes to the ingress port: the Zerops subdomain of the port, or an own wildcard domain.
	Domain string `json:"domain"`

	// Form Where a sandbox port goes in front of the domain: DASH is `{port}-{id}-<domain>` (a Zerops subdomain, one label under the wildcard certificate), DOT is `{port}-{id}.<domain>` (an own wildcard domain).
	Form BaseWorkspaceDomainForm `json:"form"`
}

BaseWorkspaceDomain defines model for BaseWorkspaceDomain.

type BaseWorkspaceDomainForm

type BaseWorkspaceDomainForm string

BaseWorkspaceDomainForm Where a sandbox port goes in front of the domain: DASH is `{port}-{id}-<domain>` (a Zerops subdomain, one label under the wildcard certificate), DOT is `{port}-{id}.<domain>` (an own wildcard domain).

const (
	DASH BaseWorkspaceDomainForm = "DASH"
	DOT  BaseWorkspaceDomainForm = "DOT"
)

Defines values for BaseWorkspaceDomainForm.

func (BaseWorkspaceDomainForm) Valid

func (e BaseWorkspaceDomainForm) Valid() bool

Valid indicates whether the value is a known member of the BaseWorkspaceDomainForm enum.

type BaseWorkspaceHost

type BaseWorkspaceHost struct {
	// AgentDigest Digest of the guest agent flattened into every base.
	AgentDigest string `json:"agentDigest"`

	// Apicv Nested APIC virtualization, without it every guest interrupt exits to the Workspace's KVM.
	Apicv bool `json:"apicv"`

	// AptSnapshot The apt archive snapshot the Workspace image was built from.
	AptSnapshot *string                    `json:"aptSnapshot,omitempty"`
	CpuModel    string                     `json:"cpuModel"`
	CpuVendor   BaseWorkspaceHostCpuVendor `json:"cpuVendor"`

	// Firecracker Release the firecracker binary answers.
	Firecracker string `json:"firecracker"`

	// GuestKernel Release of the kernel the sandboxes boot.
	GuestKernel       *string `json:"guestKernel,omitempty"`
	GuestKernelDigest string  `json:"guestKernelDigest"`

	// ImageBuilt When the Workspace image was built, from its release record.
	ImageBuilt *string `json:"imageBuilt,omitempty"`

	// Kernel Kernel release of the Workspace VM.
	Kernel string `json:"kernel"`

	// Pml Page modification logging, without it a memory diff comes from mincore.
	Pml bool `json:"pml"`

	// RestoreBacking How a resumed guest's memory is backed: anonymous (THP) or file.
	RestoreBacking string `json:"restoreBacking"`
	ShadowVmcs     bool   `json:"shadowVmcs"`
	SlotsLimit     int    `json:"slotsLimit"`

	// SlotsUsed Network slots held by sandboxes, parked ones included.
	SlotsUsed int `json:"slotsUsed"`

	// StartedAt Start of the orchestrator process.
	StartedAt string `json:"startedAt"`

	// TransparentHugepages The Workspace's THP policy.
	TransparentHugepages string `json:"transparentHugepages"`
	VolumeDevice         string `json:"volumeDevice"`
	VolumeEncrypted      bool   `json:"volumeEncrypted"`
	VolumeFilesystem     string `json:"volumeFilesystem"`
}

BaseWorkspaceHost defines model for BaseWorkspaceHost.

type BaseWorkspaceHostCpuVendor

type BaseWorkspaceHostCpuVendor string

BaseWorkspaceHostCpuVendor defines model for BaseWorkspaceHost.CpuVendor.

const (
	AMD   BaseWorkspaceHostCpuVendor = "AMD"
	INTEL BaseWorkspaceHostCpuVendor = "INTEL"
)

Defines values for BaseWorkspaceHostCpuVendor.

func (BaseWorkspaceHostCpuVendor) Valid

func (e BaseWorkspaceHostCpuVendor) Valid() bool

Valid indicates whether the value is a known member of the BaseWorkspaceHostCpuVendor enum.

type BaseWorkspacePolicy

type BaseWorkspacePolicy struct {
	AllowedNetworkModes *[]string      `json:"allowedNetworkModes,omitempty"`
	Bandwidth           *BaseBandwidth `json:"bandwidth,omitempty"`

	// CoreReserveBytes Memory of the Workspace VM kept for the kernel, the orchestrator and the other core processes, taken off what the sandboxes may reserve. 512 MiB when absent, 0 is allowed.
	CoreReserveBytes *int64 `json:"coreReserveBytes,omitempty"`

	// CpuOvercommit How many vCPUs the running sandboxes may reserve per core of the Workspace, 1 reserves cores one to one. 8 when absent.
	CpuOvercommit *float32 `json:"cpuOvercommit,omitempty"`

	// DefaultDiskBytes Disk size of a sandbox created from a base without diskBytes, 10 GiB when absent. A sandbox from a template takes the template's.
	DefaultDiskBytes          *int64                                      `json:"defaultDiskBytes,omitempty"`
	DefaultHoldTimeoutSeconds *int                                        `json:"defaultHoldTimeoutSeconds,omitempty"`
	DomainFilterEnforcement   *BaseWorkspacePolicyDomainFilterEnforcement `json:"domainFilterEnforcement,omitempty"`
	MaxAbsoluteTtlSeconds     *int                                        `json:"maxAbsoluteTtlSeconds,omitempty"`
	MaxCpus                   *int                                        `json:"maxCpus,omitempty"`
	MaxDiskBytes              *int64                                      `json:"maxDiskBytes,omitempty"`
	MaxIdleTtlSeconds         *int                                        `json:"maxIdleTtlSeconds,omitempty"`
	MaxMemoryBytes            *int64                                      `json:"maxMemoryBytes,omitempty"`
	Rate                      *BaseRate                                   `json:"rate,omitempty"`

	// Secrets The ceiling of every sandbox's secrets selection, checked on create, on a policy change and on import. No limit when absent.
	Secrets          *BaseSecretsCeiling `json:"secrets,omitempty"`
	TcpPortRangeFrom *int                `json:"tcpPortRangeFrom,omitempty"`
	TcpPortRangeTo   *int                `json:"tcpPortRangeTo,omitempty"`
}

BaseWorkspacePolicy defines model for BaseWorkspacePolicy.

type BaseWorkspacePolicyDomainFilterEnforcement

type BaseWorkspacePolicyDomainFilterEnforcement string

BaseWorkspacePolicyDomainFilterEnforcement defines model for BaseWorkspacePolicy.DomainFilterEnforcement.

const (
	BaseWorkspacePolicyDomainFilterEnforcementADVISORY BaseWorkspacePolicyDomainFilterEnforcement = "ADVISORY"
	BaseWorkspacePolicyDomainFilterEnforcementPROXY    BaseWorkspacePolicyDomainFilterEnforcement = "PROXY"
)

Defines values for BaseWorkspacePolicyDomainFilterEnforcement.

func (BaseWorkspacePolicyDomainFilterEnforcement) Valid

Valid indicates whether the value is a known member of the BaseWorkspacePolicyDomainFilterEnforcement enum.

type BaseWorkspaceUsage

type BaseWorkspaceUsage struct {
	// Builds Base pulls, base builds and template builds in progress, each reserving memory while it runs.
	Builds int `json:"builds"`

	// Cpus vCPUs reserved by the running sandboxes, against cpus times cpuOvercommit of the capacity.
	Cpus int `json:"cpus"`

	// DiskBytes Used bytes of the data volume.
	DiskBytes int64 `json:"diskBytes"`

	// MemoryBytes Memory reserved by the running sandboxes and the builds in progress, against memoryBytes of the capacity.
	MemoryBytes int64 `json:"memoryBytes"`

	// MemoryResidentBytes Memory the running sandboxes actually hold right now, what their guests have touched and not given back.
	MemoryResidentBytes int64 `json:"memoryResidentBytes"`
	ParkedSandboxes     int   `json:"parkedSandboxes"`
	RunningSandboxes    int   `json:"runningSandboxes"`
}

BaseWorkspaceUsage defines model for BaseWorkspaceUsage.

type BeforeId

type BeforeId = string

BeforeId Cursor: the id of the last lineage of the previous page, the answer continues with the lineages created before it.

type BeforeSeq

type BeforeSeq = int

BeforeSeq Backwards cursor: return the newest events with a smaller seq, newest first. Implies newestFirst.

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

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

DeleteBase performs a DELETE /api/rest/base/{digest} (the `DeleteBase` operationId) request.

func (*Client) DeleteBaseBuildCache

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

DeleteBaseBuildCache performs a DELETE /api/rest/base-build-cache (the `DeleteBaseBuildCache` operationId) request.

func (*Client) DeleteConnectorCredential

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

DeleteConnectorCredential performs a DELETE /api/rest/connector/{name}/credential (the `DeleteConnectorCredential` operationId) request.

func (*Client) DeleteExport

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

DeleteExport performs a DELETE /api/rest/export/{id} (the `DeleteExport` operationId) request.

func (*Client) DeleteIngressCredential

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

DeleteIngressCredential performs a DELETE /api/rest/ingress-credential/{id} (the `DeleteIngressCredential` operationId) request.

func (*Client) DeleteIntegration

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

DeleteIntegration performs a DELETE /api/rest/integration/{name} (the `DeleteIntegration` operationId) request.

func (*Client) DeleteQuarantine

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

DeleteQuarantine performs a DELETE /api/rest/quarantine/{id} (the `DeleteQuarantine` operationId) request.

func (*Client) DeleteSandbox

func (c *Client) DeleteSandbox(ctx context.Context, id Id, params *DeleteSandboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteSandbox performs a DELETE /api/rest/sandbox/{id} (the `DeleteSandbox` operationId) request.

func (*Client) DeleteSandboxFile

func (c *Client) DeleteSandboxFile(ctx context.Context, id Id, params *DeleteSandboxFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteSandboxFile performs a DELETE /api/rest/sandbox/{id}/file (the `DeleteSandboxFile` operationId) request.

func (*Client) DeleteSandboxIntegrationAttachment

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

DeleteSandboxIntegrationAttachment performs a DELETE /api/rest/sandbox/{id}/integration-attachment/{name} (the `DeleteSandboxIntegrationAttachment` operationId) request.

func (*Client) DeleteSnapshot

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

DeleteSnapshot performs a DELETE /api/rest/snapshot/{id} (the `DeleteSnapshot` operationId) request.

func (*Client) DeleteTemplate

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

DeleteTemplate performs a DELETE /api/rest/template/{digest} (the `DeleteTemplate` operationId) request.

func (*Client) DeleteToken

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

DeleteToken performs a DELETE /api/rest/token/{id} (the `DeleteToken` operationId) request.

func (*Client) DeleteWebhook

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

DeleteWebhook performs a DELETE /api/rest/webhook/{id} (the `DeleteWebhook` operationId) request.

func (*Client) GetBase

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

GetBase performs a GET /api/rest/base/{digest} (the `GetBase` operationId) request.

func (*Client) GetBaseBuildCache

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

GetBaseBuildCache performs a GET /api/rest/base-build-cache (the `GetBaseBuildCache` operationId) request.

func (*Client) GetBaseList

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

GetBaseList performs a GET /api/rest/base-list (the `GetBaseList` operationId) request.

func (*Client) GetConnector

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

GetConnector performs a GET /api/rest/connector/{name} (the `GetConnector` operationId) request.

func (*Client) GetConnectorList

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

GetConnectorList performs a GET /api/rest/connector-list (the `GetConnectorList` operationId) request.

func (*Client) GetEventList

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

GetEventList performs a GET /api/rest/event-list (the `GetEventList` operationId) request.

func (*Client) GetEventStream

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

GetEventStream performs a GET /api/rest/event-stream (the `GetEventStream` operationId) request.

func (*Client) GetExport

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

GetExport performs a GET /api/rest/export/{id} (the `GetExport` operationId) request.

func (*Client) GetExportArchive

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

GetExportArchive performs a GET /api/rest/export/{id}/archive (the `GetExportArchive` operationId) request.

func (*Client) GetExportList

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

GetExportList performs a GET /api/rest/export-list (the `GetExportList` operationId) request.

func (*Client) GetIntegration

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

GetIntegration performs a GET /api/rest/integration/{name} (the `GetIntegration` operationId) request.

func (*Client) GetIntegrationList

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

GetIntegrationList performs a GET /api/rest/integration-list (the `GetIntegrationList` operationId) request.

func (*Client) GetLineage

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

GetLineage performs a GET /api/rest/lineage/{id} (the `GetLineage` operationId) request.

func (*Client) GetLineageList

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

GetLineageList performs a GET /api/rest/lineage-list (the `GetLineageList` operationId) request.

func (*Client) GetOperation

func (c *Client) GetOperation(ctx context.Context, id Id, params *GetOperationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOperation performs a GET /api/rest/operation/{id} (the `GetOperation` operationId) request.

func (*Client) GetOperationList

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

GetOperationList performs a GET /api/rest/operation-list (the `GetOperationList` operationId) request.

func (*Client) GetPing

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

GetPing performs a GET /api/rest/ping (the `GetPing` operationId) request.

func (*Client) GetQuarantineList

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

GetQuarantineList performs a GET /api/rest/quarantine-list (the `GetQuarantineList` operationId) request.

func (*Client) GetSandbox

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

GetSandbox performs a GET /api/rest/sandbox/{id} (the `GetSandbox` operationId) request.

func (*Client) GetSandboxEventList

func (c *Client) GetSandboxEventList(ctx context.Context, id Id, params *GetSandboxEventListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxEventList performs a GET /api/rest/sandbox/{id}/event-list (the `GetSandboxEventList` operationId) request.

func (*Client) GetSandboxFile

func (c *Client) GetSandboxFile(ctx context.Context, id Id, params *GetSandboxFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxFile performs a GET /api/rest/sandbox/{id}/file (the `GetSandboxFile` operationId) request.

func (*Client) GetSandboxFileArchive

func (c *Client) GetSandboxFileArchive(ctx context.Context, id Id, params *GetSandboxFileArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxFileArchive performs a GET /api/rest/sandbox/{id}/file-archive (the `GetSandboxFileArchive` operationId) request.

func (*Client) GetSandboxFileList

func (c *Client) GetSandboxFileList(ctx context.Context, id Id, params *GetSandboxFileListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxFileList performs a GET /api/rest/sandbox/{id}/file-list (the `GetSandboxFileList` operationId) request.

func (*Client) GetSandboxIngressCredentialList

func (c *Client) GetSandboxIngressCredentialList(ctx context.Context, id Id, params *GetSandboxIngressCredentialListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxIngressCredentialList performs a GET /api/rest/sandbox/{id}/ingress-credential-list (the `GetSandboxIngressCredentialList` operationId) request.

func (*Client) GetSandboxIntegrationAttachmentList

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

GetSandboxIntegrationAttachmentList performs a GET /api/rest/sandbox/{id}/integration-attachment-list (the `GetSandboxIntegrationAttachmentList` operationId) request.

func (*Client) GetSandboxList

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

GetSandboxList performs a GET /api/rest/sandbox-list (the `GetSandboxList` operationId) request.

func (*Client) GetSandboxMetricList

func (c *Client) GetSandboxMetricList(ctx context.Context, id Id, params *GetSandboxMetricListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxMetricList performs a GET /api/rest/sandbox/{id}/metric-list (the `GetSandboxMetricList` operationId) request.

func (*Client) GetSandboxProcessList

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

GetSandboxProcessList performs a GET /api/rest/sandbox/{id}/process-list (the `GetSandboxProcessList` operationId) request.

func (*Client) GetSandboxSessionList

func (c *Client) GetSandboxSessionList(ctx context.Context, id Id, params *GetSandboxSessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxSessionList performs a GET /api/rest/sandbox/{id}/session-list (the `GetSandboxSessionList` operationId) request.

func (*Client) GetSandboxShell

func (c *Client) GetSandboxShell(ctx context.Context, id Id, params *GetSandboxShellParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxShell performs a GET /api/rest/sandbox/{id}/shell (the `GetSandboxShell` operationId) request.

func (*Client) GetSandboxSnapshotList

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

GetSandboxSnapshotList performs a GET /api/rest/sandbox/{id}/snapshot-list (the `GetSandboxSnapshotList` operationId) request.

func (*Client) GetSandboxSsh

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

GetSandboxSsh performs a GET /api/rest/sandbox/{id}/ssh (the `GetSandboxSsh` operationId) request.

func (*Client) GetSandboxSshConnect

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

GetSandboxSshConnect performs a GET /api/rest/sandbox/{id}/ssh/connect (the `GetSandboxSshConnect` operationId) request.

func (*Client) GetSession

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

GetSession performs a GET /api/rest/session/{id} (the `GetSession` operationId) request.

func (*Client) GetSessionOutput

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

GetSessionOutput performs a GET /api/rest/session/{id}/output (the `GetSessionOutput` operationId) request.

func (*Client) GetSnapshot

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

GetSnapshot performs a GET /api/rest/snapshot/{id} (the `GetSnapshot` operationId) request.

func (*Client) GetTemplate

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

GetTemplate performs a GET /api/rest/template/{digest} (the `GetTemplate` operationId) request.

func (*Client) GetTemplateList

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

GetTemplateList performs a GET /api/rest/template-list (the `GetTemplateList` operationId) request.

func (*Client) GetTokenList

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

GetTokenList performs a GET /api/rest/token-list (the `GetTokenList` operationId) request.

func (*Client) GetWebhook

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

GetWebhook performs a GET /api/rest/webhook/{id} (the `GetWebhook` operationId) request.

func (*Client) GetWebhookDeliveryList

func (c *Client) GetWebhookDeliveryList(ctx context.Context, id Id, params *GetWebhookDeliveryListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWebhookDeliveryList performs a GET /api/rest/webhook/{id}/delivery-list (the `GetWebhookDeliveryList` operationId) request.

func (*Client) GetWebhookList

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

GetWebhookList performs a GET /api/rest/webhook-list (the `GetWebhookList` operationId) request.

func (*Client) GetWorkspace

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

GetWorkspace performs a GET /api/rest/workspace (the `GetWorkspace` operationId) request.

func (*Client) PostBase

func (c *Client) PostBase(ctx context.Context, params *PostBaseParams, body PostBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostBase performs a POST /api/rest/base (the `PostBase` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostBaseBuildWithBody

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

PostBaseBuildWithBody performs a POST /api/rest/base-build (the `PostBaseBuild` operationId) request, with any type of body and a specified content type.

func (*Client) PostBaseWithBody

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

PostBaseWithBody performs a POST /api/rest/base (the `PostBase` operationId) request, with any type of body and a specified content type.

func (*Client) PostConnectorLogin

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

PostConnectorLogin performs a POST /api/rest/connector/{name}/login (the `PostConnectorLogin` operationId) request.

func (*Client) PostExport

func (c *Client) PostExport(ctx context.Context, params *PostExportParams, body PostExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostExport performs a POST /api/rest/export (the `PostExport` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostExportWithBody

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

PostExportWithBody performs a POST /api/rest/export (the `PostExport` operationId) request, with any type of body and a specified content type.

func (*Client) PostImport

func (c *Client) PostImport(ctx context.Context, params *PostImportParams, body PostImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostImport performs a POST /api/rest/import (the `PostImport` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostImportUploadWithBody

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

PostImportUploadWithBody performs a POST /api/rest/import/upload (the `PostImportUpload` operationId) request, with any type of body and a specified content type.

func (*Client) PostImportWithBody

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

PostImportWithBody performs a POST /api/rest/import (the `PostImport` operationId) request, with any type of body and a specified content type.

func (*Client) PostIntegration

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

PostIntegration performs a POST /api/rest/integration (the `PostIntegration` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostIntegrationWithBody

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

PostIntegrationWithBody performs a POST /api/rest/integration (the `PostIntegration` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandbox

func (c *Client) PostSandbox(ctx context.Context, params *PostSandboxParams, body PostSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandbox performs a POST /api/rest/sandbox (the `PostSandbox` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxExec

func (c *Client) PostSandboxExec(ctx context.Context, id Id, body PostSandboxExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxExec performs a POST /api/rest/sandbox/{id}/exec (the `PostSandboxExec` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxExecWithBody

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

PostSandboxExecWithBody performs a POST /api/rest/sandbox/{id}/exec (the `PostSandboxExec` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxFork

func (c *Client) PostSandboxFork(ctx context.Context, id Id, params *PostSandboxForkParams, body PostSandboxForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxFork performs a POST /api/rest/sandbox/{id}/fork (the `PostSandboxFork` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxForkWithBody

func (c *Client) PostSandboxForkWithBody(ctx context.Context, id Id, params *PostSandboxForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxForkWithBody performs a POST /api/rest/sandbox/{id}/fork (the `PostSandboxFork` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxIngressCredential

func (c *Client) PostSandboxIngressCredential(ctx context.Context, id Id, body PostSandboxIngressCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxIngressCredential performs a POST /api/rest/sandbox/{id}/ingress-credential (the `PostSandboxIngressCredential` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxIngressCredentialWithBody

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

PostSandboxIngressCredentialWithBody performs a POST /api/rest/sandbox/{id}/ingress-credential (the `PostSandboxIngressCredential` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxIntegrationAttachment

func (c *Client) PostSandboxIntegrationAttachment(ctx context.Context, id Id, body PostSandboxIntegrationAttachmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxIntegrationAttachment performs a POST /api/rest/sandbox/{id}/integration-attachment (the `PostSandboxIntegrationAttachment` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxIntegrationAttachmentWithBody

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

PostSandboxIntegrationAttachmentWithBody performs a POST /api/rest/sandbox/{id}/integration-attachment (the `PostSandboxIntegrationAttachment` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxPark

func (c *Client) PostSandboxPark(ctx context.Context, id Id, params *PostSandboxParkParams, body PostSandboxParkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxPark performs a POST /api/rest/sandbox/{id}/park (the `PostSandboxPark` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxParkWithBody

func (c *Client) PostSandboxParkWithBody(ctx context.Context, id Id, params *PostSandboxParkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxParkWithBody performs a POST /api/rest/sandbox/{id}/park (the `PostSandboxPark` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxProcess

func (c *Client) PostSandboxProcess(ctx context.Context, id Id, body PostSandboxProcessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxProcess performs a POST /api/rest/sandbox/{id}/process (the `PostSandboxProcess` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxProcessWithBody

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

PostSandboxProcessWithBody performs a POST /api/rest/sandbox/{id}/process (the `PostSandboxProcess` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxSnapshot

func (c *Client) PostSandboxSnapshot(ctx context.Context, id Id, params *PostSandboxSnapshotParams, body PostSandboxSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxSnapshot performs a POST /api/rest/sandbox/{id}/snapshot (the `PostSandboxSnapshot` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxSnapshotWithBody

func (c *Client) PostSandboxSnapshotWithBody(ctx context.Context, id Id, params *PostSandboxSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxSnapshotWithBody performs a POST /api/rest/sandbox/{id}/snapshot (the `PostSandboxSnapshot` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxSshKey

func (c *Client) PostSandboxSshKey(ctx context.Context, id Id, body PostSandboxSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxSshKey performs a POST /api/rest/sandbox/{id}/ssh-key (the `PostSandboxSshKey` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxSshKeyWithBody

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

PostSandboxSshKeyWithBody performs a POST /api/rest/sandbox/{id}/ssh-key (the `PostSandboxSshKey` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxWake

func (c *Client) PostSandboxWake(ctx context.Context, id Id, params *PostSandboxWakeParams, body PostSandboxWakeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxWake performs a POST /api/rest/sandbox/{id}/wake (the `PostSandboxWake` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSandboxWakeWithBody

func (c *Client) PostSandboxWakeWithBody(ctx context.Context, id Id, params *PostSandboxWakeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxWakeWithBody performs a POST /api/rest/sandbox/{id}/wake (the `PostSandboxWake` operationId) request, with any type of body and a specified content type.

func (*Client) PostSandboxWithBody

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

PostSandboxWithBody performs a POST /api/rest/sandbox (the `PostSandbox` operationId) request, with any type of body and a specified content type.

func (*Client) PostSessionInterrupt

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

PostSessionInterrupt performs a POST /api/rest/session/{id}/interrupt (the `PostSessionInterrupt` operationId) request.

func (*Client) PostSnapshotRestore

func (c *Client) PostSnapshotRestore(ctx context.Context, id Id, params *PostSnapshotRestoreParams, body PostSnapshotRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSnapshotRestore performs a POST /api/rest/snapshot/{id}/restore (the `PostSnapshotRestore` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostSnapshotRestoreWithBody

func (c *Client) PostSnapshotRestoreWithBody(ctx context.Context, id Id, params *PostSnapshotRestoreParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSnapshotRestoreWithBody performs a POST /api/rest/snapshot/{id}/restore (the `PostSnapshotRestore` operationId) request, with any type of body and a specified content type.

func (*Client) PostTemplate

func (c *Client) PostTemplate(ctx context.Context, params *PostTemplateParams, body PostTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostTemplate performs a POST /api/rest/template (the `PostTemplate` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostTemplateWithBody

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

PostTemplateWithBody performs a POST /api/rest/template (the `PostTemplate` operationId) request, with any type of body and a specified content type.

func (*Client) PostToken

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

PostToken performs a POST /api/rest/token (the `PostToken` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostTokenWithBody

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

PostTokenWithBody performs a POST /api/rest/token (the `PostToken` operationId) request, with any type of body and a specified content type.

func (*Client) PostWebhook

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

PostWebhook performs a POST /api/rest/webhook (the `PostWebhook` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostWebhookWithBody

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

PostWebhookWithBody performs a POST /api/rest/webhook (the `PostWebhook` operationId) request, with any type of body and a specified content type.

func (*Client) PutBase

func (c *Client) PutBase(ctx context.Context, digest Digest, body PutBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutBase performs a PUT /api/rest/base/{digest} (the `PutBase` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutBaseWithBody

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

PutBaseWithBody performs a PUT /api/rest/base/{digest} (the `PutBase` operationId) request, with any type of body and a specified content type.

func (*Client) PutConnectorCredential

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

PutConnectorCredential performs a PUT /api/rest/connector/{name}/credential (the `PutConnectorCredential` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutConnectorCredentialWithBody

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

PutConnectorCredentialWithBody performs a PUT /api/rest/connector/{name}/credential (the `PutConnectorCredential` operationId) request, with any type of body and a specified content type.

func (*Client) PutIntegration

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

PutIntegration performs a PUT /api/rest/integration/{name} (the `PutIntegration` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutIntegrationWithBody

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

PutIntegrationWithBody performs a PUT /api/rest/integration/{name} (the `PutIntegration` operationId) request, with any type of body and a specified content type.

func (*Client) PutLineage

func (c *Client) PutLineage(ctx context.Context, id Id, body PutLineageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutLineage performs a PUT /api/rest/lineage/{id} (the `PutLineage` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutLineageWithBody

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

PutLineageWithBody performs a PUT /api/rest/lineage/{id} (the `PutLineage` operationId) request, with any type of body and a specified content type.

func (*Client) PutSandbox

func (c *Client) PutSandbox(ctx context.Context, id Id, body PutSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutSandbox performs a PUT /api/rest/sandbox/{id} (the `PutSandbox` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutSandboxFileWithBody

func (c *Client) PutSandboxFileWithBody(ctx context.Context, id Id, params *PutSandboxFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutSandboxFileWithBody performs a PUT /api/rest/sandbox/{id}/file (the `PutSandboxFile` operationId) request, with any type of body and a specified content type.

func (*Client) PutSandboxPolicy

func (c *Client) PutSandboxPolicy(ctx context.Context, id Id, body PutSandboxPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutSandboxPolicy performs a PUT /api/rest/sandbox/{id}/policy (the `PutSandboxPolicy` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutSandboxPolicyWithBody

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

PutSandboxPolicyWithBody performs a PUT /api/rest/sandbox/{id}/policy (the `PutSandboxPolicy` operationId) request, with any type of body and a specified content type.

func (*Client) PutSandboxWithBody

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

PutSandboxWithBody performs a PUT /api/rest/sandbox/{id} (the `PutSandbox` operationId) request, with any type of body and a specified content type.

func (*Client) PutTemplate

func (c *Client) PutTemplate(ctx context.Context, digest Digest, body PutTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutTemplate performs a PUT /api/rest/template/{digest} (the `PutTemplate` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutTemplateWithBody

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

PutTemplateWithBody performs a PUT /api/rest/template/{digest} (the `PutTemplate` operationId) request, with any type of body and a specified content type.

func (*Client) PutWebhook

func (c *Client) PutWebhook(ctx context.Context, id Id, body PutWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutWebhook performs a PUT /api/rest/webhook/{id} (the `PutWebhook` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutWebhookWithBody

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

PutWebhookWithBody performs a PUT /api/rest/webhook/{id} (the `PutWebhook` operationId) request, with any type of body and a specified content type.

func (*Client) PutWorkspaceDomains

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

PutWorkspaceDomains performs a PUT /api/rest/workspace/domains (the `PutWorkspaceDomains` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutWorkspaceDomainsWithBody

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

PutWorkspaceDomainsWithBody performs a PUT /api/rest/workspace/domains (the `PutWorkspaceDomains` operationId) request, with any type of body and a specified content type.

func (*Client) PutWorkspacePolicy

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

PutWorkspacePolicy performs a PUT /api/rest/workspace/policy (the `PutWorkspacePolicy` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PutWorkspacePolicyWithBody

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

PutWorkspacePolicyWithBody performs a PUT /api/rest/workspace/policy (the `PutWorkspacePolicy` operationId) request, with any type of body and a specified content type.

type ClientInterface

type ClientInterface interface {

	// PostBaseWithBody performs a POST /api/rest/base (the `PostBase` operationId) request,
	// with any type of body and a specified content type.
	PostBaseWithBody(ctx context.Context, params *PostBaseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBase performs a POST /api/rest/base (the `PostBase` operationId) request.
	// Takes a body of the `application/json` content type.
	PostBase(ctx context.Context, params *PostBaseParams, body PostBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBaseBuildWithBody performs a POST /api/rest/base-build (the `PostBaseBuild` operationId) request,
	// with any type of body and a specified content type.
	PostBaseBuildWithBody(ctx context.Context, params *PostBaseBuildParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBaseBuildCache performs a DELETE /api/rest/base-build-cache (the `DeleteBaseBuildCache` operationId) request.
	DeleteBaseBuildCache(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBaseBuildCache performs a GET /api/rest/base-build-cache (the `GetBaseBuildCache` operationId) request.
	GetBaseBuildCache(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBaseList performs a GET /api/rest/base-list (the `GetBaseList` operationId) request.
	GetBaseList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBase performs a DELETE /api/rest/base/{digest} (the `DeleteBase` operationId) request.
	DeleteBase(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBase performs a GET /api/rest/base/{digest} (the `GetBase` operationId) request.
	GetBase(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutBaseWithBody performs a PUT /api/rest/base/{digest} (the `PutBase` operationId) request,
	// with any type of body and a specified content type.
	PutBaseWithBody(ctx context.Context, digest Digest, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutBase performs a PUT /api/rest/base/{digest} (the `PutBase` operationId) request.
	// Takes a body of the `application/json` content type.
	PutBase(ctx context.Context, digest Digest, body PutBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConnectorList performs a GET /api/rest/connector-list (the `GetConnectorList` operationId) request.
	GetConnectorList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConnector performs a GET /api/rest/connector/{name} (the `GetConnector` operationId) request.
	GetConnector(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteConnectorCredential performs a DELETE /api/rest/connector/{name}/credential (the `DeleteConnectorCredential` operationId) request.
	DeleteConnectorCredential(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutConnectorCredentialWithBody performs a PUT /api/rest/connector/{name}/credential (the `PutConnectorCredential` operationId) request,
	// with any type of body and a specified content type.
	PutConnectorCredentialWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutConnectorCredential performs a PUT /api/rest/connector/{name}/credential (the `PutConnectorCredential` operationId) request.
	// Takes a body of the `application/json` content type.
	PutConnectorCredential(ctx context.Context, name string, body PutConnectorCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostConnectorLogin performs a POST /api/rest/connector/{name}/login (the `PostConnectorLogin` operationId) request.
	PostConnectorLogin(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventList performs a GET /api/rest/event-list (the `GetEventList` operationId) request.
	GetEventList(ctx context.Context, params *GetEventListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventStream performs a GET /api/rest/event-stream (the `GetEventStream` operationId) request.
	GetEventStream(ctx context.Context, params *GetEventStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostExportWithBody performs a POST /api/rest/export (the `PostExport` operationId) request,
	// with any type of body and a specified content type.
	PostExportWithBody(ctx context.Context, params *PostExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostExport performs a POST /api/rest/export (the `PostExport` operationId) request.
	// Takes a body of the `application/json` content type.
	PostExport(ctx context.Context, params *PostExportParams, body PostExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExportList performs a GET /api/rest/export-list (the `GetExportList` operationId) request.
	GetExportList(ctx context.Context, params *GetExportListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteExport performs a DELETE /api/rest/export/{id} (the `DeleteExport` operationId) request.
	DeleteExport(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExport performs a GET /api/rest/export/{id} (the `GetExport` operationId) request.
	GetExport(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExportArchive performs a GET /api/rest/export/{id}/archive (the `GetExportArchive` operationId) request.
	GetExportArchive(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostImportWithBody performs a POST /api/rest/import (the `PostImport` operationId) request,
	// with any type of body and a specified content type.
	PostImportWithBody(ctx context.Context, params *PostImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostImport performs a POST /api/rest/import (the `PostImport` operationId) request.
	// Takes a body of the `application/json` content type.
	PostImport(ctx context.Context, params *PostImportParams, body PostImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostImportUploadWithBody performs a POST /api/rest/import/upload (the `PostImportUpload` operationId) request,
	// with any type of body and a specified content type.
	PostImportUploadWithBody(ctx context.Context, params *PostImportUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteIngressCredential performs a DELETE /api/rest/ingress-credential/{id} (the `DeleteIngressCredential` operationId) request.
	DeleteIngressCredential(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostIntegrationWithBody performs a POST /api/rest/integration (the `PostIntegration` operationId) request,
	// with any type of body and a specified content type.
	PostIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostIntegration performs a POST /api/rest/integration (the `PostIntegration` operationId) request.
	// Takes a body of the `application/json` content type.
	PostIntegration(ctx context.Context, body PostIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegrationList performs a GET /api/rest/integration-list (the `GetIntegrationList` operationId) request.
	GetIntegrationList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteIntegration performs a DELETE /api/rest/integration/{name} (the `DeleteIntegration` operationId) request.
	DeleteIntegration(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegration performs a GET /api/rest/integration/{name} (the `GetIntegration` operationId) request.
	GetIntegration(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutIntegrationWithBody performs a PUT /api/rest/integration/{name} (the `PutIntegration` operationId) request,
	// with any type of body and a specified content type.
	PutIntegrationWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutIntegration performs a PUT /api/rest/integration/{name} (the `PutIntegration` operationId) request.
	// Takes a body of the `application/json` content type.
	PutIntegration(ctx context.Context, name string, body PutIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLineageList performs a GET /api/rest/lineage-list (the `GetLineageList` operationId) request.
	GetLineageList(ctx context.Context, params *GetLineageListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLineage performs a GET /api/rest/lineage/{id} (the `GetLineage` operationId) request.
	GetLineage(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLineageWithBody performs a PUT /api/rest/lineage/{id} (the `PutLineage` operationId) request,
	// with any type of body and a specified content type.
	PutLineageWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLineage performs a PUT /api/rest/lineage/{id} (the `PutLineage` operationId) request.
	// Takes a body of the `application/json` content type.
	PutLineage(ctx context.Context, id Id, body PutLineageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOperationList performs a GET /api/rest/operation-list (the `GetOperationList` operationId) request.
	GetOperationList(ctx context.Context, params *GetOperationListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOperation performs a GET /api/rest/operation/{id} (the `GetOperation` operationId) request.
	GetOperation(ctx context.Context, id Id, params *GetOperationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPing performs a GET /api/rest/ping (the `GetPing` operationId) request.
	GetPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetQuarantineList performs a GET /api/rest/quarantine-list (the `GetQuarantineList` operationId) request.
	GetQuarantineList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteQuarantine performs a DELETE /api/rest/quarantine/{id} (the `DeleteQuarantine` operationId) request.
	DeleteQuarantine(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxWithBody performs a POST /api/rest/sandbox (the `PostSandbox` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxWithBody(ctx context.Context, params *PostSandboxParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandbox performs a POST /api/rest/sandbox (the `PostSandbox` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandbox(ctx context.Context, params *PostSandboxParams, body PostSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxList performs a GET /api/rest/sandbox-list (the `GetSandboxList` operationId) request.
	GetSandboxList(ctx context.Context, params *GetSandboxListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandbox performs a DELETE /api/rest/sandbox/{id} (the `DeleteSandbox` operationId) request.
	DeleteSandbox(ctx context.Context, id Id, params *DeleteSandboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandbox performs a GET /api/rest/sandbox/{id} (the `GetSandbox` operationId) request.
	GetSandbox(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandboxWithBody performs a PUT /api/rest/sandbox/{id} (the `PutSandbox` operationId) request,
	// with any type of body and a specified content type.
	PutSandboxWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandbox performs a PUT /api/rest/sandbox/{id} (the `PutSandbox` operationId) request.
	// Takes a body of the `application/json` content type.
	PutSandbox(ctx context.Context, id Id, body PutSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxEventList performs a GET /api/rest/sandbox/{id}/event-list (the `GetSandboxEventList` operationId) request.
	GetSandboxEventList(ctx context.Context, id Id, params *GetSandboxEventListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxExecWithBody performs a POST /api/rest/sandbox/{id}/exec (the `PostSandboxExec` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxExecWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxExec performs a POST /api/rest/sandbox/{id}/exec (the `PostSandboxExec` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxExec(ctx context.Context, id Id, body PostSandboxExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandboxFile performs a DELETE /api/rest/sandbox/{id}/file (the `DeleteSandboxFile` operationId) request.
	DeleteSandboxFile(ctx context.Context, id Id, params *DeleteSandboxFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxFile performs a GET /api/rest/sandbox/{id}/file (the `GetSandboxFile` operationId) request.
	GetSandboxFile(ctx context.Context, id Id, params *GetSandboxFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandboxFileWithBody performs a PUT /api/rest/sandbox/{id}/file (the `PutSandboxFile` operationId) request,
	// with any type of body and a specified content type.
	PutSandboxFileWithBody(ctx context.Context, id Id, params *PutSandboxFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxFileArchive performs a GET /api/rest/sandbox/{id}/file-archive (the `GetSandboxFileArchive` operationId) request.
	GetSandboxFileArchive(ctx context.Context, id Id, params *GetSandboxFileArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxFileList performs a GET /api/rest/sandbox/{id}/file-list (the `GetSandboxFileList` operationId) request.
	GetSandboxFileList(ctx context.Context, id Id, params *GetSandboxFileListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxForkWithBody performs a POST /api/rest/sandbox/{id}/fork (the `PostSandboxFork` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxForkWithBody(ctx context.Context, id Id, params *PostSandboxForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxFork performs a POST /api/rest/sandbox/{id}/fork (the `PostSandboxFork` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxFork(ctx context.Context, id Id, params *PostSandboxForkParams, body PostSandboxForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxIngressCredentialWithBody performs a POST /api/rest/sandbox/{id}/ingress-credential (the `PostSandboxIngressCredential` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxIngressCredentialWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxIngressCredential performs a POST /api/rest/sandbox/{id}/ingress-credential (the `PostSandboxIngressCredential` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxIngressCredential(ctx context.Context, id Id, body PostSandboxIngressCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxIngressCredentialList performs a GET /api/rest/sandbox/{id}/ingress-credential-list (the `GetSandboxIngressCredentialList` operationId) request.
	GetSandboxIngressCredentialList(ctx context.Context, id Id, params *GetSandboxIngressCredentialListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxIntegrationAttachmentWithBody performs a POST /api/rest/sandbox/{id}/integration-attachment (the `PostSandboxIntegrationAttachment` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxIntegrationAttachmentWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxIntegrationAttachment performs a POST /api/rest/sandbox/{id}/integration-attachment (the `PostSandboxIntegrationAttachment` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxIntegrationAttachment(ctx context.Context, id Id, body PostSandboxIntegrationAttachmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxIntegrationAttachmentList performs a GET /api/rest/sandbox/{id}/integration-attachment-list (the `GetSandboxIntegrationAttachmentList` operationId) request.
	GetSandboxIntegrationAttachmentList(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandboxIntegrationAttachment performs a DELETE /api/rest/sandbox/{id}/integration-attachment/{name} (the `DeleteSandboxIntegrationAttachment` operationId) request.
	DeleteSandboxIntegrationAttachment(ctx context.Context, id Id, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxMetricList performs a GET /api/rest/sandbox/{id}/metric-list (the `GetSandboxMetricList` operationId) request.
	GetSandboxMetricList(ctx context.Context, id Id, params *GetSandboxMetricListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxParkWithBody performs a POST /api/rest/sandbox/{id}/park (the `PostSandboxPark` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxParkWithBody(ctx context.Context, id Id, params *PostSandboxParkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxPark performs a POST /api/rest/sandbox/{id}/park (the `PostSandboxPark` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxPark(ctx context.Context, id Id, params *PostSandboxParkParams, body PostSandboxParkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandboxPolicyWithBody performs a PUT /api/rest/sandbox/{id}/policy (the `PutSandboxPolicy` operationId) request,
	// with any type of body and a specified content type.
	PutSandboxPolicyWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandboxPolicy performs a PUT /api/rest/sandbox/{id}/policy (the `PutSandboxPolicy` operationId) request.
	// Takes a body of the `application/json` content type.
	PutSandboxPolicy(ctx context.Context, id Id, body PutSandboxPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxProcessWithBody performs a POST /api/rest/sandbox/{id}/process (the `PostSandboxProcess` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxProcessWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxProcess performs a POST /api/rest/sandbox/{id}/process (the `PostSandboxProcess` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxProcess(ctx context.Context, id Id, body PostSandboxProcessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxProcessList performs a GET /api/rest/sandbox/{id}/process-list (the `GetSandboxProcessList` operationId) request.
	GetSandboxProcessList(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxSessionList performs a GET /api/rest/sandbox/{id}/session-list (the `GetSandboxSessionList` operationId) request.
	GetSandboxSessionList(ctx context.Context, id Id, params *GetSandboxSessionListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxShell performs a GET /api/rest/sandbox/{id}/shell (the `GetSandboxShell` operationId) request.
	GetSandboxShell(ctx context.Context, id Id, params *GetSandboxShellParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxSnapshotWithBody performs a POST /api/rest/sandbox/{id}/snapshot (the `PostSandboxSnapshot` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxSnapshotWithBody(ctx context.Context, id Id, params *PostSandboxSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxSnapshot performs a POST /api/rest/sandbox/{id}/snapshot (the `PostSandboxSnapshot` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxSnapshot(ctx context.Context, id Id, params *PostSandboxSnapshotParams, body PostSandboxSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxSnapshotList performs a GET /api/rest/sandbox/{id}/snapshot-list (the `GetSandboxSnapshotList` operationId) request.
	GetSandboxSnapshotList(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxSsh performs a GET /api/rest/sandbox/{id}/ssh (the `GetSandboxSsh` operationId) request.
	GetSandboxSsh(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxSshKeyWithBody performs a POST /api/rest/sandbox/{id}/ssh-key (the `PostSandboxSshKey` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxSshKeyWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxSshKey performs a POST /api/rest/sandbox/{id}/ssh-key (the `PostSandboxSshKey` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxSshKey(ctx context.Context, id Id, body PostSandboxSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxSshConnect performs a GET /api/rest/sandbox/{id}/ssh/connect (the `GetSandboxSshConnect` operationId) request.
	GetSandboxSshConnect(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxWakeWithBody performs a POST /api/rest/sandbox/{id}/wake (the `PostSandboxWake` operationId) request,
	// with any type of body and a specified content type.
	PostSandboxWakeWithBody(ctx context.Context, id Id, params *PostSandboxWakeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxWake performs a POST /api/rest/sandbox/{id}/wake (the `PostSandboxWake` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSandboxWake(ctx context.Context, id Id, params *PostSandboxWakeParams, body PostSandboxWakeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSession performs a GET /api/rest/session/{id} (the `GetSession` operationId) request.
	GetSession(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSessionInterrupt performs a POST /api/rest/session/{id}/interrupt (the `PostSessionInterrupt` operationId) request.
	PostSessionInterrupt(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSessionOutput performs a GET /api/rest/session/{id}/output (the `GetSessionOutput` operationId) request.
	GetSessionOutput(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSnapshot performs a DELETE /api/rest/snapshot/{id} (the `DeleteSnapshot` operationId) request.
	DeleteSnapshot(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSnapshot performs a GET /api/rest/snapshot/{id} (the `GetSnapshot` operationId) request.
	GetSnapshot(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSnapshotRestoreWithBody performs a POST /api/rest/snapshot/{id}/restore (the `PostSnapshotRestore` operationId) request,
	// with any type of body and a specified content type.
	PostSnapshotRestoreWithBody(ctx context.Context, id Id, params *PostSnapshotRestoreParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSnapshotRestore performs a POST /api/rest/snapshot/{id}/restore (the `PostSnapshotRestore` operationId) request.
	// Takes a body of the `application/json` content type.
	PostSnapshotRestore(ctx context.Context, id Id, params *PostSnapshotRestoreParams, body PostSnapshotRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTemplateWithBody performs a POST /api/rest/template (the `PostTemplate` operationId) request,
	// with any type of body and a specified content type.
	PostTemplateWithBody(ctx context.Context, params *PostTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTemplate performs a POST /api/rest/template (the `PostTemplate` operationId) request.
	// Takes a body of the `application/json` content type.
	PostTemplate(ctx context.Context, params *PostTemplateParams, body PostTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplateList performs a GET /api/rest/template-list (the `GetTemplateList` operationId) request.
	GetTemplateList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTemplate performs a DELETE /api/rest/template/{digest} (the `DeleteTemplate` operationId) request.
	DeleteTemplate(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplate performs a GET /api/rest/template/{digest} (the `GetTemplate` operationId) request.
	GetTemplate(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutTemplateWithBody performs a PUT /api/rest/template/{digest} (the `PutTemplate` operationId) request,
	// with any type of body and a specified content type.
	PutTemplateWithBody(ctx context.Context, digest Digest, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutTemplate performs a PUT /api/rest/template/{digest} (the `PutTemplate` operationId) request.
	// Takes a body of the `application/json` content type.
	PutTemplate(ctx context.Context, digest Digest, body PutTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTokenWithBody performs a POST /api/rest/token (the `PostToken` operationId) request,
	// with any type of body and a specified content type.
	PostTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostToken performs a POST /api/rest/token (the `PostToken` operationId) request.
	// Takes a body of the `application/json` content type.
	PostToken(ctx context.Context, body PostTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTokenList performs a GET /api/rest/token-list (the `GetTokenList` operationId) request.
	GetTokenList(ctx context.Context, params *GetTokenListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteToken performs a DELETE /api/rest/token/{id} (the `DeleteToken` operationId) request.
	DeleteToken(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostWebhookWithBody performs a POST /api/rest/webhook (the `PostWebhook` operationId) request,
	// with any type of body and a specified content type.
	PostWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostWebhook performs a POST /api/rest/webhook (the `PostWebhook` operationId) request.
	// Takes a body of the `application/json` content type.
	PostWebhook(ctx context.Context, body PostWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhookList performs a GET /api/rest/webhook-list (the `GetWebhookList` operationId) request.
	GetWebhookList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWebhook performs a DELETE /api/rest/webhook/{id} (the `DeleteWebhook` operationId) request.
	DeleteWebhook(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhook performs a GET /api/rest/webhook/{id} (the `GetWebhook` operationId) request.
	GetWebhook(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutWebhookWithBody performs a PUT /api/rest/webhook/{id} (the `PutWebhook` operationId) request,
	// with any type of body and a specified content type.
	PutWebhookWithBody(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutWebhook performs a PUT /api/rest/webhook/{id} (the `PutWebhook` operationId) request.
	// Takes a body of the `application/json` content type.
	PutWebhook(ctx context.Context, id Id, body PutWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhookDeliveryList performs a GET /api/rest/webhook/{id}/delivery-list (the `GetWebhookDeliveryList` operationId) request.
	GetWebhookDeliveryList(ctx context.Context, id Id, params *GetWebhookDeliveryListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkspace performs a GET /api/rest/workspace (the `GetWorkspace` operationId) request.
	GetWorkspace(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutWorkspaceDomainsWithBody performs a PUT /api/rest/workspace/domains (the `PutWorkspaceDomains` operationId) request,
	// with any type of body and a specified content type.
	PutWorkspaceDomainsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutWorkspaceDomains performs a PUT /api/rest/workspace/domains (the `PutWorkspaceDomains` operationId) request.
	// Takes a body of the `application/json` content type.
	PutWorkspaceDomains(ctx context.Context, body PutWorkspaceDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutWorkspacePolicyWithBody performs a PUT /api/rest/workspace/policy (the `PutWorkspacePolicy` operationId) request,
	// with any type of body and a specified content type.
	PutWorkspacePolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutWorkspacePolicy performs a PUT /api/rest/workspace/policy (the `PutWorkspacePolicy` operationId) request.
	// Takes a body of the `application/json` content type.
	PutWorkspacePolicy(ctx context.Context, body PutWorkspacePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

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

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

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

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

func (*ClientWithResponses) DeleteBaseBuildCacheWithResponse

func (c *ClientWithResponses) DeleteBaseBuildCacheWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteBaseBuildCacheResponse, error)

DeleteBaseBuildCacheWithResponse performs a DELETE /api/rest/base-build-cache (the `DeleteBaseBuildCache` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteBaseWithResponse

func (c *ClientWithResponses) DeleteBaseWithResponse(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*DeleteBaseResponse, error)

DeleteBaseWithResponse performs a DELETE /api/rest/base/{digest} (the `DeleteBase` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteConnectorCredentialWithResponse

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

DeleteConnectorCredentialWithResponse performs a DELETE /api/rest/connector/{name}/credential (the `DeleteConnectorCredential` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteExportWithResponse

func (c *ClientWithResponses) DeleteExportWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteExportResponse, error)

DeleteExportWithResponse performs a DELETE /api/rest/export/{id} (the `DeleteExport` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteIngressCredentialWithResponse

func (c *ClientWithResponses) DeleteIngressCredentialWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteIngressCredentialResponse, error)

DeleteIngressCredentialWithResponse performs a DELETE /api/rest/ingress-credential/{id} (the `DeleteIngressCredential` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteIntegrationWithResponse

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

DeleteIntegrationWithResponse performs a DELETE /api/rest/integration/{name} (the `DeleteIntegration` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteQuarantineWithResponse

func (c *ClientWithResponses) DeleteQuarantineWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteQuarantineResponse, error)

DeleteQuarantineWithResponse performs a DELETE /api/rest/quarantine/{id} (the `DeleteQuarantine` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteSandboxFileWithResponse

func (c *ClientWithResponses) DeleteSandboxFileWithResponse(ctx context.Context, id Id, params *DeleteSandboxFileParams, reqEditors ...RequestEditorFn) (*DeleteSandboxFileResponse, error)

DeleteSandboxFileWithResponse performs a DELETE /api/rest/sandbox/{id}/file (the `DeleteSandboxFile` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteSandboxIntegrationAttachmentWithResponse

func (c *ClientWithResponses) DeleteSandboxIntegrationAttachmentWithResponse(ctx context.Context, id Id, name string, reqEditors ...RequestEditorFn) (*DeleteSandboxIntegrationAttachmentResponse, error)

DeleteSandboxIntegrationAttachmentWithResponse performs a DELETE /api/rest/sandbox/{id}/integration-attachment/{name} (the `DeleteSandboxIntegrationAttachment` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteSandboxWithResponse

func (c *ClientWithResponses) DeleteSandboxWithResponse(ctx context.Context, id Id, params *DeleteSandboxParams, reqEditors ...RequestEditorFn) (*DeleteSandboxResponse, error)

DeleteSandboxWithResponse performs a DELETE /api/rest/sandbox/{id} (the `DeleteSandbox` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteSnapshotWithResponse

func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error)

DeleteSnapshotWithResponse performs a DELETE /api/rest/snapshot/{id} (the `DeleteSnapshot` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteTemplateWithResponse

func (c *ClientWithResponses) DeleteTemplateWithResponse(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*DeleteTemplateResponse, error)

DeleteTemplateWithResponse performs a DELETE /api/rest/template/{digest} (the `DeleteTemplate` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteTokenWithResponse

func (c *ClientWithResponses) DeleteTokenWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)

DeleteTokenWithResponse performs a DELETE /api/rest/token/{id} (the `DeleteToken` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteWebhookWithResponse

func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

DeleteWebhookWithResponse performs a DELETE /api/rest/webhook/{id} (the `DeleteWebhook` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetBaseBuildCacheWithResponse

func (c *ClientWithResponses) GetBaseBuildCacheWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBaseBuildCacheResponse, error)

GetBaseBuildCacheWithResponse performs a GET /api/rest/base-build-cache (the `GetBaseBuildCache` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetBaseListWithResponse

func (c *ClientWithResponses) GetBaseListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBaseListResponse, error)

GetBaseListWithResponse performs a GET /api/rest/base-list (the `GetBaseList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetBaseWithResponse

func (c *ClientWithResponses) GetBaseWithResponse(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*GetBaseResponse, error)

GetBaseWithResponse performs a GET /api/rest/base/{digest} (the `GetBase` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetConnectorListWithResponse

func (c *ClientWithResponses) GetConnectorListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConnectorListResponse, error)

GetConnectorListWithResponse performs a GET /api/rest/connector-list (the `GetConnectorList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetConnectorWithResponse

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

GetConnectorWithResponse performs a GET /api/rest/connector/{name} (the `GetConnector` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetEventListWithResponse

func (c *ClientWithResponses) GetEventListWithResponse(ctx context.Context, params *GetEventListParams, reqEditors ...RequestEditorFn) (*GetEventListResponse, error)

GetEventListWithResponse performs a GET /api/rest/event-list (the `GetEventList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetEventStreamWithResponse

func (c *ClientWithResponses) GetEventStreamWithResponse(ctx context.Context, params *GetEventStreamParams, reqEditors ...RequestEditorFn) (*GetEventStreamResponse, error)

GetEventStreamWithResponse performs a GET /api/rest/event-stream (the `GetEventStream` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetExportArchiveWithResponse

func (c *ClientWithResponses) GetExportArchiveWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetExportArchiveResponse, error)

GetExportArchiveWithResponse performs a GET /api/rest/export/{id}/archive (the `GetExportArchive` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetExportListWithResponse

func (c *ClientWithResponses) GetExportListWithResponse(ctx context.Context, params *GetExportListParams, reqEditors ...RequestEditorFn) (*GetExportListResponse, error)

GetExportListWithResponse performs a GET /api/rest/export-list (the `GetExportList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetExportWithResponse

func (c *ClientWithResponses) GetExportWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetExportResponse, error)

GetExportWithResponse performs a GET /api/rest/export/{id} (the `GetExport` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetIntegrationListWithResponse

func (c *ClientWithResponses) GetIntegrationListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIntegrationListResponse, error)

GetIntegrationListWithResponse performs a GET /api/rest/integration-list (the `GetIntegrationList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetIntegrationWithResponse

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

GetIntegrationWithResponse performs a GET /api/rest/integration/{name} (the `GetIntegration` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetLineageListWithResponse

func (c *ClientWithResponses) GetLineageListWithResponse(ctx context.Context, params *GetLineageListParams, reqEditors ...RequestEditorFn) (*GetLineageListResponse, error)

GetLineageListWithResponse performs a GET /api/rest/lineage-list (the `GetLineageList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetLineageWithResponse

func (c *ClientWithResponses) GetLineageWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetLineageResponse, error)

GetLineageWithResponse performs a GET /api/rest/lineage/{id} (the `GetLineage` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetOperationListWithResponse

func (c *ClientWithResponses) GetOperationListWithResponse(ctx context.Context, params *GetOperationListParams, reqEditors ...RequestEditorFn) (*GetOperationListResponse, error)

GetOperationListWithResponse performs a GET /api/rest/operation-list (the `GetOperationList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetOperationWithResponse

func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id Id, params *GetOperationParams, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)

GetOperationWithResponse performs a GET /api/rest/operation/{id} (the `GetOperation` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetPingWithResponse

func (c *ClientWithResponses) GetPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPingResponse, error)

GetPingWithResponse performs a GET /api/rest/ping (the `GetPing` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetQuarantineListWithResponse

func (c *ClientWithResponses) GetQuarantineListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetQuarantineListResponse, error)

GetQuarantineListWithResponse performs a GET /api/rest/quarantine-list (the `GetQuarantineList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxEventListWithResponse

func (c *ClientWithResponses) GetSandboxEventListWithResponse(ctx context.Context, id Id, params *GetSandboxEventListParams, reqEditors ...RequestEditorFn) (*GetSandboxEventListResponse, error)

GetSandboxEventListWithResponse performs a GET /api/rest/sandbox/{id}/event-list (the `GetSandboxEventList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxFileArchiveWithResponse

func (c *ClientWithResponses) GetSandboxFileArchiveWithResponse(ctx context.Context, id Id, params *GetSandboxFileArchiveParams, reqEditors ...RequestEditorFn) (*GetSandboxFileArchiveResponse, error)

GetSandboxFileArchiveWithResponse performs a GET /api/rest/sandbox/{id}/file-archive (the `GetSandboxFileArchive` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxFileListWithResponse

func (c *ClientWithResponses) GetSandboxFileListWithResponse(ctx context.Context, id Id, params *GetSandboxFileListParams, reqEditors ...RequestEditorFn) (*GetSandboxFileListResponse, error)

GetSandboxFileListWithResponse performs a GET /api/rest/sandbox/{id}/file-list (the `GetSandboxFileList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxFileWithResponse

func (c *ClientWithResponses) GetSandboxFileWithResponse(ctx context.Context, id Id, params *GetSandboxFileParams, reqEditors ...RequestEditorFn) (*GetSandboxFileResponse, error)

GetSandboxFileWithResponse performs a GET /api/rest/sandbox/{id}/file (the `GetSandboxFile` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxIngressCredentialListWithResponse

func (c *ClientWithResponses) GetSandboxIngressCredentialListWithResponse(ctx context.Context, id Id, params *GetSandboxIngressCredentialListParams, reqEditors ...RequestEditorFn) (*GetSandboxIngressCredentialListResponse, error)

GetSandboxIngressCredentialListWithResponse performs a GET /api/rest/sandbox/{id}/ingress-credential-list (the `GetSandboxIngressCredentialList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxIntegrationAttachmentListWithResponse

func (c *ClientWithResponses) GetSandboxIntegrationAttachmentListWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxIntegrationAttachmentListResponse, error)

GetSandboxIntegrationAttachmentListWithResponse performs a GET /api/rest/sandbox/{id}/integration-attachment-list (the `GetSandboxIntegrationAttachmentList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxListWithResponse

func (c *ClientWithResponses) GetSandboxListWithResponse(ctx context.Context, params *GetSandboxListParams, reqEditors ...RequestEditorFn) (*GetSandboxListResponse, error)

GetSandboxListWithResponse performs a GET /api/rest/sandbox-list (the `GetSandboxList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxMetricListWithResponse

func (c *ClientWithResponses) GetSandboxMetricListWithResponse(ctx context.Context, id Id, params *GetSandboxMetricListParams, reqEditors ...RequestEditorFn) (*GetSandboxMetricListResponse, error)

GetSandboxMetricListWithResponse performs a GET /api/rest/sandbox/{id}/metric-list (the `GetSandboxMetricList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxProcessListWithResponse

func (c *ClientWithResponses) GetSandboxProcessListWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxProcessListResponse, error)

GetSandboxProcessListWithResponse performs a GET /api/rest/sandbox/{id}/process-list (the `GetSandboxProcessList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxSessionListWithResponse

func (c *ClientWithResponses) GetSandboxSessionListWithResponse(ctx context.Context, id Id, params *GetSandboxSessionListParams, reqEditors ...RequestEditorFn) (*GetSandboxSessionListResponse, error)

GetSandboxSessionListWithResponse performs a GET /api/rest/sandbox/{id}/session-list (the `GetSandboxSessionList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxShellWithResponse

func (c *ClientWithResponses) GetSandboxShellWithResponse(ctx context.Context, id Id, params *GetSandboxShellParams, reqEditors ...RequestEditorFn) (*GetSandboxShellResponse, error)

GetSandboxShellWithResponse performs a GET /api/rest/sandbox/{id}/shell (the `GetSandboxShell` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxSnapshotListWithResponse

func (c *ClientWithResponses) GetSandboxSnapshotListWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxSnapshotListResponse, error)

GetSandboxSnapshotListWithResponse performs a GET /api/rest/sandbox/{id}/snapshot-list (the `GetSandboxSnapshotList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxSshConnectWithResponse

func (c *ClientWithResponses) GetSandboxSshConnectWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxSshConnectResponse, error)

GetSandboxSshConnectWithResponse performs a GET /api/rest/sandbox/{id}/ssh/connect (the `GetSandboxSshConnect` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxSshWithResponse

func (c *ClientWithResponses) GetSandboxSshWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxSshResponse, error)

GetSandboxSshWithResponse performs a GET /api/rest/sandbox/{id}/ssh (the `GetSandboxSsh` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSandboxWithResponse

func (c *ClientWithResponses) GetSandboxWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxResponse, error)

GetSandboxWithResponse performs a GET /api/rest/sandbox/{id} (the `GetSandbox` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSessionOutputWithResponse

func (c *ClientWithResponses) GetSessionOutputWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSessionOutputResponse, error)

GetSessionOutputWithResponse performs a GET /api/rest/session/{id}/output (the `GetSessionOutput` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSessionWithResponse

func (c *ClientWithResponses) GetSessionWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSessionResponse, error)

GetSessionWithResponse performs a GET /api/rest/session/{id} (the `GetSession` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetSnapshotWithResponse

func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error)

GetSnapshotWithResponse performs a GET /api/rest/snapshot/{id} (the `GetSnapshot` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetTemplateListWithResponse

func (c *ClientWithResponses) GetTemplateListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTemplateListResponse, error)

GetTemplateListWithResponse performs a GET /api/rest/template-list (the `GetTemplateList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetTemplateWithResponse

func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)

GetTemplateWithResponse performs a GET /api/rest/template/{digest} (the `GetTemplate` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetTokenListWithResponse

func (c *ClientWithResponses) GetTokenListWithResponse(ctx context.Context, params *GetTokenListParams, reqEditors ...RequestEditorFn) (*GetTokenListResponse, error)

GetTokenListWithResponse performs a GET /api/rest/token-list (the `GetTokenList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetWebhookDeliveryListWithResponse

func (c *ClientWithResponses) GetWebhookDeliveryListWithResponse(ctx context.Context, id Id, params *GetWebhookDeliveryListParams, reqEditors ...RequestEditorFn) (*GetWebhookDeliveryListResponse, error)

GetWebhookDeliveryListWithResponse performs a GET /api/rest/webhook/{id}/delivery-list (the `GetWebhookDeliveryList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetWebhookListWithResponse

func (c *ClientWithResponses) GetWebhookListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWebhookListResponse, error)

GetWebhookListWithResponse performs a GET /api/rest/webhook-list (the `GetWebhookList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetWebhookWithResponse

func (c *ClientWithResponses) GetWebhookWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

GetWebhookWithResponse performs a GET /api/rest/webhook/{id} (the `GetWebhook` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetWorkspaceWithResponse

func (c *ClientWithResponses) GetWorkspaceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkspaceResponse, error)

GetWorkspaceWithResponse performs a GET /api/rest/workspace (the `GetWorkspace` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostBaseBuildWithBodyWithResponse

func (c *ClientWithResponses) PostBaseBuildWithBodyWithResponse(ctx context.Context, params *PostBaseBuildParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBaseBuildResponse, error)

PostBaseBuildWithBodyWithResponse performs a POST /api/rest/base-build (the `PostBaseBuild` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostBaseWithBodyWithResponse

func (c *ClientWithResponses) PostBaseWithBodyWithResponse(ctx context.Context, params *PostBaseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBaseResponse, error)

PostBaseWithBodyWithResponse performs a POST /api/rest/base (the `PostBase` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostBaseWithResponse

func (c *ClientWithResponses) PostBaseWithResponse(ctx context.Context, params *PostBaseParams, body PostBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBaseResponse, error)

PostBaseWithResponse performs a POST /api/rest/base (the `PostBase` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostConnectorLoginWithResponse

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

PostConnectorLoginWithResponse performs a POST /api/rest/connector/{name}/login (the `PostConnectorLogin` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostExportWithBodyWithResponse

func (c *ClientWithResponses) PostExportWithBodyWithResponse(ctx context.Context, params *PostExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostExportResponse, error)

PostExportWithBodyWithResponse performs a POST /api/rest/export (the `PostExport` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostExportWithResponse

func (c *ClientWithResponses) PostExportWithResponse(ctx context.Context, params *PostExportParams, body PostExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostExportResponse, error)

PostExportWithResponse performs a POST /api/rest/export (the `PostExport` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostImportUploadWithBodyWithResponse

func (c *ClientWithResponses) PostImportUploadWithBodyWithResponse(ctx context.Context, params *PostImportUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostImportUploadResponse, error)

PostImportUploadWithBodyWithResponse performs a POST /api/rest/import/upload (the `PostImportUpload` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostImportWithBodyWithResponse

func (c *ClientWithResponses) PostImportWithBodyWithResponse(ctx context.Context, params *PostImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostImportResponse, error)

PostImportWithBodyWithResponse performs a POST /api/rest/import (the `PostImport` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostImportWithResponse

func (c *ClientWithResponses) PostImportWithResponse(ctx context.Context, params *PostImportParams, body PostImportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostImportResponse, error)

PostImportWithResponse performs a POST /api/rest/import (the `PostImport` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostIntegrationWithBodyWithResponse

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

PostIntegrationWithBodyWithResponse performs a POST /api/rest/integration (the `PostIntegration` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostIntegrationWithResponse

func (c *ClientWithResponses) PostIntegrationWithResponse(ctx context.Context, body PostIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostIntegrationResponse, error)

PostIntegrationWithResponse performs a POST /api/rest/integration (the `PostIntegration` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxExecWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxExecWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxExecResponse, error)

PostSandboxExecWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/exec (the `PostSandboxExec` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxExecWithResponse

func (c *ClientWithResponses) PostSandboxExecWithResponse(ctx context.Context, id Id, body PostSandboxExecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxExecResponse, error)

PostSandboxExecWithResponse performs a POST /api/rest/sandbox/{id}/exec (the `PostSandboxExec` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxForkWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxForkWithBodyWithResponse(ctx context.Context, id Id, params *PostSandboxForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxForkResponse, error)

PostSandboxForkWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/fork (the `PostSandboxFork` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxForkWithResponse

func (c *ClientWithResponses) PostSandboxForkWithResponse(ctx context.Context, id Id, params *PostSandboxForkParams, body PostSandboxForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxForkResponse, error)

PostSandboxForkWithResponse performs a POST /api/rest/sandbox/{id}/fork (the `PostSandboxFork` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxIngressCredentialWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxIngressCredentialWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxIngressCredentialResponse, error)

PostSandboxIngressCredentialWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/ingress-credential (the `PostSandboxIngressCredential` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxIngressCredentialWithResponse

func (c *ClientWithResponses) PostSandboxIngressCredentialWithResponse(ctx context.Context, id Id, body PostSandboxIngressCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxIngressCredentialResponse, error)

PostSandboxIngressCredentialWithResponse performs a POST /api/rest/sandbox/{id}/ingress-credential (the `PostSandboxIngressCredential` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxIntegrationAttachmentWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxIntegrationAttachmentWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxIntegrationAttachmentResponse, error)

PostSandboxIntegrationAttachmentWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/integration-attachment (the `PostSandboxIntegrationAttachment` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxIntegrationAttachmentWithResponse

func (c *ClientWithResponses) PostSandboxIntegrationAttachmentWithResponse(ctx context.Context, id Id, body PostSandboxIntegrationAttachmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxIntegrationAttachmentResponse, error)

PostSandboxIntegrationAttachmentWithResponse performs a POST /api/rest/sandbox/{id}/integration-attachment (the `PostSandboxIntegrationAttachment` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxParkWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxParkWithBodyWithResponse(ctx context.Context, id Id, params *PostSandboxParkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxParkResponse, error)

PostSandboxParkWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/park (the `PostSandboxPark` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxParkWithResponse

func (c *ClientWithResponses) PostSandboxParkWithResponse(ctx context.Context, id Id, params *PostSandboxParkParams, body PostSandboxParkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxParkResponse, error)

PostSandboxParkWithResponse performs a POST /api/rest/sandbox/{id}/park (the `PostSandboxPark` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxProcessWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxProcessWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxProcessResponse, error)

PostSandboxProcessWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/process (the `PostSandboxProcess` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxProcessWithResponse

func (c *ClientWithResponses) PostSandboxProcessWithResponse(ctx context.Context, id Id, body PostSandboxProcessJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxProcessResponse, error)

PostSandboxProcessWithResponse performs a POST /api/rest/sandbox/{id}/process (the `PostSandboxProcess` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxSnapshotWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxSnapshotWithBodyWithResponse(ctx context.Context, id Id, params *PostSandboxSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxSnapshotResponse, error)

PostSandboxSnapshotWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/snapshot (the `PostSandboxSnapshot` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxSnapshotWithResponse

func (c *ClientWithResponses) PostSandboxSnapshotWithResponse(ctx context.Context, id Id, params *PostSandboxSnapshotParams, body PostSandboxSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxSnapshotResponse, error)

PostSandboxSnapshotWithResponse performs a POST /api/rest/sandbox/{id}/snapshot (the `PostSandboxSnapshot` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxSshKeyWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxSshKeyWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxSshKeyResponse, error)

PostSandboxSshKeyWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/ssh-key (the `PostSandboxSshKey` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxSshKeyWithResponse

func (c *ClientWithResponses) PostSandboxSshKeyWithResponse(ctx context.Context, id Id, body PostSandboxSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxSshKeyResponse, error)

PostSandboxSshKeyWithResponse performs a POST /api/rest/sandbox/{id}/ssh-key (the `PostSandboxSshKey` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxWakeWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxWakeWithBodyWithResponse(ctx context.Context, id Id, params *PostSandboxWakeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxWakeResponse, error)

PostSandboxWakeWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/wake (the `PostSandboxWake` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxWakeWithResponse

func (c *ClientWithResponses) PostSandboxWakeWithResponse(ctx context.Context, id Id, params *PostSandboxWakeParams, body PostSandboxWakeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxWakeResponse, error)

PostSandboxWakeWithResponse performs a POST /api/rest/sandbox/{id}/wake (the `PostSandboxWake` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxWithBodyWithResponse(ctx context.Context, params *PostSandboxParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxResponse, error)

PostSandboxWithBodyWithResponse performs a POST /api/rest/sandbox (the `PostSandbox` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSandboxWithResponse

func (c *ClientWithResponses) PostSandboxWithResponse(ctx context.Context, params *PostSandboxParams, body PostSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxResponse, error)

PostSandboxWithResponse performs a POST /api/rest/sandbox (the `PostSandbox` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSessionInterruptWithResponse

func (c *ClientWithResponses) PostSessionInterruptWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*PostSessionInterruptResponse, error)

PostSessionInterruptWithResponse performs a POST /api/rest/session/{id}/interrupt (the `PostSessionInterrupt` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSnapshotRestoreWithBodyWithResponse

func (c *ClientWithResponses) PostSnapshotRestoreWithBodyWithResponse(ctx context.Context, id Id, params *PostSnapshotRestoreParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSnapshotRestoreResponse, error)

PostSnapshotRestoreWithBodyWithResponse performs a POST /api/rest/snapshot/{id}/restore (the `PostSnapshotRestore` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostSnapshotRestoreWithResponse

func (c *ClientWithResponses) PostSnapshotRestoreWithResponse(ctx context.Context, id Id, params *PostSnapshotRestoreParams, body PostSnapshotRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSnapshotRestoreResponse, error)

PostSnapshotRestoreWithResponse performs a POST /api/rest/snapshot/{id}/restore (the `PostSnapshotRestore` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostTemplateWithBodyWithResponse

func (c *ClientWithResponses) PostTemplateWithBodyWithResponse(ctx context.Context, params *PostTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplateResponse, error)

PostTemplateWithBodyWithResponse performs a POST /api/rest/template (the `PostTemplate` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostTemplateWithResponse

func (c *ClientWithResponses) PostTemplateWithResponse(ctx context.Context, params *PostTemplateParams, body PostTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplateResponse, error)

PostTemplateWithResponse performs a POST /api/rest/template (the `PostTemplate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostTokenWithBodyWithResponse

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

PostTokenWithBodyWithResponse performs a POST /api/rest/token (the `PostToken` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostTokenWithResponse

func (c *ClientWithResponses) PostTokenWithResponse(ctx context.Context, body PostTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTokenResponse, error)

PostTokenWithResponse performs a POST /api/rest/token (the `PostToken` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostWebhookWithBodyWithResponse

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

PostWebhookWithBodyWithResponse performs a POST /api/rest/webhook (the `PostWebhook` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostWebhookWithResponse

func (c *ClientWithResponses) PostWebhookWithResponse(ctx context.Context, body PostWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*PostWebhookResponse, error)

PostWebhookWithResponse performs a POST /api/rest/webhook (the `PostWebhook` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutBaseWithBodyWithResponse

func (c *ClientWithResponses) PutBaseWithBodyWithResponse(ctx context.Context, digest Digest, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutBaseResponse, error)

PutBaseWithBodyWithResponse performs a PUT /api/rest/base/{digest} (the `PutBase` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutBaseWithResponse

func (c *ClientWithResponses) PutBaseWithResponse(ctx context.Context, digest Digest, body PutBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*PutBaseResponse, error)

PutBaseWithResponse performs a PUT /api/rest/base/{digest} (the `PutBase` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutConnectorCredentialWithBodyWithResponse

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

PutConnectorCredentialWithBodyWithResponse performs a PUT /api/rest/connector/{name}/credential (the `PutConnectorCredential` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutConnectorCredentialWithResponse

func (c *ClientWithResponses) PutConnectorCredentialWithResponse(ctx context.Context, name string, body PutConnectorCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*PutConnectorCredentialResponse, error)

PutConnectorCredentialWithResponse performs a PUT /api/rest/connector/{name}/credential (the `PutConnectorCredential` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutIntegrationWithBodyWithResponse

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

PutIntegrationWithBodyWithResponse performs a PUT /api/rest/integration/{name} (the `PutIntegration` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutIntegrationWithResponse

func (c *ClientWithResponses) PutIntegrationWithResponse(ctx context.Context, name string, body PutIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*PutIntegrationResponse, error)

PutIntegrationWithResponse performs a PUT /api/rest/integration/{name} (the `PutIntegration` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutLineageWithBodyWithResponse

func (c *ClientWithResponses) PutLineageWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLineageResponse, error)

PutLineageWithBodyWithResponse performs a PUT /api/rest/lineage/{id} (the `PutLineage` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutLineageWithResponse

func (c *ClientWithResponses) PutLineageWithResponse(ctx context.Context, id Id, body PutLineageJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLineageResponse, error)

PutLineageWithResponse performs a PUT /api/rest/lineage/{id} (the `PutLineage` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutSandboxFileWithBodyWithResponse

func (c *ClientWithResponses) PutSandboxFileWithBodyWithResponse(ctx context.Context, id Id, params *PutSandboxFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxFileResponse, error)

PutSandboxFileWithBodyWithResponse performs a PUT /api/rest/sandbox/{id}/file (the `PutSandboxFile` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutSandboxPolicyWithBodyWithResponse

func (c *ClientWithResponses) PutSandboxPolicyWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxPolicyResponse, error)

PutSandboxPolicyWithBodyWithResponse performs a PUT /api/rest/sandbox/{id}/policy (the `PutSandboxPolicy` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutSandboxPolicyWithResponse

func (c *ClientWithResponses) PutSandboxPolicyWithResponse(ctx context.Context, id Id, body PutSandboxPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxPolicyResponse, error)

PutSandboxPolicyWithResponse performs a PUT /api/rest/sandbox/{id}/policy (the `PutSandboxPolicy` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutSandboxWithBodyWithResponse

func (c *ClientWithResponses) PutSandboxWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxResponse, error)

PutSandboxWithBodyWithResponse performs a PUT /api/rest/sandbox/{id} (the `PutSandbox` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutSandboxWithResponse

func (c *ClientWithResponses) PutSandboxWithResponse(ctx context.Context, id Id, body PutSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxResponse, error)

PutSandboxWithResponse performs a PUT /api/rest/sandbox/{id} (the `PutSandbox` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutTemplateWithBodyWithResponse

func (c *ClientWithResponses) PutTemplateWithBodyWithResponse(ctx context.Context, digest Digest, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTemplateResponse, error)

PutTemplateWithBodyWithResponse performs a PUT /api/rest/template/{digest} (the `PutTemplate` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutTemplateWithResponse

func (c *ClientWithResponses) PutTemplateWithResponse(ctx context.Context, digest Digest, body PutTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTemplateResponse, error)

PutTemplateWithResponse performs a PUT /api/rest/template/{digest} (the `PutTemplate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutWebhookWithBodyWithResponse

func (c *ClientWithResponses) PutWebhookWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutWebhookResponse, error)

PutWebhookWithBodyWithResponse performs a PUT /api/rest/webhook/{id} (the `PutWebhook` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutWebhookWithResponse

func (c *ClientWithResponses) PutWebhookWithResponse(ctx context.Context, id Id, body PutWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*PutWebhookResponse, error)

PutWebhookWithResponse performs a PUT /api/rest/webhook/{id} (the `PutWebhook` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutWorkspaceDomainsWithBodyWithResponse

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

PutWorkspaceDomainsWithBodyWithResponse performs a PUT /api/rest/workspace/domains (the `PutWorkspaceDomains` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutWorkspaceDomainsWithResponse

func (c *ClientWithResponses) PutWorkspaceDomainsWithResponse(ctx context.Context, body PutWorkspaceDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutWorkspaceDomainsResponse, error)

PutWorkspaceDomainsWithResponse performs a PUT /api/rest/workspace/domains (the `PutWorkspaceDomains` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutWorkspacePolicyWithBodyWithResponse

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

PutWorkspacePolicyWithBodyWithResponse performs a PUT /api/rest/workspace/policy (the `PutWorkspacePolicy` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutWorkspacePolicyWithResponse

func (c *ClientWithResponses) PutWorkspacePolicyWithResponse(ctx context.Context, body PutWorkspacePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutWorkspacePolicyResponse, error)

PutWorkspacePolicyWithResponse performs a PUT /api/rest/workspace/policy (the `PutWorkspacePolicy` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// PostBaseWithBodyWithResponse performs a POST /api/rest/base (the `PostBase` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostBaseWithBodyWithResponse(ctx context.Context, params *PostBaseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBaseResponse, error)

	// PostBaseWithResponse performs a POST /api/rest/base (the `PostBase` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostBaseWithResponse(ctx context.Context, params *PostBaseParams, body PostBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBaseResponse, error)

	// PostBaseBuildWithBodyWithResponse performs a POST /api/rest/base-build (the `PostBaseBuild` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostBaseBuildWithBodyWithResponse(ctx context.Context, params *PostBaseBuildParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBaseBuildResponse, error)

	// DeleteBaseBuildCacheWithResponse performs a DELETE /api/rest/base-build-cache (the `DeleteBaseBuildCache` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteBaseBuildCacheWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteBaseBuildCacheResponse, error)

	// GetBaseBuildCacheWithResponse performs a GET /api/rest/base-build-cache (the `GetBaseBuildCache` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetBaseBuildCacheWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBaseBuildCacheResponse, error)

	// GetBaseListWithResponse performs a GET /api/rest/base-list (the `GetBaseList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetBaseListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBaseListResponse, error)

	// DeleteBaseWithResponse performs a DELETE /api/rest/base/{digest} (the `DeleteBase` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteBaseWithResponse(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*DeleteBaseResponse, error)

	// GetBaseWithResponse performs a GET /api/rest/base/{digest} (the `GetBase` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetBaseWithResponse(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*GetBaseResponse, error)

	// PutBaseWithBodyWithResponse performs a PUT /api/rest/base/{digest} (the `PutBase` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutBaseWithBodyWithResponse(ctx context.Context, digest Digest, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutBaseResponse, error)

	// PutBaseWithResponse performs a PUT /api/rest/base/{digest} (the `PutBase` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutBaseWithResponse(ctx context.Context, digest Digest, body PutBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*PutBaseResponse, error)

	// GetConnectorListWithResponse performs a GET /api/rest/connector-list (the `GetConnectorList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetConnectorListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConnectorListResponse, error)

	// GetConnectorWithResponse performs a GET /api/rest/connector/{name} (the `GetConnector` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetConnectorWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetConnectorResponse, error)

	// DeleteConnectorCredentialWithResponse performs a DELETE /api/rest/connector/{name}/credential (the `DeleteConnectorCredential` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteConnectorCredentialWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteConnectorCredentialResponse, error)

	// PutConnectorCredentialWithBodyWithResponse performs a PUT /api/rest/connector/{name}/credential (the `PutConnectorCredential` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutConnectorCredentialWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutConnectorCredentialResponse, error)

	// PutConnectorCredentialWithResponse performs a PUT /api/rest/connector/{name}/credential (the `PutConnectorCredential` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutConnectorCredentialWithResponse(ctx context.Context, name string, body PutConnectorCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*PutConnectorCredentialResponse, error)

	// PostConnectorLoginWithResponse performs a POST /api/rest/connector/{name}/login (the `PostConnectorLogin` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	PostConnectorLoginWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*PostConnectorLoginResponse, error)

	// GetEventListWithResponse performs a GET /api/rest/event-list (the `GetEventList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetEventListWithResponse(ctx context.Context, params *GetEventListParams, reqEditors ...RequestEditorFn) (*GetEventListResponse, error)

	// GetEventStreamWithResponse performs a GET /api/rest/event-stream (the `GetEventStream` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetEventStreamWithResponse(ctx context.Context, params *GetEventStreamParams, reqEditors ...RequestEditorFn) (*GetEventStreamResponse, error)

	// PostExportWithBodyWithResponse performs a POST /api/rest/export (the `PostExport` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostExportWithBodyWithResponse(ctx context.Context, params *PostExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostExportResponse, error)

	// PostExportWithResponse performs a POST /api/rest/export (the `PostExport` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostExportWithResponse(ctx context.Context, params *PostExportParams, body PostExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostExportResponse, error)

	// GetExportListWithResponse performs a GET /api/rest/export-list (the `GetExportList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetExportListWithResponse(ctx context.Context, params *GetExportListParams, reqEditors ...RequestEditorFn) (*GetExportListResponse, error)

	// DeleteExportWithResponse performs a DELETE /api/rest/export/{id} (the `DeleteExport` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteExportWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteExportResponse, error)

	// GetExportWithResponse performs a GET /api/rest/export/{id} (the `GetExport` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetExportWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetExportResponse, error)

	// GetExportArchiveWithResponse performs a GET /api/rest/export/{id}/archive (the `GetExportArchive` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetExportArchiveWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetExportArchiveResponse, error)

	// PostImportWithBodyWithResponse performs a POST /api/rest/import (the `PostImport` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostImportWithBodyWithResponse(ctx context.Context, params *PostImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostImportResponse, error)

	// PostImportWithResponse performs a POST /api/rest/import (the `PostImport` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostImportWithResponse(ctx context.Context, params *PostImportParams, body PostImportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostImportResponse, error)

	// PostImportUploadWithBodyWithResponse performs a POST /api/rest/import/upload (the `PostImportUpload` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostImportUploadWithBodyWithResponse(ctx context.Context, params *PostImportUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostImportUploadResponse, error)

	// DeleteIngressCredentialWithResponse performs a DELETE /api/rest/ingress-credential/{id} (the `DeleteIngressCredential` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteIngressCredentialWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteIngressCredentialResponse, error)

	// PostIntegrationWithBodyWithResponse performs a POST /api/rest/integration (the `PostIntegration` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostIntegrationResponse, error)

	// PostIntegrationWithResponse performs a POST /api/rest/integration (the `PostIntegration` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostIntegrationWithResponse(ctx context.Context, body PostIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostIntegrationResponse, error)

	// GetIntegrationListWithResponse performs a GET /api/rest/integration-list (the `GetIntegrationList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetIntegrationListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIntegrationListResponse, error)

	// DeleteIntegrationWithResponse performs a DELETE /api/rest/integration/{name} (the `DeleteIntegration` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteIntegrationWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteIntegrationResponse, error)

	// GetIntegrationWithResponse performs a GET /api/rest/integration/{name} (the `GetIntegration` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetIntegrationWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetIntegrationResponse, error)

	// PutIntegrationWithBodyWithResponse performs a PUT /api/rest/integration/{name} (the `PutIntegration` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutIntegrationWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutIntegrationResponse, error)

	// PutIntegrationWithResponse performs a PUT /api/rest/integration/{name} (the `PutIntegration` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutIntegrationWithResponse(ctx context.Context, name string, body PutIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*PutIntegrationResponse, error)

	// GetLineageListWithResponse performs a GET /api/rest/lineage-list (the `GetLineageList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetLineageListWithResponse(ctx context.Context, params *GetLineageListParams, reqEditors ...RequestEditorFn) (*GetLineageListResponse, error)

	// GetLineageWithResponse performs a GET /api/rest/lineage/{id} (the `GetLineage` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetLineageWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetLineageResponse, error)

	// PutLineageWithBodyWithResponse performs a PUT /api/rest/lineage/{id} (the `PutLineage` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutLineageWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLineageResponse, error)

	// PutLineageWithResponse performs a PUT /api/rest/lineage/{id} (the `PutLineage` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutLineageWithResponse(ctx context.Context, id Id, body PutLineageJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLineageResponse, error)

	// GetOperationListWithResponse performs a GET /api/rest/operation-list (the `GetOperationList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetOperationListWithResponse(ctx context.Context, params *GetOperationListParams, reqEditors ...RequestEditorFn) (*GetOperationListResponse, error)

	// GetOperationWithResponse performs a GET /api/rest/operation/{id} (the `GetOperation` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetOperationWithResponse(ctx context.Context, id Id, params *GetOperationParams, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)

	// GetPingWithResponse performs a GET /api/rest/ping (the `GetPing` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPingResponse, error)

	// GetQuarantineListWithResponse performs a GET /api/rest/quarantine-list (the `GetQuarantineList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetQuarantineListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetQuarantineListResponse, error)

	// DeleteQuarantineWithResponse performs a DELETE /api/rest/quarantine/{id} (the `DeleteQuarantine` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteQuarantineWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteQuarantineResponse, error)

	// PostSandboxWithBodyWithResponse performs a POST /api/rest/sandbox (the `PostSandbox` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxWithBodyWithResponse(ctx context.Context, params *PostSandboxParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxResponse, error)

	// PostSandboxWithResponse performs a POST /api/rest/sandbox (the `PostSandbox` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxWithResponse(ctx context.Context, params *PostSandboxParams, body PostSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxResponse, error)

	// GetSandboxListWithResponse performs a GET /api/rest/sandbox-list (the `GetSandboxList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxListWithResponse(ctx context.Context, params *GetSandboxListParams, reqEditors ...RequestEditorFn) (*GetSandboxListResponse, error)

	// DeleteSandboxWithResponse performs a DELETE /api/rest/sandbox/{id} (the `DeleteSandbox` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteSandboxWithResponse(ctx context.Context, id Id, params *DeleteSandboxParams, reqEditors ...RequestEditorFn) (*DeleteSandboxResponse, error)

	// GetSandboxWithResponse performs a GET /api/rest/sandbox/{id} (the `GetSandbox` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxResponse, error)

	// PutSandboxWithBodyWithResponse performs a PUT /api/rest/sandbox/{id} (the `PutSandbox` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutSandboxWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxResponse, error)

	// PutSandboxWithResponse performs a PUT /api/rest/sandbox/{id} (the `PutSandbox` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutSandboxWithResponse(ctx context.Context, id Id, body PutSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxResponse, error)

	// GetSandboxEventListWithResponse performs a GET /api/rest/sandbox/{id}/event-list (the `GetSandboxEventList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxEventListWithResponse(ctx context.Context, id Id, params *GetSandboxEventListParams, reqEditors ...RequestEditorFn) (*GetSandboxEventListResponse, error)

	// PostSandboxExecWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/exec (the `PostSandboxExec` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxExecWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxExecResponse, error)

	// PostSandboxExecWithResponse performs a POST /api/rest/sandbox/{id}/exec (the `PostSandboxExec` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxExecWithResponse(ctx context.Context, id Id, body PostSandboxExecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxExecResponse, error)

	// DeleteSandboxFileWithResponse performs a DELETE /api/rest/sandbox/{id}/file (the `DeleteSandboxFile` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteSandboxFileWithResponse(ctx context.Context, id Id, params *DeleteSandboxFileParams, reqEditors ...RequestEditorFn) (*DeleteSandboxFileResponse, error)

	// GetSandboxFileWithResponse performs a GET /api/rest/sandbox/{id}/file (the `GetSandboxFile` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxFileWithResponse(ctx context.Context, id Id, params *GetSandboxFileParams, reqEditors ...RequestEditorFn) (*GetSandboxFileResponse, error)

	// PutSandboxFileWithBodyWithResponse performs a PUT /api/rest/sandbox/{id}/file (the `PutSandboxFile` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutSandboxFileWithBodyWithResponse(ctx context.Context, id Id, params *PutSandboxFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxFileResponse, error)

	// GetSandboxFileArchiveWithResponse performs a GET /api/rest/sandbox/{id}/file-archive (the `GetSandboxFileArchive` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxFileArchiveWithResponse(ctx context.Context, id Id, params *GetSandboxFileArchiveParams, reqEditors ...RequestEditorFn) (*GetSandboxFileArchiveResponse, error)

	// GetSandboxFileListWithResponse performs a GET /api/rest/sandbox/{id}/file-list (the `GetSandboxFileList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxFileListWithResponse(ctx context.Context, id Id, params *GetSandboxFileListParams, reqEditors ...RequestEditorFn) (*GetSandboxFileListResponse, error)

	// PostSandboxForkWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/fork (the `PostSandboxFork` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxForkWithBodyWithResponse(ctx context.Context, id Id, params *PostSandboxForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxForkResponse, error)

	// PostSandboxForkWithResponse performs a POST /api/rest/sandbox/{id}/fork (the `PostSandboxFork` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxForkWithResponse(ctx context.Context, id Id, params *PostSandboxForkParams, body PostSandboxForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxForkResponse, error)

	// PostSandboxIngressCredentialWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/ingress-credential (the `PostSandboxIngressCredential` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxIngressCredentialWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxIngressCredentialResponse, error)

	// PostSandboxIngressCredentialWithResponse performs a POST /api/rest/sandbox/{id}/ingress-credential (the `PostSandboxIngressCredential` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxIngressCredentialWithResponse(ctx context.Context, id Id, body PostSandboxIngressCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxIngressCredentialResponse, error)

	// GetSandboxIngressCredentialListWithResponse performs a GET /api/rest/sandbox/{id}/ingress-credential-list (the `GetSandboxIngressCredentialList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxIngressCredentialListWithResponse(ctx context.Context, id Id, params *GetSandboxIngressCredentialListParams, reqEditors ...RequestEditorFn) (*GetSandboxIngressCredentialListResponse, error)

	// PostSandboxIntegrationAttachmentWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/integration-attachment (the `PostSandboxIntegrationAttachment` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxIntegrationAttachmentWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxIntegrationAttachmentResponse, error)

	// PostSandboxIntegrationAttachmentWithResponse performs a POST /api/rest/sandbox/{id}/integration-attachment (the `PostSandboxIntegrationAttachment` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxIntegrationAttachmentWithResponse(ctx context.Context, id Id, body PostSandboxIntegrationAttachmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxIntegrationAttachmentResponse, error)

	// GetSandboxIntegrationAttachmentListWithResponse performs a GET /api/rest/sandbox/{id}/integration-attachment-list (the `GetSandboxIntegrationAttachmentList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxIntegrationAttachmentListWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxIntegrationAttachmentListResponse, error)

	// DeleteSandboxIntegrationAttachmentWithResponse performs a DELETE /api/rest/sandbox/{id}/integration-attachment/{name} (the `DeleteSandboxIntegrationAttachment` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteSandboxIntegrationAttachmentWithResponse(ctx context.Context, id Id, name string, reqEditors ...RequestEditorFn) (*DeleteSandboxIntegrationAttachmentResponse, error)

	// GetSandboxMetricListWithResponse performs a GET /api/rest/sandbox/{id}/metric-list (the `GetSandboxMetricList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxMetricListWithResponse(ctx context.Context, id Id, params *GetSandboxMetricListParams, reqEditors ...RequestEditorFn) (*GetSandboxMetricListResponse, error)

	// PostSandboxParkWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/park (the `PostSandboxPark` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxParkWithBodyWithResponse(ctx context.Context, id Id, params *PostSandboxParkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxParkResponse, error)

	// PostSandboxParkWithResponse performs a POST /api/rest/sandbox/{id}/park (the `PostSandboxPark` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxParkWithResponse(ctx context.Context, id Id, params *PostSandboxParkParams, body PostSandboxParkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxParkResponse, error)

	// PutSandboxPolicyWithBodyWithResponse performs a PUT /api/rest/sandbox/{id}/policy (the `PutSandboxPolicy` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutSandboxPolicyWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxPolicyResponse, error)

	// PutSandboxPolicyWithResponse performs a PUT /api/rest/sandbox/{id}/policy (the `PutSandboxPolicy` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutSandboxPolicyWithResponse(ctx context.Context, id Id, body PutSandboxPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxPolicyResponse, error)

	// PostSandboxProcessWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/process (the `PostSandboxProcess` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxProcessWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxProcessResponse, error)

	// PostSandboxProcessWithResponse performs a POST /api/rest/sandbox/{id}/process (the `PostSandboxProcess` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxProcessWithResponse(ctx context.Context, id Id, body PostSandboxProcessJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxProcessResponse, error)

	// GetSandboxProcessListWithResponse performs a GET /api/rest/sandbox/{id}/process-list (the `GetSandboxProcessList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxProcessListWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxProcessListResponse, error)

	// GetSandboxSessionListWithResponse performs a GET /api/rest/sandbox/{id}/session-list (the `GetSandboxSessionList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxSessionListWithResponse(ctx context.Context, id Id, params *GetSandboxSessionListParams, reqEditors ...RequestEditorFn) (*GetSandboxSessionListResponse, error)

	// GetSandboxShellWithResponse performs a GET /api/rest/sandbox/{id}/shell (the `GetSandboxShell` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxShellWithResponse(ctx context.Context, id Id, params *GetSandboxShellParams, reqEditors ...RequestEditorFn) (*GetSandboxShellResponse, error)

	// PostSandboxSnapshotWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/snapshot (the `PostSandboxSnapshot` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxSnapshotWithBodyWithResponse(ctx context.Context, id Id, params *PostSandboxSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxSnapshotResponse, error)

	// PostSandboxSnapshotWithResponse performs a POST /api/rest/sandbox/{id}/snapshot (the `PostSandboxSnapshot` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxSnapshotWithResponse(ctx context.Context, id Id, params *PostSandboxSnapshotParams, body PostSandboxSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxSnapshotResponse, error)

	// GetSandboxSnapshotListWithResponse performs a GET /api/rest/sandbox/{id}/snapshot-list (the `GetSandboxSnapshotList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxSnapshotListWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxSnapshotListResponse, error)

	// GetSandboxSshWithResponse performs a GET /api/rest/sandbox/{id}/ssh (the `GetSandboxSsh` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxSshWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxSshResponse, error)

	// PostSandboxSshKeyWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/ssh-key (the `PostSandboxSshKey` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxSshKeyWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxSshKeyResponse, error)

	// PostSandboxSshKeyWithResponse performs a POST /api/rest/sandbox/{id}/ssh-key (the `PostSandboxSshKey` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxSshKeyWithResponse(ctx context.Context, id Id, body PostSandboxSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxSshKeyResponse, error)

	// GetSandboxSshConnectWithResponse performs a GET /api/rest/sandbox/{id}/ssh/connect (the `GetSandboxSshConnect` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSandboxSshConnectWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSandboxSshConnectResponse, error)

	// PostSandboxWakeWithBodyWithResponse performs a POST /api/rest/sandbox/{id}/wake (the `PostSandboxWake` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSandboxWakeWithBodyWithResponse(ctx context.Context, id Id, params *PostSandboxWakeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxWakeResponse, error)

	// PostSandboxWakeWithResponse performs a POST /api/rest/sandbox/{id}/wake (the `PostSandboxWake` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSandboxWakeWithResponse(ctx context.Context, id Id, params *PostSandboxWakeParams, body PostSandboxWakeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxWakeResponse, error)

	// GetSessionWithResponse performs a GET /api/rest/session/{id} (the `GetSession` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSessionWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSessionResponse, error)

	// PostSessionInterruptWithResponse performs a POST /api/rest/session/{id}/interrupt (the `PostSessionInterrupt` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSessionInterruptWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*PostSessionInterruptResponse, error)

	// GetSessionOutputWithResponse performs a GET /api/rest/session/{id}/output (the `GetSessionOutput` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSessionOutputWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSessionOutputResponse, error)

	// DeleteSnapshotWithResponse performs a DELETE /api/rest/snapshot/{id} (the `DeleteSnapshot` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteSnapshotWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error)

	// GetSnapshotWithResponse performs a GET /api/rest/snapshot/{id} (the `GetSnapshot` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetSnapshotWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error)

	// PostSnapshotRestoreWithBodyWithResponse performs a POST /api/rest/snapshot/{id}/restore (the `PostSnapshotRestore` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostSnapshotRestoreWithBodyWithResponse(ctx context.Context, id Id, params *PostSnapshotRestoreParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSnapshotRestoreResponse, error)

	// PostSnapshotRestoreWithResponse performs a POST /api/rest/snapshot/{id}/restore (the `PostSnapshotRestore` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostSnapshotRestoreWithResponse(ctx context.Context, id Id, params *PostSnapshotRestoreParams, body PostSnapshotRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSnapshotRestoreResponse, error)

	// PostTemplateWithBodyWithResponse performs a POST /api/rest/template (the `PostTemplate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostTemplateWithBodyWithResponse(ctx context.Context, params *PostTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplateResponse, error)

	// PostTemplateWithResponse performs a POST /api/rest/template (the `PostTemplate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostTemplateWithResponse(ctx context.Context, params *PostTemplateParams, body PostTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplateResponse, error)

	// GetTemplateListWithResponse performs a GET /api/rest/template-list (the `GetTemplateList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetTemplateListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTemplateListResponse, error)

	// DeleteTemplateWithResponse performs a DELETE /api/rest/template/{digest} (the `DeleteTemplate` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteTemplateWithResponse(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*DeleteTemplateResponse, error)

	// GetTemplateWithResponse performs a GET /api/rest/template/{digest} (the `GetTemplate` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetTemplateWithResponse(ctx context.Context, digest Digest, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)

	// PutTemplateWithBodyWithResponse performs a PUT /api/rest/template/{digest} (the `PutTemplate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutTemplateWithBodyWithResponse(ctx context.Context, digest Digest, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTemplateResponse, error)

	// PutTemplateWithResponse performs a PUT /api/rest/template/{digest} (the `PutTemplate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutTemplateWithResponse(ctx context.Context, digest Digest, body PutTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTemplateResponse, error)

	// PostTokenWithBodyWithResponse performs a POST /api/rest/token (the `PostToken` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTokenResponse, error)

	// PostTokenWithResponse performs a POST /api/rest/token (the `PostToken` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostTokenWithResponse(ctx context.Context, body PostTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTokenResponse, error)

	// GetTokenListWithResponse performs a GET /api/rest/token-list (the `GetTokenList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetTokenListWithResponse(ctx context.Context, params *GetTokenListParams, reqEditors ...RequestEditorFn) (*GetTokenListResponse, error)

	// DeleteTokenWithResponse performs a DELETE /api/rest/token/{id} (the `DeleteToken` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteTokenWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)

	// PostWebhookWithBodyWithResponse performs a POST /api/rest/webhook (the `PostWebhook` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostWebhookResponse, error)

	// PostWebhookWithResponse performs a POST /api/rest/webhook (the `PostWebhook` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostWebhookWithResponse(ctx context.Context, body PostWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*PostWebhookResponse, error)

	// GetWebhookListWithResponse performs a GET /api/rest/webhook-list (the `GetWebhookList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetWebhookListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWebhookListResponse, error)

	// DeleteWebhookWithResponse performs a DELETE /api/rest/webhook/{id} (the `DeleteWebhook` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteWebhookWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

	// GetWebhookWithResponse performs a GET /api/rest/webhook/{id} (the `GetWebhook` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetWebhookWithResponse(ctx context.Context, id Id, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

	// PutWebhookWithBodyWithResponse performs a PUT /api/rest/webhook/{id} (the `PutWebhook` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutWebhookWithBodyWithResponse(ctx context.Context, id Id, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutWebhookResponse, error)

	// PutWebhookWithResponse performs a PUT /api/rest/webhook/{id} (the `PutWebhook` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutWebhookWithResponse(ctx context.Context, id Id, body PutWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*PutWebhookResponse, error)

	// GetWebhookDeliveryListWithResponse performs a GET /api/rest/webhook/{id}/delivery-list (the `GetWebhookDeliveryList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetWebhookDeliveryListWithResponse(ctx context.Context, id Id, params *GetWebhookDeliveryListParams, reqEditors ...RequestEditorFn) (*GetWebhookDeliveryListResponse, error)

	// GetWorkspaceWithResponse performs a GET /api/rest/workspace (the `GetWorkspace` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetWorkspaceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkspaceResponse, error)

	// PutWorkspaceDomainsWithBodyWithResponse performs a PUT /api/rest/workspace/domains (the `PutWorkspaceDomains` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutWorkspaceDomainsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutWorkspaceDomainsResponse, error)

	// PutWorkspaceDomainsWithResponse performs a PUT /api/rest/workspace/domains (the `PutWorkspaceDomains` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutWorkspaceDomainsWithResponse(ctx context.Context, body PutWorkspaceDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutWorkspaceDomainsResponse, error)

	// PutWorkspacePolicyWithBodyWithResponse performs a PUT /api/rest/workspace/policy (the `PutWorkspacePolicy` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PutWorkspacePolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutWorkspacePolicyResponse, error)

	// PutWorkspacePolicyWithResponse performs a PUT /api/rest/workspace/policy (the `PutWorkspacePolicy` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PutWorkspacePolicyWithResponse(ctx context.Context, body PutWorkspacePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutWorkspacePolicyResponse, error)
}

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

type Cols

type Cols = int

Cols defines model for cols.

type ConsoleTicket

type ConsoleTicket struct {
	Ticket  string `json:"ticket"`
	Expires string `json:"expires"`
}

ConsoleTicket is a single-use console sign-in ticket, minted by POST /console/login-ticket. It lives 60 s.

type DeleteBaseBuildCacheResponse

type DeleteBaseBuildCacheResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteBaseBuildCacheResponse

func ParseDeleteBaseBuildCacheResponse(rsp *http.Response) (*DeleteBaseBuildCacheResponse, error)

ParseDeleteBaseBuildCacheResponse parses an HTTP response from a DeleteBaseBuildCacheWithResponse call

func (DeleteBaseBuildCacheResponse) ContentType

func (r DeleteBaseBuildCacheResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteBaseBuildCacheResponse) GetBody

func (r DeleteBaseBuildCacheResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteBaseBuildCacheResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteBaseBuildCacheResponse) GetJSON401

func (r DeleteBaseBuildCacheResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteBaseBuildCacheResponse) GetJSON403

func (r DeleteBaseBuildCacheResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteBaseBuildCacheResponse) GetJSON502

func (r DeleteBaseBuildCacheResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteBaseBuildCacheResponse) GetJSON503

func (r DeleteBaseBuildCacheResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteBaseBuildCacheResponse) Status

Status returns HTTPResponse.Status

func (DeleteBaseBuildCacheResponse) StatusCode

func (r DeleteBaseBuildCacheResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBaseResponse

type DeleteBaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteBaseResponse

func ParseDeleteBaseResponse(rsp *http.Response) (*DeleteBaseResponse, error)

ParseDeleteBaseResponse parses an HTTP response from a DeleteBaseWithResponse call

func (DeleteBaseResponse) ContentType

func (r DeleteBaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteBaseResponse) GetBody

func (r DeleteBaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteBaseResponse) GetJSON200

func (r DeleteBaseResponse) GetJSON200() *ResponseSuccess

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteBaseResponse) GetJSON401

func (r DeleteBaseResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteBaseResponse) GetJSON403

func (r DeleteBaseResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteBaseResponse) GetJSON404

func (r DeleteBaseResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteBaseResponse) GetJSON409

func (r DeleteBaseResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteBaseResponse) GetJSON502

func (r DeleteBaseResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteBaseResponse) GetJSON503

func (r DeleteBaseResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteBaseResponse) Status

func (r DeleteBaseResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteBaseResponse) StatusCode

func (r DeleteBaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteConnectorCredentialResponse

type DeleteConnectorCredentialResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseConnector
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteConnectorCredentialResponse

func ParseDeleteConnectorCredentialResponse(rsp *http.Response) (*DeleteConnectorCredentialResponse, error)

ParseDeleteConnectorCredentialResponse parses an HTTP response from a DeleteConnectorCredentialWithResponse call

func (DeleteConnectorCredentialResponse) ContentType

func (r DeleteConnectorCredentialResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteConnectorCredentialResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteConnectorCredentialResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteConnectorCredentialResponse) GetJSON401

func (r DeleteConnectorCredentialResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteConnectorCredentialResponse) GetJSON403

func (r DeleteConnectorCredentialResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteConnectorCredentialResponse) GetJSON404

func (r DeleteConnectorCredentialResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteConnectorCredentialResponse) GetJSON503

func (r DeleteConnectorCredentialResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteConnectorCredentialResponse) Status

Status returns HTTPResponse.Status

func (DeleteConnectorCredentialResponse) StatusCode

func (r DeleteConnectorCredentialResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteExportResponse

type DeleteExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteExportResponse

func ParseDeleteExportResponse(rsp *http.Response) (*DeleteExportResponse, error)

ParseDeleteExportResponse parses an HTTP response from a DeleteExportWithResponse call

func (DeleteExportResponse) ContentType

func (r DeleteExportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteExportResponse) GetBody

func (r DeleteExportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteExportResponse) GetJSON200

func (r DeleteExportResponse) GetJSON200() *ResponseSuccess

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteExportResponse) GetJSON401

func (r DeleteExportResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteExportResponse) GetJSON403

func (r DeleteExportResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteExportResponse) GetJSON404

func (r DeleteExportResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteExportResponse) GetJSON409

func (r DeleteExportResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteExportResponse) GetJSON503

func (r DeleteExportResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteExportResponse) Status

func (r DeleteExportResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteExportResponse) StatusCode

func (r DeleteExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteIngressCredentialResponse

type DeleteIngressCredentialResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteIngressCredentialResponse

func ParseDeleteIngressCredentialResponse(rsp *http.Response) (*DeleteIngressCredentialResponse, error)

ParseDeleteIngressCredentialResponse parses an HTTP response from a DeleteIngressCredentialWithResponse call

func (DeleteIngressCredentialResponse) ContentType

func (r DeleteIngressCredentialResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteIngressCredentialResponse) GetBody

func (r DeleteIngressCredentialResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteIngressCredentialResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteIngressCredentialResponse) GetJSON401

func (r DeleteIngressCredentialResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteIngressCredentialResponse) GetJSON403

func (r DeleteIngressCredentialResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteIngressCredentialResponse) GetJSON404

func (r DeleteIngressCredentialResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteIngressCredentialResponse) GetJSON503

func (r DeleteIngressCredentialResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteIngressCredentialResponse) Status

Status returns HTTPResponse.Status

func (DeleteIngressCredentialResponse) StatusCode

func (r DeleteIngressCredentialResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteIntegrationResponse

type DeleteIntegrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteIntegrationResponse

func ParseDeleteIntegrationResponse(rsp *http.Response) (*DeleteIntegrationResponse, error)

ParseDeleteIntegrationResponse parses an HTTP response from a DeleteIntegrationWithResponse call

func (DeleteIntegrationResponse) ContentType

func (r DeleteIntegrationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteIntegrationResponse) GetBody

func (r DeleteIntegrationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteIntegrationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteIntegrationResponse) GetJSON401

func (r DeleteIntegrationResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteIntegrationResponse) GetJSON403

func (r DeleteIntegrationResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteIntegrationResponse) GetJSON404

func (r DeleteIntegrationResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteIntegrationResponse) GetJSON409

func (r DeleteIntegrationResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteIntegrationResponse) GetJSON503

func (r DeleteIntegrationResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteIntegrationResponse) Status

func (r DeleteIntegrationResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteIntegrationResponse) StatusCode

func (r DeleteIntegrationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteQuarantineResponse

type DeleteQuarantineResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteQuarantineResponse

func ParseDeleteQuarantineResponse(rsp *http.Response) (*DeleteQuarantineResponse, error)

ParseDeleteQuarantineResponse parses an HTTP response from a DeleteQuarantineWithResponse call

func (DeleteQuarantineResponse) ContentType

func (r DeleteQuarantineResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteQuarantineResponse) GetBody

func (r DeleteQuarantineResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteQuarantineResponse) GetJSON200

func (r DeleteQuarantineResponse) GetJSON200() *ResponseSuccess

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteQuarantineResponse) GetJSON401

func (r DeleteQuarantineResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteQuarantineResponse) GetJSON403

func (r DeleteQuarantineResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteQuarantineResponse) GetJSON404

func (r DeleteQuarantineResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteQuarantineResponse) GetJSON502

func (r DeleteQuarantineResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteQuarantineResponse) GetJSON503

func (r DeleteQuarantineResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteQuarantineResponse) Status

func (r DeleteQuarantineResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteQuarantineResponse) StatusCode

func (r DeleteQuarantineResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxFileParams

type DeleteSandboxFileParams struct {
	// Path Absolute path inside the sandbox.
	Path Path `form:"path" json:"path"`
}

DeleteSandboxFileParams defines parameters for DeleteSandboxFile.

type DeleteSandboxFileResponse

type DeleteSandboxFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParseDeleteSandboxFileResponse

func ParseDeleteSandboxFileResponse(rsp *http.Response) (*DeleteSandboxFileResponse, error)

ParseDeleteSandboxFileResponse parses an HTTP response from a DeleteSandboxFileWithResponse call

func (DeleteSandboxFileResponse) ContentType

func (r DeleteSandboxFileResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSandboxFileResponse) GetBody

func (r DeleteSandboxFileResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSandboxFileResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteSandboxFileResponse) GetJSON401

func (r DeleteSandboxFileResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSandboxFileResponse) GetJSON403

func (r DeleteSandboxFileResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSandboxFileResponse) GetJSON404

func (r DeleteSandboxFileResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSandboxFileResponse) GetJSON409

func (r DeleteSandboxFileResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteSandboxFileResponse) GetJSON502

func (r DeleteSandboxFileResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteSandboxFileResponse) GetJSON503

func (r DeleteSandboxFileResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteSandboxFileResponse) GetJSON504

func (r DeleteSandboxFileResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (DeleteSandboxFileResponse) Status

func (r DeleteSandboxFileResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSandboxFileResponse) StatusCode

func (r DeleteSandboxFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxIntegrationAttachmentResponse

type DeleteSandboxIntegrationAttachmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteSandboxIntegrationAttachmentResponse

func ParseDeleteSandboxIntegrationAttachmentResponse(rsp *http.Response) (*DeleteSandboxIntegrationAttachmentResponse, error)

ParseDeleteSandboxIntegrationAttachmentResponse parses an HTTP response from a DeleteSandboxIntegrationAttachmentWithResponse call

func (DeleteSandboxIntegrationAttachmentResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSandboxIntegrationAttachmentResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteSandboxIntegrationAttachmentResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteSandboxIntegrationAttachmentResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSandboxIntegrationAttachmentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSandboxIntegrationAttachmentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSandboxIntegrationAttachmentResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteSandboxIntegrationAttachmentResponse) Status

Status returns HTTPResponse.Status

func (DeleteSandboxIntegrationAttachmentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxParams

type DeleteSandboxParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

DeleteSandboxParams defines parameters for DeleteSandbox.

type DeleteSandboxResponse

type DeleteSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperation
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteSandboxResponse

func ParseDeleteSandboxResponse(rsp *http.Response) (*DeleteSandboxResponse, error)

ParseDeleteSandboxResponse parses an HTTP response from a DeleteSandboxWithResponse call

func (DeleteSandboxResponse) ContentType

func (r DeleteSandboxResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSandboxResponse) GetBody

func (r DeleteSandboxResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSandboxResponse) GetJSON200

func (r DeleteSandboxResponse) GetJSON200() *ResponseOperation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteSandboxResponse) GetJSON401

func (r DeleteSandboxResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSandboxResponse) GetJSON403

func (r DeleteSandboxResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSandboxResponse) GetJSON404

func (r DeleteSandboxResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSandboxResponse) GetJSON409

func (r DeleteSandboxResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteSandboxResponse) GetJSON502

func (r DeleteSandboxResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteSandboxResponse) GetJSON503

func (r DeleteSandboxResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteSandboxResponse) Status

func (r DeleteSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSandboxResponse) StatusCode

func (r DeleteSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSnapshotResponse

type DeleteSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteSnapshotResponse

func ParseDeleteSnapshotResponse(rsp *http.Response) (*DeleteSnapshotResponse, error)

ParseDeleteSnapshotResponse parses an HTTP response from a DeleteSnapshotWithResponse call

func (DeleteSnapshotResponse) ContentType

func (r DeleteSnapshotResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSnapshotResponse) GetBody

func (r DeleteSnapshotResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSnapshotResponse) GetJSON200

func (r DeleteSnapshotResponse) GetJSON200() *ResponseSuccess

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteSnapshotResponse) GetJSON401

func (r DeleteSnapshotResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSnapshotResponse) GetJSON403

func (r DeleteSnapshotResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSnapshotResponse) GetJSON404

func (r DeleteSnapshotResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSnapshotResponse) GetJSON409

func (r DeleteSnapshotResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteSnapshotResponse) GetJSON502

func (r DeleteSnapshotResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteSnapshotResponse) GetJSON503

func (r DeleteSnapshotResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteSnapshotResponse) Status

func (r DeleteSnapshotResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSnapshotResponse) StatusCode

func (r DeleteSnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplateResponse

type DeleteTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteTemplateResponse

func ParseDeleteTemplateResponse(rsp *http.Response) (*DeleteTemplateResponse, error)

ParseDeleteTemplateResponse parses an HTTP response from a DeleteTemplateWithResponse call

func (DeleteTemplateResponse) ContentType

func (r DeleteTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTemplateResponse) GetBody

func (r DeleteTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTemplateResponse) GetJSON200

func (r DeleteTemplateResponse) GetJSON200() *ResponseSuccess

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteTemplateResponse) GetJSON401

func (r DeleteTemplateResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteTemplateResponse) GetJSON403

func (r DeleteTemplateResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteTemplateResponse) GetJSON404

func (r DeleteTemplateResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteTemplateResponse) GetJSON409

func (r DeleteTemplateResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteTemplateResponse) GetJSON502

func (r DeleteTemplateResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteTemplateResponse) GetJSON503

func (r DeleteTemplateResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteTemplateResponse) Status

func (r DeleteTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTemplateResponse) StatusCode

func (r DeleteTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTokenResponse

type DeleteTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteTokenResponse

func ParseDeleteTokenResponse(rsp *http.Response) (*DeleteTokenResponse, error)

ParseDeleteTokenResponse parses an HTTP response from a DeleteTokenWithResponse call

func (DeleteTokenResponse) ContentType

func (r DeleteTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTokenResponse) GetBody

func (r DeleteTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTokenResponse) GetJSON200

func (r DeleteTokenResponse) GetJSON200() *ResponseSuccess

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteTokenResponse) GetJSON401

func (r DeleteTokenResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteTokenResponse) GetJSON403

func (r DeleteTokenResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteTokenResponse) GetJSON404

func (r DeleteTokenResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteTokenResponse) GetJSON503

func (r DeleteTokenResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteTokenResponse) Status

func (r DeleteTokenResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTokenResponse) StatusCode

func (r DeleteTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseDeleteWebhookResponse

func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)

ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call

func (DeleteWebhookResponse) ContentType

func (r DeleteWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteWebhookResponse) GetBody

func (r DeleteWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteWebhookResponse) GetJSON200

func (r DeleteWebhookResponse) GetJSON200() *ResponseSuccess

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteWebhookResponse) GetJSON401

func (r DeleteWebhookResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteWebhookResponse) GetJSON403

func (r DeleteWebhookResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteWebhookResponse) GetJSON404

func (r DeleteWebhookResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteWebhookResponse) GetJSON503

func (r DeleteWebhookResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteWebhookResponse) Status

func (r DeleteWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWebhookResponse) StatusCode

func (r DeleteWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Digest

type Digest = string

Digest defines model for digest.

type Error

type Error struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

Error defines model for Error.

type From

type From = string

From defines model for from.

type GetBaseBuildCacheResponse

type GetBaseBuildCacheResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseBaseBuildCache
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetBaseBuildCacheResponse

func ParseGetBaseBuildCacheResponse(rsp *http.Response) (*GetBaseBuildCacheResponse, error)

ParseGetBaseBuildCacheResponse parses an HTTP response from a GetBaseBuildCacheWithResponse call

func (GetBaseBuildCacheResponse) ContentType

func (r GetBaseBuildCacheResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBaseBuildCacheResponse) GetBody

func (r GetBaseBuildCacheResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBaseBuildCacheResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBaseBuildCacheResponse) GetJSON401

func (r GetBaseBuildCacheResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBaseBuildCacheResponse) GetJSON403

func (r GetBaseBuildCacheResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetBaseBuildCacheResponse) GetJSON503

func (r GetBaseBuildCacheResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetBaseBuildCacheResponse) Status

func (r GetBaseBuildCacheResponse) Status() string

Status returns HTTPResponse.Status

func (GetBaseBuildCacheResponse) StatusCode

func (r GetBaseBuildCacheResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBaseListResponse

type GetBaseListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseBaseList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetBaseListResponse

func ParseGetBaseListResponse(rsp *http.Response) (*GetBaseListResponse, error)

ParseGetBaseListResponse parses an HTTP response from a GetBaseListWithResponse call

func (GetBaseListResponse) ContentType

func (r GetBaseListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBaseListResponse) GetBody

func (r GetBaseListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBaseListResponse) GetJSON200

func (r GetBaseListResponse) GetJSON200() *ResponseBaseList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBaseListResponse) GetJSON401

func (r GetBaseListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBaseListResponse) GetJSON403

func (r GetBaseListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetBaseListResponse) GetJSON503

func (r GetBaseListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetBaseListResponse) Status

func (r GetBaseListResponse) Status() string

Status returns HTTPResponse.Status

func (GetBaseListResponse) StatusCode

func (r GetBaseListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBaseResponse

type GetBaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseBase
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetBaseResponse

func ParseGetBaseResponse(rsp *http.Response) (*GetBaseResponse, error)

ParseGetBaseResponse parses an HTTP response from a GetBaseWithResponse call

func (GetBaseResponse) ContentType

func (r GetBaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBaseResponse) GetBody

func (r GetBaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBaseResponse) GetJSON200

func (r GetBaseResponse) GetJSON200() *ResponseBase

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBaseResponse) GetJSON401

func (r GetBaseResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBaseResponse) GetJSON403

func (r GetBaseResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetBaseResponse) GetJSON404

func (r GetBaseResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBaseResponse) GetJSON503

func (r GetBaseResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetBaseResponse) Status

func (r GetBaseResponse) Status() string

Status returns HTTPResponse.Status

func (GetBaseResponse) StatusCode

func (r GetBaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConnectorListResponse

type GetConnectorListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseConnectorList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetConnectorListResponse

func ParseGetConnectorListResponse(rsp *http.Response) (*GetConnectorListResponse, error)

ParseGetConnectorListResponse parses an HTTP response from a GetConnectorListWithResponse call

func (GetConnectorListResponse) ContentType

func (r GetConnectorListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetConnectorListResponse) GetBody

func (r GetConnectorListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetConnectorListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetConnectorListResponse) GetJSON401

func (r GetConnectorListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetConnectorListResponse) GetJSON403

func (r GetConnectorListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetConnectorListResponse) GetJSON503

func (r GetConnectorListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetConnectorListResponse) Status

func (r GetConnectorListResponse) Status() string

Status returns HTTPResponse.Status

func (GetConnectorListResponse) StatusCode

func (r GetConnectorListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConnectorResponse

type GetConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseConnector
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetConnectorResponse

func ParseGetConnectorResponse(rsp *http.Response) (*GetConnectorResponse, error)

ParseGetConnectorResponse parses an HTTP response from a GetConnectorWithResponse call

func (GetConnectorResponse) ContentType

func (r GetConnectorResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetConnectorResponse) GetBody

func (r GetConnectorResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetConnectorResponse) GetJSON200

func (r GetConnectorResponse) GetJSON200() *ResponseConnector

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetConnectorResponse) GetJSON401

func (r GetConnectorResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetConnectorResponse) GetJSON403

func (r GetConnectorResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetConnectorResponse) GetJSON404

func (r GetConnectorResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetConnectorResponse) GetJSON503

func (r GetConnectorResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetConnectorResponse) Status

func (r GetConnectorResponse) Status() string

Status returns HTTPResponse.Status

func (GetConnectorResponse) StatusCode

func (r GetConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEventListParams

type GetEventListParams struct {
	// AfterId Workspace-wide cursor: return events with a greater id.
	AfterId *AfterId `form:"afterId,omitempty" json:"afterId,omitempty"`

	// BeforeId Backwards cursor: return the newest events with a smaller id, newest first. Implies newestFirst.
	BeforeId *int64 `form:"beforeId,omitempty" json:"beforeId,omitempty"`

	// NewestFirst Answer the newest events first instead of the oldest. waitSeconds is ignored in this order.
	NewestFirst *NewestFirst `form:"newestFirst,omitempty" json:"newestFirst,omitempty"`
	SandboxId   *SandboxId   `form:"sandboxId,omitempty" json:"sandboxId,omitempty"`
	Limit       *Limit       `form:"limit,omitempty" json:"limit,omitempty"`

	// WaitSeconds Long poll: hold the request up to this long when nothing is newer than the cursor.
	WaitSeconds *int `form:"waitSeconds,omitempty" json:"waitSeconds,omitempty"`
}

GetEventListParams defines parameters for GetEventList.

type GetEventListResponse

type GetEventListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseEventList
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetEventListResponse

func ParseGetEventListResponse(rsp *http.Response) (*GetEventListResponse, error)

ParseGetEventListResponse parses an HTTP response from a GetEventListWithResponse call

func (GetEventListResponse) ContentType

func (r GetEventListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEventListResponse) GetBody

func (r GetEventListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEventListResponse) GetJSON200

func (r GetEventListResponse) GetJSON200() *ResponseEventList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEventListResponse) GetJSON400

func (r GetEventListResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetEventListResponse) GetJSON401

func (r GetEventListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEventListResponse) GetJSON403

func (r GetEventListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetEventListResponse) GetJSON503

func (r GetEventListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetEventListResponse) Status

func (r GetEventListResponse) Status() string

Status returns HTTPResponse.Status

func (GetEventListResponse) StatusCode

func (r GetEventListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEventStreamParams

type GetEventStreamParams struct {
	// AfterId Workspace-wide cursor: replay the events with a greater id first. Without it the stream starts at the newest event.
	AfterId   *int64     `form:"afterId,omitempty" json:"afterId,omitempty"`
	SandboxId *SandboxId `form:"sandboxId,omitempty" json:"sandboxId,omitempty"`
}

GetEventStreamParams defines parameters for GetEventStream.

type GetEventStreamResponse

type GetEventStreamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseStream
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetEventStreamResponse

func ParseGetEventStreamResponse(rsp *http.Response) (*GetEventStreamResponse, error)

ParseGetEventStreamResponse parses an HTTP response from a GetEventStreamWithResponse call

func (GetEventStreamResponse) ContentType

func (r GetEventStreamResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEventStreamResponse) GetBody

func (r GetEventStreamResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEventStreamResponse) GetJSON200

func (r GetEventStreamResponse) GetJSON200() *ResponseStream

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEventStreamResponse) GetJSON401

func (r GetEventStreamResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEventStreamResponse) GetJSON403

func (r GetEventStreamResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetEventStreamResponse) GetJSON503

func (r GetEventStreamResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetEventStreamResponse) Status

func (r GetEventStreamResponse) Status() string

Status returns HTTPResponse.Status

func (GetEventStreamResponse) StatusCode

func (r GetEventStreamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExportArchiveResponse

type GetExportArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseDownload
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetExportArchiveResponse

func ParseGetExportArchiveResponse(rsp *http.Response) (*GetExportArchiveResponse, error)

ParseGetExportArchiveResponse parses an HTTP response from a GetExportArchiveWithResponse call

func (GetExportArchiveResponse) ContentType

func (r GetExportArchiveResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExportArchiveResponse) GetBody

func (r GetExportArchiveResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetExportArchiveResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetExportArchiveResponse) GetJSON401

func (r GetExportArchiveResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetExportArchiveResponse) GetJSON403

func (r GetExportArchiveResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetExportArchiveResponse) GetJSON404

func (r GetExportArchiveResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetExportArchiveResponse) GetJSON409

func (r GetExportArchiveResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetExportArchiveResponse) GetJSON503

func (r GetExportArchiveResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetExportArchiveResponse) Status

func (r GetExportArchiveResponse) Status() string

Status returns HTTPResponse.Status

func (GetExportArchiveResponse) StatusCode

func (r GetExportArchiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExportListParams

type GetExportListParams struct {
	LineageId *LineageId `form:"lineageId,omitempty" json:"lineageId,omitempty"`
}

GetExportListParams defines parameters for GetExportList.

type GetExportListResponse

type GetExportListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseExportList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetExportListResponse

func ParseGetExportListResponse(rsp *http.Response) (*GetExportListResponse, error)

ParseGetExportListResponse parses an HTTP response from a GetExportListWithResponse call

func (GetExportListResponse) ContentType

func (r GetExportListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExportListResponse) GetBody

func (r GetExportListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetExportListResponse) GetJSON200

func (r GetExportListResponse) GetJSON200() *ResponseExportList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetExportListResponse) GetJSON401

func (r GetExportListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetExportListResponse) GetJSON403

func (r GetExportListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetExportListResponse) GetJSON503

func (r GetExportListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetExportListResponse) Status

func (r GetExportListResponse) Status() string

Status returns HTTPResponse.Status

func (GetExportListResponse) StatusCode

func (r GetExportListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExportResponse

type GetExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseExport
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetExportResponse

func ParseGetExportResponse(rsp *http.Response) (*GetExportResponse, error)

ParseGetExportResponse parses an HTTP response from a GetExportWithResponse call

func (GetExportResponse) ContentType

func (r GetExportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExportResponse) GetBody

func (r GetExportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetExportResponse) GetJSON200

func (r GetExportResponse) GetJSON200() *ResponseExport

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetExportResponse) GetJSON401

func (r GetExportResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetExportResponse) GetJSON403

func (r GetExportResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetExportResponse) GetJSON404

func (r GetExportResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetExportResponse) GetJSON503

func (r GetExportResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetExportResponse) Status

func (r GetExportResponse) Status() string

Status returns HTTPResponse.Status

func (GetExportResponse) StatusCode

func (r GetExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationListResponse

type GetIntegrationListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseIntegrationList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetIntegrationListResponse

func ParseGetIntegrationListResponse(rsp *http.Response) (*GetIntegrationListResponse, error)

ParseGetIntegrationListResponse parses an HTTP response from a GetIntegrationListWithResponse call

func (GetIntegrationListResponse) ContentType

func (r GetIntegrationListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetIntegrationListResponse) GetBody

func (r GetIntegrationListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetIntegrationListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetIntegrationListResponse) GetJSON401

func (r GetIntegrationListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetIntegrationListResponse) GetJSON403

func (r GetIntegrationListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetIntegrationListResponse) GetJSON503

func (r GetIntegrationListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetIntegrationListResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationListResponse) StatusCode

func (r GetIntegrationListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationResponse

type GetIntegrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseIntegration
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetIntegrationResponse

func ParseGetIntegrationResponse(rsp *http.Response) (*GetIntegrationResponse, error)

ParseGetIntegrationResponse parses an HTTP response from a GetIntegrationWithResponse call

func (GetIntegrationResponse) ContentType

func (r GetIntegrationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetIntegrationResponse) GetBody

func (r GetIntegrationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetIntegrationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetIntegrationResponse) GetJSON401

func (r GetIntegrationResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetIntegrationResponse) GetJSON403

func (r GetIntegrationResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetIntegrationResponse) GetJSON404

func (r GetIntegrationResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetIntegrationResponse) GetJSON503

func (r GetIntegrationResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetIntegrationResponse) Status

func (r GetIntegrationResponse) Status() string

Status returns HTTPResponse.Status

func (GetIntegrationResponse) StatusCode

func (r GetIntegrationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLineageListParams

type GetLineageListParams struct {
	// BeforeId Cursor: the id of the last lineage of the previous page, the answer continues with the lineages created before it.
	BeforeId *BeforeId `form:"beforeId,omitempty" json:"beforeId,omitempty"`

	// Limit Page size, 1000 at most. Without it the answer holds every lineage. The list is ordered newest first.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GetLineageListParams defines parameters for GetLineageList.

type GetLineageListResponse

type GetLineageListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseLineageList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetLineageListResponse

func ParseGetLineageListResponse(rsp *http.Response) (*GetLineageListResponse, error)

ParseGetLineageListResponse parses an HTTP response from a GetLineageListWithResponse call

func (GetLineageListResponse) ContentType

func (r GetLineageListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLineageListResponse) GetBody

func (r GetLineageListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLineageListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLineageListResponse) GetJSON401

func (r GetLineageListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetLineageListResponse) GetJSON403

func (r GetLineageListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetLineageListResponse) GetJSON503

func (r GetLineageListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetLineageListResponse) Status

func (r GetLineageListResponse) Status() string

Status returns HTTPResponse.Status

func (GetLineageListResponse) StatusCode

func (r GetLineageListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLineageResponse

type GetLineageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseLineage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetLineageResponse

func ParseGetLineageResponse(rsp *http.Response) (*GetLineageResponse, error)

ParseGetLineageResponse parses an HTTP response from a GetLineageWithResponse call

func (GetLineageResponse) ContentType

func (r GetLineageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLineageResponse) GetBody

func (r GetLineageResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLineageResponse) GetJSON200

func (r GetLineageResponse) GetJSON200() *ResponseLineage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLineageResponse) GetJSON401

func (r GetLineageResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetLineageResponse) GetJSON403

func (r GetLineageResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetLineageResponse) GetJSON404

func (r GetLineageResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetLineageResponse) GetJSON503

func (r GetLineageResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetLineageResponse) Status

func (r GetLineageResponse) Status() string

Status returns HTTPResponse.Status

func (GetLineageResponse) StatusCode

func (r GetLineageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOperationListParams

type GetOperationListParams struct {
	SandboxId *SandboxId                    `form:"sandboxId,omitempty" json:"sandboxId,omitempty"`
	Status    *GetOperationListParamsStatus `form:"status,omitempty" json:"status,omitempty"`
	Kind      *GetOperationListParamsKind   `form:"kind,omitempty" json:"kind,omitempty"`

	// BeforeId Cursor: the id of the last operation of the previous page, the answer continues with the operations older than it.
	BeforeId *string `form:"beforeId,omitempty" json:"beforeId,omitempty"`

	// Limit Page size, 100 when omitted and 1000 at most. The list is ordered newest first.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GetOperationListParams defines parameters for GetOperationList.

type GetOperationListParamsKind

type GetOperationListParamsKind string

GetOperationListParamsKind defines parameters for GetOperationList.

const (
	GetOperationListParamsKindBUILDBASE     GetOperationListParamsKind = "BUILD_BASE"
	GetOperationListParamsKindBUILDTEMPLATE GetOperationListParamsKind = "BUILD_TEMPLATE"
	GetOperationListParamsKindCREATE        GetOperationListParamsKind = "CREATE"
	GetOperationListParamsKindEXPORT        GetOperationListParamsKind = "EXPORT"
	GetOperationListParamsKindFORK          GetOperationListParamsKind = "FORK"
	GetOperationListParamsKindIMPORT        GetOperationListParamsKind = "IMPORT"
	GetOperationListParamsKindPARK          GetOperationListParamsKind = "PARK"
	GetOperationListParamsKindPULLBASE      GetOperationListParamsKind = "PULL_BASE"
	GetOperationListParamsKindRESTORE       GetOperationListParamsKind = "RESTORE"
	GetOperationListParamsKindSNAPSHOT      GetOperationListParamsKind = "SNAPSHOT"
	GetOperationListParamsKindTERMINATE     GetOperationListParamsKind = "TERMINATE"
	GetOperationListParamsKindWAKE          GetOperationListParamsKind = "WAKE"
)

Defines values for GetOperationListParamsKind.

func (GetOperationListParamsKind) Valid

func (e GetOperationListParamsKind) Valid() bool

Valid indicates whether the value is a known member of the GetOperationListParamsKind enum.

type GetOperationListParamsStatus

type GetOperationListParamsStatus string

GetOperationListParamsStatus defines parameters for GetOperationList.

const (
	GetOperationListParamsStatusFAILED   GetOperationListParamsStatus = "FAILED"
	GetOperationListParamsStatusFINISHED GetOperationListParamsStatus = "FINISHED"
	GetOperationListParamsStatusPENDING  GetOperationListParamsStatus = "PENDING"
	GetOperationListParamsStatusRUNNING  GetOperationListParamsStatus = "RUNNING"
)

Defines values for GetOperationListParamsStatus.

func (GetOperationListParamsStatus) Valid

Valid indicates whether the value is a known member of the GetOperationListParamsStatus enum.

type GetOperationListResponse

type GetOperationListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperationList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetOperationListResponse

func ParseGetOperationListResponse(rsp *http.Response) (*GetOperationListResponse, error)

ParseGetOperationListResponse parses an HTTP response from a GetOperationListWithResponse call

func (GetOperationListResponse) ContentType

func (r GetOperationListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOperationListResponse) GetBody

func (r GetOperationListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOperationListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOperationListResponse) GetJSON401

func (r GetOperationListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetOperationListResponse) GetJSON403

func (r GetOperationListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetOperationListResponse) GetJSON503

func (r GetOperationListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetOperationListResponse) Status

func (r GetOperationListResponse) Status() string

Status returns HTTPResponse.Status

func (GetOperationListResponse) StatusCode

func (r GetOperationListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOperationParams

type GetOperationParams struct {
	// WaitSeconds Hold the answer until the operation finishes or fails, at most this many seconds (30 at most). Omitted or 0 answers at once.
	WaitSeconds *WaitSeconds `form:"waitSeconds,omitempty" json:"waitSeconds,omitempty"`
}

GetOperationParams defines parameters for GetOperation.

type GetOperationResponse

type GetOperationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperation
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetOperationResponse

func ParseGetOperationResponse(rsp *http.Response) (*GetOperationResponse, error)

ParseGetOperationResponse parses an HTTP response from a GetOperationWithResponse call

func (GetOperationResponse) ContentType

func (r GetOperationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOperationResponse) GetBody

func (r GetOperationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOperationResponse) GetJSON200

func (r GetOperationResponse) GetJSON200() *ResponseOperation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOperationResponse) GetJSON401

func (r GetOperationResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetOperationResponse) GetJSON403

func (r GetOperationResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetOperationResponse) GetJSON404

func (r GetOperationResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetOperationResponse) GetJSON503

func (r GetOperationResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetOperationResponse) Status

func (r GetOperationResponse) Status() string

Status returns HTTPResponse.Status

func (GetOperationResponse) StatusCode

func (r GetOperationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPingResponse

type GetPingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseGetPing
}

func ParseGetPingResponse

func ParseGetPingResponse(rsp *http.Response) (*GetPingResponse, error)

ParseGetPingResponse parses an HTTP response from a GetPingWithResponse call

func (GetPingResponse) ContentType

func (r GetPingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPingResponse) GetBody

func (r GetPingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPingResponse) GetJSON200

func (r GetPingResponse) GetJSON200() *ResponseGetPing

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPingResponse) Status

func (r GetPingResponse) Status() string

Status returns HTTPResponse.Status

func (GetPingResponse) StatusCode

func (r GetPingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetQuarantineListResponse

type GetQuarantineListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseQuarantineList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetQuarantineListResponse

func ParseGetQuarantineListResponse(rsp *http.Response) (*GetQuarantineListResponse, error)

ParseGetQuarantineListResponse parses an HTTP response from a GetQuarantineListWithResponse call

func (GetQuarantineListResponse) ContentType

func (r GetQuarantineListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetQuarantineListResponse) GetBody

func (r GetQuarantineListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetQuarantineListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetQuarantineListResponse) GetJSON401

func (r GetQuarantineListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetQuarantineListResponse) GetJSON403

func (r GetQuarantineListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetQuarantineListResponse) GetJSON503

func (r GetQuarantineListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetQuarantineListResponse) Status

func (r GetQuarantineListResponse) Status() string

Status returns HTTPResponse.Status

func (GetQuarantineListResponse) StatusCode

func (r GetQuarantineListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxEventListParams

type GetSandboxEventListParams struct {
	// AfterSeq Per-sandbox cursor: return events with a greater seq.
	AfterSeq *AfterSeq `form:"afterSeq,omitempty" json:"afterSeq,omitempty"`

	// BeforeSeq Backwards cursor: return the newest events with a smaller seq, newest first. Implies newestFirst.
	BeforeSeq *BeforeSeq `form:"beforeSeq,omitempty" json:"beforeSeq,omitempty"`

	// NewestFirst Answer the newest events first instead of the oldest. waitSeconds is ignored in this order.
	NewestFirst *NewestFirst `form:"newestFirst,omitempty" json:"newestFirst,omitempty"`
	Limit       *Limit       `form:"limit,omitempty" json:"limit,omitempty"`
	WaitSeconds *int         `form:"waitSeconds,omitempty" json:"waitSeconds,omitempty"`
}

GetSandboxEventListParams defines parameters for GetSandboxEventList.

type GetSandboxEventListResponse

type GetSandboxEventListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseEventList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxEventListResponse

func ParseGetSandboxEventListResponse(rsp *http.Response) (*GetSandboxEventListResponse, error)

ParseGetSandboxEventListResponse parses an HTTP response from a GetSandboxEventListWithResponse call

func (GetSandboxEventListResponse) ContentType

func (r GetSandboxEventListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxEventListResponse) GetBody

func (r GetSandboxEventListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxEventListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxEventListResponse) GetJSON401

func (r GetSandboxEventListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxEventListResponse) GetJSON403

func (r GetSandboxEventListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxEventListResponse) GetJSON404

func (r GetSandboxEventListResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxEventListResponse) GetJSON503

func (r GetSandboxEventListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxEventListResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxEventListResponse) StatusCode

func (r GetSandboxEventListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxFileArchiveParams

type GetSandboxFileArchiveParams struct {
	// Path Absolute path inside the sandbox.
	Path Path `form:"path" json:"path"`
}

GetSandboxFileArchiveParams defines parameters for GetSandboxFileArchive.

type GetSandboxFileArchiveResponse

type GetSandboxFileArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseDownload
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParseGetSandboxFileArchiveResponse

func ParseGetSandboxFileArchiveResponse(rsp *http.Response) (*GetSandboxFileArchiveResponse, error)

ParseGetSandboxFileArchiveResponse parses an HTTP response from a GetSandboxFileArchiveWithResponse call

func (GetSandboxFileArchiveResponse) ContentType

func (r GetSandboxFileArchiveResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxFileArchiveResponse) GetBody

func (r GetSandboxFileArchiveResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxFileArchiveResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxFileArchiveResponse) GetJSON401

func (r GetSandboxFileArchiveResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxFileArchiveResponse) GetJSON403

func (r GetSandboxFileArchiveResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxFileArchiveResponse) GetJSON404

func (r GetSandboxFileArchiveResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxFileArchiveResponse) GetJSON409

func (r GetSandboxFileArchiveResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSandboxFileArchiveResponse) GetJSON502

func (r GetSandboxFileArchiveResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSandboxFileArchiveResponse) GetJSON503

func (r GetSandboxFileArchiveResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxFileArchiveResponse) GetJSON504

func (r GetSandboxFileArchiveResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSandboxFileArchiveResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxFileArchiveResponse) StatusCode

func (r GetSandboxFileArchiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxFileListParams

type GetSandboxFileListParams struct {
	// Path Absolute path inside the sandbox.
	Path Path `form:"path" json:"path"`
}

GetSandboxFileListParams defines parameters for GetSandboxFileList.

type GetSandboxFileListResponse

type GetSandboxFileListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseFileList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParseGetSandboxFileListResponse

func ParseGetSandboxFileListResponse(rsp *http.Response) (*GetSandboxFileListResponse, error)

ParseGetSandboxFileListResponse parses an HTTP response from a GetSandboxFileListWithResponse call

func (GetSandboxFileListResponse) ContentType

func (r GetSandboxFileListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxFileListResponse) GetBody

func (r GetSandboxFileListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxFileListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxFileListResponse) GetJSON401

func (r GetSandboxFileListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxFileListResponse) GetJSON403

func (r GetSandboxFileListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxFileListResponse) GetJSON404

func (r GetSandboxFileListResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxFileListResponse) GetJSON409

func (r GetSandboxFileListResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSandboxFileListResponse) GetJSON502

func (r GetSandboxFileListResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSandboxFileListResponse) GetJSON503

func (r GetSandboxFileListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxFileListResponse) GetJSON504

func (r GetSandboxFileListResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSandboxFileListResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxFileListResponse) StatusCode

func (r GetSandboxFileListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxFileParams

type GetSandboxFileParams struct {
	// Path Absolute path inside the sandbox.
	Path Path `form:"path" json:"path"`
}

GetSandboxFileParams defines parameters for GetSandboxFile.

type GetSandboxFileResponse

type GetSandboxFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseDownload
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParseGetSandboxFileResponse

func ParseGetSandboxFileResponse(rsp *http.Response) (*GetSandboxFileResponse, error)

ParseGetSandboxFileResponse parses an HTTP response from a GetSandboxFileWithResponse call

func (GetSandboxFileResponse) ContentType

func (r GetSandboxFileResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxFileResponse) GetBody

func (r GetSandboxFileResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxFileResponse) GetJSON200

func (r GetSandboxFileResponse) GetJSON200() *ResponseDownload

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxFileResponse) GetJSON401

func (r GetSandboxFileResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxFileResponse) GetJSON403

func (r GetSandboxFileResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxFileResponse) GetJSON404

func (r GetSandboxFileResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxFileResponse) GetJSON409

func (r GetSandboxFileResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSandboxFileResponse) GetJSON502

func (r GetSandboxFileResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSandboxFileResponse) GetJSON503

func (r GetSandboxFileResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxFileResponse) GetJSON504

func (r GetSandboxFileResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSandboxFileResponse) Status

func (r GetSandboxFileResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxFileResponse) StatusCode

func (r GetSandboxFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxIngressCredentialListParams

type GetSandboxIngressCredentialListParams struct {
	IncludeRevoked *IncludeRevoked `form:"includeRevoked,omitempty" json:"includeRevoked,omitempty"`
}

GetSandboxIngressCredentialListParams defines parameters for GetSandboxIngressCredentialList.

type GetSandboxIngressCredentialListResponse

type GetSandboxIngressCredentialListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseIngressCredentialList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxIngressCredentialListResponse

func ParseGetSandboxIngressCredentialListResponse(rsp *http.Response) (*GetSandboxIngressCredentialListResponse, error)

ParseGetSandboxIngressCredentialListResponse parses an HTTP response from a GetSandboxIngressCredentialListWithResponse call

func (GetSandboxIngressCredentialListResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxIngressCredentialListResponse) GetBody

GetBody returns the raw response body bytes

func (GetSandboxIngressCredentialListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxIngressCredentialListResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxIngressCredentialListResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxIngressCredentialListResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxIngressCredentialListResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxIngressCredentialListResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxIngressCredentialListResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSandboxIntegrationAttachmentListResponse

type GetSandboxIntegrationAttachmentListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseIntegrationAttachmentList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxIntegrationAttachmentListResponse

func ParseGetSandboxIntegrationAttachmentListResponse(rsp *http.Response) (*GetSandboxIntegrationAttachmentListResponse, error)

ParseGetSandboxIntegrationAttachmentListResponse parses an HTTP response from a GetSandboxIntegrationAttachmentListWithResponse call

func (GetSandboxIntegrationAttachmentListResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxIntegrationAttachmentListResponse) GetBody

GetBody returns the raw response body bytes

func (GetSandboxIntegrationAttachmentListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxIntegrationAttachmentListResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxIntegrationAttachmentListResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxIntegrationAttachmentListResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxIntegrationAttachmentListResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxIntegrationAttachmentListResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxIntegrationAttachmentListResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSandboxListParams

type GetSandboxListParams struct {
	// Status Repeatable: sandboxes in any of these statuses, one of CREATING, RUNNING, PARKING, PARKED, WAKING, FORKING, RESTORING, FAILED, TERMINATING, TERMINATED, ARCHIVED. Without it the list is the live sandboxes, TERMINATED and ARCHIVED excluded.
	Status    *[]string  `form:"status,omitempty" json:"status,omitempty"`
	LineageId *LineageId `form:"lineageId,omitempty" json:"lineageId,omitempty"`
	ParentId  *ParentId  `form:"parentId,omitempty" json:"parentId,omitempty"`

	// BeforeId Cursor: the id of the last sandbox of the previous page, the answer continues with the sandboxes created before it.
	BeforeId *string `form:"beforeId,omitempty" json:"beforeId,omitempty"`

	// Limit Page size, 1000 at most. Without it the answer holds every matching sandbox. The list is ordered newest first.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GetSandboxListParams defines parameters for GetSandboxList.

type GetSandboxListResponse

type GetSandboxListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSandboxList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxListResponse

func ParseGetSandboxListResponse(rsp *http.Response) (*GetSandboxListResponse, error)

ParseGetSandboxListResponse parses an HTTP response from a GetSandboxListWithResponse call

func (GetSandboxListResponse) ContentType

func (r GetSandboxListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxListResponse) GetBody

func (r GetSandboxListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxListResponse) GetJSON401

func (r GetSandboxListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxListResponse) GetJSON403

func (r GetSandboxListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxListResponse) GetJSON503

func (r GetSandboxListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxListResponse) Status

func (r GetSandboxListResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxListResponse) StatusCode

func (r GetSandboxListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxMetricListParams

type GetSandboxMetricListParams struct {
	From *From `form:"from,omitempty" json:"from,omitempty"`
	To   *To   `form:"to,omitempty" json:"to,omitempty"`
}

GetSandboxMetricListParams defines parameters for GetSandboxMetricList.

type GetSandboxMetricListResponse

type GetSandboxMetricListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseMetricList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxMetricListResponse

func ParseGetSandboxMetricListResponse(rsp *http.Response) (*GetSandboxMetricListResponse, error)

ParseGetSandboxMetricListResponse parses an HTTP response from a GetSandboxMetricListWithResponse call

func (GetSandboxMetricListResponse) ContentType

func (r GetSandboxMetricListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxMetricListResponse) GetBody

func (r GetSandboxMetricListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxMetricListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxMetricListResponse) GetJSON401

func (r GetSandboxMetricListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxMetricListResponse) GetJSON403

func (r GetSandboxMetricListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxMetricListResponse) GetJSON404

func (r GetSandboxMetricListResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxMetricListResponse) GetJSON503

func (r GetSandboxMetricListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxMetricListResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxMetricListResponse) StatusCode

func (r GetSandboxMetricListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxProcessListResponse

type GetSandboxProcessListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseProcessList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParseGetSandboxProcessListResponse

func ParseGetSandboxProcessListResponse(rsp *http.Response) (*GetSandboxProcessListResponse, error)

ParseGetSandboxProcessListResponse parses an HTTP response from a GetSandboxProcessListWithResponse call

func (GetSandboxProcessListResponse) ContentType

func (r GetSandboxProcessListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxProcessListResponse) GetBody

func (r GetSandboxProcessListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxProcessListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxProcessListResponse) GetJSON401

func (r GetSandboxProcessListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxProcessListResponse) GetJSON403

func (r GetSandboxProcessListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxProcessListResponse) GetJSON404

func (r GetSandboxProcessListResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxProcessListResponse) GetJSON502

func (r GetSandboxProcessListResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSandboxProcessListResponse) GetJSON503

func (r GetSandboxProcessListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxProcessListResponse) GetJSON504

func (r GetSandboxProcessListResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSandboxProcessListResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxProcessListResponse) StatusCode

func (r GetSandboxProcessListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxResponse

type GetSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSandbox
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxResponse

func ParseGetSandboxResponse(rsp *http.Response) (*GetSandboxResponse, error)

ParseGetSandboxResponse parses an HTTP response from a GetSandboxWithResponse call

func (GetSandboxResponse) ContentType

func (r GetSandboxResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxResponse) GetBody

func (r GetSandboxResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxResponse) GetJSON200

func (r GetSandboxResponse) GetJSON200() *ResponseSandbox

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxResponse) GetJSON401

func (r GetSandboxResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxResponse) GetJSON403

func (r GetSandboxResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxResponse) GetJSON404

func (r GetSandboxResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxResponse) GetJSON503

func (r GetSandboxResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxResponse) Status

func (r GetSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxResponse) StatusCode

func (r GetSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxSessionListParams

type GetSandboxSessionListParams struct {
	Kind   *GetSandboxSessionListParamsKind   `form:"kind,omitempty" json:"kind,omitempty"`
	Status *GetSandboxSessionListParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}

GetSandboxSessionListParams defines parameters for GetSandboxSessionList.

type GetSandboxSessionListParamsKind

type GetSandboxSessionListParamsKind string

GetSandboxSessionListParamsKind defines parameters for GetSandboxSessionList.

const (
	GetSandboxSessionListParamsKindEXEC GetSandboxSessionListParamsKind = "EXEC"
	GetSandboxSessionListParamsKindPTY  GetSandboxSessionListParamsKind = "PTY"
	GetSandboxSessionListParamsKindSSH  GetSandboxSessionListParamsKind = "SSH"
)

Defines values for GetSandboxSessionListParamsKind.

func (GetSandboxSessionListParamsKind) Valid

Valid indicates whether the value is a known member of the GetSandboxSessionListParamsKind enum.

type GetSandboxSessionListParamsStatus

type GetSandboxSessionListParamsStatus string

GetSandboxSessionListParamsStatus defines parameters for GetSandboxSessionList.

const (
	GetSandboxSessionListParamsStatusCLOSED GetSandboxSessionListParamsStatus = "CLOSED"
	GetSandboxSessionListParamsStatusFAILED GetSandboxSessionListParamsStatus = "FAILED"
	GetSandboxSessionListParamsStatusOPEN   GetSandboxSessionListParamsStatus = "OPEN"
)

Defines values for GetSandboxSessionListParamsStatus.

func (GetSandboxSessionListParamsStatus) Valid

Valid indicates whether the value is a known member of the GetSandboxSessionListParamsStatus enum.

type GetSandboxSessionListResponse

type GetSandboxSessionListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSessionList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxSessionListResponse

func ParseGetSandboxSessionListResponse(rsp *http.Response) (*GetSandboxSessionListResponse, error)

ParseGetSandboxSessionListResponse parses an HTTP response from a GetSandboxSessionListWithResponse call

func (GetSandboxSessionListResponse) ContentType

func (r GetSandboxSessionListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxSessionListResponse) GetBody

func (r GetSandboxSessionListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxSessionListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxSessionListResponse) GetJSON401

func (r GetSandboxSessionListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxSessionListResponse) GetJSON403

func (r GetSandboxSessionListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxSessionListResponse) GetJSON404

func (r GetSandboxSessionListResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxSessionListResponse) GetJSON503

func (r GetSandboxSessionListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxSessionListResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxSessionListResponse) StatusCode

func (r GetSandboxSessionListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxShellParams

type GetSandboxShellParams struct {
	Cols *Cols `form:"cols,omitempty" json:"cols,omitempty"`
	Rows *Rows `form:"rows,omitempty" json:"rows,omitempty"`

	// SessionId Reconnect to an open PTY session instead of opening a new one.
	SessionId     *SessionId     `form:"sessionId,omitempty" json:"sessionId,omitempty"`
	SessionTicket *SessionTicket `form:"sessionTicket,omitempty" json:"sessionTicket,omitempty"`
}

GetSandboxShellParams defines parameters for GetSandboxShell.

type GetSandboxShellResponse

type GetSandboxShellResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseShell
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParseGetSandboxShellResponse

func ParseGetSandboxShellResponse(rsp *http.Response) (*GetSandboxShellResponse, error)

ParseGetSandboxShellResponse parses an HTTP response from a GetSandboxShellWithResponse call

func (GetSandboxShellResponse) ContentType

func (r GetSandboxShellResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxShellResponse) GetBody

func (r GetSandboxShellResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxShellResponse) GetJSON200

func (r GetSandboxShellResponse) GetJSON200() *ResponseShell

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxShellResponse) GetJSON401

func (r GetSandboxShellResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxShellResponse) GetJSON403

func (r GetSandboxShellResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxShellResponse) GetJSON404

func (r GetSandboxShellResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxShellResponse) GetJSON409

func (r GetSandboxShellResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSandboxShellResponse) GetJSON502

func (r GetSandboxShellResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSandboxShellResponse) GetJSON503

func (r GetSandboxShellResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxShellResponse) GetJSON504

func (r GetSandboxShellResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSandboxShellResponse) Status

func (r GetSandboxShellResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxShellResponse) StatusCode

func (r GetSandboxShellResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxSnapshotListResponse

type GetSandboxSnapshotListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSnapshotList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxSnapshotListResponse

func ParseGetSandboxSnapshotListResponse(rsp *http.Response) (*GetSandboxSnapshotListResponse, error)

ParseGetSandboxSnapshotListResponse parses an HTTP response from a GetSandboxSnapshotListWithResponse call

func (GetSandboxSnapshotListResponse) ContentType

func (r GetSandboxSnapshotListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxSnapshotListResponse) GetBody

func (r GetSandboxSnapshotListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxSnapshotListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxSnapshotListResponse) GetJSON401

func (r GetSandboxSnapshotListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxSnapshotListResponse) GetJSON403

func (r GetSandboxSnapshotListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxSnapshotListResponse) GetJSON404

func (r GetSandboxSnapshotListResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxSnapshotListResponse) GetJSON503

func (r GetSandboxSnapshotListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxSnapshotListResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxSnapshotListResponse) StatusCode

func (r GetSandboxSnapshotListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxSshConnectResponse

type GetSandboxSshConnectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseStream
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParseGetSandboxSshConnectResponse

func ParseGetSandboxSshConnectResponse(rsp *http.Response) (*GetSandboxSshConnectResponse, error)

ParseGetSandboxSshConnectResponse parses an HTTP response from a GetSandboxSshConnectWithResponse call

func (GetSandboxSshConnectResponse) ContentType

func (r GetSandboxSshConnectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxSshConnectResponse) GetBody

func (r GetSandboxSshConnectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxSshConnectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxSshConnectResponse) GetJSON401

func (r GetSandboxSshConnectResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxSshConnectResponse) GetJSON403

func (r GetSandboxSshConnectResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxSshConnectResponse) GetJSON404

func (r GetSandboxSshConnectResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxSshConnectResponse) GetJSON409

func (r GetSandboxSshConnectResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSandboxSshConnectResponse) GetJSON502

func (r GetSandboxSshConnectResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSandboxSshConnectResponse) GetJSON503

func (r GetSandboxSshConnectResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxSshConnectResponse) GetJSON504

func (r GetSandboxSshConnectResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSandboxSshConnectResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxSshConnectResponse) StatusCode

func (r GetSandboxSshConnectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxSshResponse

type GetSandboxSshResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSandboxSsh
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSandboxSshResponse

func ParseGetSandboxSshResponse(rsp *http.Response) (*GetSandboxSshResponse, error)

ParseGetSandboxSshResponse parses an HTTP response from a GetSandboxSshWithResponse call

func (GetSandboxSshResponse) ContentType

func (r GetSandboxSshResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxSshResponse) GetBody

func (r GetSandboxSshResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxSshResponse) GetJSON200

func (r GetSandboxSshResponse) GetJSON200() *ResponseSandboxSsh

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxSshResponse) GetJSON401

func (r GetSandboxSshResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxSshResponse) GetJSON403

func (r GetSandboxSshResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSandboxSshResponse) GetJSON404

func (r GetSandboxSshResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxSshResponse) GetJSON503

func (r GetSandboxSshResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSandboxSshResponse) Status

func (r GetSandboxSshResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxSshResponse) StatusCode

func (r GetSandboxSshResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSessionOutputResponse

type GetSessionOutputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseDownload
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSessionOutputResponse

func ParseGetSessionOutputResponse(rsp *http.Response) (*GetSessionOutputResponse, error)

ParseGetSessionOutputResponse parses an HTTP response from a GetSessionOutputWithResponse call

func (GetSessionOutputResponse) ContentType

func (r GetSessionOutputResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSessionOutputResponse) GetBody

func (r GetSessionOutputResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSessionOutputResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSessionOutputResponse) GetJSON401

func (r GetSessionOutputResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSessionOutputResponse) GetJSON403

func (r GetSessionOutputResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSessionOutputResponse) GetJSON404

func (r GetSessionOutputResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSessionOutputResponse) GetJSON503

func (r GetSessionOutputResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSessionOutputResponse) Status

func (r GetSessionOutputResponse) Status() string

Status returns HTTPResponse.Status

func (GetSessionOutputResponse) StatusCode

func (r GetSessionOutputResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSessionResponse

type GetSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseGuestSession
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSessionResponse

func ParseGetSessionResponse(rsp *http.Response) (*GetSessionResponse, error)

ParseGetSessionResponse parses an HTTP response from a GetSessionWithResponse call

func (GetSessionResponse) ContentType

func (r GetSessionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSessionResponse) GetBody

func (r GetSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSessionResponse) GetJSON200

func (r GetSessionResponse) GetJSON200() *ResponseGuestSession

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSessionResponse) GetJSON401

func (r GetSessionResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSessionResponse) GetJSON403

func (r GetSessionResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSessionResponse) GetJSON404

func (r GetSessionResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSessionResponse) GetJSON503

func (r GetSessionResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSessionResponse) Status

func (r GetSessionResponse) Status() string

Status returns HTTPResponse.Status

func (GetSessionResponse) StatusCode

func (r GetSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSnapshotResponse

type GetSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSnapshot
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetSnapshotResponse

func ParseGetSnapshotResponse(rsp *http.Response) (*GetSnapshotResponse, error)

ParseGetSnapshotResponse parses an HTTP response from a GetSnapshotWithResponse call

func (GetSnapshotResponse) ContentType

func (r GetSnapshotResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSnapshotResponse) GetBody

func (r GetSnapshotResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSnapshotResponse) GetJSON200

func (r GetSnapshotResponse) GetJSON200() *ResponseSnapshot

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSnapshotResponse) GetJSON401

func (r GetSnapshotResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSnapshotResponse) GetJSON403

func (r GetSnapshotResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSnapshotResponse) GetJSON404

func (r GetSnapshotResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSnapshotResponse) GetJSON503

func (r GetSnapshotResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetSnapshotResponse) Status

func (r GetSnapshotResponse) Status() string

Status returns HTTPResponse.Status

func (GetSnapshotResponse) StatusCode

func (r GetSnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplateListResponse

type GetTemplateListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseTemplateList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetTemplateListResponse

func ParseGetTemplateListResponse(rsp *http.Response) (*GetTemplateListResponse, error)

ParseGetTemplateListResponse parses an HTTP response from a GetTemplateListWithResponse call

func (GetTemplateListResponse) ContentType

func (r GetTemplateListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplateListResponse) GetBody

func (r GetTemplateListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplateListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplateListResponse) GetJSON401

func (r GetTemplateListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplateListResponse) GetJSON403

func (r GetTemplateListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplateListResponse) GetJSON503

func (r GetTemplateListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetTemplateListResponse) Status

func (r GetTemplateListResponse) Status() string

Status returns HTTPResponse.Status

func (GetTemplateListResponse) StatusCode

func (r GetTemplateListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplateResponse

type GetTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseTemplate
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetTemplateResponse

func ParseGetTemplateResponse(rsp *http.Response) (*GetTemplateResponse, error)

ParseGetTemplateResponse parses an HTTP response from a GetTemplateWithResponse call

func (GetTemplateResponse) ContentType

func (r GetTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplateResponse) GetBody

func (r GetTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplateResponse) GetJSON200

func (r GetTemplateResponse) GetJSON200() *ResponseTemplate

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplateResponse) GetJSON401

func (r GetTemplateResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplateResponse) GetJSON403

func (r GetTemplateResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplateResponse) GetJSON404

func (r GetTemplateResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplateResponse) GetJSON503

func (r GetTemplateResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetTemplateResponse) Status

func (r GetTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (GetTemplateResponse) StatusCode

func (r GetTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTokenListParams

type GetTokenListParams struct {
	IncludeRevoked *IncludeRevoked `form:"includeRevoked,omitempty" json:"includeRevoked,omitempty"`
}

GetTokenListParams defines parameters for GetTokenList.

type GetTokenListResponse

type GetTokenListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseTokenList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetTokenListResponse

func ParseGetTokenListResponse(rsp *http.Response) (*GetTokenListResponse, error)

ParseGetTokenListResponse parses an HTTP response from a GetTokenListWithResponse call

func (GetTokenListResponse) ContentType

func (r GetTokenListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTokenListResponse) GetBody

func (r GetTokenListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTokenListResponse) GetJSON200

func (r GetTokenListResponse) GetJSON200() *ResponseTokenList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTokenListResponse) GetJSON401

func (r GetTokenListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTokenListResponse) GetJSON403

func (r GetTokenListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTokenListResponse) GetJSON503

func (r GetTokenListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetTokenListResponse) Status

func (r GetTokenListResponse) Status() string

Status returns HTTPResponse.Status

func (GetTokenListResponse) StatusCode

func (r GetTokenListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookDeliveryListParams

type GetWebhookDeliveryListParams struct {
	Status *GetWebhookDeliveryListParamsStatus `form:"status,omitempty" json:"status,omitempty"`
	Limit  *Limit                              `form:"limit,omitempty" json:"limit,omitempty"`
}

GetWebhookDeliveryListParams defines parameters for GetWebhookDeliveryList.

type GetWebhookDeliveryListParamsStatus

type GetWebhookDeliveryListParamsStatus string

GetWebhookDeliveryListParamsStatus defines parameters for GetWebhookDeliveryList.

const (
	GetWebhookDeliveryListParamsStatusABANDONED GetWebhookDeliveryListParamsStatus = "ABANDONED"
	GetWebhookDeliveryListParamsStatusDELIVERED GetWebhookDeliveryListParamsStatus = "DELIVERED"
	GetWebhookDeliveryListParamsStatusPENDING   GetWebhookDeliveryListParamsStatus = "PENDING"
)

Defines values for GetWebhookDeliveryListParamsStatus.

func (GetWebhookDeliveryListParamsStatus) Valid

Valid indicates whether the value is a known member of the GetWebhookDeliveryListParamsStatus enum.

type GetWebhookDeliveryListResponse

type GetWebhookDeliveryListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseWebhookDeliveryList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetWebhookDeliveryListResponse

func ParseGetWebhookDeliveryListResponse(rsp *http.Response) (*GetWebhookDeliveryListResponse, error)

ParseGetWebhookDeliveryListResponse parses an HTTP response from a GetWebhookDeliveryListWithResponse call

func (GetWebhookDeliveryListResponse) ContentType

func (r GetWebhookDeliveryListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWebhookDeliveryListResponse) GetBody

func (r GetWebhookDeliveryListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWebhookDeliveryListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWebhookDeliveryListResponse) GetJSON401

func (r GetWebhookDeliveryListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetWebhookDeliveryListResponse) GetJSON403

func (r GetWebhookDeliveryListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetWebhookDeliveryListResponse) GetJSON404

func (r GetWebhookDeliveryListResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetWebhookDeliveryListResponse) GetJSON503

func (r GetWebhookDeliveryListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetWebhookDeliveryListResponse) Status

Status returns HTTPResponse.Status

func (GetWebhookDeliveryListResponse) StatusCode

func (r GetWebhookDeliveryListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookListResponse

type GetWebhookListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseWebhookList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetWebhookListResponse

func ParseGetWebhookListResponse(rsp *http.Response) (*GetWebhookListResponse, error)

ParseGetWebhookListResponse parses an HTTP response from a GetWebhookListWithResponse call

func (GetWebhookListResponse) ContentType

func (r GetWebhookListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWebhookListResponse) GetBody

func (r GetWebhookListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWebhookListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWebhookListResponse) GetJSON401

func (r GetWebhookListResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetWebhookListResponse) GetJSON403

func (r GetWebhookListResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetWebhookListResponse) GetJSON503

func (r GetWebhookListResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetWebhookListResponse) Status

func (r GetWebhookListResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookListResponse) StatusCode

func (r GetWebhookListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookResponse

type GetWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseWebhookEndpoint
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetWebhookResponse

func ParseGetWebhookResponse(rsp *http.Response) (*GetWebhookResponse, error)

ParseGetWebhookResponse parses an HTTP response from a GetWebhookWithResponse call

func (GetWebhookResponse) ContentType

func (r GetWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWebhookResponse) GetBody

func (r GetWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWebhookResponse) GetJSON401

func (r GetWebhookResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetWebhookResponse) GetJSON403

func (r GetWebhookResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetWebhookResponse) GetJSON404

func (r GetWebhookResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetWebhookResponse) GetJSON503

func (r GetWebhookResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetWebhookResponse) Status

func (r GetWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookResponse) StatusCode

func (r GetWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkspaceResponse

type GetWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseWorkspace
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseGetWorkspaceResponse

func ParseGetWorkspaceResponse(rsp *http.Response) (*GetWorkspaceResponse, error)

ParseGetWorkspaceResponse parses an HTTP response from a GetWorkspaceWithResponse call

func (GetWorkspaceResponse) ContentType

func (r GetWorkspaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkspaceResponse) GetBody

func (r GetWorkspaceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWorkspaceResponse) GetJSON200

func (r GetWorkspaceResponse) GetJSON200() *ResponseWorkspace

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkspaceResponse) GetJSON401

func (r GetWorkspaceResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetWorkspaceResponse) GetJSON503

func (r GetWorkspaceResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetWorkspaceResponse) Status

func (r GetWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkspaceResponse) StatusCode

func (r GetWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Id

type Id = string

Id defines model for id.

type IdempotencyKey

type IdempotencyKey = string

IdempotencyKey defines model for IdempotencyKey.

type InDtoBodyPostIntegrationAttachment

type InDtoBodyPostIntegrationAttachment struct {
	// IntegrationName Exactly one of integrationName and peerSandboxId.
	IntegrationName *string `json:"integrationName,omitempty"`
	Name            string  `json:"name"`
	PeerPort        *int    `json:"peerPort,omitempty"`
	PeerSandboxId   *string `json:"peerSandboxId,omitempty"`
}

InDtoBodyPostIntegrationAttachment defines model for InDtoBodyPostIntegrationAttachment.

type InDtoBodyPostSandboxForkChild

type InDtoBodyPostSandboxForkChild struct {
	// Cpus The parent's size when absent. A child of another size boots cold from the parent's disk instead of resuming its memory.
	Cpus        *int    `json:"cpus,omitempty"`
	DiskBytes   *int64  `json:"diskBytes,omitempty"`
	MemoryBytes *int64  `json:"memoryBytes,omitempty"`
	Name        *string `json:"name,omitempty"`
}

InDtoBodyPostSandboxForkChild defines model for InDtoBodyPostSandboxForkChild.

type IncludeRevoked

type IncludeRevoked = bool

IncludeRevoked defines model for includeRevoked.

type Kind

type Kind string

Kind defines model for kind.

const (
	KindEXEC Kind = "EXEC"
	KindPTY  Kind = "PTY"
	KindSSH  Kind = "SSH"
)

Defines values for Kind.

func (Kind) Valid

func (e Kind) Valid() bool

Valid indicates whether the value is a known member of the Kind enum.

type Limit

type Limit = int

Limit defines model for limit.

type LineageId

type LineageId = string

LineageId defines model for lineageId.

type Mode

type Mode = string

Mode Octal file mode, defaults to 0644.

type Name

type Name = string

Name Name the built base takes, moved from the base that held it, so a rebuild under the same name replaces it for `zbox new --base`.

type NewestFirst

type NewestFirst = bool

NewestFirst Answer the newest events first instead of the oldest. waitSeconds is ignored in this order.

type OperationFailed

type OperationFailed struct{ Op BaseOperation }

OperationFailed is the error of an operation that ended FAILED, with the message the orchestrator gave.

func (OperationFailed) Error

func (e OperationFailed) Error() string

type ParentId

type ParentId = string

ParentId defines model for parentId.

type Path

type Path = string

Path Absolute path inside the sandbox.

type PostBaseBuildParams

type PostBaseBuildParams struct {
	// Name Name the built base takes, moved from the base that held it, so a rebuild under the same name replaces it for `zbox new --base`.
	Name *Name `form:"name,omitempty" json:"name,omitempty"`
}

PostBaseBuildParams defines parameters for PostBaseBuild.

type PostBaseBuildResponse

type PostBaseBuildResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperation
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostBaseBuildResponse

func ParsePostBaseBuildResponse(rsp *http.Response) (*PostBaseBuildResponse, error)

ParsePostBaseBuildResponse parses an HTTP response from a PostBaseBuildWithResponse call

func (PostBaseBuildResponse) ContentType

func (r PostBaseBuildResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostBaseBuildResponse) GetBody

func (r PostBaseBuildResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostBaseBuildResponse) GetJSON200

func (r PostBaseBuildResponse) GetJSON200() *ResponseOperation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostBaseBuildResponse) GetJSON400

func (r PostBaseBuildResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostBaseBuildResponse) GetJSON401

func (r PostBaseBuildResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostBaseBuildResponse) GetJSON403

func (r PostBaseBuildResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostBaseBuildResponse) GetJSON502

func (r PostBaseBuildResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostBaseBuildResponse) GetJSON503

func (r PostBaseBuildResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostBaseBuildResponse) Status

func (r PostBaseBuildResponse) Status() string

Status returns HTTPResponse.Status

func (PostBaseBuildResponse) StatusCode

func (r PostBaseBuildResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostBaseJSONRequestBody

type PostBaseJSONRequestBody = RequestPostBase

PostBaseJSONRequestBody defines body for PostBase for application/json ContentType.

type PostBaseParams

type PostBaseParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostBaseParams defines parameters for PostBase.

type PostBaseResponse

type PostBaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperation
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostBaseResponse

func ParsePostBaseResponse(rsp *http.Response) (*PostBaseResponse, error)

ParsePostBaseResponse parses an HTTP response from a PostBaseWithResponse call

func (PostBaseResponse) ContentType

func (r PostBaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostBaseResponse) GetBody

func (r PostBaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostBaseResponse) GetJSON200

func (r PostBaseResponse) GetJSON200() *ResponseOperation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostBaseResponse) GetJSON400

func (r PostBaseResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostBaseResponse) GetJSON401

func (r PostBaseResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostBaseResponse) GetJSON403

func (r PostBaseResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostBaseResponse) GetJSON409

func (r PostBaseResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostBaseResponse) GetJSON502

func (r PostBaseResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostBaseResponse) GetJSON503

func (r PostBaseResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostBaseResponse) Status

func (r PostBaseResponse) Status() string

Status returns HTTPResponse.Status

func (PostBaseResponse) StatusCode

func (r PostBaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostConnectorLoginResponse

type PostConnectorLoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseConnectorLogin
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParsePostConnectorLoginResponse

func ParsePostConnectorLoginResponse(rsp *http.Response) (*PostConnectorLoginResponse, error)

ParsePostConnectorLoginResponse parses an HTTP response from a PostConnectorLoginWithResponse call

func (PostConnectorLoginResponse) ContentType

func (r PostConnectorLoginResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostConnectorLoginResponse) GetBody

func (r PostConnectorLoginResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostConnectorLoginResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostConnectorLoginResponse) GetJSON401

func (r PostConnectorLoginResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostConnectorLoginResponse) GetJSON403

func (r PostConnectorLoginResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostConnectorLoginResponse) GetJSON404

func (r PostConnectorLoginResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostConnectorLoginResponse) GetJSON409

func (r PostConnectorLoginResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostConnectorLoginResponse) GetJSON502

func (r PostConnectorLoginResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostConnectorLoginResponse) GetJSON503

func (r PostConnectorLoginResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostConnectorLoginResponse) GetJSON504

func (r PostConnectorLoginResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostConnectorLoginResponse) Status

Status returns HTTPResponse.Status

func (PostConnectorLoginResponse) StatusCode

func (r PostConnectorLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostExportJSONRequestBody

type PostExportJSONRequestBody = RequestPostExport

PostExportJSONRequestBody defines body for PostExport for application/json ContentType.

type PostExportParams

type PostExportParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostExportParams defines parameters for PostExport.

type PostExportResponse

type PostExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperation
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostExportResponse

func ParsePostExportResponse(rsp *http.Response) (*PostExportResponse, error)

ParsePostExportResponse parses an HTTP response from a PostExportWithResponse call

func (PostExportResponse) ContentType

func (r PostExportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostExportResponse) GetBody

func (r PostExportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostExportResponse) GetJSON200

func (r PostExportResponse) GetJSON200() *ResponseOperation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostExportResponse) GetJSON400

func (r PostExportResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostExportResponse) GetJSON401

func (r PostExportResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostExportResponse) GetJSON403

func (r PostExportResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostExportResponse) GetJSON404

func (r PostExportResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostExportResponse) GetJSON409

func (r PostExportResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostExportResponse) GetJSON502

func (r PostExportResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostExportResponse) GetJSON503

func (r PostExportResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostExportResponse) Status

func (r PostExportResponse) Status() string

Status returns HTTPResponse.Status

func (PostExportResponse) StatusCode

func (r PostExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostImportJSONRequestBody

type PostImportJSONRequestBody = RequestPostImport

PostImportJSONRequestBody defines body for PostImport for application/json ContentType.

type PostImportParams

type PostImportParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostImportParams defines parameters for PostImport.

type PostImportResponse

type PostImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSpawn
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostImportResponse

func ParsePostImportResponse(rsp *http.Response) (*PostImportResponse, error)

ParsePostImportResponse parses an HTTP response from a PostImportWithResponse call

func (PostImportResponse) ContentType

func (r PostImportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostImportResponse) GetBody

func (r PostImportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostImportResponse) GetJSON200

func (r PostImportResponse) GetJSON200() *ResponseSpawn

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostImportResponse) GetJSON400

func (r PostImportResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostImportResponse) GetJSON401

func (r PostImportResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostImportResponse) GetJSON403

func (r PostImportResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostImportResponse) GetJSON404

func (r PostImportResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostImportResponse) GetJSON409

func (r PostImportResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostImportResponse) GetJSON422

func (r PostImportResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostImportResponse) GetJSON502

func (r PostImportResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostImportResponse) GetJSON503

func (r PostImportResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostImportResponse) Status

func (r PostImportResponse) Status() string

Status returns HTTPResponse.Status

func (PostImportResponse) StatusCode

func (r PostImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostImportUploadParams

type PostImportUploadParams struct {
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// WithMemory Resume the archive's memory image, the default. Only an archive this Workspace exported resumes, any other boots cold from its disk.
	WithMemory *WithMemory `form:"withMemory,omitempty" json:"withMemory,omitempty"`
}

PostImportUploadParams defines parameters for PostImportUpload.

type PostImportUploadResponse

type PostImportUploadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSpawn
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostImportUploadResponse

func ParsePostImportUploadResponse(rsp *http.Response) (*PostImportUploadResponse, error)

ParsePostImportUploadResponse parses an HTTP response from a PostImportUploadWithResponse call

func (PostImportUploadResponse) ContentType

func (r PostImportUploadResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostImportUploadResponse) GetBody

func (r PostImportUploadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostImportUploadResponse) GetJSON200

func (r PostImportUploadResponse) GetJSON200() *ResponseSpawn

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostImportUploadResponse) GetJSON400

func (r PostImportUploadResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostImportUploadResponse) GetJSON401

func (r PostImportUploadResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostImportUploadResponse) GetJSON403

func (r PostImportUploadResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostImportUploadResponse) GetJSON404

func (r PostImportUploadResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostImportUploadResponse) GetJSON409

func (r PostImportUploadResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostImportUploadResponse) GetJSON422

func (r PostImportUploadResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostImportUploadResponse) GetJSON502

func (r PostImportUploadResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostImportUploadResponse) GetJSON503

func (r PostImportUploadResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostImportUploadResponse) Status

func (r PostImportUploadResponse) Status() string

Status returns HTTPResponse.Status

func (PostImportUploadResponse) StatusCode

func (r PostImportUploadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostIntegrationJSONRequestBody

type PostIntegrationJSONRequestBody = RequestPostIntegration

PostIntegrationJSONRequestBody defines body for PostIntegration for application/json ContentType.

type PostIntegrationResponse

type PostIntegrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseIntegration
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostIntegrationResponse

func ParsePostIntegrationResponse(rsp *http.Response) (*PostIntegrationResponse, error)

ParsePostIntegrationResponse parses an HTTP response from a PostIntegrationWithResponse call

func (PostIntegrationResponse) ContentType

func (r PostIntegrationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostIntegrationResponse) GetBody

func (r PostIntegrationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostIntegrationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostIntegrationResponse) GetJSON400

func (r PostIntegrationResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostIntegrationResponse) GetJSON401

func (r PostIntegrationResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostIntegrationResponse) GetJSON403

func (r PostIntegrationResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostIntegrationResponse) GetJSON409

func (r PostIntegrationResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostIntegrationResponse) GetJSON503

func (r PostIntegrationResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostIntegrationResponse) Status

func (r PostIntegrationResponse) Status() string

Status returns HTTPResponse.Status

func (PostIntegrationResponse) StatusCode

func (r PostIntegrationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxExecJSONRequestBody

type PostSandboxExecJSONRequestBody = RequestPostExec

PostSandboxExecJSONRequestBody defines body for PostSandboxExec for application/json ContentType.

type PostSandboxExecResponse

type PostSandboxExecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseExecResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParsePostSandboxExecResponse

func ParsePostSandboxExecResponse(rsp *http.Response) (*PostSandboxExecResponse, error)

ParsePostSandboxExecResponse parses an HTTP response from a PostSandboxExecWithResponse call

func (PostSandboxExecResponse) ContentType

func (r PostSandboxExecResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxExecResponse) GetBody

func (r PostSandboxExecResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxExecResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxExecResponse) GetJSON400

func (r PostSandboxExecResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxExecResponse) GetJSON401

func (r PostSandboxExecResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxExecResponse) GetJSON403

func (r PostSandboxExecResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxExecResponse) GetJSON404

func (r PostSandboxExecResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxExecResponse) GetJSON409

func (r PostSandboxExecResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxExecResponse) GetJSON502

func (r PostSandboxExecResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSandboxExecResponse) GetJSON503

func (r PostSandboxExecResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxExecResponse) GetJSON504

func (r PostSandboxExecResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxExecResponse) Status

func (r PostSandboxExecResponse) Status() string

Status returns HTTPResponse.Status

func (PostSandboxExecResponse) StatusCode

func (r PostSandboxExecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxForkJSONRequestBody

type PostSandboxForkJSONRequestBody = RequestPostSandboxFork

PostSandboxForkJSONRequestBody defines body for PostSandboxFork for application/json ContentType.

type PostSandboxForkParams

type PostSandboxForkParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostSandboxForkParams defines parameters for PostSandboxFork.

type PostSandboxForkResponse

type PostSandboxForkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSpawn
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostSandboxForkResponse

func ParsePostSandboxForkResponse(rsp *http.Response) (*PostSandboxForkResponse, error)

ParsePostSandboxForkResponse parses an HTTP response from a PostSandboxForkWithResponse call

func (PostSandboxForkResponse) ContentType

func (r PostSandboxForkResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxForkResponse) GetBody

func (r PostSandboxForkResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxForkResponse) GetJSON200

func (r PostSandboxForkResponse) GetJSON200() *ResponseSpawn

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxForkResponse) GetJSON400

func (r PostSandboxForkResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxForkResponse) GetJSON401

func (r PostSandboxForkResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxForkResponse) GetJSON403

func (r PostSandboxForkResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxForkResponse) GetJSON404

func (r PostSandboxForkResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxForkResponse) GetJSON409

func (r PostSandboxForkResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxForkResponse) GetJSON422

func (r PostSandboxForkResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostSandboxForkResponse) GetJSON501

func (r PostSandboxForkResponse) GetJSON501() *Error

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (PostSandboxForkResponse) GetJSON502

func (r PostSandboxForkResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSandboxForkResponse) GetJSON503

func (r PostSandboxForkResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxForkResponse) Status

func (r PostSandboxForkResponse) Status() string

Status returns HTTPResponse.Status

func (PostSandboxForkResponse) StatusCode

func (r PostSandboxForkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxIngressCredentialJSONRequestBody

type PostSandboxIngressCredentialJSONRequestBody = RequestPostIngressCredential

PostSandboxIngressCredentialJSONRequestBody defines body for PostSandboxIngressCredential for application/json ContentType.

type PostSandboxIngressCredentialResponse

type PostSandboxIngressCredentialResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseIngressCredentialIssued
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostSandboxIngressCredentialResponse

func ParsePostSandboxIngressCredentialResponse(rsp *http.Response) (*PostSandboxIngressCredentialResponse, error)

ParsePostSandboxIngressCredentialResponse parses an HTTP response from a PostSandboxIngressCredentialWithResponse call

func (PostSandboxIngressCredentialResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxIngressCredentialResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxIngressCredentialResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxIngressCredentialResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxIngressCredentialResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxIngressCredentialResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxIngressCredentialResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxIngressCredentialResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxIngressCredentialResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxIngressCredentialResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxIngressCredentialResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxIntegrationAttachmentJSONRequestBody

type PostSandboxIntegrationAttachmentJSONRequestBody = RequestPostIntegrationAttachment

PostSandboxIntegrationAttachmentJSONRequestBody defines body for PostSandboxIntegrationAttachment for application/json ContentType.

type PostSandboxIntegrationAttachmentResponse

type PostSandboxIntegrationAttachmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseIntegrationAttachment
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostSandboxIntegrationAttachmentResponse

func ParsePostSandboxIntegrationAttachmentResponse(rsp *http.Response) (*PostSandboxIntegrationAttachmentResponse, error)

ParsePostSandboxIntegrationAttachmentResponse parses an HTTP response from a PostSandboxIntegrationAttachmentWithResponse call

func (PostSandboxIntegrationAttachmentResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxIntegrationAttachmentResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxIntegrationAttachmentResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxIntegrationAttachmentResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxIntegrationAttachmentResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxIntegrationAttachmentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxIntegrationAttachmentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxIntegrationAttachmentResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxIntegrationAttachmentResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxIntegrationAttachmentResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxIntegrationAttachmentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxJSONRequestBody

type PostSandboxJSONRequestBody = RequestPostSandbox

PostSandboxJSONRequestBody defines body for PostSandbox for application/json ContentType.

type PostSandboxParams

type PostSandboxParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostSandboxParams defines parameters for PostSandbox.

type PostSandboxParkJSONRequestBody

type PostSandboxParkJSONRequestBody = RequestPostSandboxPark

PostSandboxParkJSONRequestBody defines body for PostSandboxPark for application/json ContentType.

type PostSandboxParkParams

type PostSandboxParkParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostSandboxParkParams defines parameters for PostSandboxPark.

type PostSandboxParkResponse

type PostSandboxParkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperation
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostSandboxParkResponse

func ParsePostSandboxParkResponse(rsp *http.Response) (*PostSandboxParkResponse, error)

ParsePostSandboxParkResponse parses an HTTP response from a PostSandboxParkWithResponse call

func (PostSandboxParkResponse) ContentType

func (r PostSandboxParkResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxParkResponse) GetBody

func (r PostSandboxParkResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxParkResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxParkResponse) GetJSON401

func (r PostSandboxParkResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxParkResponse) GetJSON403

func (r PostSandboxParkResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxParkResponse) GetJSON404

func (r PostSandboxParkResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxParkResponse) GetJSON409

func (r PostSandboxParkResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxParkResponse) GetJSON502

func (r PostSandboxParkResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSandboxParkResponse) GetJSON503

func (r PostSandboxParkResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxParkResponse) Status

func (r PostSandboxParkResponse) Status() string

Status returns HTTPResponse.Status

func (PostSandboxParkResponse) StatusCode

func (r PostSandboxParkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxProcessJSONRequestBody

type PostSandboxProcessJSONRequestBody = RequestPostExec

PostSandboxProcessJSONRequestBody defines body for PostSandboxProcess for application/json ContentType.

type PostSandboxProcessResponse

type PostSandboxProcessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseGuestSession
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParsePostSandboxProcessResponse

func ParsePostSandboxProcessResponse(rsp *http.Response) (*PostSandboxProcessResponse, error)

ParsePostSandboxProcessResponse parses an HTTP response from a PostSandboxProcessWithResponse call

func (PostSandboxProcessResponse) ContentType

func (r PostSandboxProcessResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxProcessResponse) GetBody

func (r PostSandboxProcessResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxProcessResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxProcessResponse) GetJSON400

func (r PostSandboxProcessResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxProcessResponse) GetJSON401

func (r PostSandboxProcessResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxProcessResponse) GetJSON403

func (r PostSandboxProcessResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxProcessResponse) GetJSON404

func (r PostSandboxProcessResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxProcessResponse) GetJSON409

func (r PostSandboxProcessResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxProcessResponse) GetJSON502

func (r PostSandboxProcessResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSandboxProcessResponse) GetJSON503

func (r PostSandboxProcessResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxProcessResponse) GetJSON504

func (r PostSandboxProcessResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxProcessResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxProcessResponse) StatusCode

func (r PostSandboxProcessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxResponse

type PostSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSpawn
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostSandboxResponse

func ParsePostSandboxResponse(rsp *http.Response) (*PostSandboxResponse, error)

ParsePostSandboxResponse parses an HTTP response from a PostSandboxWithResponse call

func (PostSandboxResponse) ContentType

func (r PostSandboxResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxResponse) GetBody

func (r PostSandboxResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxResponse) GetJSON200

func (r PostSandboxResponse) GetJSON200() *ResponseSpawn

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxResponse) GetJSON400

func (r PostSandboxResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxResponse) GetJSON401

func (r PostSandboxResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxResponse) GetJSON403

func (r PostSandboxResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxResponse) GetJSON404

func (r PostSandboxResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxResponse) GetJSON409

func (r PostSandboxResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxResponse) GetJSON422

func (r PostSandboxResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostSandboxResponse) GetJSON502

func (r PostSandboxResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSandboxResponse) GetJSON503

func (r PostSandboxResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxResponse) Status

func (r PostSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (PostSandboxResponse) StatusCode

func (r PostSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxSnapshotJSONRequestBody

type PostSandboxSnapshotJSONRequestBody = RequestPostSandboxSnapshot

PostSandboxSnapshotJSONRequestBody defines body for PostSandboxSnapshot for application/json ContentType.

type PostSandboxSnapshotParams

type PostSandboxSnapshotParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostSandboxSnapshotParams defines parameters for PostSandboxSnapshot.

type PostSandboxSnapshotResponse

type PostSandboxSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperation
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostSandboxSnapshotResponse

func ParsePostSandboxSnapshotResponse(rsp *http.Response) (*PostSandboxSnapshotResponse, error)

ParsePostSandboxSnapshotResponse parses an HTTP response from a PostSandboxSnapshotWithResponse call

func (PostSandboxSnapshotResponse) ContentType

func (r PostSandboxSnapshotResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxSnapshotResponse) GetBody

func (r PostSandboxSnapshotResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxSnapshotResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxSnapshotResponse) GetJSON400

func (r PostSandboxSnapshotResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxSnapshotResponse) GetJSON401

func (r PostSandboxSnapshotResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxSnapshotResponse) GetJSON403

func (r PostSandboxSnapshotResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxSnapshotResponse) GetJSON404

func (r PostSandboxSnapshotResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxSnapshotResponse) GetJSON409

func (r PostSandboxSnapshotResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxSnapshotResponse) GetJSON501

func (r PostSandboxSnapshotResponse) GetJSON501() *Error

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (PostSandboxSnapshotResponse) GetJSON502

func (r PostSandboxSnapshotResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSandboxSnapshotResponse) GetJSON503

func (r PostSandboxSnapshotResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxSnapshotResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxSnapshotResponse) StatusCode

func (r PostSandboxSnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxSshKeyJSONRequestBody

type PostSandboxSshKeyJSONRequestBody = RequestPostSshKey

PostSandboxSshKeyJSONRequestBody defines body for PostSandboxSshKey for application/json ContentType.

type PostSandboxSshKeyResponse

type PostSandboxSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParsePostSandboxSshKeyResponse

func ParsePostSandboxSshKeyResponse(rsp *http.Response) (*PostSandboxSshKeyResponse, error)

ParsePostSandboxSshKeyResponse parses an HTTP response from a PostSandboxSshKeyWithResponse call

func (PostSandboxSshKeyResponse) ContentType

func (r PostSandboxSshKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxSshKeyResponse) GetBody

func (r PostSandboxSshKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxSshKeyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxSshKeyResponse) GetJSON400

func (r PostSandboxSshKeyResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxSshKeyResponse) GetJSON401

func (r PostSandboxSshKeyResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxSshKeyResponse) GetJSON403

func (r PostSandboxSshKeyResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxSshKeyResponse) GetJSON404

func (r PostSandboxSshKeyResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxSshKeyResponse) GetJSON409

func (r PostSandboxSshKeyResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxSshKeyResponse) GetJSON502

func (r PostSandboxSshKeyResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSandboxSshKeyResponse) GetJSON503

func (r PostSandboxSshKeyResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxSshKeyResponse) GetJSON504

func (r PostSandboxSshKeyResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxSshKeyResponse) Status

func (r PostSandboxSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (PostSandboxSshKeyResponse) StatusCode

func (r PostSandboxSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxWakeJSONRequestBody

type PostSandboxWakeJSONRequestBody = RequestPostSandboxWake

PostSandboxWakeJSONRequestBody defines body for PostSandboxWake for application/json ContentType.

type PostSandboxWakeParams

type PostSandboxWakeParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostSandboxWakeParams defines parameters for PostSandboxWake.

type PostSandboxWakeResponse

type PostSandboxWakeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseOperation
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostSandboxWakeResponse

func ParsePostSandboxWakeResponse(rsp *http.Response) (*PostSandboxWakeResponse, error)

ParsePostSandboxWakeResponse parses an HTTP response from a PostSandboxWakeWithResponse call

func (PostSandboxWakeResponse) ContentType

func (r PostSandboxWakeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxWakeResponse) GetBody

func (r PostSandboxWakeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxWakeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxWakeResponse) GetJSON401

func (r PostSandboxWakeResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxWakeResponse) GetJSON403

func (r PostSandboxWakeResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSandboxWakeResponse) GetJSON404

func (r PostSandboxWakeResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxWakeResponse) GetJSON409

func (r PostSandboxWakeResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxWakeResponse) GetJSON502

func (r PostSandboxWakeResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSandboxWakeResponse) GetJSON503

func (r PostSandboxWakeResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxWakeResponse) Status

func (r PostSandboxWakeResponse) Status() string

Status returns HTTPResponse.Status

func (PostSandboxWakeResponse) StatusCode

func (r PostSandboxWakeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSessionInterruptResponse

type PostSessionInterruptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParsePostSessionInterruptResponse

func ParsePostSessionInterruptResponse(rsp *http.Response) (*PostSessionInterruptResponse, error)

ParsePostSessionInterruptResponse parses an HTTP response from a PostSessionInterruptWithResponse call

func (PostSessionInterruptResponse) ContentType

func (r PostSessionInterruptResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSessionInterruptResponse) GetBody

func (r PostSessionInterruptResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSessionInterruptResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSessionInterruptResponse) GetJSON401

func (r PostSessionInterruptResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSessionInterruptResponse) GetJSON403

func (r PostSessionInterruptResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSessionInterruptResponse) GetJSON404

func (r PostSessionInterruptResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSessionInterruptResponse) GetJSON409

func (r PostSessionInterruptResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSessionInterruptResponse) GetJSON502

func (r PostSessionInterruptResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSessionInterruptResponse) GetJSON503

func (r PostSessionInterruptResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSessionInterruptResponse) GetJSON504

func (r PostSessionInterruptResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSessionInterruptResponse) Status

Status returns HTTPResponse.Status

func (PostSessionInterruptResponse) StatusCode

func (r PostSessionInterruptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSnapshotRestoreJSONRequestBody

type PostSnapshotRestoreJSONRequestBody = RequestPostSnapshotRestore

PostSnapshotRestoreJSONRequestBody defines body for PostSnapshotRestore for application/json ContentType.

type PostSnapshotRestoreParams

type PostSnapshotRestoreParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostSnapshotRestoreParams defines parameters for PostSnapshotRestore.

type PostSnapshotRestoreResponse

type PostSnapshotRestoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSpawn
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostSnapshotRestoreResponse

func ParsePostSnapshotRestoreResponse(rsp *http.Response) (*PostSnapshotRestoreResponse, error)

ParsePostSnapshotRestoreResponse parses an HTTP response from a PostSnapshotRestoreWithResponse call

func (PostSnapshotRestoreResponse) ContentType

func (r PostSnapshotRestoreResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSnapshotRestoreResponse) GetBody

func (r PostSnapshotRestoreResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSnapshotRestoreResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON400

func (r PostSnapshotRestoreResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON401

func (r PostSnapshotRestoreResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON403

func (r PostSnapshotRestoreResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON404

func (r PostSnapshotRestoreResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON409

func (r PostSnapshotRestoreResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON422

func (r PostSnapshotRestoreResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON501

func (r PostSnapshotRestoreResponse) GetJSON501() *Error

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON502

func (r PostSnapshotRestoreResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSnapshotRestoreResponse) GetJSON503

func (r PostSnapshotRestoreResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSnapshotRestoreResponse) Status

Status returns HTTPResponse.Status

func (PostSnapshotRestoreResponse) StatusCode

func (r PostSnapshotRestoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTemplateJSONRequestBody

type PostTemplateJSONRequestBody = RequestPostTemplate

PostTemplateJSONRequestBody defines body for PostTemplate for application/json ContentType.

type PostTemplateParams

type PostTemplateParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

PostTemplateParams defines parameters for PostTemplate.

type PostTemplateResponse

type PostTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseTemplate
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostTemplateResponse

func ParsePostTemplateResponse(rsp *http.Response) (*PostTemplateResponse, error)

ParsePostTemplateResponse parses an HTTP response from a PostTemplateWithResponse call

func (PostTemplateResponse) ContentType

func (r PostTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostTemplateResponse) GetBody

func (r PostTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostTemplateResponse) GetJSON200

func (r PostTemplateResponse) GetJSON200() *ResponseTemplate

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostTemplateResponse) GetJSON400

func (r PostTemplateResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostTemplateResponse) GetJSON401

func (r PostTemplateResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostTemplateResponse) GetJSON403

func (r PostTemplateResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostTemplateResponse) GetJSON404

func (r PostTemplateResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostTemplateResponse) GetJSON409

func (r PostTemplateResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostTemplateResponse) GetJSON422

func (r PostTemplateResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostTemplateResponse) GetJSON502

func (r PostTemplateResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostTemplateResponse) GetJSON503

func (r PostTemplateResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostTemplateResponse) Status

func (r PostTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (PostTemplateResponse) StatusCode

func (r PostTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTokenJSONRequestBody

type PostTokenJSONRequestBody = RequestPostToken

PostTokenJSONRequestBody defines body for PostToken for application/json ContentType.

type PostTokenResponse

type PostTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseTokenIssued
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostTokenResponse

func ParsePostTokenResponse(rsp *http.Response) (*PostTokenResponse, error)

ParsePostTokenResponse parses an HTTP response from a PostTokenWithResponse call

func (PostTokenResponse) ContentType

func (r PostTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostTokenResponse) GetBody

func (r PostTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostTokenResponse) GetJSON200

func (r PostTokenResponse) GetJSON200() *ResponseTokenIssued

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostTokenResponse) GetJSON400

func (r PostTokenResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostTokenResponse) GetJSON401

func (r PostTokenResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostTokenResponse) GetJSON403

func (r PostTokenResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostTokenResponse) GetJSON503

func (r PostTokenResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostTokenResponse) Status

func (r PostTokenResponse) Status() string

Status returns HTTPResponse.Status

func (PostTokenResponse) StatusCode

func (r PostTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostWebhookJSONRequestBody

type PostWebhookJSONRequestBody = RequestPostWebhook

PostWebhookJSONRequestBody defines body for PostWebhook for application/json ContentType.

type PostWebhookResponse

type PostWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseWebhookCreated
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePostWebhookResponse

func ParsePostWebhookResponse(rsp *http.Response) (*PostWebhookResponse, error)

ParsePostWebhookResponse parses an HTTP response from a PostWebhookWithResponse call

func (PostWebhookResponse) ContentType

func (r PostWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostWebhookResponse) GetBody

func (r PostWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostWebhookResponse) GetJSON400

func (r PostWebhookResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostWebhookResponse) GetJSON401

func (r PostWebhookResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostWebhookResponse) GetJSON403

func (r PostWebhookResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostWebhookResponse) GetJSON503

func (r PostWebhookResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostWebhookResponse) Status

func (r PostWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (PostWebhookResponse) StatusCode

func (r PostWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutBaseJSONRequestBody

type PutBaseJSONRequestBody = RequestPutBase

PutBaseJSONRequestBody defines body for PutBase for application/json ContentType.

type PutBaseResponse

type PutBaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseBase
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutBaseResponse

func ParsePutBaseResponse(rsp *http.Response) (*PutBaseResponse, error)

ParsePutBaseResponse parses an HTTP response from a PutBaseWithResponse call

func (PutBaseResponse) ContentType

func (r PutBaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutBaseResponse) GetBody

func (r PutBaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutBaseResponse) GetJSON200

func (r PutBaseResponse) GetJSON200() *ResponseBase

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutBaseResponse) GetJSON400

func (r PutBaseResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutBaseResponse) GetJSON401

func (r PutBaseResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutBaseResponse) GetJSON403

func (r PutBaseResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutBaseResponse) GetJSON404

func (r PutBaseResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutBaseResponse) GetJSON409

func (r PutBaseResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutBaseResponse) GetJSON503

func (r PutBaseResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutBaseResponse) Status

func (r PutBaseResponse) Status() string

Status returns HTTPResponse.Status

func (PutBaseResponse) StatusCode

func (r PutBaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutConnectorCredentialJSONRequestBody

type PutConnectorCredentialJSONRequestBody = RequestPutConnectorCredential

PutConnectorCredentialJSONRequestBody defines body for PutConnectorCredential for application/json ContentType.

type PutConnectorCredentialResponse

type PutConnectorCredentialResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseConnector
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutConnectorCredentialResponse

func ParsePutConnectorCredentialResponse(rsp *http.Response) (*PutConnectorCredentialResponse, error)

ParsePutConnectorCredentialResponse parses an HTTP response from a PutConnectorCredentialWithResponse call

func (PutConnectorCredentialResponse) ContentType

func (r PutConnectorCredentialResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutConnectorCredentialResponse) GetBody

func (r PutConnectorCredentialResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutConnectorCredentialResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutConnectorCredentialResponse) GetJSON400

func (r PutConnectorCredentialResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutConnectorCredentialResponse) GetJSON401

func (r PutConnectorCredentialResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutConnectorCredentialResponse) GetJSON403

func (r PutConnectorCredentialResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutConnectorCredentialResponse) GetJSON404

func (r PutConnectorCredentialResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutConnectorCredentialResponse) GetJSON503

func (r PutConnectorCredentialResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutConnectorCredentialResponse) Status

Status returns HTTPResponse.Status

func (PutConnectorCredentialResponse) StatusCode

func (r PutConnectorCredentialResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutIntegrationJSONRequestBody

type PutIntegrationJSONRequestBody = RequestPutIntegration

PutIntegrationJSONRequestBody defines body for PutIntegration for application/json ContentType.

type PutIntegrationResponse

type PutIntegrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseIntegration
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutIntegrationResponse

func ParsePutIntegrationResponse(rsp *http.Response) (*PutIntegrationResponse, error)

ParsePutIntegrationResponse parses an HTTP response from a PutIntegrationWithResponse call

func (PutIntegrationResponse) ContentType

func (r PutIntegrationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutIntegrationResponse) GetBody

func (r PutIntegrationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutIntegrationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutIntegrationResponse) GetJSON400

func (r PutIntegrationResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutIntegrationResponse) GetJSON401

func (r PutIntegrationResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutIntegrationResponse) GetJSON403

func (r PutIntegrationResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutIntegrationResponse) GetJSON404

func (r PutIntegrationResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutIntegrationResponse) GetJSON503

func (r PutIntegrationResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutIntegrationResponse) Status

func (r PutIntegrationResponse) Status() string

Status returns HTTPResponse.Status

func (PutIntegrationResponse) StatusCode

func (r PutIntegrationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutLineageJSONRequestBody

type PutLineageJSONRequestBody = RequestPutLineage

PutLineageJSONRequestBody defines body for PutLineage for application/json ContentType.

type PutLineageResponse

type PutLineageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseLineage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutLineageResponse

func ParsePutLineageResponse(rsp *http.Response) (*PutLineageResponse, error)

ParsePutLineageResponse parses an HTTP response from a PutLineageWithResponse call

func (PutLineageResponse) ContentType

func (r PutLineageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutLineageResponse) GetBody

func (r PutLineageResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutLineageResponse) GetJSON200

func (r PutLineageResponse) GetJSON200() *ResponseLineage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutLineageResponse) GetJSON401

func (r PutLineageResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutLineageResponse) GetJSON403

func (r PutLineageResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutLineageResponse) GetJSON404

func (r PutLineageResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutLineageResponse) GetJSON503

func (r PutLineageResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutLineageResponse) Status

func (r PutLineageResponse) Status() string

Status returns HTTPResponse.Status

func (PutLineageResponse) StatusCode

func (r PutLineageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutSandboxFileParams

type PutSandboxFileParams struct {
	Path string `form:"path" json:"path"`

	// Mode Octal file mode, defaults to 0644.
	Mode *Mode `form:"mode,omitempty" json:"mode,omitempty"`
}

PutSandboxFileParams defines parameters for PutSandboxFile.

type PutSandboxFileResponse

type PutSandboxFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSuccess
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
}

func ParsePutSandboxFileResponse

func ParsePutSandboxFileResponse(rsp *http.Response) (*PutSandboxFileResponse, error)

ParsePutSandboxFileResponse parses an HTTP response from a PutSandboxFileWithResponse call

func (PutSandboxFileResponse) ContentType

func (r PutSandboxFileResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutSandboxFileResponse) GetBody

func (r PutSandboxFileResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutSandboxFileResponse) GetJSON200

func (r PutSandboxFileResponse) GetJSON200() *ResponseSuccess

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutSandboxFileResponse) GetJSON400

func (r PutSandboxFileResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutSandboxFileResponse) GetJSON401

func (r PutSandboxFileResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutSandboxFileResponse) GetJSON403

func (r PutSandboxFileResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutSandboxFileResponse) GetJSON404

func (r PutSandboxFileResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutSandboxFileResponse) GetJSON409

func (r PutSandboxFileResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutSandboxFileResponse) GetJSON502

func (r PutSandboxFileResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PutSandboxFileResponse) GetJSON503

func (r PutSandboxFileResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutSandboxFileResponse) GetJSON504

func (r PutSandboxFileResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PutSandboxFileResponse) Status

func (r PutSandboxFileResponse) Status() string

Status returns HTTPResponse.Status

func (PutSandboxFileResponse) StatusCode

func (r PutSandboxFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutSandboxJSONRequestBody

type PutSandboxJSONRequestBody = RequestPutSandbox

PutSandboxJSONRequestBody defines body for PutSandbox for application/json ContentType.

type PutSandboxPolicyJSONRequestBody

type PutSandboxPolicyJSONRequestBody = RequestPutSandboxPolicy

PutSandboxPolicyJSONRequestBody defines body for PutSandboxPolicy for application/json ContentType.

type PutSandboxPolicyResponse

type PutSandboxPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutSandboxPolicyResponse

func ParsePutSandboxPolicyResponse(rsp *http.Response) (*PutSandboxPolicyResponse, error)

ParsePutSandboxPolicyResponse parses an HTTP response from a PutSandboxPolicyWithResponse call

func (PutSandboxPolicyResponse) ContentType

func (r PutSandboxPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutSandboxPolicyResponse) GetBody

func (r PutSandboxPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutSandboxPolicyResponse) GetJSON200

func (r PutSandboxPolicyResponse) GetJSON200() *ResponseSandbox

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutSandboxPolicyResponse) GetJSON400

func (r PutSandboxPolicyResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutSandboxPolicyResponse) GetJSON401

func (r PutSandboxPolicyResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutSandboxPolicyResponse) GetJSON403

func (r PutSandboxPolicyResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutSandboxPolicyResponse) GetJSON404

func (r PutSandboxPolicyResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutSandboxPolicyResponse) GetJSON409

func (r PutSandboxPolicyResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutSandboxPolicyResponse) GetJSON422

func (r PutSandboxPolicyResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PutSandboxPolicyResponse) GetJSON503

func (r PutSandboxPolicyResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutSandboxPolicyResponse) Status

func (r PutSandboxPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (PutSandboxPolicyResponse) StatusCode

func (r PutSandboxPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutSandboxResponse

type PutSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseSandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutSandboxResponse

func ParsePutSandboxResponse(rsp *http.Response) (*PutSandboxResponse, error)

ParsePutSandboxResponse parses an HTTP response from a PutSandboxWithResponse call

func (PutSandboxResponse) ContentType

func (r PutSandboxResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutSandboxResponse) GetBody

func (r PutSandboxResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutSandboxResponse) GetJSON200

func (r PutSandboxResponse) GetJSON200() *ResponseSandbox

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutSandboxResponse) GetJSON400

func (r PutSandboxResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutSandboxResponse) GetJSON401

func (r PutSandboxResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutSandboxResponse) GetJSON403

func (r PutSandboxResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutSandboxResponse) GetJSON404

func (r PutSandboxResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutSandboxResponse) GetJSON409

func (r PutSandboxResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutSandboxResponse) GetJSON422

func (r PutSandboxResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PutSandboxResponse) GetJSON503

func (r PutSandboxResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutSandboxResponse) Status

func (r PutSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (PutSandboxResponse) StatusCode

func (r PutSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutTemplateJSONRequestBody

type PutTemplateJSONRequestBody = RequestPutTemplate

PutTemplateJSONRequestBody defines body for PutTemplate for application/json ContentType.

type PutTemplateResponse

type PutTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseTemplate
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutTemplateResponse

func ParsePutTemplateResponse(rsp *http.Response) (*PutTemplateResponse, error)

ParsePutTemplateResponse parses an HTTP response from a PutTemplateWithResponse call

func (PutTemplateResponse) ContentType

func (r PutTemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutTemplateResponse) GetBody

func (r PutTemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutTemplateResponse) GetJSON200

func (r PutTemplateResponse) GetJSON200() *ResponseTemplate

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutTemplateResponse) GetJSON400

func (r PutTemplateResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutTemplateResponse) GetJSON401

func (r PutTemplateResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutTemplateResponse) GetJSON403

func (r PutTemplateResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutTemplateResponse) GetJSON404

func (r PutTemplateResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutTemplateResponse) GetJSON409

func (r PutTemplateResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutTemplateResponse) GetJSON422

func (r PutTemplateResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PutTemplateResponse) GetJSON503

func (r PutTemplateResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutTemplateResponse) Status

func (r PutTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (PutTemplateResponse) StatusCode

func (r PutTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutWebhookJSONRequestBody

type PutWebhookJSONRequestBody = RequestPutWebhook

PutWebhookJSONRequestBody defines body for PutWebhook for application/json ContentType.

type PutWebhookResponse

type PutWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseWebhookEndpoint
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutWebhookResponse

func ParsePutWebhookResponse(rsp *http.Response) (*PutWebhookResponse, error)

ParsePutWebhookResponse parses an HTTP response from a PutWebhookWithResponse call

func (PutWebhookResponse) ContentType

func (r PutWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutWebhookResponse) GetBody

func (r PutWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutWebhookResponse) GetJSON400

func (r PutWebhookResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutWebhookResponse) GetJSON401

func (r PutWebhookResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutWebhookResponse) GetJSON403

func (r PutWebhookResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutWebhookResponse) GetJSON404

func (r PutWebhookResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutWebhookResponse) GetJSON503

func (r PutWebhookResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutWebhookResponse) Status

func (r PutWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (PutWebhookResponse) StatusCode

func (r PutWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutWorkspaceDomainsJSONRequestBody

type PutWorkspaceDomainsJSONRequestBody = RequestPutWorkspaceDomains

PutWorkspaceDomainsJSONRequestBody defines body for PutWorkspaceDomains for application/json ContentType.

type PutWorkspaceDomainsResponse

type PutWorkspaceDomainsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseWorkspace
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutWorkspaceDomainsResponse

func ParsePutWorkspaceDomainsResponse(rsp *http.Response) (*PutWorkspaceDomainsResponse, error)

ParsePutWorkspaceDomainsResponse parses an HTTP response from a PutWorkspaceDomainsWithResponse call

func (PutWorkspaceDomainsResponse) ContentType

func (r PutWorkspaceDomainsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutWorkspaceDomainsResponse) GetBody

func (r PutWorkspaceDomainsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutWorkspaceDomainsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutWorkspaceDomainsResponse) GetJSON400

func (r PutWorkspaceDomainsResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutWorkspaceDomainsResponse) GetJSON401

func (r PutWorkspaceDomainsResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutWorkspaceDomainsResponse) GetJSON403

func (r PutWorkspaceDomainsResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutWorkspaceDomainsResponse) GetJSON503

func (r PutWorkspaceDomainsResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutWorkspaceDomainsResponse) Status

Status returns HTTPResponse.Status

func (PutWorkspaceDomainsResponse) StatusCode

func (r PutWorkspaceDomainsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutWorkspacePolicyJSONRequestBody

type PutWorkspacePolicyJSONRequestBody = RequestPutWorkspacePolicy

PutWorkspacePolicyJSONRequestBody defines body for PutWorkspacePolicy for application/json ContentType.

type PutWorkspacePolicyResponse

type PutWorkspacePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResponseWorkspace
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePutWorkspacePolicyResponse

func ParsePutWorkspacePolicyResponse(rsp *http.Response) (*PutWorkspacePolicyResponse, error)

ParsePutWorkspacePolicyResponse parses an HTTP response from a PutWorkspacePolicyWithResponse call

func (PutWorkspacePolicyResponse) ContentType

func (r PutWorkspacePolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutWorkspacePolicyResponse) GetBody

func (r PutWorkspacePolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutWorkspacePolicyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutWorkspacePolicyResponse) GetJSON400

func (r PutWorkspacePolicyResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutWorkspacePolicyResponse) GetJSON401

func (r PutWorkspacePolicyResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutWorkspacePolicyResponse) GetJSON403

func (r PutWorkspacePolicyResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutWorkspacePolicyResponse) GetJSON503

func (r PutWorkspacePolicyResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutWorkspacePolicyResponse) Status

Status returns HTTPResponse.Status

func (PutWorkspacePolicyResponse) StatusCode

func (r PutWorkspacePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestFileUpload

type RequestFileUpload = openapi_types.File

RequestFileUpload defines model for RequestFileUpload.

type RequestPostBase

type RequestPostBase struct {
	ImageRef string `json:"imageRef"`

	// Name Name the base takes, moved from the base that held it.
	Name *string `json:"name,omitempty"`

	// RegistryCredentialEnv Name of the Workspace environment variable holding private registry credentials.
	RegistryCredentialEnv *string `json:"registryCredentialEnv,omitempty"`
}

RequestPostBase defines model for RequestPostBase.

type RequestPostExec

type RequestPostExec struct {
	// Command argv, executed without a shell.
	Command        []string                `json:"command"`
	Env            *map[string]interface{} `json:"env,omitempty"`
	TimeoutSeconds *int                    `json:"timeoutSeconds,omitempty"`
	WorkingDir     *string                 `json:"workingDir,omitempty"`
}

RequestPostExec defines model for RequestPostExec.

type RequestPostExport

type RequestPostExport struct {
	// Prefix Key prefix in the bucket. The object is `<prefix><lineageId>/<sandboxId>/<exportId>.tar.zst`.
	Prefix *string `json:"prefix,omitempty"`

	// SandboxId A PARKED sandbox: its disk, and its memory image when the park kept one. Exactly one of sandboxId and snapshotId.
	SandboxId *string `json:"sandboxId,omitempty"`

	// SnapshotId A snapshot: its disk, and its memory image when it has one.
	SnapshotId *string `json:"snapshotId,omitempty"`

	// Target The caller's bucket. Without it the archive is a file on the Workspace, downloaded through `GET /export/{id}/archive`.
	Target *BaseS3Target `json:"target,omitempty"`

	// WithMemory Carry the memory image when there is one, the default. False exports the disk alone.
	WithMemory *bool `json:"withMemory,omitempty"`
}

RequestPostExport defines model for RequestPostExport.

type RequestPostImport

type RequestPostImport struct {
	// ExportId A finished FILE export of this Workspace, imported from its file.
	ExportId *string `json:"exportId,omitempty"`

	// Key Object key of the archive in the bucket, the key of an export's destination.
	Key  *string `json:"key,omitempty"`
	Name *string `json:"name,omitempty"`

	// Source The bucket holding the archive, with `key`. Exactly one of source and exportId.
	Source *BaseS3Target `json:"source,omitempty"`

	// WithMemory Resume the archive's memory image, the default. It resumes only on the same Firecracker release, CPU model and base build, otherwise the sandbox boots cold from the disk.
	WithMemory *bool `json:"withMemory,omitempty"`
}

RequestPostImport defines model for RequestPostImport.

type RequestPostIngressCredential

type RequestPostIngressCredential struct {
	Kind       RequestPostIngressCredentialKind `json:"kind"`
	Name       *string                          `json:"name,omitempty"`
	Port       int                              `json:"port"`
	TtlSeconds *int                             `json:"ttlSeconds,omitempty"`
}

RequestPostIngressCredential defines model for RequestPostIngressCredential.

type RequestPostIngressCredentialKind

type RequestPostIngressCredentialKind string

RequestPostIngressCredentialKind defines model for RequestPostIngressCredential.Kind.

const (
	RequestPostIngressCredentialKindTICKET RequestPostIngressCredentialKind = "TICKET"
	RequestPostIngressCredentialKindTOKEN  RequestPostIngressCredentialKind = "TOKEN"
)

Defines values for RequestPostIngressCredentialKind.

func (RequestPostIngressCredentialKind) Valid

Valid indicates whether the value is a known member of the RequestPostIngressCredentialKind enum.

type RequestPostIntegration

type RequestPostIntegration struct {
	CredentialEnv string     `json:"credentialEnv"`
	Inject        BaseInject `json:"inject"`
	Name          string     `json:"name"`
	RateLimit     *BaseRate  `json:"rateLimit,omitempty"`
	StripPrefix   *string    `json:"stripPrefix,omitempty"`
	TargetUrl     string     `json:"targetUrl"`
}

RequestPostIntegration defines model for RequestPostIntegration.

type RequestPostIntegrationAttachment

type RequestPostIntegrationAttachment struct {
	// IntegrationName Exactly one of integrationName and peerSandboxId.
	IntegrationName *string `json:"integrationName,omitempty"`
	Name            string  `json:"name"`
	PeerPort        *int    `json:"peerPort,omitempty"`
	PeerSandboxId   *string `json:"peerSandboxId,omitempty"`
}

RequestPostIntegrationAttachment defines model for RequestPostIntegrationAttachment.

type RequestPostSandbox

type RequestPostSandbox struct {
	// AbsoluteTtlSeconds Archive and destroy the sandbox this many seconds after its creation.
	AbsoluteTtlSeconds *int `json:"absoluteTtlSeconds,omitempty"`

	// BaseDigest Cold boot from a base. Exactly one of baseDigest and templateDigest.
	BaseDigest *string `json:"baseDigest,omitempty"`
	Cpus       *int    `json:"cpus,omitempty"`

	// DiskBytes Size of the writable disk, the template's or the Workspace policy's defaultDiskBytes when absent.
	DiskBytes *int64 `json:"diskBytes,omitempty"`

	// IdleTtlSeconds Park the sandbox after this many seconds without activity.
	IdleTtlSeconds *int `json:"idleTtlSeconds,omitempty"`

	// Integrations Attachments on top of the template's defaults. Empty for none.
	Integrations []InDtoBodyPostIntegrationAttachment `json:"integrations"`

	// Launch Overrides of the image's entrypoint, cmd, env and working dir.
	Launch      *BaseLaunchContract `json:"launch,omitempty"`
	MemoryBytes *int64              `json:"memoryBytes,omitempty"`
	Name        *string             `json:"name,omitempty"`

	// NetworkMode Fixed at create, design §5.8.
	NetworkMode RequestPostSandboxNetworkMode `json:"networkMode"`
	Policy      *BaseSandboxPolicy            `json:"policy,omitempty"`

	// TemplateDigest Spawn from a template, resuming its memory snapshot when it has one.
	TemplateDigest *string `json:"templateDigest,omitempty"`

	// WaitSeconds Hold the answer until the create operation finishes or fails, at most this many seconds (30 at most). The operation and the sandbox in the answer are then final.
	WaitSeconds *int `json:"waitSeconds,omitempty"`
}

RequestPostSandbox defines model for RequestPostSandbox.

type RequestPostSandboxFork

type RequestPostSandboxFork struct {
	// Children One entry per child with its own name and size, instead of count and names. Empty for none.
	Children []InDtoBodyPostSandboxForkChild `json:"children"`

	// Count Number of children, default 1. One capture, one durable outcome per child.
	Count *int      `json:"count,omitempty"`
	Names *[]string `json:"names,omitempty"`
}

RequestPostSandboxFork defines model for RequestPostSandboxFork.

type RequestPostSandboxNetworkMode

type RequestPostSandboxNetworkMode string

RequestPostSandboxNetworkMode Fixed at create, design §5.8.

const (
	RequestPostSandboxNetworkModeAIRGAPPED       RequestPostSandboxNetworkMode = "AIRGAPPED"
	RequestPostSandboxNetworkModeINTERNET        RequestPostSandboxNetworkMode = "INTERNET"
	RequestPostSandboxNetworkModePROJECT         RequestPostSandboxNetworkMode = "PROJECT"
	RequestPostSandboxNetworkModePROJECTINTERNET RequestPostSandboxNetworkMode = "PROJECT_INTERNET"
)

Defines values for RequestPostSandboxNetworkMode.

func (RequestPostSandboxNetworkMode) Valid

Valid indicates whether the value is a known member of the RequestPostSandboxNetworkMode enum.

type RequestPostSandboxPark

type RequestPostSandboxPark struct {
	// Memory Keep a memory image for the wake, the default. False shuts the guest down: the next wake is a cold boot with the current secrets, env and policy.
	Memory *bool `json:"memory,omitempty"`
}

RequestPostSandboxPark defines model for RequestPostSandboxPark.

type RequestPostSandboxSnapshot

type RequestPostSandboxSnapshot struct {
	Name       string `json:"name"`
	WithMemory *bool  `json:"withMemory,omitempty"`
}

RequestPostSandboxSnapshot defines model for RequestPostSandboxSnapshot.

type RequestPostSandboxWake

type RequestPostSandboxWake struct {
	// Cpus A size that differs from the sandbox's needs a cold boot: a running sandbox parks without memory and boots again, a sandbox parked with memory refuses it.
	Cpus *int `json:"cpus,omitempty"`

	// DiskBytes Grows or shrinks the disk before the boot. A shrink below what the files hold fails the operation with diskTooSmall and the minimum.
	DiskBytes   *int64 `json:"diskBytes,omitempty"`
	MemoryBytes *int64 `json:"memoryBytes,omitempty"`

	// RedeliverSecrets Deliver the current secret selection to a stale sandbox, design §5.9. On a running sandbox it parks without memory and boots again.
	RedeliverSecrets *bool `json:"redeliverSecrets,omitempty"`
}

RequestPostSandboxWake defines model for RequestPostSandboxWake.

type RequestPostSnapshotRestore

type RequestPostSnapshotRestore struct {
	// Cpus The snapshot's size when absent. A restore with memory refuses another size, a disk restore takes any.
	Cpus        *int    `json:"cpus,omitempty"`
	DiskBytes   *int64  `json:"diskBytes,omitempty"`
	MemoryBytes *int64  `json:"memoryBytes,omitempty"`
	Name        *string `json:"name,omitempty"`

	// WithMemory Resume the snapshot's memory image in the new sandbox when it has one.
	WithMemory *bool `json:"withMemory,omitempty"`
}

RequestPostSnapshotRestore defines model for RequestPostSnapshotRestore.

type RequestPostSshKey

type RequestPostSshKey struct {
	// PublicKey An OpenSSH public key line, appended to the workload user's authorized_keys.
	PublicKey string `json:"publicKey"`
}

RequestPostSshKey defines model for RequestPostSshKey.

type RequestPostTemplate

type RequestPostTemplate struct {
	BaseDigest string `json:"baseDigest"`
	Cpus       *int   `json:"cpus,omitempty"`

	// DiskBytes Size of the template's disk and the default of sandboxes spawned from it, the Workspace policy's defaultDiskBytes when absent.
	DiskBytes *int64 `json:"diskBytes,omitempty"`

	// MemoryBytes Size of the warmed memory image and the default of sandboxes spawned from the template, the Workspace default when absent.
	MemoryBytes *int64              `json:"memoryBytes,omitempty"`
	Name        *string             `json:"name,omitempty"`
	Policy      *BaseTemplatePolicy `json:"policy,omitempty"`

	// Warm Boot the base once and snapshot its memory so spawns resume instead of cold booting, design §5.1 step 3.
	Warm *bool `json:"warm,omitempty"`

	// Warmup Shell command run in the guest before its memory is captured, for example `node -e "require('http')"` or `claude --version`, so the runtime it loads is resident in every spawn. Only with warm.
	Warmup *string `json:"warmup,omitempty"`
}

RequestPostTemplate defines model for RequestPostTemplate.

type RequestPostToken

type RequestPostToken struct {
	Name string `json:"name"`

	// Scopes One or more of admin, sandbox, sandbox:read, base, integration, webhook, workspace. A sandbox token selects secrets within the secrets ceiling of the Workspace policy, and the workspace scope sets that ceiling.
	Scopes []string `json:"scopes"`

	// TtlSeconds Without it the token never expires.
	TtlSeconds *int `json:"ttlSeconds,omitempty"`
}

RequestPostToken defines model for RequestPostToken.

type RequestPostWebhook

type RequestPostWebhook struct {
	Enabled *bool    `json:"enabled,omitempty"`
	Events  []string `json:"events"`
	Url     string   `json:"url"`
}

RequestPostWebhook defines model for RequestPostWebhook.

type RequestPutBase

type RequestPutBase struct {
	// Name Refused with nameConflict while another base holds it, null drops the name.
	Name *string `json:"name,omitempty"`
}

RequestPutBase defines model for RequestPutBase.

type RequestPutConnectorCredential

type RequestPutConnectorCredential struct {
	// Kind Detected from the value when omitted.
	Kind *RequestPutConnectorCredentialKind `json:"kind,omitempty"`

	// Value The credential as issued by the provider: an OAuth token from the provider's CLI login, an API key or a fine-grained token.
	Value string `json:"value"`
}

RequestPutConnectorCredential defines model for RequestPutConnectorCredential.

type RequestPutConnectorCredentialKind

type RequestPutConnectorCredentialKind string

RequestPutConnectorCredentialKind Detected from the value when omitted.

const (
	RequestPutConnectorCredentialKindAPIKEY     RequestPutConnectorCredentialKind = "API_KEY"
	RequestPutConnectorCredentialKindOAUTHTOKEN RequestPutConnectorCredentialKind = "OAUTH_TOKEN"
)

Defines values for RequestPutConnectorCredentialKind.

func (RequestPutConnectorCredentialKind) Valid

Valid indicates whether the value is a known member of the RequestPutConnectorCredentialKind enum.

type RequestPutIntegration

type RequestPutIntegration struct {
	CredentialEnv *string     `json:"credentialEnv,omitempty"`
	Inject        *BaseInject `json:"inject,omitempty"`
	RateLimit     *BaseRate   `json:"rateLimit,omitempty"`
	StripPrefix   *string     `json:"stripPrefix,omitempty"`
	TargetUrl     *string     `json:"targetUrl,omitempty"`
}

RequestPutIntegration defines model for RequestPutIntegration.

type RequestPutLineage

type RequestPutLineage struct {
	ExportEnabled bool `json:"exportEnabled"`
}

RequestPutLineage defines model for RequestPutLineage.

type RequestPutSandbox

type RequestPutSandbox struct {
	// AbsoluteTtlSeconds Archive and destroy the sandbox this many seconds after its creation. Null or left out clears it.
	AbsoluteTtlSeconds *int `json:"absoluteTtlSeconds,omitempty"`

	// IdleTtlSeconds Park the sandbox after this many seconds without activity. Null or left out clears it.
	IdleTtlSeconds *int `json:"idleTtlSeconds,omitempty"`

	// Name The three fields are replaced together, null or left out clears one. Send the current values of the fields you keep.
	Name *string `json:"name,omitempty"`
}

RequestPutSandbox defines model for RequestPutSandbox.

type RequestPutSandboxPolicy

type RequestPutSandboxPolicy struct {
	Policy BaseSandboxPolicy `json:"policy"`

	// PolicyGeneration The generation the caller read. A mismatch is rejected instead of overwriting a concurrent change.
	PolicyGeneration int `json:"policyGeneration"`
}

RequestPutSandboxPolicy defines model for RequestPutSandboxPolicy.

type RequestPutTemplate

type RequestPutTemplate struct {
	Name   *string             `json:"name,omitempty"`
	Policy *BaseTemplatePolicy `json:"policy,omitempty"`
}

RequestPutTemplate defines model for RequestPutTemplate.

type RequestPutWebhook

type RequestPutWebhook struct {
	Enabled *bool     `json:"enabled,omitempty"`
	Events  *[]string `json:"events,omitempty"`
	Url     *string   `json:"url,omitempty"`
}

RequestPutWebhook defines model for RequestPutWebhook.

type RequestPutWorkspaceDomains

type RequestPutWorkspaceDomains struct {
	// Domains The whole list, replaced as given.
	Domains []BaseWorkspaceDomain `json:"domains"`
}

RequestPutWorkspaceDomains defines model for RequestPutWorkspaceDomains.

type RequestPutWorkspacePolicy

type RequestPutWorkspacePolicy struct {
	AllowedNetworkModes *[]string      `json:"allowedNetworkModes,omitempty"`
	Bandwidth           *BaseBandwidth `json:"bandwidth,omitempty"`

	// CoreReserveBytes Memory of the Workspace VM kept for the kernel, the orchestrator and the other core processes, taken off what the sandboxes may reserve. 512 MiB when absent, 0 is allowed.
	CoreReserveBytes *int64 `json:"coreReserveBytes,omitempty"`

	// CpuOvercommit How many vCPUs the running sandboxes may reserve per core of the Workspace, 1 reserves cores one to one. 8 when absent.
	CpuOvercommit *float32 `json:"cpuOvercommit,omitempty"`

	// DefaultDiskBytes Disk size of a sandbox created from a base without diskBytes, 10 GiB when absent. A sandbox from a template takes the template's.
	DefaultDiskBytes          *int64                                            `json:"defaultDiskBytes,omitempty"`
	DefaultHoldTimeoutSeconds *int                                              `json:"defaultHoldTimeoutSeconds,omitempty"`
	DomainFilterEnforcement   *RequestPutWorkspacePolicyDomainFilterEnforcement `json:"domainFilterEnforcement,omitempty"`
	MaxAbsoluteTtlSeconds     *int                                              `json:"maxAbsoluteTtlSeconds,omitempty"`
	MaxCpus                   *int                                              `json:"maxCpus,omitempty"`
	MaxDiskBytes              *int64                                            `json:"maxDiskBytes,omitempty"`
	MaxIdleTtlSeconds         *int                                              `json:"maxIdleTtlSeconds,omitempty"`
	MaxMemoryBytes            *int64                                            `json:"maxMemoryBytes,omitempty"`
	Rate                      *BaseRate                                         `json:"rate,omitempty"`

	// Secrets The ceiling of every sandbox's secrets selection, checked on create, on a policy change and on import. No limit when absent.
	Secrets          *BaseSecretsCeiling `json:"secrets,omitempty"`
	TcpPortRangeFrom *int                `json:"tcpPortRangeFrom,omitempty"`
	TcpPortRangeTo   *int                `json:"tcpPortRangeTo,omitempty"`
}

RequestPutWorkspacePolicy defines model for RequestPutWorkspacePolicy.

type RequestPutWorkspacePolicyDomainFilterEnforcement

type RequestPutWorkspacePolicyDomainFilterEnforcement string

RequestPutWorkspacePolicyDomainFilterEnforcement defines model for RequestPutWorkspacePolicy.DomainFilterEnforcement.

const (
	RequestPutWorkspacePolicyDomainFilterEnforcementADVISORY RequestPutWorkspacePolicyDomainFilterEnforcement = "ADVISORY"
	RequestPutWorkspacePolicyDomainFilterEnforcementPROXY    RequestPutWorkspacePolicyDomainFilterEnforcement = "PROXY"
)

Defines values for RequestPutWorkspacePolicyDomainFilterEnforcement.

func (RequestPutWorkspacePolicyDomainFilterEnforcement) Valid

Valid indicates whether the value is a known member of the RequestPutWorkspacePolicyDomainFilterEnforcement enum.

type ResponseBase

type ResponseBase struct {
	Created      string  `json:"created"`
	Digest       string  `json:"digest"`
	ExposePorts  []int   `json:"exposePorts"`
	FailedReason *string `json:"failedReason,omitempty"`

	// ImageRef The registry reference or archive URL the base was pulled from, `build:<operationId>` for one built from a Dockerfile.
	ImageRef       string                 `json:"imageRef"`
	KernelDigest   *string                `json:"kernelDigest,omitempty"`
	Labels         map[string]interface{} `json:"labels"`
	LaunchContract BaseLaunchContract     `json:"launchContract"`

	// Name Unique among the live bases. A pull or build that names an existing name takes it over, the earlier base stays unnamed.
	Name      *string `json:"name,omitempty"`
	SizeBytes *int64  `json:"sizeBytes,omitempty"`

	// Status DELETED is never listed: the image is gone and the row only stays because terminated sandboxes still name it.
	Status ResponseBaseStatus `json:"status"`
}

ResponseBase defines model for ResponseBase.

type ResponseBaseBuildCache

type ResponseBaseBuildCache struct {
	// SizeBytes Bytes the Dockerfile builds' layer cache takes on the data volume, 0 when there is none.
	SizeBytes int64 `json:"sizeBytes"`
}

ResponseBaseBuildCache defines model for ResponseBaseBuildCache.

type ResponseBaseList

type ResponseBaseList struct {
	Items []BaseBase `json:"items"`
}

ResponseBaseList defines model for ResponseBaseList.

type ResponseBaseStatus

type ResponseBaseStatus string

ResponseBaseStatus DELETED is never listed: the image is gone and the row only stays because terminated sandboxes still name it.

const (
	ResponseBaseStatusDELETED    ResponseBaseStatus = "DELETED"
	ResponseBaseStatusFAILED     ResponseBaseStatus = "FAILED"
	ResponseBaseStatusFLATTENING ResponseBaseStatus = "FLATTENING"
	ResponseBaseStatusPULLING    ResponseBaseStatus = "PULLING"
	ResponseBaseStatusREADY      ResponseBaseStatus = "READY"
)

Defines values for ResponseBaseStatus.

func (ResponseBaseStatus) Valid

func (e ResponseBaseStatus) Valid() bool

Valid indicates whether the value is a known member of the ResponseBaseStatus enum.

type ResponseConnector

type ResponseConnector struct {
	// CredentialEnv The Workspace environment variable the credential lives in.
	CredentialEnv string `json:"credentialEnv"`

	// CredentialKind What the stored credential is. Null while disconnected.
	CredentialKind *ResponseConnectorCredentialKind `json:"credentialKind,omitempty"`

	// GuestEnv Environment variables a sandbox receives when it attaches the connector's integrations at create.
	GuestEnv []string `json:"guestEnv"`

	// Integrations The integrations the connector manages, created when it connects.
	Integrations []string `json:"integrations"`

	// LoginAvailable Whether the connector can obtain its credential through a browser login in a helper sandbox.
	LoginAvailable bool `json:"loginAvailable"`

	// Name The connector and the name of its main integration: claude, github, codex.
	Name string `json:"name"`

	// Status CONNECTED when the Workspace env holds a credential for the connector.
	Status ResponseConnectorStatus `json:"status"`
	Title  string                  `json:"title"`
}

ResponseConnector defines model for ResponseConnector.

type ResponseConnectorCredentialKind

type ResponseConnectorCredentialKind string

ResponseConnectorCredentialKind What the stored credential is. Null while disconnected.

const (
	ResponseConnectorCredentialKindAPIKEY     ResponseConnectorCredentialKind = "API_KEY"
	ResponseConnectorCredentialKindOAUTHTOKEN ResponseConnectorCredentialKind = "OAUTH_TOKEN"
)

Defines values for ResponseConnectorCredentialKind.

func (ResponseConnectorCredentialKind) Valid

Valid indicates whether the value is a known member of the ResponseConnectorCredentialKind enum.

type ResponseConnectorList

type ResponseConnectorList struct {
	Items []BaseConnector `json:"items"`
}

ResponseConnectorList defines model for ResponseConnectorList.

type ResponseConnectorLogin

type ResponseConnectorLogin struct {
	// Command The login command running in the session, for display.
	Command string `json:"command"`

	// SandboxId The helper sandbox, terminated once the credential is harvested or the login is abandoned.
	SandboxId     string `json:"sandboxId"`
	SessionId     string `json:"sessionId"`
	SessionTicket string `json:"sessionTicket"`
}

ResponseConnectorLogin defines model for ResponseConnectorLogin.

type ResponseConnectorStatus

type ResponseConnectorStatus string

ResponseConnectorStatus CONNECTED when the Workspace env holds a credential for the connector.

const (
	ResponseConnectorStatusCONNECTED    ResponseConnectorStatus = "CONNECTED"
	ResponseConnectorStatusDISCONNECTED ResponseConnectorStatus = "DISCONNECTED"
)

Defines values for ResponseConnectorStatus.

func (ResponseConnectorStatus) Valid

func (e ResponseConnectorStatus) Valid() bool

Valid indicates whether the value is a known member of the ResponseConnectorStatus enum.

type ResponseDownload

type ResponseDownload = map[string]interface{}

ResponseDownload defines model for ResponseDownload.

type ResponseEventList

type ResponseEventList struct {
	Items []BaseEvent `json:"items"`
}

ResponseEventList defines model for ResponseEventList.

type ResponseExecResult

type ResponseExecResult struct {
	ExitCode        *int   `json:"exitCode,omitempty"`
	SessionId       string `json:"sessionId"`
	Stderr          string `json:"stderr"`
	StderrTruncated bool   `json:"stderrTruncated"`
	Stdout          string `json:"stdout"`

	// StdoutTruncated The answered stdout is cut at the Workspace's limit, the session's output holds the rest.
	StdoutTruncated bool `json:"stdoutTruncated"`
	TimedOut        bool `json:"timedOut"`
}

ResponseExecResult defines model for ResponseExecResult.

type ResponseExport

type ResponseExport struct {
	Created string `json:"created"`

	// Destination The archive: `<url>/<bucket>/<key>` for S3, the download route `/api/rest/export/{id}/archive` of this API for FILE.
	Destination string  `json:"destination"`
	Error       *string `json:"error,omitempty"`
	Finished    *string `json:"finished,omitempty"`
	HasMemory   bool    `json:"hasMemory"`
	Id          string  `json:"id"`

	// Kind UPLOADED is an archive uploaded through `POST /import/upload`, its sandboxId and snapshotId are those of the Workspace that exported it.
	Kind          ResponseExportKind `json:"kind"`
	LineageId     string             `json:"lineageId"`
	SandboxId     string             `json:"sandboxId"`
	SinceExportId *string            `json:"sinceExportId,omitempty"`
	SizeBytes     *int64             `json:"sizeBytes,omitempty"`

	// SnapshotId The snapshot that was exported, null for the parked sandbox itself.
	SnapshotId   *string              `json:"snapshotId,omitempty"`
	SnapshotName string               `json:"snapshotName"`
	Status       ResponseExportStatus `json:"status"`

	// Storage S3 is an object in the caller's bucket, FILE a file on the Workspace's data volume that `GET /export/{id}/archive` downloads until the file retention removes it with the row.
	Storage ResponseExportStorage `json:"storage"`
}

ResponseExport defines model for ResponseExport.

type ResponseExportKind

type ResponseExportKind string

ResponseExportKind UPLOADED is an archive uploaded through `POST /import/upload`, its sandboxId and snapshotId are those of the Workspace that exported it.

const (
	ResponseExportKindFULL        ResponseExportKind = "FULL"
	ResponseExportKindINCREMENTAL ResponseExportKind = "INCREMENTAL"
	ResponseExportKindUPLOADED    ResponseExportKind = "UPLOADED"
)

Defines values for ResponseExportKind.

func (ResponseExportKind) Valid

func (e ResponseExportKind) Valid() bool

Valid indicates whether the value is a known member of the ResponseExportKind enum.

type ResponseExportList

type ResponseExportList struct {
	Items []BaseExport `json:"items"`
}

ResponseExportList defines model for ResponseExportList.

type ResponseExportStatus

type ResponseExportStatus string

ResponseExportStatus defines model for ResponseExport.Status.

const (
	ResponseExportStatusFAILED   ResponseExportStatus = "FAILED"
	ResponseExportStatusFINISHED ResponseExportStatus = "FINISHED"
	ResponseExportStatusRUNNING  ResponseExportStatus = "RUNNING"
)

Defines values for ResponseExportStatus.

func (ResponseExportStatus) Valid

func (e ResponseExportStatus) Valid() bool

Valid indicates whether the value is a known member of the ResponseExportStatus enum.

type ResponseExportStorage

type ResponseExportStorage string

ResponseExportStorage S3 is an object in the caller's bucket, FILE a file on the Workspace's data volume that `GET /export/{id}/archive` downloads until the file retention removes it with the row.

const (
	ResponseExportStorageFILE ResponseExportStorage = "FILE"
	ResponseExportStorageS3   ResponseExportStorage = "S3"
)

Defines values for ResponseExportStorage.

func (ResponseExportStorage) Valid

func (e ResponseExportStorage) Valid() bool

Valid indicates whether the value is a known member of the ResponseExportStorage enum.

type ResponseFileList

type ResponseFileList struct {
	Items []BaseFileEntry `json:"items"`
}

ResponseFileList defines model for ResponseFileList.

type ResponseGetPing

type ResponseGetPing struct {
	Time    string `json:"time"`
	Version string `json:"version"`
}

ResponseGetPing defines model for ResponseGetPing.

type ResponseGuestSession

type ResponseGuestSession struct {
	Closed   *string             `json:"closed,omitempty"`
	Command  *BaseSessionCommand `json:"command,omitempty"`
	Created  string              `json:"created"`
	ExitCode *int                `json:"exitCode,omitempty"`

	// HasOutput Whether a recorded output stream can be fetched.
	HasOutput bool                       `json:"hasOutput"`
	Id        string                     `json:"id"`
	Kind      ResponseGuestSessionKind   `json:"kind"`
	SandboxId string                     `json:"sandboxId"`
	Status    ResponseGuestSessionStatus `json:"status"`
}

ResponseGuestSession defines model for ResponseGuestSession.

type ResponseGuestSessionKind

type ResponseGuestSessionKind string

ResponseGuestSessionKind defines model for ResponseGuestSession.Kind.

const (
	ResponseGuestSessionKindEXEC ResponseGuestSessionKind = "EXEC"
	ResponseGuestSessionKindPTY  ResponseGuestSessionKind = "PTY"
	ResponseGuestSessionKindSSH  ResponseGuestSessionKind = "SSH"
)

Defines values for ResponseGuestSessionKind.

func (ResponseGuestSessionKind) Valid

func (e ResponseGuestSessionKind) Valid() bool

Valid indicates whether the value is a known member of the ResponseGuestSessionKind enum.

type ResponseGuestSessionStatus

type ResponseGuestSessionStatus string

ResponseGuestSessionStatus defines model for ResponseGuestSession.Status.

const (
	ResponseGuestSessionStatusCLOSED ResponseGuestSessionStatus = "CLOSED"
	ResponseGuestSessionStatusFAILED ResponseGuestSessionStatus = "FAILED"
	ResponseGuestSessionStatusOPEN   ResponseGuestSessionStatus = "OPEN"
)

Defines values for ResponseGuestSessionStatus.

func (ResponseGuestSessionStatus) Valid

func (e ResponseGuestSessionStatus) Valid() bool

Valid indicates whether the value is a known member of the ResponseGuestSessionStatus enum.

type ResponseIngressCredentialIssued

type ResponseIngressCredentialIssued struct {
	Credential BaseIngressCredential `json:"credential"`

	// Secret Returned exactly once. A ticket goes into `?ticket=`, a token into `X-Zerops-Box-Authorization: Bearer <token>` or once into `?token=`.
	Secret string `json:"secret"`
}

ResponseIngressCredentialIssued defines model for ResponseIngressCredentialIssued.

type ResponseIngressCredentialList

type ResponseIngressCredentialList struct {
	Items []BaseIngressCredential `json:"items"`
}

ResponseIngressCredentialList defines model for ResponseIngressCredentialList.

type ResponseIntegration

type ResponseIntegration struct {
	Created string `json:"created"`

	// CredentialEnv Name of the Workspace environment variable holding the credential. Read on every request, never stored.
	CredentialEnv string     `json:"credentialEnv"`
	Inject        BaseInject `json:"inject"`
	Name          string     `json:"name"`
	RateLimit     *BaseRate  `json:"rateLimit,omitempty"`
	StripPrefix   *string    `json:"stripPrefix,omitempty"`
	TargetUrl     string     `json:"targetUrl"`
}

ResponseIntegration defines model for ResponseIntegration.

type ResponseIntegrationAttachment

type ResponseIntegrationAttachment struct {
	Created         string  `json:"created"`
	IntegrationName *string `json:"integrationName,omitempty"`

	// Name The label the sandbox resolves as http://{name}.int.<workspace-domain>/.
	Name          string  `json:"name"`
	PeerPort      *int    `json:"peerPort,omitempty"`
	PeerSandboxId *string `json:"peerSandboxId,omitempty"`
	SandboxId     string  `json:"sandboxId"`
}

ResponseIntegrationAttachment defines model for ResponseIntegrationAttachment.

type ResponseIntegrationAttachmentList

type ResponseIntegrationAttachmentList struct {
	Items []BaseIntegrationAttachment `json:"items"`
}

ResponseIntegrationAttachmentList defines model for ResponseIntegrationAttachmentList.

type ResponseIntegrationList

type ResponseIntegrationList struct {
	Items []BaseIntegration `json:"items"`
}

ResponseIntegrationList defines model for ResponseIntegrationList.

type ResponseLineage

type ResponseLineage struct {
	Created       string `json:"created"`
	ExportEnabled bool   `json:"exportEnabled"`
	Id            string `json:"id"`
}

ResponseLineage defines model for ResponseLineage.

type ResponseLineageList

type ResponseLineageList struct {
	Items []BaseLineage `json:"items"`
}

ResponseLineageList defines model for ResponseLineageList.

type ResponseMetricList

type ResponseMetricList struct {
	Items []BaseMetricHourly `json:"items"`
}

ResponseMetricList defines model for ResponseMetricList.

type ResponseOperation

type ResponseOperation struct {
	Created  string                `json:"created"`
	Error    *string               `json:"error,omitempty"`
	Finished *string               `json:"finished,omitempty"`
	Id       string                `json:"id"`
	Kind     ResponseOperationKind `json:"kind"`

	// ParentId The bulk operation this one is a child of.
	ParentId *string `json:"parentId,omitempty"`

	// Result The typed receipt of a finished operation, for example the wake receipt.
	Result    *map[string]interface{} `json:"result,omitempty"`
	SandboxId *string                 `json:"sandboxId,omitempty"`
	Status    ResponseOperationStatus `json:"status"`
}

ResponseOperation defines model for ResponseOperation.

type ResponseOperationKind

type ResponseOperationKind string

ResponseOperationKind defines model for ResponseOperation.Kind.

const (
	ResponseOperationKindBUILDBASE     ResponseOperationKind = "BUILD_BASE"
	ResponseOperationKindBUILDTEMPLATE ResponseOperationKind = "BUILD_TEMPLATE"
	ResponseOperationKindCREATE        ResponseOperationKind = "CREATE"
	ResponseOperationKindEXPORT        ResponseOperationKind = "EXPORT"
	ResponseOperationKindFORK          ResponseOperationKind = "FORK"
	ResponseOperationKindIMPORT        ResponseOperationKind = "IMPORT"
	ResponseOperationKindPARK          ResponseOperationKind = "PARK"
	ResponseOperationKindPULLBASE      ResponseOperationKind = "PULL_BASE"
	ResponseOperationKindRESTORE       ResponseOperationKind = "RESTORE"
	ResponseOperationKindSNAPSHOT      ResponseOperationKind = "SNAPSHOT"
	ResponseOperationKindTERMINATE     ResponseOperationKind = "TERMINATE"
	ResponseOperationKindWAKE          ResponseOperationKind = "WAKE"
)

Defines values for ResponseOperationKind.

func (ResponseOperationKind) Valid

func (e ResponseOperationKind) Valid() bool

Valid indicates whether the value is a known member of the ResponseOperationKind enum.

type ResponseOperationList

type ResponseOperationList struct {
	Items []BaseOperation `json:"items"`
}

ResponseOperationList defines model for ResponseOperationList.

type ResponseOperationStatus

type ResponseOperationStatus string

ResponseOperationStatus defines model for ResponseOperation.Status.

const (
	ResponseOperationStatusFAILED   ResponseOperationStatus = "FAILED"
	ResponseOperationStatusFINISHED ResponseOperationStatus = "FINISHED"
	ResponseOperationStatusPENDING  ResponseOperationStatus = "PENDING"
	ResponseOperationStatusRUNNING  ResponseOperationStatus = "RUNNING"
)

Defines values for ResponseOperationStatus.

func (ResponseOperationStatus) Valid

func (e ResponseOperationStatus) Valid() bool

Valid indicates whether the value is a known member of the ResponseOperationStatus enum.

type ResponseProcessList

type ResponseProcessList struct {
	Items []BaseProcessEntry `json:"items"`
}

ResponseProcessList defines model for ResponseProcessList.

type ResponseQuarantineList

type ResponseQuarantineList struct {
	Items []BaseQuarantine `json:"items"`
}

ResponseQuarantineList defines model for ResponseQuarantineList.

type ResponseSandbox

type ResponseSandbox struct {
	// AbsoluteDeadline When the sandbox is archived and destroyed, created plus absoluteTtlSeconds. An ARCHIVED sandbox keeps the deadline that ended it.
	AbsoluteDeadline   *string `json:"absoluteDeadline,omitempty"`
	AbsoluteTtlSeconds *int    `json:"absoluteTtlSeconds,omitempty"`
	BaseDigest         string  `json:"baseDigest"`
	Cpus               int     `json:"cpus"`
	Created            string  `json:"created"`

	// DiskBytes Size of the writable disk, a cap and not a reservation: blocks the guest never wrote take no space on the Workspace.
	DiskBytes    int64             `json:"diskBytes"`
	FailedReason *string           `json:"failedReason,omitempty"`
	Hosts        []BaseSandboxHost `json:"hosts"`
	Id           string            `json:"id"`

	// IdleDeadline When the sandbox is parked for idleness, lastActivity plus idleTtlSeconds. Null without an idle TTL and while the sandbox is not running.
	IdleDeadline   *string `json:"idleDeadline,omitempty"`
	IdleTtlSeconds *int    `json:"idleTtlSeconds,omitempty"`

	// LastActivity The last boot, call into the guest (exec, process, files, shell, SSH) or ingress request. An open shell or SSH connection counts as activity while it lasts.
	LastActivity   string            `json:"lastActivity"`
	LaunchContract BaseSandboxLaunch `json:"launchContract"`
	LineageId      string            `json:"lineageId"`
	MemoryBytes    int64             `json:"memoryBytes"`
	Name           *string           `json:"name,omitempty"`

	// NetworkMode Fixed at create, design §5.8.
	NetworkMode ResponseSandboxNetworkMode `json:"networkMode"`

	// Operation The operation in flight on the sandbox, null when none is. One at a time, every other verb answers operationInFlight meanwhile.
	Operation        *BaseSandboxOperation `json:"operation,omitempty"`
	ParentId         *string               `json:"parentId,omitempty"`
	Policy           BaseSandboxPolicy     `json:"policy"`
	PolicyGeneration int                   `json:"policyGeneration"`
	SecretBearing    bool                  `json:"secretBearing"`

	// SecretsStale Derived: the Workspace environment changed something this sandbox was given, design §5.9.
	SecretsStale   bool                  `json:"secretsStale"`
	StableAddress  *string               `json:"stableAddress,omitempty"`
	Status         ResponseSandboxStatus `json:"status"`
	TemplateDigest *string               `json:"templateDigest,omitempty"`
	Updated        string                `json:"updated"`
}

ResponseSandbox defines model for ResponseSandbox.

type ResponseSandboxList

type ResponseSandboxList struct {
	Items []BaseSandbox `json:"items"`
}

ResponseSandboxList defines model for ResponseSandboxList.

type ResponseSandboxNetworkMode

type ResponseSandboxNetworkMode string

ResponseSandboxNetworkMode Fixed at create, design §5.8.

const (
	ResponseSandboxNetworkModeAIRGAPPED       ResponseSandboxNetworkMode = "AIRGAPPED"
	ResponseSandboxNetworkModeINTERNET        ResponseSandboxNetworkMode = "INTERNET"
	ResponseSandboxNetworkModePROJECT         ResponseSandboxNetworkMode = "PROJECT"
	ResponseSandboxNetworkModePROJECTINTERNET ResponseSandboxNetworkMode = "PROJECT_INTERNET"
)

Defines values for ResponseSandboxNetworkMode.

func (ResponseSandboxNetworkMode) Valid

func (e ResponseSandboxNetworkMode) Valid() bool

Valid indicates whether the value is a known member of the ResponseSandboxNetworkMode enum.

type ResponseSandboxSsh

type ResponseSandboxSsh struct {
	// Enabled Port 22 is open to project sources when the policy says so and the mode has a project path.
	Enabled bool `json:"enabled"`

	// HostKey Public host key of the agent's SSH server as an authorized-keys line, for pinning. Null on a sandbox from before the server.
	HostKey       *string `json:"hostKey,omitempty"`
	StableAddress *string `json:"stableAddress,omitempty"`
}

ResponseSandboxSsh defines model for ResponseSandboxSsh.

type ResponseSandboxStatus

type ResponseSandboxStatus string

ResponseSandboxStatus defines model for ResponseSandbox.Status.

const (
	ResponseSandboxStatusARCHIVED    ResponseSandboxStatus = "ARCHIVED"
	ResponseSandboxStatusCREATING    ResponseSandboxStatus = "CREATING"
	ResponseSandboxStatusFAILED      ResponseSandboxStatus = "FAILED"
	ResponseSandboxStatusFORKING     ResponseSandboxStatus = "FORKING"
	ResponseSandboxStatusPARKED      ResponseSandboxStatus = "PARKED"
	ResponseSandboxStatusPARKING     ResponseSandboxStatus = "PARKING"
	ResponseSandboxStatusRESTORING   ResponseSandboxStatus = "RESTORING"
	ResponseSandboxStatusRUNNING     ResponseSandboxStatus = "RUNNING"
	ResponseSandboxStatusTERMINATED  ResponseSandboxStatus = "TERMINATED"
	ResponseSandboxStatusTERMINATING ResponseSandboxStatus = "TERMINATING"
	ResponseSandboxStatusWAKING      ResponseSandboxStatus = "WAKING"
)

Defines values for ResponseSandboxStatus.

func (ResponseSandboxStatus) Valid

func (e ResponseSandboxStatus) Valid() bool

Valid indicates whether the value is a known member of the ResponseSandboxStatus enum.

type ResponseSessionList

type ResponseSessionList struct {
	Items []BaseGuestSession `json:"items"`
}

ResponseSessionList defines model for ResponseSessionList.

type ResponseShell

type ResponseShell struct {
	Status string `json:"status"`
}

ResponseShell defines model for ResponseShell.

type ResponseSnapshot

type ResponseSnapshot struct {
	// Cpus Size of the sandbox when the snapshot was taken, null for a snapshot from before the record. A restore with memory keeps it.
	Cpus        *int                 `json:"cpus,omitempty"`
	Created     string               `json:"created"`
	DiskBytes   *int64               `json:"diskBytes,omitempty"`
	HasMemory   bool                 `json:"hasMemory"`
	Id          string               `json:"id"`
	Kind        ResponseSnapshotKind `json:"kind"`
	MemoryBytes *int64               `json:"memoryBytes,omitempty"`
	Name        *string              `json:"name,omitempty"`
	SandboxId   string               `json:"sandboxId"`

	// SecretBearing The sandbox had received secrets when the snapshot was taken, so its disk may hold them: it does not export, and a restore child is secret bearing.
	SecretBearing bool   `json:"secretBearing"`
	SizeBytes     *int64 `json:"sizeBytes,omitempty"`
}

ResponseSnapshot defines model for ResponseSnapshot.

type ResponseSnapshotKind

type ResponseSnapshotKind string

ResponseSnapshotKind defines model for ResponseSnapshot.Kind.

const (
	ResponseSnapshotKindAUTO      ResponseSnapshotKind = "AUTO"
	ResponseSnapshotKindFORK      ResponseSnapshotKind = "FORK"
	ResponseSnapshotKindNAMED     ResponseSnapshotKind = "NAMED"
	ResponseSnapshotKindPARK      ResponseSnapshotKind = "PARK"
	ResponseSnapshotKindPREIMPORT ResponseSnapshotKind = "PRE_IMPORT"
)

Defines values for ResponseSnapshotKind.

func (ResponseSnapshotKind) Valid

func (e ResponseSnapshotKind) Valid() bool

Valid indicates whether the value is a known member of the ResponseSnapshotKind enum.

type ResponseSnapshotList

type ResponseSnapshotList struct {
	Items []BaseSnapshot `json:"items"`
}

ResponseSnapshotList defines model for ResponseSnapshotList.

type ResponseSpawn

type ResponseSpawn struct {
	Operation BaseOperation `json:"operation"`

	// Sandboxes The new rows, in creating status until their child operation finishes.
	Sandboxes []BaseSandbox `json:"sandboxes"`
}

ResponseSpawn defines model for ResponseSpawn.

type ResponseStream

type ResponseStream struct {
	Status string `json:"status"`
}

ResponseStream defines model for ResponseStream.

type ResponseSuccess

type ResponseSuccess struct {
	Success bool `json:"success"`
}

ResponseSuccess defines model for ResponseSuccess.

type ResponseTemplate

type ResponseTemplate struct {
	BaseDigest string `json:"baseDigest"`
	Cpus       int    `json:"cpus"`
	Created    string `json:"created"`
	Digest     string `json:"digest"`

	// DiskBytes Size of the template's disk, the default of sandboxes spawned from it. A spawn of another disk size boots the template's disk cold.
	DiskBytes    int64   `json:"diskBytes"`
	FailedReason *string `json:"failedReason,omitempty"`

	// HasMemory A warmed template carries the identity-free memory snapshot, design §5.1 step 3.
	HasMemory bool `json:"hasMemory"`

	// MemoryBytes The memory image is taken at this size, a sandbox spawned from the template takes it as its default and resumes only when it matches.
	MemoryBytes int64              `json:"memoryBytes"`
	Name        *string            `json:"name,omitempty"`
	Policy      BaseTemplatePolicy `json:"policy"`

	// Status DELETED is never listed: the image is gone and the row only stays because terminated sandboxes still name it.
	Status ResponseTemplateStatus `json:"status"`

	// Warmup Shell command run in the guest before its memory is captured, under the image's launch environment: what it loads is resident in every spawn. Nothing listens and nothing has an identity, the image stays free of both.
	Warmup *string `json:"warmup,omitempty"`
}

ResponseTemplate defines model for ResponseTemplate.

type ResponseTemplateList

type ResponseTemplateList struct {
	Items []BaseTemplate `json:"items"`
}

ResponseTemplateList defines model for ResponseTemplateList.

type ResponseTemplateStatus

type ResponseTemplateStatus string

ResponseTemplateStatus DELETED is never listed: the image is gone and the row only stays because terminated sandboxes still name it.

const (
	ResponseTemplateStatusBUILDING ResponseTemplateStatus = "BUILDING"
	ResponseTemplateStatusDELETED  ResponseTemplateStatus = "DELETED"
	ResponseTemplateStatusFAILED   ResponseTemplateStatus = "FAILED"
	ResponseTemplateStatusREADY    ResponseTemplateStatus = "READY"
)

Defines values for ResponseTemplateStatus.

func (ResponseTemplateStatus) Valid

func (e ResponseTemplateStatus) Valid() bool

Valid indicates whether the value is a known member of the ResponseTemplateStatus enum.

type ResponseTokenIssued

type ResponseTokenIssued struct {
	// Secret Returned exactly once, sent as `Authorization: Bearer <secret>` like the Workspace API key.
	Secret string    `json:"secret"`
	Token  BaseToken `json:"token"`
}

ResponseTokenIssued defines model for ResponseTokenIssued.

type ResponseTokenList

type ResponseTokenList struct {
	Items []BaseToken `json:"items"`
}

ResponseTokenList defines model for ResponseTokenList.

type ResponseWebhookCreated

type ResponseWebhookCreated struct {
	Endpoint BaseWebhookEndpoint `json:"endpoint"`

	// SigningSecret Returned exactly once.
	SigningSecret string `json:"signingSecret"`
}

ResponseWebhookCreated defines model for ResponseWebhookCreated.

type ResponseWebhookDeliveryList

type ResponseWebhookDeliveryList struct {
	Items []BaseWebhookDelivery `json:"items"`
}

ResponseWebhookDeliveryList defines model for ResponseWebhookDeliveryList.

type ResponseWebhookEndpoint

type ResponseWebhookEndpoint struct {
	Created string `json:"created"`
	Enabled bool   `json:"enabled"`

	// Events Event types this endpoint subscribes to.
	Events []string `json:"events"`
	Id     string   `json:"id"`
	Url    string   `json:"url"`
}

ResponseWebhookEndpoint defines model for ResponseWebhookEndpoint.

type ResponseWebhookList

type ResponseWebhookList struct {
	Items []BaseWebhookEndpoint `json:"items"`
}

ResponseWebhookList defines model for ResponseWebhookList.

type ResponseWorkspace

type ResponseWorkspace struct {
	// AlwaysDenied The read-only always-denied egress set, design §6.5.
	AlwaysDenied []string              `json:"alwaysDenied"`
	Capacity     BaseWorkspaceCapacity `json:"capacity"`

	// Domains The host suffixes sandbox ports are published under, in the order their URLs are listed; empty means no public sandbox URL.
	Domains []BaseWorkspaceDomain `json:"domains"`
	Host    BaseWorkspaceHost     `json:"host"`

	// ImageRelease The alias the Workspace image was built under, null on an image from before the record.
	ImageRelease *string                    `json:"imageRelease,omitempty"`
	Policy       BaseWorkspacePolicy        `json:"policy"`
	Substrate    ResponseWorkspaceSubstrate `json:"substrate"`
	Usage        BaseWorkspaceUsage         `json:"usage"`
	Version      string                     `json:"version"`
}

ResponseWorkspace defines model for ResponseWorkspace.

type ResponseWorkspaceSubstrate

type ResponseWorkspaceSubstrate string

ResponseWorkspaceSubstrate defines model for ResponseWorkspace.Substrate.

const (
	FIRECRACKER ResponseWorkspaceSubstrate = "FIRECRACKER"
)

Defines values for ResponseWorkspaceSubstrate.

func (ResponseWorkspaceSubstrate) Valid

func (e ResponseWorkspaceSubstrate) Valid() bool

Valid indicates whether the value is a known member of the ResponseWorkspaceSubstrate enum.

type Rows

type Rows = int

Rows defines model for rows.

type SandboxId

type SandboxId = string

SandboxId defines model for sandboxId.

type SessionId

type SessionId = string

SessionId Reconnect to an open PTY session instead of opening a new one.

type SessionTicket

type SessionTicket = string

SessionTicket defines model for sessionTicket.

type Status

type Status string

Status defines model for status.

const (
	StatusCLOSED Status = "CLOSED"
	StatusFAILED Status = "FAILED"
	StatusOPEN   Status = "OPEN"
)

Defines values for Status.

func (Status) Valid

func (e Status) Valid() bool

Valid indicates whether the value is a known member of the Status enum.

type To

type To = string

To defines model for to.

type WaitSeconds

type WaitSeconds = int

WaitSeconds Hold the answer until the operation finishes or fails, at most this many seconds (30 at most). Omitted or 0 answers at once.

type WithMemory

type WithMemory = bool

WithMemory Resume the archive's memory image, the default. Only an archive this Workspace exported resumes, any other boots cold from its disk.

type Workspace

type Workspace struct {
	BaseUrl string
	// Renew mints a fresh zproxy access token when the one in use has expired, and is nil for a workspace reached with its key.
	Renew func(ctx context.Context) (string, error)
	// contains filtered or unexported fields
}

Workspace is the generated client with a bearer on every request and the responses decoded into the shared Base* types. Every method mirrors one route of the contract, nothing exists here that the spec does not have.

The base URL is either the workspace's own API host, with the workspace API key as the bearer, or the zproxy prefix `https://proxy.<domain>/service-api` with a zproxy access token as the bearer: zproxy checks the token, strips the prefix, tunnels into the workspace VM and swaps the bearer for the key, so the client is the same either way. An access token lives an hour past its last use; zproxy refuses a dead one with a 401 that carries `X-Zerops-Ui-Session: expired`, on which the client asks Renew for a fresh one and sends the request again.

func New

func New(baseUrl, bearer string) *Workspace

func (*Workspace) AddSshKey

func (c *Workspace) AddSshKey(ctx context.Context, id, publicKey string) error

func (*Workspace) Attach

func (*Workspace) Attachments

func (c *Workspace) Attachments(ctx context.Context, sandboxId string) ([]BaseIntegrationAttachment, error)

func (*Workspace) Base

func (c *Workspace) Base(ctx context.Context, digest string) (*BaseBase, error)

func (*Workspace) BaseOf

func (c *Workspace) BaseOf(ctx context.Context, op *BaseOperation) (*BaseBase, error)

BaseOf answers the base a finished base operation (pull or build) produced, by the digest in its result.

func (*Workspace) Bases

func (c *Workspace) Bases(ctx context.Context) ([]BaseBase, error)

func (*Workspace) Bearer

func (c *Workspace) Bearer() string

Bearer is the credential the client sends as the Authorization bearer: the workspace key, or the zproxy access token. It never goes into a URL: the API, the WebSocket routes and the MEMBERS ports take it as a header only.

func (*Workspace) BuildBase

func (c *Workspace) BuildBase(ctx context.Context, name string, body io.Reader, size int64) (*BaseOperation, error)

BuildBase posts a build context archive (tar, tar.gz or zip with a Dockerfile) and answers the BUILD_BASE operation. size sets the Content-Length, a file body would go chunked otherwise.

func (*Workspace) BuildCache

func (c *Workspace) BuildCache(ctx context.Context) (*ResponseBaseBuildCache, error)

func (*Workspace) ClearConnectorCredential

func (c *Workspace) ClearConnectorCredential(ctx context.Context, name string) (*BaseConnector, error)

ClearConnectorCredential blanks the env, the connector's integrations stay.

func (*Workspace) Connector

func (c *Workspace) Connector(ctx context.Context, name string) (*BaseConnector, error)

func (*Workspace) ConnectorLogin

func (c *Workspace) ConnectorLogin(ctx context.Context, name string) (*ResponseConnectorLogin, error)

ConnectorLogin starts the provider's login command in a helper sandbox and answers the detached PTY session to attach to.

func (*Workspace) Connectors

func (c *Workspace) Connectors(ctx context.Context) ([]BaseConnector, error)

Connectors are the fixed catalogue of provider logins (claude, github, codex) whose credential lives in a Workspace env and is injected by the credential proxy.

func (*Workspace) ConsoleLoginTicket

func (c *Workspace) ConsoleLoginTicket(ctx context.Context) (*ConsoleTicket, error)

ConsoleLoginTicket mints a single-use ticket for /console/login?ticket=, so the workspace API key never appears in a URL. An older orchestrator has no such route and answers 404.

func (*Workspace) CreateBase

func (c *Workspace) CreateBase(ctx context.Context, body RequestPostBase) (*BaseOperation, error)

CreateBase answers the PULL_BASE operation, the pull runs on: a tarball takes longer than the edge holds a request.

func (*Workspace) CreateExport

func (c *Workspace) CreateExport(ctx context.Context, body RequestPostExport) (*BaseOperation, error)

func (*Workspace) CreateIntegration

func (c *Workspace) CreateIntegration(ctx context.Context, body RequestPostIntegration) (*BaseIntegration, error)

func (*Workspace) CreateSandbox

func (c *Workspace) CreateSandbox(ctx context.Context, body RequestPostSandbox) (*ResponseSpawn, error)

CreateSandbox answers like fork and restore: the operation and the one new row, in CREATING until the operation finishes.

func (*Workspace) CreateTemplate

func (c *Workspace) CreateTemplate(ctx context.Context, body RequestPostTemplate) (*BaseTemplate, error)

func (*Workspace) CreateToken

func (c *Workspace) CreateToken(ctx context.Context, body RequestPostToken) (*ResponseTokenIssued, error)

CreateToken answers the token with its secret, the only time the secret is shown. Only the workspace key or the zproxy access creates one.

func (*Workspace) CreateWebhook

func (c *Workspace) CreateWebhook(ctx context.Context, body RequestPostWebhook) (*ResponseWebhookCreated, error)

func (*Workspace) Credentials

func (c *Workspace) Credentials(ctx context.Context, sandboxId string, includeRevoked bool) ([]BaseIngressCredential, error)

func (*Workspace) DeleteBase

func (c *Workspace) DeleteBase(ctx context.Context, digest string) error

func (*Workspace) DeleteExport

func (c *Workspace) DeleteExport(ctx context.Context, id string) error

func (*Workspace) DeleteFile

func (c *Workspace) DeleteFile(ctx context.Context, id, path string) error

func (*Workspace) DeleteIntegration

func (c *Workspace) DeleteIntegration(ctx context.Context, name string) error

func (*Workspace) DeleteQuarantine

func (c *Workspace) DeleteQuarantine(ctx context.Context, id string) error

func (*Workspace) DeleteSandbox

func (c *Workspace) DeleteSandbox(ctx context.Context, id string) (*BaseOperation, error)

func (*Workspace) DeleteSnapshot

func (c *Workspace) DeleteSnapshot(ctx context.Context, id string) error

func (*Workspace) DeleteTemplate

func (c *Workspace) DeleteTemplate(ctx context.Context, digest string) error

func (*Workspace) DeleteWebhook

func (c *Workspace) DeleteWebhook(ctx context.Context, id string) error

func (*Workspace) Detach

func (c *Workspace) Detach(ctx context.Context, sandboxId, name string) error

func (*Workspace) Events

func (c *Workspace) Events(ctx context.Context, p GetEventListParams) ([]BaseEvent, error)

func (*Workspace) Exec

func (*Workspace) Export

func (c *Workspace) Export(ctx context.Context, id string) (*BaseExport, error)

func (*Workspace) ExportArchive

func (c *Workspace) ExportArchive(ctx context.Context, id string) (io.ReadCloser, int64, error)

ExportArchive streams the file of a FILE export and answers its length. It runs without the client's timeout, an archive of many GiB takes what it takes.

func (*Workspace) Exports

func (c *Workspace) Exports(ctx context.Context, lineageId string) ([]BaseExport, error)

func (*Workspace) Files

func (c *Workspace) Files(ctx context.Context, id, path string) ([]BaseFileEntry, error)

func (*Workspace) Fork

func (*Workspace) Import

func (c *Workspace) Import(ctx context.Context, body RequestPostImport) (*ResponseSpawn, error)

func (*Workspace) ImportUpload

func (c *Workspace) ImportUpload(ctx context.Context, p PostImportUploadParams, body io.Reader, size int64) (*ResponseSpawn, error)

ImportUpload sends the archive as the request body and answers the import's Spawn. It runs without the client's timeout, an archive of many GiB takes what it takes, and renews an expired zproxy access first because the body cannot be sent twice.

func (*Workspace) Info

func (c *Workspace) Info(ctx context.Context) (*ResponseWorkspace, error)

func (*Workspace) Integration

func (c *Workspace) Integration(ctx context.Context, name string) (*BaseIntegration, error)

func (*Workspace) Integrations

func (c *Workspace) Integrations(ctx context.Context) ([]BaseIntegration, error)

func (*Workspace) Interrupt

func (c *Workspace) Interrupt(ctx context.Context, id string) error

func (*Workspace) IssueCredential

func (*Workspace) Lineage

func (c *Workspace) Lineage(ctx context.Context, id string) (*BaseLineage, error)

func (*Workspace) Lineages

func (*Workspace) Logout

func (c *Workspace) Logout(ctx context.Context) error

Logout burns the zproxy access token of a proxied client (`POST /service-api/logout`, 204, idempotent). A direct client has nothing to burn.

func (*Workspace) Metrics

func (*Workspace) Operation

func (c *Workspace) Operation(ctx context.Context, id string) (*BaseOperation, error)

func (*Workspace) Operations

func (*Workspace) Park

func (c *Workspace) Park(ctx context.Context, id string, memory bool) (*BaseOperation, error)

Park keeps a memory image unless memory is false, which shuts the guest down for a cold wake.

func (*Workspace) Ping

func (c *Workspace) Ping(ctx context.Context) (*ResponseGetPing, error)

func (*Workspace) Processes

func (c *Workspace) Processes(ctx context.Context, id string) ([]BaseProcessEntry, error)

Processes lists the guest's processes, kernel threads left out. A sandbox that is not running answers none, nothing is woken.

func (*Workspace) Proxied

func (c *Workspace) Proxied() bool

Proxied says whether the client reaches the workspace through zproxy, where the bearer is an access token rather than the key. It is read off the base URL, so a client built only to burn a token (Logout) is told apart as well as one with Renew wired.

func (*Workspace) PruneBuildCache

func (c *Workspace) PruneBuildCache(ctx context.Context) error

func (*Workspace) PutPolicy

func (c *Workspace) PutPolicy(ctx context.Context, id string, generation int, policy BaseSandboxPolicy) (*BaseSandbox, error)

func (*Workspace) PutWorkspaceDomains

func (c *Workspace) PutWorkspaceDomains(ctx context.Context, domains []BaseWorkspaceDomain) (*ResponseWorkspace, error)

PutWorkspaceDomains replaces the whole list of host suffixes sandbox ports are published under.

func (*Workspace) PutWorkspacePolicy

func (c *Workspace) PutWorkspacePolicy(ctx context.Context, body RequestPutWorkspacePolicy) (*ResponseWorkspace, error)

func (*Workspace) Quarantine

func (c *Workspace) Quarantine(ctx context.Context) ([]BaseQuarantine, error)

func (*Workspace) ReadArchive

func (c *Workspace) ReadArchive(ctx context.Context, id, path string) (io.ReadCloser, error)

func (*Workspace) ReadFile

func (c *Workspace) ReadFile(ctx context.Context, id, path string) (io.ReadCloser, error)

func (*Workspace) Restore

func (*Workspace) RevokeCredential

func (c *Workspace) RevokeCredential(ctx context.Context, id string) error

func (*Workspace) RevokeToken

func (c *Workspace) RevokeToken(ctx context.Context, id string) error

func (*Workspace) Sandbox

func (c *Workspace) Sandbox(ctx context.Context, id string) (*BaseSandbox, error)

func (*Workspace) SandboxEvents

func (c *Workspace) SandboxEvents(ctx context.Context, id string, p GetSandboxEventListParams) ([]BaseEvent, error)

func (*Workspace) Sandboxes

func (c *Workspace) Sandboxes(ctx context.Context, p GetSandboxListParams) ([]BaseSandbox, error)

func (*Workspace) Session

func (c *Workspace) Session(ctx context.Context, id string) (*BaseGuestSession, error)

func (*Workspace) SessionOutput

func (c *Workspace) SessionOutput(ctx context.Context, id string) (io.ReadCloser, error)

func (*Workspace) Sessions

func (*Workspace) SetConnectorCredential

func (c *Workspace) SetConnectorCredential(ctx context.Context, name string, body RequestPutConnectorCredential) (*BaseConnector, error)

func (*Workspace) Shell

func (c *Workspace) Shell(ctx context.Context, id string, cols, rows int, sessionId, ticket string) (*websocket.Conn, error)

Shell opens the PTY of a sandbox. Binary frames carry terminal bytes both ways, a text frame {"resize":{"cols":N,"rows":N}} resizes the pty.

func (*Workspace) Snapshot

func (c *Workspace) Snapshot(ctx context.Context, id string) (*BaseSnapshot, error)

func (*Workspace) Snapshots

func (c *Workspace) Snapshots(ctx context.Context, sandboxId string) ([]BaseSnapshot, error)

func (*Workspace) Ssh

func (*Workspace) SshConnect

func (c *Workspace) SshConnect(ctx context.Context, id string) (*websocket.Conn, error)

SshConnect opens the SSH stream of a sandbox: binary frames carry the SSH wire protocol both ways, the agent's server is on the other end.

func (*Workspace) StartProcess

func (c *Workspace) StartProcess(ctx context.Context, id string, body RequestPostExec) (*BaseGuestSession, error)

func (*Workspace) StreamEvents

func (c *Workspace) StreamEvents(ctx context.Context, afterId *int64, sandboxId string, fn func(BaseEvent) error) error

StreamEvents follows the event stream from the cursor on, one JSON text frame per event, until the callback errors or the context ends.

func (*Workspace) TakeSnapshot

func (c *Workspace) TakeSnapshot(ctx context.Context, sandboxId string, body RequestPostSandboxSnapshot) (*BaseOperation, error)

func (*Workspace) Template

func (c *Workspace) Template(ctx context.Context, digest string) (*BaseTemplate, error)

func (*Workspace) Templates

func (c *Workspace) Templates(ctx context.Context) ([]BaseTemplate, error)

func (*Workspace) Tokens

func (c *Workspace) Tokens(ctx context.Context, includeRevoked bool) ([]BaseToken, error)

func (*Workspace) UpdateBase

func (c *Workspace) UpdateBase(ctx context.Context, digest string, body RequestPutBase) (*BaseBase, error)

func (*Workspace) UpdateIntegration

func (c *Workspace) UpdateIntegration(ctx context.Context, name string, body RequestPutIntegration) (*BaseIntegration, error)

func (*Workspace) UpdateLineage

func (c *Workspace) UpdateLineage(ctx context.Context, id string, exportEnabled bool) (*BaseLineage, error)

func (*Workspace) UpdateSandbox

func (c *Workspace) UpdateSandbox(ctx context.Context, id string, body RequestPutSandbox) (*BaseSandbox, error)

func (*Workspace) UpdateTemplate

func (c *Workspace) UpdateTemplate(ctx context.Context, digest string, body RequestPutTemplate) (*BaseTemplate, error)

func (*Workspace) UpdateWebhook

func (c *Workspace) UpdateWebhook(ctx context.Context, id string, body RequestPutWebhook) (*BaseWebhookEndpoint, error)

func (*Workspace) WaitOperation

func (c *Workspace) WaitOperation(ctx context.Context, id string) (*BaseOperation, error)

WaitOperation long-polls until the operation ends, and turns FAILED into an error so `--wait` commands exit non-zero.

func (*Workspace) Wake

func (*Workspace) Webhook

func (c *Workspace) Webhook(ctx context.Context, id string) (*BaseWebhookEndpoint, error)

func (*Workspace) WebhookDeliveries

func (*Workspace) Webhooks

func (c *Workspace) Webhooks(ctx context.Context) ([]BaseWebhookEndpoint, error)

func (*Workspace) WriteFile

func (c *Workspace) WriteFile(ctx context.Context, id, path, mode string, body io.Reader) error

Jump to

Keyboard shortcuts

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