apiclient

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 12 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 apiclient provides primitives to interact with the openapi HTTP API.

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteSandboxesSandboxIDRequest

func NewDeleteSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)

NewDeleteSandboxesSandboxIDRequest constructs an http.Request for the DeleteSandboxesSandboxID method

func NewDeleteSecretsSecretIDRequest added in v0.1.4

func NewDeleteSecretsSecretIDRequest(server string, secretID SecretID) (*http.Request, error)

NewDeleteSecretsSecretIDRequest constructs an http.Request for the DeleteSecretsSecretID method

func NewDeleteTemplatesTagsRequest

func NewDeleteTemplatesTagsRequest(server string, body DeleteTemplatesTagsJSONRequestBody) (*http.Request, error)

NewDeleteTemplatesTagsRequest calls the generic DeleteTemplatesTags builder with application/json body

func NewDeleteTemplatesTagsRequestWithBody

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

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

func NewDeleteTemplatesTemplateIDRequest

func NewDeleteTemplatesTemplateIDRequest(server string, templateID TemplateID) (*http.Request, error)

NewDeleteTemplatesTemplateIDRequest constructs an http.Request for the DeleteTemplatesTemplateID method

func NewDeleteVolumesVolumeIDRequest

func NewDeleteVolumesVolumeIDRequest(server string, volumeID VolumeID) (*http.Request, error)

NewDeleteVolumesVolumeIDRequest constructs an http.Request for the DeleteVolumesVolumeID method

func NewGetDefaultTemplatesRequest added in v0.1.4

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

NewGetDefaultTemplatesRequest constructs an http.Request for the GetDefaultTemplates method

func NewGetHealthRequest

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

NewGetHealthRequest constructs an http.Request for the GetHealth method

func NewGetSandboxesMetricsRequest

func NewGetSandboxesMetricsRequest(server string, params *GetSandboxesMetricsParams) (*http.Request, error)

NewGetSandboxesMetricsRequest constructs an http.Request for the GetSandboxesMetrics method

func NewGetSandboxesRequest

func NewGetSandboxesRequest(server string, params *GetSandboxesParams) (*http.Request, error)

NewGetSandboxesRequest constructs an http.Request for the GetSandboxes method

func NewGetSandboxesSandboxIDLogsRequest

func NewGetSandboxesSandboxIDLogsRequest(server string, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams) (*http.Request, error)

NewGetSandboxesSandboxIDLogsRequest constructs an http.Request for the GetSandboxesSandboxIDLogs method

func NewGetSandboxesSandboxIDMetricsRequest

func NewGetSandboxesSandboxIDMetricsRequest(server string, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams) (*http.Request, error)

NewGetSandboxesSandboxIDMetricsRequest constructs an http.Request for the GetSandboxesSandboxIDMetrics method

func NewGetSandboxesSandboxIDRequest

func NewGetSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)

NewGetSandboxesSandboxIDRequest constructs an http.Request for the GetSandboxesSandboxID method

func NewGetSecretsRequest added in v0.1.4

func NewGetSecretsRequest(server string, params *GetSecretsParams) (*http.Request, error)

NewGetSecretsRequest constructs an http.Request for the GetSecrets method

func NewGetSecretsSecretIDRequest added in v0.1.4

func NewGetSecretsSecretIDRequest(server string, secretID SecretID) (*http.Request, error)

NewGetSecretsSecretIDRequest constructs an http.Request for the GetSecretsSecretID method

func NewGetSnapshotsRequest

func NewGetSnapshotsRequest(server string, params *GetSnapshotsParams) (*http.Request, error)

NewGetSnapshotsRequest constructs an http.Request for the GetSnapshots method

func NewGetTemplatesAliasesAliasRequest

func NewGetTemplatesAliasesAliasRequest(server string, alias string) (*http.Request, error)

NewGetTemplatesAliasesAliasRequest constructs an http.Request for the GetTemplatesAliasesAlias method

func NewGetTemplatesRequest

func NewGetTemplatesRequest(server string, params *GetTemplatesParams) (*http.Request, error)

NewGetTemplatesRequest constructs an http.Request for the GetTemplates method

func NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest

func NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest(server string, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams) (*http.Request, error)

NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest constructs an http.Request for the GetTemplatesTemplateIDBuildsBuildIDLogs method

func NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest

func NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest(server string, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams) (*http.Request, error)

NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest constructs an http.Request for the GetTemplatesTemplateIDBuildsBuildIDStatus method

func NewGetTemplatesTemplateIDFilesHashRequest

func NewGetTemplatesTemplateIDFilesHashRequest(server string, templateID TemplateID, hash string) (*http.Request, error)

NewGetTemplatesTemplateIDFilesHashRequest constructs an http.Request for the GetTemplatesTemplateIDFilesHash method

func NewGetTemplatesTemplateIDRequest

func NewGetTemplatesTemplateIDRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDParams) (*http.Request, error)

NewGetTemplatesTemplateIDRequest constructs an http.Request for the GetTemplatesTemplateID method

func NewGetTemplatesTemplateIDTagsCountRequest added in v0.1.4

func NewGetTemplatesTemplateIDTagsCountRequest(server string, templateID TemplateID) (*http.Request, error)

NewGetTemplatesTemplateIDTagsCountRequest constructs an http.Request for the GetTemplatesTemplateIDTagsCount method

func NewGetTemplatesTemplateIDTagsExistsRequest added in v0.1.4

func NewGetTemplatesTemplateIDTagsExistsRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams) (*http.Request, error)

NewGetTemplatesTemplateIDTagsExistsRequest constructs an http.Request for the GetTemplatesTemplateIDTagsExists method

func NewGetTemplatesTemplateIDTagsGroupsRequest added in v0.1.4

func NewGetTemplatesTemplateIDTagsGroupsRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams) (*http.Request, error)

NewGetTemplatesTemplateIDTagsGroupsRequest constructs an http.Request for the GetTemplatesTemplateIDTagsGroups method

func NewGetTemplatesTemplateIDTagsRequest

func NewGetTemplatesTemplateIDTagsRequest(server string, templateID TemplateID) (*http.Request, error)

NewGetTemplatesTemplateIDTagsRequest constructs an http.Request for the GetTemplatesTemplateIDTags method

func NewGetTemplatesTemplateIDTagsTagAssignmentsRequest added in v0.1.4

func NewGetTemplatesTemplateIDTagsTagAssignmentsRequest(server string, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams) (*http.Request, error)

NewGetTemplatesTemplateIDTagsTagAssignmentsRequest constructs an http.Request for the GetTemplatesTemplateIDTagsTagAssignments method

func NewGetUnstableSandboxesSandboxIDRecordRequest added in v0.1.4

func NewGetUnstableSandboxesSandboxIDRecordRequest(server string, sandboxID SandboxID) (*http.Request, error)

NewGetUnstableSandboxesSandboxIDRecordRequest constructs an http.Request for the GetUnstableSandboxesSandboxIDRecord method

func NewGetV2SandboxesRequest

func NewGetV2SandboxesRequest(server string, params *GetV2SandboxesParams) (*http.Request, error)

NewGetV2SandboxesRequest constructs an http.Request for the GetV2Sandboxes method

func NewGetV2SandboxesSandboxIDLogsRequest

func NewGetV2SandboxesSandboxIDLogsRequest(server string, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams) (*http.Request, error)

NewGetV2SandboxesSandboxIDLogsRequest constructs an http.Request for the GetV2SandboxesSandboxIDLogs method

func NewGetV2TemplatesRequest added in v0.1.4

func NewGetV2TemplatesRequest(server string, params *GetV2TemplatesParams) (*http.Request, error)

NewGetV2TemplatesRequest constructs an http.Request for the GetV2Templates method

func NewGetVolumesRequest

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

NewGetVolumesRequest constructs an http.Request for the GetVolumes method

func NewGetVolumesVolumeIDRequest

func NewGetVolumesVolumeIDRequest(server string, volumeID VolumeID) (*http.Request, error)

NewGetVolumesVolumeIDRequest constructs an http.Request for the GetVolumesVolumeID method

func NewPatchTemplatesTemplateIDRequest

func NewPatchTemplatesTemplateIDRequest(server string, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody) (*http.Request, error)

NewPatchTemplatesTemplateIDRequest calls the generic PatchTemplatesTemplateID builder with application/json body

func NewPatchTemplatesTemplateIDRequestWithBody

func NewPatchTemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPatchV2TemplatesTemplateIDRequest

func NewPatchV2TemplatesTemplateIDRequest(server string, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody) (*http.Request, error)

NewPatchV2TemplatesTemplateIDRequest calls the generic PatchV2TemplatesTemplateID builder with application/json body

func NewPatchV2TemplatesTemplateIDRequestWithBody

func NewPatchV2TemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostSandboxesRequest

func NewPostSandboxesRequest(server string, body PostSandboxesJSONRequestBody) (*http.Request, error)

NewPostSandboxesRequest calls the generic PostSandboxes builder with application/json body

func NewPostSandboxesRequestWithBody

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

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

func NewPostSandboxesSandboxIDConnectRequest

func NewPostSandboxesSandboxIDConnectRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDConnectRequest calls the generic PostSandboxesSandboxIDConnect builder with application/json body

func NewPostSandboxesSandboxIDConnectRequestWithBody

func NewPostSandboxesSandboxIDConnectRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostSandboxesSandboxIDForkRequest added in v0.1.4

func NewPostSandboxesSandboxIDForkRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDForkRequest calls the generic PostSandboxesSandboxIDFork builder with application/json body

func NewPostSandboxesSandboxIDForkRequestWithBody added in v0.1.4

func NewPostSandboxesSandboxIDForkRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostSandboxesSandboxIDPauseRequest

func NewPostSandboxesSandboxIDPauseRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDPauseRequest calls the generic PostSandboxesSandboxIDPause builder with application/json body

func NewPostSandboxesSandboxIDPauseRequestWithBody added in v0.1.4

func NewPostSandboxesSandboxIDPauseRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostSandboxesSandboxIDRefreshesRequest

func NewPostSandboxesSandboxIDRefreshesRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDRefreshesRequest calls the generic PostSandboxesSandboxIDRefreshes builder with application/json body

func NewPostSandboxesSandboxIDRefreshesRequestWithBody

func NewPostSandboxesSandboxIDRefreshesRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostSandboxesSandboxIDResumeRequest

func NewPostSandboxesSandboxIDResumeRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDResumeRequest calls the generic PostSandboxesSandboxIDResume builder with application/json body

func NewPostSandboxesSandboxIDResumeRequestWithBody

func NewPostSandboxesSandboxIDResumeRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostSandboxesSandboxIDSnapshotsRequest

func NewPostSandboxesSandboxIDSnapshotsRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDSnapshotsRequest calls the generic PostSandboxesSandboxIDSnapshots builder with application/json body

func NewPostSandboxesSandboxIDSnapshotsRequestWithBody

func NewPostSandboxesSandboxIDSnapshotsRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostSandboxesSandboxIDTimeoutRequest

func NewPostSandboxesSandboxIDTimeoutRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDTimeoutRequest calls the generic PostSandboxesSandboxIDTimeout builder with application/json body

func NewPostSandboxesSandboxIDTimeoutRequestWithBody

func NewPostSandboxesSandboxIDTimeoutRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostSecretsRequest added in v0.1.4

func NewPostSecretsRequest(server string, body PostSecretsJSONRequestBody) (*http.Request, error)

NewPostSecretsRequest calls the generic PostSecrets builder with application/json body

func NewPostSecretsRequestWithBody added in v0.1.4

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

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

func NewPostSecretsSecretIDRequest added in v0.1.4

func NewPostSecretsSecretIDRequest(server string, secretID SecretID, body PostSecretsSecretIDJSONRequestBody) (*http.Request, error)

NewPostSecretsSecretIDRequest calls the generic PostSecretsSecretID builder with application/json body

func NewPostSecretsSecretIDRequestWithBody added in v0.1.4

func NewPostSecretsSecretIDRequestWithBody(server string, secretID SecretID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostTemplatesTagsRequest

func NewPostTemplatesTagsRequest(server string, body PostTemplatesTagsJSONRequestBody) (*http.Request, error)

NewPostTemplatesTagsRequest calls the generic PostTemplatesTags builder with application/json body

func NewPostTemplatesTagsRequestWithBody

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

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

func NewPostV2SandboxesRequest added in v0.1.4

func NewPostV2SandboxesRequest(server string, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody) (*http.Request, error)

NewPostV2SandboxesRequest calls the generic PostV2Sandboxes builder with application/json body

func NewPostV2SandboxesRequestWithBody added in v0.1.4

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

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

func NewPostV2SandboxesSandboxIDConnectRequest added in v0.1.4

func NewPostV2SandboxesSandboxIDConnectRequest(server string, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody) (*http.Request, error)

NewPostV2SandboxesSandboxIDConnectRequest calls the generic PostV2SandboxesSandboxIDConnect builder with application/json body

func NewPostV2SandboxesSandboxIDConnectRequestWithBody added in v0.1.4

func NewPostV2SandboxesSandboxIDConnectRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest

func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest(server string, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody) (*http.Request, error)

NewPostV2TemplatesTemplateIDBuildsBuildIDRequest calls the generic PostV2TemplatesTemplateIDBuildsBuildID builder with application/json body

func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody

func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody(server string, templateID TemplateID, buildID BuildID, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostV3TemplatesRequest

func NewPostV3TemplatesRequest(server string, body PostV3TemplatesJSONRequestBody) (*http.Request, error)

NewPostV3TemplatesRequest calls the generic PostV3Templates builder with application/json body

func NewPostV3TemplatesRequestWithBody

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

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

func NewPostVolumesRequest

func NewPostVolumesRequest(server string, body PostVolumesJSONRequestBody) (*http.Request, error)

NewPostVolumesRequest calls the generic PostVolumes builder with application/json body

func NewPostVolumesRequestWithBody

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

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

func NewPutSandboxesSandboxIDNetworkRequest added in v0.1.4

func NewPutSandboxesSandboxIDNetworkRequest(server string, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody) (*http.Request, error)

NewPutSandboxesSandboxIDNetworkRequest calls the generic PutSandboxesSandboxIDNetwork builder with application/json body

func NewPutSandboxesSandboxIDNetworkRequestWithBody added in v0.1.4

func NewPutSandboxesSandboxIDNetworkRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

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

Types

type AWSRegistry

type AWSRegistry struct {
	// AwsAccessKeyId AWS Access Key ID for ECR authentication
	AwsAccessKeyId string `json:"awsAccessKeyId"`

	// AwsRegion AWS Region where the ECR registry is located
	AwsRegion string `json:"awsRegion"`

	// AwsSecretAccessKey AWS Secret Access Key for ECR authentication
	AwsSecretAccessKey string `json:"awsSecretAccessKey"`

	// Type Type of registry authentication
	Type AWSRegistryType `json:"type"`
}

AWSRegistry defines model for AWSRegistry.

type AWSRegistryType

type AWSRegistryType string

AWSRegistryType Type of registry authentication

const (
	Aws AWSRegistryType = "aws"
)

Defines values for AWSRegistryType.

func (AWSRegistryType) Valid

func (e AWSRegistryType) Valid() bool

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

type AssignTemplateTagsRequest

type AssignTemplateTagsRequest struct {
	// Tags Tags to assign to the template
	Tags []string `json:"tags"`

	// Target Target template in "name:tag" format
	Target string `json:"target"`
}

AssignTemplateTagsRequest defines model for AssignTemplateTagsRequest.

type AssignedTemplateTags

type AssignedTemplateTags struct {
	// BuildID Identifier of the build associated with these tags
	BuildID openapi_types.UUID `json:"buildID"`

	// Tags Assigned tags of the template
	Tags []string `json:"tags"`
}

AssignedTemplateTags defines model for AssignedTemplateTags.

type BuildID

type BuildID = string

BuildID defines model for buildID.

type BuildLogEntry

type BuildLogEntry struct {
	// Level State of the sandbox
	Level LogLevel `json:"level"`

	// Message Log message content
	Message string `json:"message"`

	// Step Step in the build process related to the log entry
	Step *string `json:"step,omitempty"`

	// Timestamp Timestamp of the log entry
	Timestamp time.Time `json:"timestamp"`
}

BuildLogEntry defines model for BuildLogEntry.

type BuildStatusReason

type BuildStatusReason struct {
	// LogEntries Log entries related to the status reason
	LogEntries *[]BuildLogEntry `json:"logEntries,omitempty"`

	// Message Message with the status reason, currently reporting only for error status
	Message string `json:"message"`

	// Step Step that failed
	Step *string `json:"step,omitempty"`
}

BuildStatusReason defines model for BuildStatusReason.

type CPUCount

type CPUCount = int32

CPUCount CPU cores for the sandbox

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

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

DeleteSandboxesSandboxID Kill sandbox

Kill a sandbox.

Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).

func (*Client) DeleteSecretsSecretID added in v0.1.4

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

DeleteSecretsSecretID Delete a secret

Revoke the secret and schedule its versions for cleanup.

Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).

func (*Client) DeleteTemplatesTags

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

DeleteTemplatesTags Delete template tags

Delete multiple tags from templates.

Takes a body of the `application/json` content type.

Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).

func (*Client) DeleteTemplatesTagsWithBody

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

DeleteTemplatesTagsWithBody Delete template tags

Delete multiple tags from templates.

Takes any type of body and a specified content type.

Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).

func (*Client) DeleteTemplatesTemplateID

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

DeleteTemplatesTemplateID Delete template

Delete a template.

Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).

func (*Client) DeleteVolumesVolumeID

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

DeleteVolumesVolumeID Delete team volume

Delete a team volume.

Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).

func (*Client) GetDefaultTemplates added in v0.1.4

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

GetDefaultTemplates List default templates

Lists the platform's default templates, ordered by template ID. Deleted templates are left out. Templates that are not public are listed only to their own team and to admin callers. The build, resources and envd version are those of the newest ready build tagged `default`, the one a sandbox started from the template runs, and are zero or empty when there is none; `buildStatus` describes the newest build tagged `default` in any state. Usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`) are reported only for the caller's own templates and to admin callers.

Corresponds with GET /default-templates (the `GetDefaultTemplates` operationId).

func (*Client) GetHealth

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

GetHealth Health check

Corresponds with GET /health (the `GetHealth` operationId).

func (*Client) GetSandboxes

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

GetSandboxes List running sandboxes

List all running sandboxes. Returns 400 when more than 5000 running sandboxes match; use GET /v2/sandboxes to page through them.

Corresponds with GET /sandboxes (the `GetSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) GetSandboxesMetrics

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

GetSandboxesMetrics List sandbox metrics

List metrics for given sandboxes.

Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).

func (*Client) GetSandboxesSandboxID

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

GetSandboxesSandboxID Sandbox

Get a sandbox by id.

Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).

func (*Client) GetSandboxesSandboxIDLogs

func (c *Client) GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxesSandboxIDLogs Sandbox logs

Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.

Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) GetSandboxesSandboxIDMetrics

func (c *Client) GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxesSandboxIDMetrics Sandbox metrics

Get sandbox metrics.

Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).

func (*Client) GetSecrets added in v0.1.4

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

GetSecrets List project secrets

List the project's secrets. No response carries a secret value.

Corresponds with GET /secrets (the `GetSecrets` operationId).

func (*Client) GetSecretsSecretID added in v0.1.4

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

GetSecretsSecretID Get a secret

Get one secret's metadata, selected by identifier or name.

Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).

func (*Client) GetSnapshots

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

GetSnapshots List snapshots

List all snapshots for the team.

Corresponds with GET /snapshots (the `GetSnapshots` operationId).

func (*Client) GetTemplates

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

GetTemplates List templates

List all templates. Returns 400 when the team has more than 5000 templates; use /v2/templates to page through them.

Corresponds with GET /templates (the `GetTemplates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) GetTemplatesAliasesAlias

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

GetTemplatesAliasesAlias Check template alias

Check if template with given alias exists.

Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).

func (*Client) GetTemplatesTemplateID

func (c *Client) GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateID List template builds

List all builds for a template.

Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).

func (*Client) GetTemplatesTemplateIDBuildsBuildIDLogs

func (c *Client) GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDBuildsBuildIDLogs Template build logs

Get template build logs.

Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).

func (*Client) GetTemplatesTemplateIDBuildsBuildIDStatus

func (c *Client) GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDBuildsBuildIDStatus Template build status

Get template build info.

Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).

func (*Client) GetTemplatesTemplateIDFilesHash

func (c *Client) GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDFilesHash Template build file upload URL

Get an upload link for a tar file containing build layer files.

Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).

func (*Client) GetTemplatesTemplateIDTags

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

GetTemplatesTemplateIDTags List template tags

List all tags for a template.

Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).

func (*Client) GetTemplatesTemplateIDTagsCount added in v0.1.4

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

GetTemplatesTemplateIDTagsCount Count template tags

Returns the number of distinct tags of the template that have at least one ready build. Returns 404 when the template does not exist or belongs to another team.

Corresponds with GET /templates/{templateID}/tags/count (the `GetTemplatesTemplateIDTagsCount` operationId).

func (*Client) GetTemplatesTemplateIDTagsExists added in v0.1.4

func (c *Client) GetTemplatesTemplateIDTagsExists(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDTagsExists Check template tag

Checks whether a tag of the template has at least one ready build. Returns 404 when the template does not exist or belongs to another team.

Corresponds with GET /templates/{templateID}/tags/exists (the `GetTemplatesTemplateIDTagsExists` operationId).

func (*Client) GetTemplatesTemplateIDTagsGroups added in v0.1.4

func (c *Client) GetTemplatesTemplateIDTagsGroups(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDTagsGroups List template tag groups

Lists the template's tags that have at least one ready build, each with its most recent ready assignments, paginated over tags with a keyset cursor. Returns 404 when the template does not exist or belongs to another team.

Corresponds with GET /templates/{templateID}/tags/groups (the `GetTemplatesTemplateIDTagsGroups` operationId).

func (*Client) GetTemplatesTemplateIDTagsTagAssignments added in v0.1.4

func (c *Client) GetTemplatesTemplateIDTagsTagAssignments(ctx context.Context, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDTagsTagAssignments List template tag assignments

Lists the ready assignments of one tag of the template, newest first, with keyset cursor pagination. Returns 404 when the template does not exist or belongs to another team.

Corresponds with GET /templates/{templateID}/tags/{tag}/assignments (the `GetTemplatesTemplateIDTagsTagAssignments` operationId).

func (*Client) GetUnstableSandboxesSandboxIDRecord added in v0.1.4

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

GetUnstableSandboxesSandboxIDRecord Sandbox record

Returns the team's latest recorded run of the sandbox, including runs that have already ended, and whether its monitoring, logs and events data are still retained. Returns 404 when the team has no recorded run of the sandbox.

Corresponds with GET /unstable/sandboxes/{sandboxID}/record (the `GetUnstableSandboxesSandboxIDRecord` operationId).

func (*Client) GetV2Sandboxes

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

GetV2Sandboxes List sandboxes (v2)

List all sandboxes.

Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).

func (*Client) GetV2SandboxesSandboxIDLogs

func (c *Client) GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV2SandboxesSandboxIDLogs Sandbox logs (v2)

Get sandbox logs.

Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).

func (*Client) GetV2Templates added in v0.1.4

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

GetV2Templates List templates (v2)

List all templates.

Corresponds with GET /v2/templates (the `GetV2Templates` operationId).

func (*Client) GetVolumes

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

GetVolumes List team volumes

List all team volumes.

Corresponds with GET /volumes (the `GetVolumes` operationId).

func (*Client) GetVolumesVolumeID

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

GetVolumesVolumeID Team volume

Get team volume info.

Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).

func (*Client) PatchTemplatesTemplateID

func (c *Client) PatchTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchTemplatesTemplateID Update template

Takes a body of the `application/json` content type.

Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PatchTemplatesTemplateIDWithBody

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

PatchTemplatesTemplateIDWithBody Update template

Takes any type of body and a specified content type.

Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PatchV2TemplatesTemplateID

func (c *Client) PatchV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV2TemplatesTemplateID Update template (v2)

Update template.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).

func (*Client) PatchV2TemplatesTemplateIDWithBody

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

PatchV2TemplatesTemplateIDWithBody Update template (v2)

Update template.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).

func (*Client) PostSandboxes

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

PostSandboxes Create sandbox

Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDConnect

func (c *Client) PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDConnect Connect sandbox

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDConnectWithBody

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

PostSandboxesSandboxIDConnectWithBody Connect sandbox

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDFork added in v0.1.4

func (c *Client) PostSandboxesSandboxIDFork(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDFork Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).

func (*Client) PostSandboxesSandboxIDForkWithBody added in v0.1.4

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

PostSandboxesSandboxIDForkWithBody Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).

func (*Client) PostSandboxesSandboxIDPause

func (c *Client) PostSandboxesSandboxIDPause(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDPause Pause sandbox

Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).

func (*Client) PostSandboxesSandboxIDPauseWithBody added in v0.1.4

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

PostSandboxesSandboxIDPauseWithBody Pause sandbox

Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).

func (*Client) PostSandboxesSandboxIDRefreshes

func (c *Client) PostSandboxesSandboxIDRefreshes(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDRefreshes Refresh sandbox

Refresh the sandbox extending its time to live.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).

func (*Client) PostSandboxesSandboxIDRefreshesWithBody

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

PostSandboxesSandboxIDRefreshesWithBody Refresh sandbox

Refresh the sandbox extending its time to live.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).

func (*Client) PostSandboxesSandboxIDResume

func (c *Client) PostSandboxesSandboxIDResume(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDResume Resume sandbox

Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDResumeWithBody

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

PostSandboxesSandboxIDResumeWithBody Resume sandbox

Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDSnapshots

func (c *Client) PostSandboxesSandboxIDSnapshots(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDSnapshots Create snapshot

Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).

func (*Client) PostSandboxesSandboxIDSnapshotsWithBody

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

PostSandboxesSandboxIDSnapshotsWithBody Create snapshot

Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).

func (*Client) PostSandboxesSandboxIDTimeout

func (c *Client) PostSandboxesSandboxIDTimeout(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDTimeout Set sandbox timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).

func (*Client) PostSandboxesSandboxIDTimeoutWithBody

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

PostSandboxesSandboxIDTimeoutWithBody Set sandbox timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).

func (*Client) PostSandboxesWithBody

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

PostSandboxesWithBody Create sandbox

Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSecrets added in v0.1.4

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

PostSecrets Create a secret

Create a secret by storing a runtime marker as its first version. The response carries metadata only.

Takes a body of the `application/json` content type.

Corresponds with POST /secrets (the `PostSecrets` operationId).

func (*Client) PostSecretsSecretID added in v0.1.4

func (c *Client) PostSecretsSecretID(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSecretsSecretID Update a secret

Replace the secret's stored marker by appending a new version. The response carries metadata only.

Takes a body of the `application/json` content type.

Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).

func (*Client) PostSecretsSecretIDWithBody added in v0.1.4

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

PostSecretsSecretIDWithBody Update a secret

Replace the secret's stored marker by appending a new version. The response carries metadata only.

Takes any type of body and a specified content type.

Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).

func (*Client) PostSecretsWithBody added in v0.1.4

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

PostSecretsWithBody Create a secret

Create a secret by storing a runtime marker as its first version. The response carries metadata only.

Takes any type of body and a specified content type.

Corresponds with POST /secrets (the `PostSecrets` operationId).

func (*Client) PostTemplatesTags

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

PostTemplatesTags Assign template tags

Assign tag(s) to a template build.

Takes a body of the `application/json` content type.

Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).

func (*Client) PostTemplatesTagsWithBody

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

PostTemplatesTagsWithBody Assign template tags

Assign tag(s) to a template build.

Takes any type of body and a specified content type.

Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).

func (*Client) PostV2Sandboxes added in v0.1.4

func (c *Client) PostV2Sandboxes(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2Sandboxes Create sandbox (v2)

Create a sandbox from the template. All system communication with the sandbox is secured.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).

func (*Client) PostV2SandboxesSandboxIDConnect added in v0.1.4

func (c *Client) PostV2SandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2SandboxesSandboxIDConnect Connect sandbox (v2)

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).

func (*Client) PostV2SandboxesSandboxIDConnectWithBody added in v0.1.4

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

PostV2SandboxesSandboxIDConnectWithBody Connect sandbox (v2)

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes any type of body and a specified content type.

Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).

func (*Client) PostV2SandboxesWithBody added in v0.1.4

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

PostV2SandboxesWithBody Create sandbox (v2)

Create a sandbox from the template. All system communication with the sandbox is secured.

Takes any type of body and a specified content type.

Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).

func (*Client) PostV2TemplatesTemplateIDBuildsBuildID

func (c *Client) PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2TemplatesTemplateIDBuildsBuildID Start template build (v2)

Start the build.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).

func (*Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody

func (c *Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2TemplatesTemplateIDBuildsBuildIDWithBody Start template build (v2)

Start the build.

Takes any type of body and a specified content type.

Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).

func (*Client) PostV3Templates

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

PostV3Templates Create template (v3)

Create a new template.

Takes a body of the `application/json` content type.

Corresponds with POST /v3/templates (the `PostV3Templates` operationId).

func (*Client) PostV3TemplatesWithBody

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

PostV3TemplatesWithBody Create template (v3)

Create a new template.

Takes any type of body and a specified content type.

Corresponds with POST /v3/templates (the `PostV3Templates` operationId).

func (*Client) PostVolumes

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

PostVolumes Create team volume

Create a new team volume.

Takes a body of the `application/json` content type.

Corresponds with POST /volumes (the `PostVolumes` operationId).

func (*Client) PostVolumesWithBody

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

PostVolumesWithBody Create team volume

Create a new team volume.

Takes any type of body and a specified content type.

Corresponds with POST /volumes (the `PostVolumes` operationId).

func (*Client) PutSandboxesSandboxIDNetwork added in v0.1.4

func (c *Client) PutSandboxesSandboxIDNetwork(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutSandboxesSandboxIDNetwork Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

Takes a body of the `application/json` content type.

Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).

func (*Client) PutSandboxesSandboxIDNetworkWithBody added in v0.1.4

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

PutSandboxesSandboxIDNetworkWithBody Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

Takes any type of body and a specified content type.

Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).

type ClientInterface

type ClientInterface interface {

	// GetDefaultTemplates List default templates
	//
	// Lists the platform's default templates, ordered by template ID. Deleted templates are left out. Templates that are not public are listed only to their own team and to admin callers. The build, resources and envd version are those of the newest ready build tagged `default`, the one a sandbox started from the template runs, and are zero or empty when there is none; `buildStatus` describes the newest build tagged `default` in any state. Usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`) are reported only for the caller's own templates and to admin callers.
	//
	// Corresponds with GET /default-templates (the `GetDefaultTemplates` operationId).
	GetDefaultTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHealth Health check
	//
	// Corresponds with GET /health (the `GetHealth` operationId).
	GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxes List running sandboxes
	//
	// List all running sandboxes. Returns 400 when more than 5000 running sandboxes match; use GET /v2/sandboxes to page through them.
	//
	// Corresponds with GET /sandboxes (the `GetSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetSandboxes(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesWithBody Create sandbox
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxes Create sandbox
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxes(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesMetrics List sandbox metrics
	//
	// List metrics for given sandboxes.
	//
	// Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
	GetSandboxesMetrics(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandboxesSandboxID Kill sandbox
	//
	// Kill a sandbox.
	//
	// Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
	DeleteSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesSandboxID Sandbox
	//
	// Get a sandbox by id.
	//
	// Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
	GetSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDConnectWithBody Connect sandbox
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDConnect Connect sandbox
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDForkWithBody Fork sandbox
	//
	// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
	PostSandboxesSandboxIDForkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDFork Fork sandbox
	//
	// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
	PostSandboxesSandboxIDFork(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesSandboxIDLogs Sandbox logs
	//
	// Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
	//
	// Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesSandboxIDMetrics Sandbox metrics
	//
	// Get sandbox metrics.
	//
	// Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
	GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandboxesSandboxIDNetworkWithBody Update sandbox network
	//
	// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
	PutSandboxesSandboxIDNetworkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandboxesSandboxIDNetwork Update sandbox network
	//
	// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
	PutSandboxesSandboxIDNetwork(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDPauseWithBody Pause sandbox
	//
	// Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
	PostSandboxesSandboxIDPauseWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDPause Pause sandbox
	//
	// Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
	PostSandboxesSandboxIDPause(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDRefreshesWithBody Refresh sandbox
	//
	// Refresh the sandbox extending its time to live.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
	PostSandboxesSandboxIDRefreshesWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDRefreshes Refresh sandbox
	//
	// Refresh the sandbox extending its time to live.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
	PostSandboxesSandboxIDRefreshes(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDResumeWithBody Resume sandbox
	//
	// Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDResumeWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDResume Resume sandbox
	//
	// Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDResume(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDSnapshotsWithBody Create snapshot
	//
	// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
	PostSandboxesSandboxIDSnapshotsWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDSnapshots Create snapshot
	//
	// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
	PostSandboxesSandboxIDSnapshots(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDTimeoutWithBody Set sandbox timeout
	//
	// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
	PostSandboxesSandboxIDTimeoutWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDTimeout Set sandbox timeout
	//
	// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
	PostSandboxesSandboxIDTimeout(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecrets List project secrets
	//
	// List the project's secrets. No response carries a secret value.
	//
	// Corresponds with GET /secrets (the `GetSecrets` operationId).
	GetSecrets(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSecretsWithBody Create a secret
	//
	// Create a secret by storing a runtime marker as its first version. The response carries metadata only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /secrets (the `PostSecrets` operationId).
	PostSecretsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSecrets Create a secret
	//
	// Create a secret by storing a runtime marker as its first version. The response carries metadata only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /secrets (the `PostSecrets` operationId).
	PostSecrets(ctx context.Context, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSecretsSecretID Delete a secret
	//
	// Revoke the secret and schedule its versions for cleanup.
	//
	// Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).
	DeleteSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecretsSecretID Get a secret
	//
	// Get one secret's metadata, selected by identifier or name.
	//
	// Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).
	GetSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSecretsSecretIDWithBody Update a secret
	//
	// Replace the secret's stored marker by appending a new version. The response carries metadata only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
	PostSecretsSecretIDWithBody(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSecretsSecretID Update a secret
	//
	// Replace the secret's stored marker by appending a new version. The response carries metadata only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
	PostSecretsSecretID(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSnapshots List snapshots
	//
	// List all snapshots for the team.
	//
	// Corresponds with GET /snapshots (the `GetSnapshots` operationId).
	GetSnapshots(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplates List templates
	//
	// List all templates. Returns 400 when the team has more than 5000 templates; use /v2/templates to page through them.
	//
	// Corresponds with GET /templates (the `GetTemplates` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetTemplates(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesAliasesAlias Check template alias
	//
	// Check if template with given alias exists.
	//
	// Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
	GetTemplatesAliasesAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTemplatesTagsWithBody Delete template tags
	//
	// Delete multiple tags from templates.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
	DeleteTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTemplatesTags Delete template tags
	//
	// Delete multiple tags from templates.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
	DeleteTemplatesTags(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTemplatesTagsWithBody Assign template tags
	//
	// Assign tag(s) to a template build.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
	PostTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTemplatesTags Assign template tags
	//
	// Assign tag(s) to a template build.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
	PostTemplatesTags(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTemplatesTemplateID Delete template
	//
	// Delete a template.
	//
	// Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
	DeleteTemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateID List template builds
	//
	// List all builds for a template.
	//
	// Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
	GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTemplatesTemplateIDWithBody Update template
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PatchTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTemplatesTemplateID Update template
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PatchTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDBuildsBuildIDLogs Template build logs
	//
	// Get template build logs.
	//
	// Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
	GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDBuildsBuildIDStatus Template build status
	//
	// Get template build info.
	//
	// Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
	GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDFilesHash Template build file upload URL
	//
	// Get an upload link for a tar file containing build layer files.
	//
	// Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
	GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTags List template tags
	//
	// List all tags for a template.
	//
	// Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
	GetTemplatesTemplateIDTags(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTagsCount Count template tags
	//
	// Returns the number of distinct tags of the template that have at least one ready build. Returns 404 when the template does not exist or belongs to another team.
	//
	// Corresponds with GET /templates/{templateID}/tags/count (the `GetTemplatesTemplateIDTagsCount` operationId).
	GetTemplatesTemplateIDTagsCount(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTagsExists Check template tag
	//
	// Checks whether a tag of the template has at least one ready build. Returns 404 when the template does not exist or belongs to another team.
	//
	// Corresponds with GET /templates/{templateID}/tags/exists (the `GetTemplatesTemplateIDTagsExists` operationId).
	GetTemplatesTemplateIDTagsExists(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTagsGroups List template tag groups
	//
	// Lists the template's tags that have at least one ready build, each with its most recent ready assignments, paginated over tags with a keyset cursor. Returns 404 when the template does not exist or belongs to another team.
	//
	// Corresponds with GET /templates/{templateID}/tags/groups (the `GetTemplatesTemplateIDTagsGroups` operationId).
	GetTemplatesTemplateIDTagsGroups(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTagsTagAssignments List template tag assignments
	//
	// Lists the ready assignments of one tag of the template, newest first, with keyset cursor pagination. Returns 404 when the template does not exist or belongs to another team.
	//
	// Corresponds with GET /templates/{templateID}/tags/{tag}/assignments (the `GetTemplatesTemplateIDTagsTagAssignments` operationId).
	GetTemplatesTemplateIDTagsTagAssignments(ctx context.Context, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableSandboxesSandboxIDRecord Sandbox record
	//
	// Returns the team's latest recorded run of the sandbox, including runs that have already ended, and whether its monitoring, logs and events data are still retained. Returns 404 when the team has no recorded run of the sandbox.
	//
	// Corresponds with GET /unstable/sandboxes/{sandboxID}/record (the `GetUnstableSandboxesSandboxIDRecord` operationId).
	GetUnstableSandboxesSandboxIDRecord(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Sandboxes List sandboxes (v2)
	//
	// List all sandboxes.
	//
	// Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
	GetV2Sandboxes(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2SandboxesWithBody Create sandbox (v2)
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
	PostV2SandboxesWithBody(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2Sandboxes Create sandbox (v2)
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
	PostV2Sandboxes(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2SandboxesSandboxIDConnectWithBody Connect sandbox (v2)
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
	PostV2SandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2SandboxesSandboxIDConnect Connect sandbox (v2)
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
	PostV2SandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2SandboxesSandboxIDLogs Sandbox logs (v2)
	//
	// Get sandbox logs.
	//
	// Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
	GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Templates List templates (v2)
	//
	// List all templates.
	//
	// Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
	GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2TemplatesTemplateIDWithBody Update template (v2)
	//
	// Update template.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
	PatchV2TemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2TemplatesTemplateID Update template (v2)
	//
	// Update template.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
	PatchV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2TemplatesTemplateIDBuildsBuildIDWithBody Start template build (v2)
	//
	// Start the build.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
	PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2TemplatesTemplateIDBuildsBuildID Start template build (v2)
	//
	// Start the build.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
	PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV3TemplatesWithBody Create template (v3)
	//
	// Create a new template.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
	PostV3TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV3Templates Create template (v3)
	//
	// Create a new template.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
	PostV3Templates(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVolumes List team volumes
	//
	// List all team volumes.
	//
	// Corresponds with GET /volumes (the `GetVolumes` operationId).
	GetVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVolumesWithBody Create team volume
	//
	// Create a new team volume.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /volumes (the `PostVolumes` operationId).
	PostVolumesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVolumes Create team volume
	//
	// Create a new team volume.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /volumes (the `PostVolumes` operationId).
	PostVolumes(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVolumesVolumeID Delete team volume
	//
	// Delete a team volume.
	//
	// Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
	DeleteVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVolumesVolumeID Team volume
	//
	// Get team volume info.
	//
	// Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
	GetVolumesVolumeID(ctx context.Context, volumeID VolumeID, 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) DeleteSandboxesSandboxIDWithResponse

func (c *ClientWithResponses) DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)

DeleteSandboxesSandboxIDWithResponse Kill sandbox

Kill a sandbox.

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

Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).

func (*ClientWithResponses) DeleteSecretsSecretIDWithResponse added in v0.1.4

func (c *ClientWithResponses) DeleteSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*DeleteSecretsSecretIDResponse, error)

DeleteSecretsSecretIDWithResponse Delete a secret

Revoke the secret and schedule its versions for cleanup.

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

Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).

func (*ClientWithResponses) DeleteTemplatesTagsWithBodyWithResponse

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

DeleteTemplatesTagsWithBodyWithResponse Delete template tags

Delete multiple tags from templates.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).

func (*ClientWithResponses) DeleteTemplatesTagsWithResponse

func (c *ClientWithResponses) DeleteTemplatesTagsWithResponse(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)

DeleteTemplatesTagsWithResponse Delete template tags

Delete multiple tags from templates.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).

func (*ClientWithResponses) DeleteTemplatesTemplateIDWithResponse

func (c *ClientWithResponses) DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)

DeleteTemplatesTemplateIDWithResponse Delete template

Delete a template.

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

Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).

func (*ClientWithResponses) DeleteVolumesVolumeIDWithResponse

func (c *ClientWithResponses) DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)

DeleteVolumesVolumeIDWithResponse Delete team volume

Delete a team volume.

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

Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).

func (*ClientWithResponses) GetDefaultTemplatesWithResponse added in v0.1.4

func (c *ClientWithResponses) GetDefaultTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefaultTemplatesResponse, error)

GetDefaultTemplatesWithResponse List default templates

Lists the platform's default templates, ordered by template ID. Deleted templates are left out. Templates that are not public are listed only to their own team and to admin callers. The build, resources and envd version are those of the newest ready build tagged `default`, the one a sandbox started from the template runs, and are zero or empty when there is none; `buildStatus` describes the newest build tagged `default` in any state. Usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`) are reported only for the caller's own templates and to admin callers.

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

Corresponds with GET /default-templates (the `GetDefaultTemplates` operationId).

func (*ClientWithResponses) GetHealthWithResponse

func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)

GetHealthWithResponse Health check

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

Corresponds with GET /health (the `GetHealth` operationId).

func (*ClientWithResponses) GetSandboxesMetricsWithResponse

func (c *ClientWithResponses) GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesMetricsResponse, error)

GetSandboxesMetricsWithResponse List sandbox metrics

List metrics for given sandboxes.

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

Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).

func (*ClientWithResponses) GetSandboxesSandboxIDLogsWithResponse deprecated

func (c *ClientWithResponses) GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDLogsResponse, error)

GetSandboxesSandboxIDLogsWithResponse Sandbox logs

Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.

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

Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) GetSandboxesSandboxIDMetricsWithResponse

func (c *ClientWithResponses) GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDMetricsResponse, error)

GetSandboxesSandboxIDMetricsWithResponse Sandbox metrics

Get sandbox metrics.

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

Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).

func (*ClientWithResponses) GetSandboxesSandboxIDWithResponse

func (c *ClientWithResponses) GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)

GetSandboxesSandboxIDWithResponse Sandbox

Get a sandbox by id.

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

Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).

func (*ClientWithResponses) GetSandboxesWithResponse deprecated

func (c *ClientWithResponses) GetSandboxesWithResponse(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*GetSandboxesResponse, error)

GetSandboxesWithResponse List running sandboxes

List all running sandboxes. Returns 400 when more than 5000 running sandboxes match; use GET /v2/sandboxes to page through them.

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

Corresponds with GET /sandboxes (the `GetSandboxes` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) GetSecretsSecretIDWithResponse added in v0.1.4

func (c *ClientWithResponses) GetSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*GetSecretsSecretIDResponse, error)

GetSecretsSecretIDWithResponse Get a secret

Get one secret's metadata, selected by identifier or name.

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

Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).

func (*ClientWithResponses) GetSecretsWithResponse added in v0.1.4

func (c *ClientWithResponses) GetSecretsWithResponse(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)

GetSecretsWithResponse List project secrets

List the project's secrets. No response carries a secret value.

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

Corresponds with GET /secrets (the `GetSecrets` operationId).

func (*ClientWithResponses) GetSnapshotsWithResponse

func (c *ClientWithResponses) GetSnapshotsWithResponse(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*GetSnapshotsResponse, error)

GetSnapshotsWithResponse List snapshots

List all snapshots for the team.

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

Corresponds with GET /snapshots (the `GetSnapshots` operationId).

func (*ClientWithResponses) GetTemplatesAliasesAliasWithResponse

func (c *ClientWithResponses) GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)

GetTemplatesAliasesAliasWithResponse Check template alias

Check if template with given alias exists.

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

Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)

GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse Template build logs

Get template build logs.

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

Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)

GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse Template build status

Get template build info.

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

Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDFilesHashWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDFilesHashResponse, error)

GetTemplatesTemplateIDFilesHashWithResponse Template build file upload URL

Get an upload link for a tar file containing build layer files.

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

Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsCountWithResponse added in v0.1.4

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsCountWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsCountResponse, error)

GetTemplatesTemplateIDTagsCountWithResponse Count template tags

Returns the number of distinct tags of the template that have at least one ready build. Returns 404 when the template does not exist or belongs to another team.

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

Corresponds with GET /templates/{templateID}/tags/count (the `GetTemplatesTemplateIDTagsCount` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsExistsWithResponse added in v0.1.4

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsExistsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsExistsResponse, error)

GetTemplatesTemplateIDTagsExistsWithResponse Check template tag

Checks whether a tag of the template has at least one ready build. Returns 404 when the template does not exist or belongs to another team.

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

Corresponds with GET /templates/{templateID}/tags/exists (the `GetTemplatesTemplateIDTagsExists` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsGroupsWithResponse added in v0.1.4

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsGroupsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsGroupsResponse, error)

GetTemplatesTemplateIDTagsGroupsWithResponse List template tag groups

Lists the template's tags that have at least one ready build, each with its most recent ready assignments, paginated over tags with a keyset cursor. Returns 404 when the template does not exist or belongs to another team.

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

Corresponds with GET /templates/{templateID}/tags/groups (the `GetTemplatesTemplateIDTagsGroups` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsTagAssignmentsWithResponse added in v0.1.4

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsTagAssignmentsWithResponse(ctx context.Context, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsTagAssignmentsResponse, error)

GetTemplatesTemplateIDTagsTagAssignmentsWithResponse List template tag assignments

Lists the ready assignments of one tag of the template, newest first, with keyset cursor pagination. Returns 404 when the template does not exist or belongs to another team.

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

Corresponds with GET /templates/{templateID}/tags/{tag}/assignments (the `GetTemplatesTemplateIDTagsTagAssignments` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)

GetTemplatesTemplateIDTagsWithResponse List template tags

List all tags for a template.

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

Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDResponse, error)

GetTemplatesTemplateIDWithResponse List template builds

List all builds for a template.

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

Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).

func (*ClientWithResponses) GetTemplatesWithResponse deprecated

func (c *ClientWithResponses) GetTemplatesWithResponse(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)

GetTemplatesWithResponse List templates

List all templates. Returns 400 when the team has more than 5000 templates; use /v2/templates to page through them.

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

Corresponds with GET /templates (the `GetTemplates` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) GetUnstableSandboxesSandboxIDRecordWithResponse added in v0.1.4

func (c *ClientWithResponses) GetUnstableSandboxesSandboxIDRecordWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetUnstableSandboxesSandboxIDRecordResponse, error)

GetUnstableSandboxesSandboxIDRecordWithResponse Sandbox record

Returns the team's latest recorded run of the sandbox, including runs that have already ended, and whether its monitoring, logs and events data are still retained. Returns 404 when the team has no recorded run of the sandbox.

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

Corresponds with GET /unstable/sandboxes/{sandboxID}/record (the `GetUnstableSandboxesSandboxIDRecord` operationId).

func (*ClientWithResponses) GetV2SandboxesSandboxIDLogsWithResponse

func (c *ClientWithResponses) GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesSandboxIDLogsResponse, error)

GetV2SandboxesSandboxIDLogsWithResponse Sandbox logs (v2)

Get sandbox logs.

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

Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).

func (*ClientWithResponses) GetV2SandboxesWithResponse

func (c *ClientWithResponses) GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesResponse, error)

GetV2SandboxesWithResponse List sandboxes (v2)

List all sandboxes.

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

Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).

func (*ClientWithResponses) GetV2TemplatesWithResponse added in v0.1.4

func (c *ClientWithResponses) GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)

GetV2TemplatesWithResponse List templates (v2)

List all templates.

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

Corresponds with GET /v2/templates (the `GetV2Templates` operationId).

func (*ClientWithResponses) GetVolumesVolumeIDWithResponse

func (c *ClientWithResponses) GetVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*GetVolumesVolumeIDResponse, error)

GetVolumesVolumeIDWithResponse Team volume

Get team volume info.

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

Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).

func (*ClientWithResponses) GetVolumesWithResponse

func (c *ClientWithResponses) GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)

GetVolumesWithResponse List team volumes

List all team volumes.

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

Corresponds with GET /volumes (the `GetVolumes` operationId).

func (*ClientWithResponses) PatchTemplatesTemplateIDWithBodyWithResponse deprecated

func (c *ClientWithResponses) PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

PatchTemplatesTemplateIDWithBodyWithResponse Update template

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PatchTemplatesTemplateIDWithResponse

func (c *ClientWithResponses) PatchTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

PatchTemplatesTemplateIDWithResponse Update template

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PatchV2TemplatesTemplateIDWithBodyWithResponse

func (c *ClientWithResponses) PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

PatchV2TemplatesTemplateIDWithBodyWithResponse Update template (v2)

Update template.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).

func (*ClientWithResponses) PatchV2TemplatesTemplateIDWithResponse

func (c *ClientWithResponses) PatchV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

PatchV2TemplatesTemplateIDWithResponse Update template (v2)

Update template.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse deprecated

func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

PostSandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

PostSandboxesSandboxIDConnectWithResponse Connect sandbox

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesSandboxIDForkWithBodyWithResponse added in v0.1.4

func (c *ClientWithResponses) PostSandboxesSandboxIDForkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)

PostSandboxesSandboxIDForkWithBodyWithResponse Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDForkWithResponse added in v0.1.4

func (c *ClientWithResponses) PostSandboxesSandboxIDForkWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)

PostSandboxesSandboxIDForkWithResponse Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDPauseWithBodyWithResponse added in v0.1.4

func (c *ClientWithResponses) PostSandboxesSandboxIDPauseWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

PostSandboxesSandboxIDPauseWithBodyWithResponse Pause sandbox

Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDPauseWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDPauseWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

PostSandboxesSandboxIDPauseWithResponse Pause sandbox

Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDRefreshesWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDRefreshesWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

PostSandboxesSandboxIDRefreshesWithBodyWithResponse Refresh sandbox

Refresh the sandbox extending its time to live.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDRefreshesWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDRefreshesWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

PostSandboxesSandboxIDRefreshesWithResponse Refresh sandbox

Refresh the sandbox extending its time to live.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDResumeWithBodyWithResponse deprecated

func (c *ClientWithResponses) PostSandboxesSandboxIDResumeWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

PostSandboxesSandboxIDResumeWithBodyWithResponse Resume sandbox

Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesSandboxIDResumeWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDResumeWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

PostSandboxesSandboxIDResumeWithResponse Resume sandbox

Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)

PostSandboxesSandboxIDSnapshotsWithBodyWithResponse Create snapshot

Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)

PostSandboxesSandboxIDSnapshotsWithResponse Create snapshot

Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDTimeoutWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDTimeoutWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

PostSandboxesSandboxIDTimeoutWithBodyWithResponse Set sandbox timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDTimeoutWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDTimeoutWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

PostSandboxesSandboxIDTimeoutWithResponse Set sandbox timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).

func (*ClientWithResponses) PostSandboxesWithBodyWithResponse deprecated

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

PostSandboxesWithBodyWithResponse Create sandbox

Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes (the `PostSandboxes` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesWithResponse

func (c *ClientWithResponses) PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)

PostSandboxesWithResponse Create sandbox

Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSecretsSecretIDWithBodyWithResponse added in v0.1.4

func (c *ClientWithResponses) PostSecretsSecretIDWithBodyWithResponse(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)

PostSecretsSecretIDWithBodyWithResponse Update a secret

Replace the secret's stored marker by appending a new version. The response carries metadata only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).

func (*ClientWithResponses) PostSecretsSecretIDWithResponse added in v0.1.4

func (c *ClientWithResponses) PostSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)

PostSecretsSecretIDWithResponse Update a secret

Replace the secret's stored marker by appending a new version. The response carries metadata only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).

func (*ClientWithResponses) PostSecretsWithBodyWithResponse added in v0.1.4

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

PostSecretsWithBodyWithResponse Create a secret

Create a secret by storing a runtime marker as its first version. The response carries metadata only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /secrets (the `PostSecrets` operationId).

func (*ClientWithResponses) PostSecretsWithResponse added in v0.1.4

func (c *ClientWithResponses) PostSecretsWithResponse(ctx context.Context, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)

PostSecretsWithResponse Create a secret

Create a secret by storing a runtime marker as its first version. The response carries metadata only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /secrets (the `PostSecrets` operationId).

func (*ClientWithResponses) PostTemplatesTagsWithBodyWithResponse

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

PostTemplatesTagsWithBodyWithResponse Assign template tags

Assign tag(s) to a template build.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).

func (*ClientWithResponses) PostTemplatesTagsWithResponse

func (c *ClientWithResponses) PostTemplatesTagsWithResponse(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)

PostTemplatesTagsWithResponse Assign template tags

Assign tag(s) to a template build.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).

func (*ClientWithResponses) PostV2SandboxesSandboxIDConnectWithBodyWithResponse added in v0.1.4

func (c *ClientWithResponses) PostV2SandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)

PostV2SandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox (v2)

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).

func (*ClientWithResponses) PostV2SandboxesSandboxIDConnectWithResponse added in v0.1.4

func (c *ClientWithResponses) PostV2SandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)

PostV2SandboxesSandboxIDConnectWithResponse Connect sandbox (v2)

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).

func (*ClientWithResponses) PostV2SandboxesWithBodyWithResponse added in v0.1.4

func (c *ClientWithResponses) PostV2SandboxesWithBodyWithResponse(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)

PostV2SandboxesWithBodyWithResponse Create sandbox (v2)

Create a sandbox from the template. All system communication with the sandbox is secured.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).

func (*ClientWithResponses) PostV2SandboxesWithResponse added in v0.1.4

func (c *ClientWithResponses) PostV2SandboxesWithResponse(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)

PostV2SandboxesWithResponse Create sandbox (v2)

Create a sandbox from the template. All system communication with the sandbox is secured.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).

func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse

func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse Start template build (v2)

Start the build.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).

func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse

func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

PostV2TemplatesTemplateIDBuildsBuildIDWithResponse Start template build (v2)

Start the build.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).

func (*ClientWithResponses) PostV3TemplatesWithBodyWithResponse

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

PostV3TemplatesWithBodyWithResponse Create template (v3)

Create a new template.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/templates (the `PostV3Templates` operationId).

func (*ClientWithResponses) PostV3TemplatesWithResponse

func (c *ClientWithResponses) PostV3TemplatesWithResponse(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)

PostV3TemplatesWithResponse Create template (v3)

Create a new template.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/templates (the `PostV3Templates` operationId).

func (*ClientWithResponses) PostVolumesWithBodyWithResponse

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

PostVolumesWithBodyWithResponse Create team volume

Create a new team volume.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /volumes (the `PostVolumes` operationId).

func (*ClientWithResponses) PostVolumesWithResponse

func (c *ClientWithResponses) PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)

PostVolumesWithResponse Create team volume

Create a new team volume.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /volumes (the `PostVolumes` operationId).

func (*ClientWithResponses) PutSandboxesSandboxIDNetworkWithBodyWithResponse added in v0.1.4

func (c *ClientWithResponses) PutSandboxesSandboxIDNetworkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)

PutSandboxesSandboxIDNetworkWithBodyWithResponse Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).

func (*ClientWithResponses) PutSandboxesSandboxIDNetworkWithResponse added in v0.1.4

func (c *ClientWithResponses) PutSandboxesSandboxIDNetworkWithResponse(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)

PutSandboxesSandboxIDNetworkWithResponse Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetDefaultTemplatesWithResponse List default templates
	//
	// Lists the platform's default templates, ordered by template ID. Deleted templates are left out. Templates that are not public are listed only to their own team and to admin callers. The build, resources and envd version are those of the newest ready build tagged `default`, the one a sandbox started from the template runs, and are zero or empty when there is none; `buildStatus` describes the newest build tagged `default` in any state. Usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`) are reported only for the caller's own templates and to admin callers.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /default-templates (the `GetDefaultTemplates` operationId).
	GetDefaultTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefaultTemplatesResponse, error)

	// GetHealthWithResponse Health check
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /health (the `GetHealth` operationId).
	GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)

	// GetSandboxesWithResponse List running sandboxes
	//
	// List all running sandboxes. Returns 400 when more than 5000 running sandboxes match; use GET /v2/sandboxes to page through them.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes (the `GetSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetSandboxesWithResponse(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*GetSandboxesResponse, error)

	// PostSandboxesWithBodyWithResponse Create sandbox
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)

	// PostSandboxesWithResponse Create sandbox
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)

	// GetSandboxesMetricsWithResponse List sandbox metrics
	//
	// List metrics for given sandboxes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
	GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesMetricsResponse, error)

	// DeleteSandboxesSandboxIDWithResponse Kill sandbox
	//
	// Kill a sandbox.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
	DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)

	// GetSandboxesSandboxIDWithResponse Sandbox
	//
	// Get a sandbox by id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
	GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)

	// PostSandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

	// PostSandboxesSandboxIDConnectWithResponse Connect sandbox
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

	// PostSandboxesSandboxIDForkWithBodyWithResponse Fork sandbox
	//
	// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
	PostSandboxesSandboxIDForkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)

	// PostSandboxesSandboxIDForkWithResponse Fork sandbox
	//
	// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
	PostSandboxesSandboxIDForkWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)

	// GetSandboxesSandboxIDLogsWithResponse Sandbox logs
	//
	// Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDLogsResponse, error)

	// GetSandboxesSandboxIDMetricsWithResponse Sandbox metrics
	//
	// Get sandbox metrics.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
	GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDMetricsResponse, error)

	// PutSandboxesSandboxIDNetworkWithBodyWithResponse Update sandbox network
	//
	// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
	PutSandboxesSandboxIDNetworkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)

	// PutSandboxesSandboxIDNetworkWithResponse Update sandbox network
	//
	// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
	PutSandboxesSandboxIDNetworkWithResponse(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)

	// PostSandboxesSandboxIDPauseWithBodyWithResponse Pause sandbox
	//
	// Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
	PostSandboxesSandboxIDPauseWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

	// PostSandboxesSandboxIDPauseWithResponse Pause sandbox
	//
	// Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
	PostSandboxesSandboxIDPauseWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

	// PostSandboxesSandboxIDRefreshesWithBodyWithResponse Refresh sandbox
	//
	// Refresh the sandbox extending its time to live.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
	PostSandboxesSandboxIDRefreshesWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

	// PostSandboxesSandboxIDRefreshesWithResponse Refresh sandbox
	//
	// Refresh the sandbox extending its time to live.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
	PostSandboxesSandboxIDRefreshesWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

	// PostSandboxesSandboxIDResumeWithBodyWithResponse Resume sandbox
	//
	// Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDResumeWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

	// PostSandboxesSandboxIDResumeWithResponse Resume sandbox
	//
	// Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDResumeWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

	// PostSandboxesSandboxIDSnapshotsWithBodyWithResponse Create snapshot
	//
	// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
	PostSandboxesSandboxIDSnapshotsWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)

	// PostSandboxesSandboxIDSnapshotsWithResponse Create snapshot
	//
	// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
	PostSandboxesSandboxIDSnapshotsWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)

	// PostSandboxesSandboxIDTimeoutWithBodyWithResponse Set sandbox timeout
	//
	// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
	PostSandboxesSandboxIDTimeoutWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

	// PostSandboxesSandboxIDTimeoutWithResponse Set sandbox timeout
	//
	// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
	PostSandboxesSandboxIDTimeoutWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

	// GetSecretsWithResponse List project secrets
	//
	// List the project's secrets. No response carries a secret value.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /secrets (the `GetSecrets` operationId).
	GetSecretsWithResponse(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)

	// PostSecretsWithBodyWithResponse Create a secret
	//
	// Create a secret by storing a runtime marker as its first version. The response carries metadata only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /secrets (the `PostSecrets` operationId).
	PostSecretsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)

	// PostSecretsWithResponse Create a secret
	//
	// Create a secret by storing a runtime marker as its first version. The response carries metadata only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /secrets (the `PostSecrets` operationId).
	PostSecretsWithResponse(ctx context.Context, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)

	// DeleteSecretsSecretIDWithResponse Delete a secret
	//
	// Revoke the secret and schedule its versions for cleanup.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).
	DeleteSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*DeleteSecretsSecretIDResponse, error)

	// GetSecretsSecretIDWithResponse Get a secret
	//
	// Get one secret's metadata, selected by identifier or name.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).
	GetSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*GetSecretsSecretIDResponse, error)

	// PostSecretsSecretIDWithBodyWithResponse Update a secret
	//
	// Replace the secret's stored marker by appending a new version. The response carries metadata only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
	PostSecretsSecretIDWithBodyWithResponse(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)

	// PostSecretsSecretIDWithResponse Update a secret
	//
	// Replace the secret's stored marker by appending a new version. The response carries metadata only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
	PostSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)

	// GetSnapshotsWithResponse List snapshots
	//
	// List all snapshots for the team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /snapshots (the `GetSnapshots` operationId).
	GetSnapshotsWithResponse(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*GetSnapshotsResponse, error)

	// GetTemplatesWithResponse List templates
	//
	// List all templates. Returns 400 when the team has more than 5000 templates; use /v2/templates to page through them.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates (the `GetTemplates` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetTemplatesWithResponse(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)

	// GetTemplatesAliasesAliasWithResponse Check template alias
	//
	// Check if template with given alias exists.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
	GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)

	// DeleteTemplatesTagsWithBodyWithResponse Delete template tags
	//
	// Delete multiple tags from templates.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
	DeleteTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)

	// DeleteTemplatesTagsWithResponse Delete template tags
	//
	// Delete multiple tags from templates.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
	DeleteTemplatesTagsWithResponse(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)

	// PostTemplatesTagsWithBodyWithResponse Assign template tags
	//
	// Assign tag(s) to a template build.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
	PostTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)

	// PostTemplatesTagsWithResponse Assign template tags
	//
	// Assign tag(s) to a template build.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
	PostTemplatesTagsWithResponse(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)

	// DeleteTemplatesTemplateIDWithResponse Delete template
	//
	// Delete a template.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
	DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)

	// GetTemplatesTemplateIDWithResponse List template builds
	//
	// List all builds for a template.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
	GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDResponse, error)

	// PatchTemplatesTemplateIDWithBodyWithResponse Update template
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

	// PatchTemplatesTemplateIDWithResponse Update template
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PatchTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

	// GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse Template build logs
	//
	// Get template build logs.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
	GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)

	// GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse Template build status
	//
	// Get template build info.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
	GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)

	// GetTemplatesTemplateIDFilesHashWithResponse Template build file upload URL
	//
	// Get an upload link for a tar file containing build layer files.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
	GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDFilesHashResponse, error)

	// GetTemplatesTemplateIDTagsWithResponse List template tags
	//
	// List all tags for a template.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
	GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)

	// GetTemplatesTemplateIDTagsCountWithResponse Count template tags
	//
	// Returns the number of distinct tags of the template that have at least one ready build. Returns 404 when the template does not exist or belongs to another team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags/count (the `GetTemplatesTemplateIDTagsCount` operationId).
	GetTemplatesTemplateIDTagsCountWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsCountResponse, error)

	// GetTemplatesTemplateIDTagsExistsWithResponse Check template tag
	//
	// Checks whether a tag of the template has at least one ready build. Returns 404 when the template does not exist or belongs to another team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags/exists (the `GetTemplatesTemplateIDTagsExists` operationId).
	GetTemplatesTemplateIDTagsExistsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsExistsResponse, error)

	// GetTemplatesTemplateIDTagsGroupsWithResponse List template tag groups
	//
	// Lists the template's tags that have at least one ready build, each with its most recent ready assignments, paginated over tags with a keyset cursor. Returns 404 when the template does not exist or belongs to another team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags/groups (the `GetTemplatesTemplateIDTagsGroups` operationId).
	GetTemplatesTemplateIDTagsGroupsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsGroupsResponse, error)

	// GetTemplatesTemplateIDTagsTagAssignmentsWithResponse List template tag assignments
	//
	// Lists the ready assignments of one tag of the template, newest first, with keyset cursor pagination. Returns 404 when the template does not exist or belongs to another team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags/{tag}/assignments (the `GetTemplatesTemplateIDTagsTagAssignments` operationId).
	GetTemplatesTemplateIDTagsTagAssignmentsWithResponse(ctx context.Context, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsTagAssignmentsResponse, error)

	// GetUnstableSandboxesSandboxIDRecordWithResponse Sandbox record
	//
	// Returns the team's latest recorded run of the sandbox, including runs that have already ended, and whether its monitoring, logs and events data are still retained. Returns 404 when the team has no recorded run of the sandbox.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/sandboxes/{sandboxID}/record (the `GetUnstableSandboxesSandboxIDRecord` operationId).
	GetUnstableSandboxesSandboxIDRecordWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetUnstableSandboxesSandboxIDRecordResponse, error)

	// GetV2SandboxesWithResponse List sandboxes (v2)
	//
	// List all sandboxes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
	GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesResponse, error)

	// PostV2SandboxesWithBodyWithResponse Create sandbox (v2)
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
	PostV2SandboxesWithBodyWithResponse(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)

	// PostV2SandboxesWithResponse Create sandbox (v2)
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
	PostV2SandboxesWithResponse(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)

	// PostV2SandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox (v2)
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
	PostV2SandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)

	// PostV2SandboxesSandboxIDConnectWithResponse Connect sandbox (v2)
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
	PostV2SandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)

	// GetV2SandboxesSandboxIDLogsWithResponse Sandbox logs (v2)
	//
	// Get sandbox logs.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
	GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesSandboxIDLogsResponse, error)

	// GetV2TemplatesWithResponse List templates (v2)
	//
	// List all templates.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
	GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)

	// PatchV2TemplatesTemplateIDWithBodyWithResponse Update template (v2)
	//
	// Update template.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
	PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

	// PatchV2TemplatesTemplateIDWithResponse Update template (v2)
	//
	// Update template.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
	PatchV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

	// PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse Start template build (v2)
	//
	// Start the build.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
	PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

	// PostV2TemplatesTemplateIDBuildsBuildIDWithResponse Start template build (v2)
	//
	// Start the build.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
	PostV2TemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

	// PostV3TemplatesWithBodyWithResponse Create template (v3)
	//
	// Create a new template.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
	PostV3TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)

	// PostV3TemplatesWithResponse Create template (v3)
	//
	// Create a new template.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
	PostV3TemplatesWithResponse(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)

	// GetVolumesWithResponse List team volumes
	//
	// List all team volumes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /volumes (the `GetVolumes` operationId).
	GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)

	// PostVolumesWithBodyWithResponse Create team volume
	//
	// Create a new team volume.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /volumes (the `PostVolumes` operationId).
	PostVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)

	// PostVolumesWithResponse Create team volume
	//
	// Create a new team volume.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /volumes (the `PostVolumes` operationId).
	PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)

	// DeleteVolumesVolumeIDWithResponse Delete team volume
	//
	// Delete a team volume.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
	DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)

	// GetVolumesVolumeIDWithResponse Team volume
	//
	// Get team volume info.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
	GetVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*GetVolumesVolumeIDResponse, error)
}

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

type ConnectSandbox

type ConnectSandbox struct {
	// Memory Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore. A snapshot taken while the sandbox guest agent was not responding (envdUnresponsiveAtPause) can only be resumed this way, and needs no enablement.
	Memory *bool `json:"memory,omitempty"`

	// Timeout Timeout in seconds from the current time after which the sandbox should expire
	Timeout int32 `json:"timeout"`
}

ConnectSandbox defines model for ConnectSandbox.

type ConnectSandboxV2 added in v0.1.4

type ConnectSandboxV2 struct {
	// Memory Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore. A snapshot taken while the sandbox guest agent was not responding (envdUnresponsiveAtPause) can only be resumed this way, and needs no enablement.
	Memory *bool `json:"memory,omitempty"`

	// Timeout Timeout in seconds from the current time after which the sandbox should expire
	Timeout *int32 `json:"timeout,omitempty"`
}

ConnectSandboxV2 defines model for ConnectSandboxV2.

type DeleteSandboxesSandboxIDResponse

type DeleteSandboxesSandboxIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteSandboxesSandboxIDResponse429Headers
}

func ParseDeleteSandboxesSandboxIDResponse

func ParseDeleteSandboxesSandboxIDResponse(rsp *http.Response) (*DeleteSandboxesSandboxIDResponse, error)

ParseDeleteSandboxesSandboxIDResponse parses an HTTP response from a DeleteSandboxesSandboxIDWithResponse call

func (DeleteSandboxesSandboxIDResponse) ContentType added in v0.1.4

func (r DeleteSandboxesSandboxIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSandboxesSandboxIDResponse) GetBody added in v0.1.4

func (r DeleteSandboxesSandboxIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSandboxesSandboxIDResponse) GetJSON401 added in v0.1.4

func (r DeleteSandboxesSandboxIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSandboxesSandboxIDResponse) GetJSON404 added in v0.1.4

func (r DeleteSandboxesSandboxIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSandboxesSandboxIDResponse) GetJSON409 added in v0.1.4

func (r DeleteSandboxesSandboxIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteSandboxesSandboxIDResponse) GetJSON429 added in v0.1.4

func (r DeleteSandboxesSandboxIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteSandboxesSandboxIDResponse) GetJSON500 added in v0.1.4

func (r DeleteSandboxesSandboxIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteSandboxesSandboxIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteSandboxesSandboxIDResponse) StatusCode

func (r DeleteSandboxesSandboxIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxesSandboxIDResponse429Headers added in v0.1.4

type DeleteSandboxesSandboxIDResponse429Headers struct {
	RetryAfter *int
}

DeleteSandboxesSandboxIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteSandboxesSandboxID

type DeleteSecretsSecretIDResponse added in v0.1.4

type DeleteSecretsSecretIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteSecretsSecretIDResponse429Headers
}

func ParseDeleteSecretsSecretIDResponse added in v0.1.4

func ParseDeleteSecretsSecretIDResponse(rsp *http.Response) (*DeleteSecretsSecretIDResponse, error)

ParseDeleteSecretsSecretIDResponse parses an HTTP response from a DeleteSecretsSecretIDWithResponse call

func (DeleteSecretsSecretIDResponse) ContentType added in v0.1.4

func (r DeleteSecretsSecretIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSecretsSecretIDResponse) GetBody added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSecretsSecretIDResponse) GetJSON400 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON401 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON403 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON404 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON409 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON429 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON500 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON502 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON504 added in v0.1.4

func (r DeleteSecretsSecretIDResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (DeleteSecretsSecretIDResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (DeleteSecretsSecretIDResponse) StatusCode added in v0.1.4

func (r DeleteSecretsSecretIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSecretsSecretIDResponse429Headers added in v0.1.4

type DeleteSecretsSecretIDResponse429Headers struct {
	RetryAfter *int
}

DeleteSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteSecretsSecretID

type DeleteTemplateTagsRequest

type DeleteTemplateTagsRequest struct {
	// Name Name of the template
	Name string `json:"name"`

	// Tags Tags to delete
	Tags []string `json:"tags"`
}

DeleteTemplateTagsRequest defines model for DeleteTemplateTagsRequest.

type DeleteTemplatesTagsJSONRequestBody

type DeleteTemplatesTagsJSONRequestBody = DeleteTemplateTagsRequest

DeleteTemplatesTagsJSONRequestBody defines body for DeleteTemplatesTags for application/json ContentType.

type DeleteTemplatesTagsResponse

type DeleteTemplatesTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteTemplatesTagsResponse429Headers
}

func ParseDeleteTemplatesTagsResponse

func ParseDeleteTemplatesTagsResponse(rsp *http.Response) (*DeleteTemplatesTagsResponse, error)

ParseDeleteTemplatesTagsResponse parses an HTTP response from a DeleteTemplatesTagsWithResponse call

func (DeleteTemplatesTagsResponse) ContentType added in v0.1.4

func (r DeleteTemplatesTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTemplatesTagsResponse) GetBody added in v0.1.4

func (r DeleteTemplatesTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTemplatesTagsResponse) GetJSON400 added in v0.1.4

func (r DeleteTemplatesTagsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteTemplatesTagsResponse) GetJSON401 added in v0.1.4

func (r DeleteTemplatesTagsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteTemplatesTagsResponse) GetJSON404 added in v0.1.4

func (r DeleteTemplatesTagsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteTemplatesTagsResponse) GetJSON429 added in v0.1.4

func (r DeleteTemplatesTagsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteTemplatesTagsResponse) GetJSON500 added in v0.1.4

func (r DeleteTemplatesTagsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteTemplatesTagsResponse) Status

Status returns HTTPResponse.Status

func (DeleteTemplatesTagsResponse) StatusCode

func (r DeleteTemplatesTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplatesTagsResponse429Headers added in v0.1.4

type DeleteTemplatesTagsResponse429Headers struct {
	RetryAfter *int
}

DeleteTemplatesTagsResponse429Headers the declared response headers of an HTTP 429 response for DeleteTemplatesTags

type DeleteTemplatesTemplateIDResponse

type DeleteTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteTemplatesTemplateIDResponse429Headers
}

func ParseDeleteTemplatesTemplateIDResponse

func ParseDeleteTemplatesTemplateIDResponse(rsp *http.Response) (*DeleteTemplatesTemplateIDResponse, error)

ParseDeleteTemplatesTemplateIDResponse parses an HTTP response from a DeleteTemplatesTemplateIDWithResponse call

func (DeleteTemplatesTemplateIDResponse) ContentType added in v0.1.4

func (r DeleteTemplatesTemplateIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTemplatesTemplateIDResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (DeleteTemplatesTemplateIDResponse) GetJSON401 added in v0.1.4

func (r DeleteTemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteTemplatesTemplateIDResponse) GetJSON429 added in v0.1.4

func (r DeleteTemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteTemplatesTemplateIDResponse) GetJSON500 added in v0.1.4

func (r DeleteTemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteTemplatesTemplateIDResponse) StatusCode

func (r DeleteTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplatesTemplateIDResponse429Headers added in v0.1.4

type DeleteTemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

DeleteTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteTemplatesTemplateID

type DeleteVolumesVolumeIDResponse

type DeleteVolumesVolumeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteVolumesVolumeIDResponse429Headers
}

func ParseDeleteVolumesVolumeIDResponse

func ParseDeleteVolumesVolumeIDResponse(rsp *http.Response) (*DeleteVolumesVolumeIDResponse, error)

ParseDeleteVolumesVolumeIDResponse parses an HTTP response from a DeleteVolumesVolumeIDWithResponse call

func (DeleteVolumesVolumeIDResponse) ContentType added in v0.1.4

func (r DeleteVolumesVolumeIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVolumesVolumeIDResponse) GetBody added in v0.1.4

func (r DeleteVolumesVolumeIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteVolumesVolumeIDResponse) GetJSON401 added in v0.1.4

func (r DeleteVolumesVolumeIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteVolumesVolumeIDResponse) GetJSON404 added in v0.1.4

func (r DeleteVolumesVolumeIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteVolumesVolumeIDResponse) GetJSON429 added in v0.1.4

func (r DeleteVolumesVolumeIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteVolumesVolumeIDResponse) GetJSON500 added in v0.1.4

func (r DeleteVolumesVolumeIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteVolumesVolumeIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteVolumesVolumeIDResponse) StatusCode

func (r DeleteVolumesVolumeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVolumesVolumeIDResponse429Headers added in v0.1.4

type DeleteVolumesVolumeIDResponse429Headers struct {
	RetryAfter *int
}

DeleteVolumesVolumeIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteVolumesVolumeID

type DiskSizeMB

type DiskSizeMB = int32

DiskSizeMB Disk size for the sandbox in MiB

type EnvVars

type EnvVars map[string]string

EnvVars defines model for EnvVars.

type EnvdUnresponsiveAtPause added in v0.1.4

type EnvdUnresponsiveAtPause = bool

EnvdUnresponsiveAtPause True when the snapshot a paused sandbox would resume from was taken while the sandbox guest agent was not responding. A plain resume of it is refused with 409 and error_code sandbox_snapshot_guest_agent_unresponsive, because restoring that memory would bring the unresponsive agent back; resume it without memory (`memory: false`), which cold-boots the sandbox from its disk. Omitted for a running sandbox and for a snapshot whose agent answered.

type EnvdVersion

type EnvdVersion = string

EnvdVersion Version of the envd running in the sandbox

type Error

type Error struct {
	// Code Error code
	Code int32 `json:"code"`

	// ErrorCode Machine-readable semantic error code. Not a closed set; initial values: sandbox_capacity_unavailable, sandbox_placement_timeout, sandbox_no_compatible_node, sandbox_create_failed (a node could not create the sandbox this time; retry), sandbox_create_refused (a node refused the sandbox for a reason no retry changes, such as a vcpu count out of bounds in the stored build; a server error, since no request field reaches that check), internal_server_error, secret_limit_reached, idempotency_request_mismatch, idempotency_in_progress, idempotency_outcome_unknown, cluster_registration_invalid, cluster_registration_conflict, cluster_assignment_invalid, cluster_assignment_project_not_found, cluster_assignment_cluster_not_found, cluster_assignment_already_assigned, cluster_assignment_cluster_deleting, sandbox_snapshot_guest_agent_unresponsive (a plain resume of a snapshot taken while the sandbox guest agent was not responding; resume it with memory: false).
	ErrorCode *string `json:"error_code,omitempty"`

	// Message Error
	Message string `json:"message"`
}

Error defines model for Error.

type FromImageRegistry

type FromImageRegistry struct {
	// contains filtered or unexported fields
}

FromImageRegistry defines model for FromImageRegistry.

func (FromImageRegistry) AsAWSRegistry

func (t FromImageRegistry) AsAWSRegistry() (AWSRegistry, error)

AsAWSRegistry returns the union data inside the FromImageRegistry as a AWSRegistry

func (FromImageRegistry) AsGCPRegistry

func (t FromImageRegistry) AsGCPRegistry() (GCPRegistry, error)

AsGCPRegistry returns the union data inside the FromImageRegistry as a GCPRegistry

func (FromImageRegistry) AsGeneralRegistry

func (t FromImageRegistry) AsGeneralRegistry() (GeneralRegistry, error)

AsGeneralRegistry returns the union data inside the FromImageRegistry as a GeneralRegistry

func (FromImageRegistry) Discriminator

func (t FromImageRegistry) Discriminator() (string, error)

func (*FromImageRegistry) FromAWSRegistry

func (t *FromImageRegistry) FromAWSRegistry(v AWSRegistry) error

FromAWSRegistry overwrites any union data inside the FromImageRegistry as the provided AWSRegistry

func (*FromImageRegistry) FromGCPRegistry

func (t *FromImageRegistry) FromGCPRegistry(v GCPRegistry) error

FromGCPRegistry overwrites any union data inside the FromImageRegistry as the provided GCPRegistry

func (*FromImageRegistry) FromGeneralRegistry

func (t *FromImageRegistry) FromGeneralRegistry(v GeneralRegistry) error

FromGeneralRegistry overwrites any union data inside the FromImageRegistry as the provided GeneralRegistry

func (FromImageRegistry) MarshalJSON

func (t FromImageRegistry) MarshalJSON() ([]byte, error)

func (*FromImageRegistry) MergeAWSRegistry

func (t *FromImageRegistry) MergeAWSRegistry(v AWSRegistry) error

MergeAWSRegistry performs a merge with any union data inside the FromImageRegistry, using the provided AWSRegistry

func (*FromImageRegistry) MergeGCPRegistry

func (t *FromImageRegistry) MergeGCPRegistry(v GCPRegistry) error

MergeGCPRegistry performs a merge with any union data inside the FromImageRegistry, using the provided GCPRegistry

func (*FromImageRegistry) MergeGeneralRegistry

func (t *FromImageRegistry) MergeGeneralRegistry(v GeneralRegistry) error

MergeGeneralRegistry performs a merge with any union data inside the FromImageRegistry, using the provided GeneralRegistry

func (*FromImageRegistry) UnmarshalJSON

func (t *FromImageRegistry) UnmarshalJSON(b []byte) error

func (FromImageRegistry) ValueByDiscriminator

func (t FromImageRegistry) ValueByDiscriminator() (interface{}, error)

type GCPRegistry

type GCPRegistry struct {
	// ServiceAccountJson Service Account JSON for GCP authentication
	ServiceAccountJson string `json:"serviceAccountJson"`

	// Type Type of registry authentication
	Type GCPRegistryType `json:"type"`
}

GCPRegistry defines model for GCPRegistry.

type GCPRegistryType

type GCPRegistryType string

GCPRegistryType Type of registry authentication

const (
	Gcp GCPRegistryType = "gcp"
)

Defines values for GCPRegistryType.

func (GCPRegistryType) Valid

func (e GCPRegistryType) Valid() bool

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

type GeneralRegistry

type GeneralRegistry struct {
	// Password Password to use for the registry
	Password string `json:"password"`

	// Type Type of registry authentication
	Type GeneralRegistryType `json:"type"`

	// Username Username to use for the registry
	Username string `json:"username"`
}

GeneralRegistry defines model for GeneralRegistry.

type GeneralRegistryType

type GeneralRegistryType string

GeneralRegistryType Type of registry authentication

const (
	Registry GeneralRegistryType = "registry"
)

Defines values for GeneralRegistryType.

func (GeneralRegistryType) Valid

func (e GeneralRegistryType) Valid() bool

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

type GetDefaultTemplatesResponse added in v0.1.4

type GetDefaultTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Template
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetDefaultTemplatesResponse429Headers
}

func ParseGetDefaultTemplatesResponse added in v0.1.4

func ParseGetDefaultTemplatesResponse(rsp *http.Response) (*GetDefaultTemplatesResponse, error)

ParseGetDefaultTemplatesResponse parses an HTTP response from a GetDefaultTemplatesWithResponse call

func (GetDefaultTemplatesResponse) ContentType added in v0.1.4

func (r GetDefaultTemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDefaultTemplatesResponse) GetBody added in v0.1.4

func (r GetDefaultTemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDefaultTemplatesResponse) GetJSON200 added in v0.1.4

func (r GetDefaultTemplatesResponse) GetJSON200() *[]Template

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDefaultTemplatesResponse) GetJSON401 added in v0.1.4

func (r GetDefaultTemplatesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDefaultTemplatesResponse) GetJSON429 added in v0.1.4

func (r GetDefaultTemplatesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetDefaultTemplatesResponse) GetJSON500 added in v0.1.4

func (r GetDefaultTemplatesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetDefaultTemplatesResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (GetDefaultTemplatesResponse) StatusCode added in v0.1.4

func (r GetDefaultTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDefaultTemplatesResponse429Headers added in v0.1.4

type GetDefaultTemplatesResponse429Headers struct {
	RetryAfter *int
}

GetDefaultTemplatesResponse429Headers the declared response headers of an HTTP 429 response for GetDefaultTemplates

type GetHealthResponse

type GetHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetHealthResponse429Headers
}

func ParseGetHealthResponse

func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)

ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call

func (GetHealthResponse) ContentType added in v0.1.4

func (r GetHealthResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHealthResponse) GetBody added in v0.1.4

func (r GetHealthResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHealthResponse) GetJSON401 added in v0.1.4

func (r GetHealthResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHealthResponse) GetJSON429 added in v0.1.4

func (r GetHealthResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetHealthResponse) Status

func (r GetHealthResponse) Status() string

Status returns HTTPResponse.Status

func (GetHealthResponse) StatusCode

func (r GetHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHealthResponse429Headers added in v0.1.4

type GetHealthResponse429Headers struct {
	RetryAfter *int
}

GetHealthResponse429Headers the declared response headers of an HTTP 429 response for GetHealth

type GetSandboxesMetricsParams

type GetSandboxesMetricsParams struct {
	// SandboxIds Comma-separated list of sandbox IDs to get metrics for
	SandboxIds []string `form:"sandbox_ids" json:"sandbox_ids"`
}

GetSandboxesMetricsParams defines parameters for GetSandboxesMetrics.

type GetSandboxesMetricsResponse

type GetSandboxesMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxesWithMetrics
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesMetricsResponse429Headers
}

func ParseGetSandboxesMetricsResponse

func ParseGetSandboxesMetricsResponse(rsp *http.Response) (*GetSandboxesMetricsResponse, error)

ParseGetSandboxesMetricsResponse parses an HTTP response from a GetSandboxesMetricsWithResponse call

func (GetSandboxesMetricsResponse) ContentType added in v0.1.4

func (r GetSandboxesMetricsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesMetricsResponse) GetBody added in v0.1.4

func (r GetSandboxesMetricsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxesMetricsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesMetricsResponse) GetJSON400 added in v0.1.4

func (r GetSandboxesMetricsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSandboxesMetricsResponse) GetJSON401 added in v0.1.4

func (r GetSandboxesMetricsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesMetricsResponse) GetJSON429 added in v0.1.4

func (r GetSandboxesMetricsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesMetricsResponse) GetJSON500 added in v0.1.4

func (r GetSandboxesMetricsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesMetricsResponse) StatusCode

func (r GetSandboxesMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesMetricsResponse429Headers added in v0.1.4

type GetSandboxesMetricsResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesMetricsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesMetrics

type GetSandboxesParams

type GetSandboxesParams struct {
	// Metadata Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
	Metadata *string `form:"metadata,omitempty" json:"metadata,omitempty"`
}

GetSandboxesParams defines parameters for GetSandboxes.

type GetSandboxesResponse

type GetSandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ListedSandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesResponse429Headers
}

func ParseGetSandboxesResponse

func ParseGetSandboxesResponse(rsp *http.Response) (*GetSandboxesResponse, error)

ParseGetSandboxesResponse parses an HTTP response from a GetSandboxesWithResponse call

func (GetSandboxesResponse) ContentType added in v0.1.4

func (r GetSandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesResponse) GetBody added in v0.1.4

func (r GetSandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxesResponse) GetJSON200 added in v0.1.4

func (r GetSandboxesResponse) GetJSON200() *[]ListedSandbox

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesResponse) GetJSON400 added in v0.1.4

func (r GetSandboxesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSandboxesResponse) GetJSON401 added in v0.1.4

func (r GetSandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesResponse) GetJSON429 added in v0.1.4

func (r GetSandboxesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesResponse) GetJSON500 added in v0.1.4

func (r GetSandboxesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesResponse) Status

func (r GetSandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxesResponse) StatusCode

func (r GetSandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesResponse429Headers added in v0.1.4

type GetSandboxesResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxes

type GetSandboxesSandboxIDLogsParams

type GetSandboxesSandboxIDLogsParams struct {
	// Start Starting timestamp of the logs that should be returned in milliseconds
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}

GetSandboxesSandboxIDLogsParams defines parameters for GetSandboxesSandboxIDLogs.

type GetSandboxesSandboxIDLogsResponse

type GetSandboxesSandboxIDLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxLogs
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesSandboxIDLogsResponse429Headers
}

func ParseGetSandboxesSandboxIDLogsResponse

func ParseGetSandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetSandboxesSandboxIDLogsResponse, error)

ParseGetSandboxesSandboxIDLogsResponse parses an HTTP response from a GetSandboxesSandboxIDLogsWithResponse call

func (GetSandboxesSandboxIDLogsResponse) ContentType added in v0.1.4

func (r GetSandboxesSandboxIDLogsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesSandboxIDLogsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetSandboxesSandboxIDLogsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) GetJSON401 added in v0.1.4

func (r GetSandboxesSandboxIDLogsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) GetJSON404 added in v0.1.4

func (r GetSandboxesSandboxIDLogsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) GetJSON429 added in v0.1.4

func (r GetSandboxesSandboxIDLogsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) GetJSON500 added in v0.1.4

func (r GetSandboxesSandboxIDLogsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDLogsResponse) StatusCode

func (r GetSandboxesSandboxIDLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesSandboxIDLogsResponse429Headers added in v0.1.4

type GetSandboxesSandboxIDLogsResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesSandboxIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxIDLogs

type GetSandboxesSandboxIDMetricsParams

type GetSandboxesSandboxIDMetricsParams struct {
	// Start Unix timestamp for the start of the interval, in seconds, for which the metrics
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
	End   *int64 `form:"end,omitempty" json:"end,omitempty"`
}

GetSandboxesSandboxIDMetricsParams defines parameters for GetSandboxesSandboxIDMetrics.

type GetSandboxesSandboxIDMetricsResponse

type GetSandboxesSandboxIDMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SandboxMetric
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesSandboxIDMetricsResponse429Headers
}

func ParseGetSandboxesSandboxIDMetricsResponse

func ParseGetSandboxesSandboxIDMetricsResponse(rsp *http.Response) (*GetSandboxesSandboxIDMetricsResponse, error)

ParseGetSandboxesSandboxIDMetricsResponse parses an HTTP response from a GetSandboxesSandboxIDMetricsWithResponse call

func (GetSandboxesSandboxIDMetricsResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesSandboxIDMetricsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetSandboxesSandboxIDMetricsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDMetricsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesSandboxIDMetricsResponse429Headers added in v0.1.4

type GetSandboxesSandboxIDMetricsResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesSandboxIDMetricsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxIDMetrics

type GetSandboxesSandboxIDResponse

type GetSandboxesSandboxIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxDetail
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesSandboxIDResponse429Headers
}

func ParseGetSandboxesSandboxIDResponse

func ParseGetSandboxesSandboxIDResponse(rsp *http.Response) (*GetSandboxesSandboxIDResponse, error)

ParseGetSandboxesSandboxIDResponse parses an HTTP response from a GetSandboxesSandboxIDWithResponse call

func (GetSandboxesSandboxIDResponse) ContentType added in v0.1.4

func (r GetSandboxesSandboxIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesSandboxIDResponse) GetBody added in v0.1.4

func (r GetSandboxesSandboxIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxesSandboxIDResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesSandboxIDResponse) GetJSON401 added in v0.1.4

func (r GetSandboxesSandboxIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesSandboxIDResponse) GetJSON404 added in v0.1.4

func (r GetSandboxesSandboxIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxesSandboxIDResponse) GetJSON429 added in v0.1.4

func (r GetSandboxesSandboxIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesSandboxIDResponse) GetJSON500 added in v0.1.4

func (r GetSandboxesSandboxIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesSandboxIDResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDResponse) StatusCode

func (r GetSandboxesSandboxIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesSandboxIDResponse429Headers added in v0.1.4

type GetSandboxesSandboxIDResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesSandboxIDResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxID

type GetSecretsParams added in v0.1.4

type GetSecretsParams struct {
	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetSecretsParams defines parameters for GetSecrets.

type GetSecretsResponse added in v0.1.4

type GetSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Secret
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSecretsResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSecretsResponse429Headers
}

func ParseGetSecretsResponse added in v0.1.4

func ParseGetSecretsResponse(rsp *http.Response) (*GetSecretsResponse, error)

ParseGetSecretsResponse parses an HTTP response from a GetSecretsWithResponse call

func (GetSecretsResponse) ContentType added in v0.1.4

func (r GetSecretsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSecretsResponse) GetBody added in v0.1.4

func (r GetSecretsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSecretsResponse) GetJSON200 added in v0.1.4

func (r GetSecretsResponse) GetJSON200() *[]Secret

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSecretsResponse) GetJSON400 added in v0.1.4

func (r GetSecretsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSecretsResponse) GetJSON401 added in v0.1.4

func (r GetSecretsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSecretsResponse) GetJSON403 added in v0.1.4

func (r GetSecretsResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSecretsResponse) GetJSON404 added in v0.1.4

func (r GetSecretsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSecretsResponse) GetJSON409 added in v0.1.4

func (r GetSecretsResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSecretsResponse) GetJSON429 added in v0.1.4

func (r GetSecretsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSecretsResponse) GetJSON500 added in v0.1.4

func (r GetSecretsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSecretsResponse) GetJSON502 added in v0.1.4

func (r GetSecretsResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSecretsResponse) GetJSON504 added in v0.1.4

func (r GetSecretsResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSecretsResponse) Status added in v0.1.4

func (r GetSecretsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSecretsResponse) StatusCode added in v0.1.4

func (r GetSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSecretsResponse200Headers added in v0.1.4

type GetSecretsResponse200Headers struct {
	XNextToken *string
}

GetSecretsResponse200Headers the declared response headers of an HTTP 200 response for GetSecrets

type GetSecretsResponse429Headers added in v0.1.4

type GetSecretsResponse429Headers struct {
	RetryAfter *int
}

GetSecretsResponse429Headers the declared response headers of an HTTP 429 response for GetSecrets

type GetSecretsSecretIDResponse added in v0.1.4

type GetSecretsSecretIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Secret
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSecretsSecretIDResponse429Headers
}

func ParseGetSecretsSecretIDResponse added in v0.1.4

func ParseGetSecretsSecretIDResponse(rsp *http.Response) (*GetSecretsSecretIDResponse, error)

ParseGetSecretsSecretIDResponse parses an HTTP response from a GetSecretsSecretIDWithResponse call

func (GetSecretsSecretIDResponse) ContentType added in v0.1.4

func (r GetSecretsSecretIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSecretsSecretIDResponse) GetBody added in v0.1.4

func (r GetSecretsSecretIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSecretsSecretIDResponse) GetJSON200 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON200() *Secret

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON400 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON401 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON403 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON404 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON409 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON429 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON500 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON502 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON504 added in v0.1.4

func (r GetSecretsSecretIDResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSecretsSecretIDResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (GetSecretsSecretIDResponse) StatusCode added in v0.1.4

func (r GetSecretsSecretIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSecretsSecretIDResponse429Headers added in v0.1.4

type GetSecretsSecretIDResponse429Headers struct {
	RetryAfter *int
}

GetSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for GetSecretsSecretID

type GetSnapshotsParams

type GetSnapshotsParams struct {
	SandboxID *string `form:"sandboxID,omitempty" json:"sandboxID,omitempty"`

	// Name Filter snapshots by name or ID, optionally tag-qualified (e.g. "my-snapshot", "my-team/my-snapshot" or "my-snapshot:v1").
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}

GetSnapshotsParams defines parameters for GetSnapshots.

type GetSnapshotsResponse

type GetSnapshotsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SnapshotInfo
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSnapshotsResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSnapshotsResponse429Headers
}

func ParseGetSnapshotsResponse

func ParseGetSnapshotsResponse(rsp *http.Response) (*GetSnapshotsResponse, error)

ParseGetSnapshotsResponse parses an HTTP response from a GetSnapshotsWithResponse call

func (GetSnapshotsResponse) ContentType added in v0.1.4

func (r GetSnapshotsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSnapshotsResponse) GetBody added in v0.1.4

func (r GetSnapshotsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSnapshotsResponse) GetJSON200 added in v0.1.4

func (r GetSnapshotsResponse) GetJSON200() *[]SnapshotInfo

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSnapshotsResponse) GetJSON401 added in v0.1.4

func (r GetSnapshotsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSnapshotsResponse) GetJSON429 added in v0.1.4

func (r GetSnapshotsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSnapshotsResponse) GetJSON500 added in v0.1.4

func (r GetSnapshotsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSnapshotsResponse) Status

func (r GetSnapshotsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSnapshotsResponse) StatusCode

func (r GetSnapshotsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSnapshotsResponse200Headers added in v0.1.4

type GetSnapshotsResponse200Headers struct {
	XNextToken *string
}

GetSnapshotsResponse200Headers the declared response headers of an HTTP 200 response for GetSnapshots

type GetSnapshotsResponse429Headers added in v0.1.4

type GetSnapshotsResponse429Headers struct {
	RetryAfter *int
}

GetSnapshotsResponse429Headers the declared response headers of an HTTP 429 response for GetSnapshots

type GetTemplatesAliasesAliasResponse

type GetTemplatesAliasesAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateAliasResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesAliasesAliasResponse429Headers
}

func ParseGetTemplatesAliasesAliasResponse

func ParseGetTemplatesAliasesAliasResponse(rsp *http.Response) (*GetTemplatesAliasesAliasResponse, error)

ParseGetTemplatesAliasesAliasResponse parses an HTTP response from a GetTemplatesAliasesAliasWithResponse call

func (GetTemplatesAliasesAliasResponse) ContentType added in v0.1.4

func (r GetTemplatesAliasesAliasResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesAliasesAliasResponse) GetBody added in v0.1.4

func (r GetTemplatesAliasesAliasResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplatesAliasesAliasResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON400 added in v0.1.4

func (r GetTemplatesAliasesAliasResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON403 added in v0.1.4

func (r GetTemplatesAliasesAliasResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON404 added in v0.1.4

func (r GetTemplatesAliasesAliasResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON429 added in v0.1.4

func (r GetTemplatesAliasesAliasResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON500 added in v0.1.4

func (r GetTemplatesAliasesAliasResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesAliasesAliasResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesAliasesAliasResponse) StatusCode

func (r GetTemplatesAliasesAliasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesAliasesAliasResponse429Headers added in v0.1.4

type GetTemplatesAliasesAliasResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesAliasesAliasResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesAliasesAlias

type GetTemplatesParams

type GetTemplatesParams struct {
	TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`
}

GetTemplatesParams defines parameters for GetTemplates.

type GetTemplatesResponse

type GetTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Template
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesResponse429Headers
}

func ParseGetTemplatesResponse

func ParseGetTemplatesResponse(rsp *http.Response) (*GetTemplatesResponse, error)

ParseGetTemplatesResponse parses an HTTP response from a GetTemplatesWithResponse call

func (GetTemplatesResponse) ContentType added in v0.1.4

func (r GetTemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesResponse) GetBody added in v0.1.4

func (r GetTemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplatesResponse) GetJSON200 added in v0.1.4

func (r GetTemplatesResponse) GetJSON200() *[]Template

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesResponse) GetJSON400 added in v0.1.4

func (r GetTemplatesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesResponse) GetJSON401 added in v0.1.4

func (r GetTemplatesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesResponse) GetJSON429 added in v0.1.4

func (r GetTemplatesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesResponse) GetJSON500 added in v0.1.4

func (r GetTemplatesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesResponse) Status

func (r GetTemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetTemplatesResponse) StatusCode

func (r GetTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesResponse429Headers added in v0.1.4

type GetTemplatesResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesResponse429Headers the declared response headers of an HTTP 429 response for GetTemplates

type GetTemplatesTemplateIDBuildsBuildIDLogsParams

type GetTemplatesTemplateIDBuildsBuildIDLogsParams struct {
	// Cursor Starting timestamp of the logs that should be returned in milliseconds
	Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit     *int32         `form:"limit,omitempty" json:"limit,omitempty"`
	Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`
	Level     *LogLevel      `form:"level,omitempty" json:"level,omitempty"`

	// Source Source of the logs that should be returned from
	Source *LogsSource `form:"source,omitempty" json:"source,omitempty"`
}

GetTemplatesTemplateIDBuildsBuildIDLogsParams defines parameters for GetTemplatesTemplateIDBuildsBuildIDLogs.

type GetTemplatesTemplateIDBuildsBuildIDLogsResponse

type GetTemplatesTemplateIDBuildsBuildIDLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateBuildLogsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers
}

func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse

func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)

ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse call

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDBuildsBuildIDLogs

type GetTemplatesTemplateIDBuildsBuildIDStatusParams

type GetTemplatesTemplateIDBuildsBuildIDStatusParams struct {
	// LogsOffset Index of the starting build log that should be returned with the template
	LogsOffset *int32 `form:"logsOffset,omitempty" json:"logsOffset,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit *int32    `form:"limit,omitempty" json:"limit,omitempty"`
	Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`
}

GetTemplatesTemplateIDBuildsBuildIDStatusParams defines parameters for GetTemplatesTemplateIDBuildsBuildIDStatus.

type GetTemplatesTemplateIDBuildsBuildIDStatusResponse

type GetTemplatesTemplateIDBuildsBuildIDStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateBuildInfo
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers
}

func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse

func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)

ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse call

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDBuildsBuildIDStatus

type GetTemplatesTemplateIDFilesHashResponse

type GetTemplatesTemplateIDFilesHashResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TemplateBuildFileUpload
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDFilesHashResponse429Headers
}

func ParseGetTemplatesTemplateIDFilesHashResponse

func ParseGetTemplatesTemplateIDFilesHashResponse(rsp *http.Response) (*GetTemplatesTemplateIDFilesHashResponse, error)

ParseGetTemplatesTemplateIDFilesHashResponse parses an HTTP response from a GetTemplatesTemplateIDFilesHashWithResponse call

func (GetTemplatesTemplateIDFilesHashResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDFilesHashResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON201 added in v0.1.4

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDFilesHashResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDFilesHashResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDFilesHashResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDFilesHashResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDFilesHash

type GetTemplatesTemplateIDParams

type GetTemplatesTemplateIDParams struct {
	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetTemplatesTemplateIDParams defines parameters for GetTemplatesTemplateID.

type GetTemplatesTemplateIDResponse

type GetTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateWithBuilds
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetTemplatesTemplateIDResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDResponse429Headers
}

func ParseGetTemplatesTemplateIDResponse

func ParseGetTemplatesTemplateIDResponse(rsp *http.Response) (*GetTemplatesTemplateIDResponse, error)

ParseGetTemplatesTemplateIDResponse parses an HTTP response from a GetTemplatesTemplateIDWithResponse call

func (GetTemplatesTemplateIDResponse) ContentType added in v0.1.4

func (r GetTemplatesTemplateIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDResponse) GetBody added in v0.1.4

func (r GetTemplatesTemplateIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDResponse) GetJSON401 added in v0.1.4

func (r GetTemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDResponse) GetJSON429 added in v0.1.4

func (r GetTemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDResponse) GetJSON500 added in v0.1.4

func (r GetTemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDResponse) StatusCode

func (r GetTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDResponse200Headers added in v0.1.4

type GetTemplatesTemplateIDResponse200Headers struct {
	XNextToken *string
}

GetTemplatesTemplateIDResponse200Headers the declared response headers of an HTTP 200 response for GetTemplatesTemplateID

type GetTemplatesTemplateIDResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateID

type GetTemplatesTemplateIDTagsCountResponse added in v0.1.4

type GetTemplatesTemplateIDTagsCountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateTagsCountResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsCountResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsCountResponse added in v0.1.4

func ParseGetTemplatesTemplateIDTagsCountResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsCountResponse, error)

ParseGetTemplatesTemplateIDTagsCountResponse parses an HTTP response from a GetTemplatesTemplateIDTagsCountWithResponse call

func (GetTemplatesTemplateIDTagsCountResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsCountResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON403 added in v0.1.4

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsCountResponse) StatusCode added in v0.1.4

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsCountResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDTagsCountResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsCountResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTagsCount

type GetTemplatesTemplateIDTagsExistsParams added in v0.1.4

type GetTemplatesTemplateIDTagsExistsParams struct {
	// Tag Template tag name to check.
	Tag TagQuery `form:"tag" json:"tag"`
}

GetTemplatesTemplateIDTagsExistsParams defines parameters for GetTemplatesTemplateIDTagsExists.

type GetTemplatesTemplateIDTagsExistsResponse added in v0.1.4

type GetTemplatesTemplateIDTagsExistsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateTagExistsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsExistsResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsExistsResponse added in v0.1.4

func ParseGetTemplatesTemplateIDTagsExistsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsExistsResponse, error)

ParseGetTemplatesTemplateIDTagsExistsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsExistsWithResponse call

func (GetTemplatesTemplateIDTagsExistsResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsExistsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON403 added in v0.1.4

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsExistsResponse) StatusCode added in v0.1.4

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsExistsResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDTagsExistsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsExistsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTagsExists

type GetTemplatesTemplateIDTagsGroupsParams added in v0.1.4

type GetTemplatesTemplateIDTagsGroupsParams struct {
	// AssignmentLimit Maximum number of ready assignment rows to return per tag.
	AssignmentLimit *TagAssignmentLimit `form:"assignmentLimit,omitempty" json:"assignmentLimit,omitempty"`

	// TagsLimit Maximum number of distinct tags to return per page.
	TagsLimit *TagGroupsLimit `form:"tagsLimit,omitempty" json:"tagsLimit,omitempty"`

	// TagsCursor Cursor returned by the previous list response in `{sort}|{latest_assigned_at}|{tag}` format (sort-tagged, RFC3339Nano).
	TagsCursor *TagGroupsCursor `form:"tagsCursor,omitempty" json:"tagsCursor,omitempty"`

	// Search Substring filter on tag name. Allowed characters are `a-z`, `0-9`, `.`, `_`, `-`.
	Search *TagGroupsSearch `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sort order for the returned tag groups.
	Sort *GetTemplatesTemplateIDTagsGroupsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
}

GetTemplatesTemplateIDTagsGroupsParams defines parameters for GetTemplatesTemplateIDTagsGroups.

type GetTemplatesTemplateIDTagsGroupsParamsSort added in v0.1.4

type GetTemplatesTemplateIDTagsGroupsParamsSort string

GetTemplatesTemplateIDTagsGroupsParamsSort defines parameters for GetTemplatesTemplateIDTagsGroups.

const (
	GetTemplatesTemplateIDTagsGroupsParamsSortLatestAsc  GetTemplatesTemplateIDTagsGroupsParamsSort = "latest_asc"
	GetTemplatesTemplateIDTagsGroupsParamsSortLatestDesc GetTemplatesTemplateIDTagsGroupsParamsSort = "latest_desc"
	GetTemplatesTemplateIDTagsGroupsParamsSortNameAsc    GetTemplatesTemplateIDTagsGroupsParamsSort = "name_asc"
	GetTemplatesTemplateIDTagsGroupsParamsSortNameDesc   GetTemplatesTemplateIDTagsGroupsParamsSort = "name_desc"
)

Defines values for GetTemplatesTemplateIDTagsGroupsParamsSort.

func (GetTemplatesTemplateIDTagsGroupsParamsSort) Valid added in v0.1.4

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

type GetTemplatesTemplateIDTagsGroupsResponse added in v0.1.4

type GetTemplatesTemplateIDTagsGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateTagGroupsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsGroupsResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsGroupsResponse added in v0.1.4

func ParseGetTemplatesTemplateIDTagsGroupsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsGroupsResponse, error)

ParseGetTemplatesTemplateIDTagsGroupsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsGroupsWithResponse call

func (GetTemplatesTemplateIDTagsGroupsResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsGroupsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON403 added in v0.1.4

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsGroupsResponse) StatusCode added in v0.1.4

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsGroupsResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDTagsGroupsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsGroupsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTagsGroups

type GetTemplatesTemplateIDTagsResponse

type GetTemplatesTemplateIDTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TemplateTag
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsResponse

func ParseGetTemplatesTemplateIDTagsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsResponse, error)

ParseGetTemplatesTemplateIDTagsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsWithResponse call

func (GetTemplatesTemplateIDTagsResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON401 added in v0.1.4

func (r GetTemplatesTemplateIDTagsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON403 added in v0.1.4

func (r GetTemplatesTemplateIDTagsResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON404 added in v0.1.4

func (r GetTemplatesTemplateIDTagsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON429 added in v0.1.4

func (r GetTemplatesTemplateIDTagsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON500 added in v0.1.4

func (r GetTemplatesTemplateIDTagsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsResponse) StatusCode

func (r GetTemplatesTemplateIDTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDTagsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTags

type GetTemplatesTemplateIDTagsTagAssignmentsParams added in v0.1.4

type GetTemplatesTemplateIDTagsTagAssignmentsParams struct {
	// Cursor Cursor returned by the previous list response in `assigned_at|assignment_id` format.
	Cursor *TagAssignmentsCursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of assignment rows to return per page.
	Limit *TagAssignmentsLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetTemplatesTemplateIDTagsTagAssignmentsParams defines parameters for GetTemplatesTemplateIDTagsTagAssignments.

type GetTemplatesTemplateIDTagsTagAssignmentsResponse added in v0.1.4

type GetTemplatesTemplateIDTagsTagAssignmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateTagAssignmentsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsTagAssignmentsResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsTagAssignmentsResponse added in v0.1.4

func ParseGetTemplatesTemplateIDTagsTagAssignmentsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsTagAssignmentsResponse, error)

ParseGetTemplatesTemplateIDTagsTagAssignmentsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsTagAssignmentsWithResponse call

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON403 added in v0.1.4

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) StatusCode added in v0.1.4

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsTagAssignmentsResponse429Headers added in v0.1.4

type GetTemplatesTemplateIDTagsTagAssignmentsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsTagAssignmentsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTagsTagAssignments

type GetUnstableSandboxesSandboxIDRecordResponse added in v0.1.4

type GetUnstableSandboxesSandboxIDRecordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxRecord
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableSandboxesSandboxIDRecordResponse429Headers
}

func ParseGetUnstableSandboxesSandboxIDRecordResponse added in v0.1.4

func ParseGetUnstableSandboxesSandboxIDRecordResponse(rsp *http.Response) (*GetUnstableSandboxesSandboxIDRecordResponse, error)

ParseGetUnstableSandboxesSandboxIDRecordResponse parses an HTTP response from a GetUnstableSandboxesSandboxIDRecordWithResponse call

func (GetUnstableSandboxesSandboxIDRecordResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableSandboxesSandboxIDRecordResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON403 added in v0.1.4

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (GetUnstableSandboxesSandboxIDRecordResponse) StatusCode added in v0.1.4

StatusCode returns HTTPResponse.StatusCode

type GetUnstableSandboxesSandboxIDRecordResponse429Headers added in v0.1.4

type GetUnstableSandboxesSandboxIDRecordResponse429Headers struct {
	RetryAfter *int
}

GetUnstableSandboxesSandboxIDRecordResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableSandboxesSandboxIDRecord

type GetV2SandboxesParams

type GetV2SandboxesParams struct {
	// Metadata Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
	Metadata *string `form:"metadata,omitempty" json:"metadata,omitempty"`

	// State Filter sandboxes by one or more states
	State *[]SandboxState `form:"state,omitempty" json:"state,omitempty"`

	// Order Sort direction by sandbox start time. Defaults to desc (newest first).
	Order *OrderDirection `form:"order,omitempty" json:"order,omitempty"`

	// StartedAfter Return sandboxes started at or after this timestamp.
	StartedAfter *time.Time `form:"startedAfter,omitempty" json:"startedAfter,omitempty"`

	// Template Filter sandboxes by a template ID or alias.
	Template *string `form:"template,omitempty" json:"template,omitempty"`

	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetV2SandboxesParams defines parameters for GetV2Sandboxes.

type GetV2SandboxesResponse

type GetV2SandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ListedSandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetV2SandboxesResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetV2SandboxesResponse429Headers
}

func ParseGetV2SandboxesResponse

func ParseGetV2SandboxesResponse(rsp *http.Response) (*GetV2SandboxesResponse, error)

ParseGetV2SandboxesResponse parses an HTTP response from a GetV2SandboxesWithResponse call

func (GetV2SandboxesResponse) ContentType added in v0.1.4

func (r GetV2SandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2SandboxesResponse) GetBody added in v0.1.4

func (r GetV2SandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV2SandboxesResponse) GetJSON200 added in v0.1.4

func (r GetV2SandboxesResponse) GetJSON200() *[]ListedSandbox

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV2SandboxesResponse) GetJSON400 added in v0.1.4

func (r GetV2SandboxesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetV2SandboxesResponse) GetJSON401 added in v0.1.4

func (r GetV2SandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV2SandboxesResponse) GetJSON429 added in v0.1.4

func (r GetV2SandboxesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetV2SandboxesResponse) GetJSON500 added in v0.1.4

func (r GetV2SandboxesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetV2SandboxesResponse) Status

func (r GetV2SandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2SandboxesResponse) StatusCode

func (r GetV2SandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2SandboxesResponse200Headers added in v0.1.4

type GetV2SandboxesResponse200Headers struct {
	XNextToken    *string
	XTotalRunning *int32
}

GetV2SandboxesResponse200Headers the declared response headers of an HTTP 200 response for GetV2Sandboxes

type GetV2SandboxesResponse429Headers added in v0.1.4

type GetV2SandboxesResponse429Headers struct {
	RetryAfter *int
}

GetV2SandboxesResponse429Headers the declared response headers of an HTTP 429 response for GetV2Sandboxes

type GetV2SandboxesSandboxIDLogsParams

type GetV2SandboxesSandboxIDLogsParams struct {
	// Cursor Starting timestamp of the logs that should be returned in milliseconds
	Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`

	// Direction Direction of the logs that should be returned
	Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`

	// Level Minimum log level to return. Logs below this level are excluded
	Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`

	// Search Case-sensitive substring match on log message content
	Search *string `form:"search,omitempty" json:"search,omitempty"`
}

GetV2SandboxesSandboxIDLogsParams defines parameters for GetV2SandboxesSandboxIDLogs.

type GetV2SandboxesSandboxIDLogsResponse

type GetV2SandboxesSandboxIDLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxLogsV2Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetV2SandboxesSandboxIDLogsResponse429Headers
}

func ParseGetV2SandboxesSandboxIDLogsResponse

func ParseGetV2SandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetV2SandboxesSandboxIDLogsResponse, error)

ParseGetV2SandboxesSandboxIDLogsResponse parses an HTTP response from a GetV2SandboxesSandboxIDLogsWithResponse call

func (GetV2SandboxesSandboxIDLogsResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2SandboxesSandboxIDLogsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON401 added in v0.1.4

func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON404 added in v0.1.4

func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON429 added in v0.1.4

func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON500 added in v0.1.4

func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetV2SandboxesSandboxIDLogsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV2SandboxesSandboxIDLogsResponse429Headers added in v0.1.4

type GetV2SandboxesSandboxIDLogsResponse429Headers struct {
	RetryAfter *int
}

GetV2SandboxesSandboxIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetV2SandboxesSandboxIDLogs

type GetV2TemplatesParams added in v0.1.4

type GetV2TemplatesParams struct {
	TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`

	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetV2TemplatesParams defines parameters for GetV2Templates.

type GetV2TemplatesResponse added in v0.1.4

type GetV2TemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Template
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetV2TemplatesResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetV2TemplatesResponse429Headers
}

func ParseGetV2TemplatesResponse added in v0.1.4

func ParseGetV2TemplatesResponse(rsp *http.Response) (*GetV2TemplatesResponse, error)

ParseGetV2TemplatesResponse parses an HTTP response from a GetV2TemplatesWithResponse call

func (GetV2TemplatesResponse) ContentType added in v0.1.4

func (r GetV2TemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2TemplatesResponse) GetBody added in v0.1.4

func (r GetV2TemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV2TemplatesResponse) GetJSON200 added in v0.1.4

func (r GetV2TemplatesResponse) GetJSON200() *[]Template

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV2TemplatesResponse) GetJSON400 added in v0.1.4

func (r GetV2TemplatesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetV2TemplatesResponse) GetJSON401 added in v0.1.4

func (r GetV2TemplatesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV2TemplatesResponse) GetJSON403 added in v0.1.4

func (r GetV2TemplatesResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetV2TemplatesResponse) GetJSON429 added in v0.1.4

func (r GetV2TemplatesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetV2TemplatesResponse) GetJSON500 added in v0.1.4

func (r GetV2TemplatesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetV2TemplatesResponse) Status added in v0.1.4

func (r GetV2TemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2TemplatesResponse) StatusCode added in v0.1.4

func (r GetV2TemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2TemplatesResponse200Headers added in v0.1.4

type GetV2TemplatesResponse200Headers struct {
	XNextToken *string
}

GetV2TemplatesResponse200Headers the declared response headers of an HTTP 200 response for GetV2Templates

type GetV2TemplatesResponse429Headers added in v0.1.4

type GetV2TemplatesResponse429Headers struct {
	RetryAfter *int
}

GetV2TemplatesResponse429Headers the declared response headers of an HTTP 429 response for GetV2Templates

type GetVolumesResponse

type GetVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Volume
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetVolumesResponse429Headers
}

func ParseGetVolumesResponse

func ParseGetVolumesResponse(rsp *http.Response) (*GetVolumesResponse, error)

ParseGetVolumesResponse parses an HTTP response from a GetVolumesWithResponse call

func (GetVolumesResponse) ContentType added in v0.1.4

func (r GetVolumesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVolumesResponse) GetBody added in v0.1.4

func (r GetVolumesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVolumesResponse) GetJSON200 added in v0.1.4

func (r GetVolumesResponse) GetJSON200() *[]Volume

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVolumesResponse) GetJSON401 added in v0.1.4

func (r GetVolumesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVolumesResponse) GetJSON429 added in v0.1.4

func (r GetVolumesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetVolumesResponse) GetJSON500 added in v0.1.4

func (r GetVolumesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVolumesResponse) Status

func (r GetVolumesResponse) Status() string

Status returns HTTPResponse.Status

func (GetVolumesResponse) StatusCode

func (r GetVolumesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVolumesResponse429Headers added in v0.1.4

type GetVolumesResponse429Headers struct {
	RetryAfter *int
}

GetVolumesResponse429Headers the declared response headers of an HTTP 429 response for GetVolumes

type GetVolumesVolumeIDResponse

type GetVolumesVolumeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VolumeAndToken
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetVolumesVolumeIDResponse429Headers
}

func ParseGetVolumesVolumeIDResponse

func ParseGetVolumesVolumeIDResponse(rsp *http.Response) (*GetVolumesVolumeIDResponse, error)

ParseGetVolumesVolumeIDResponse parses an HTTP response from a GetVolumesVolumeIDWithResponse call

func (GetVolumesVolumeIDResponse) ContentType added in v0.1.4

func (r GetVolumesVolumeIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVolumesVolumeIDResponse) GetBody added in v0.1.4

func (r GetVolumesVolumeIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVolumesVolumeIDResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVolumesVolumeIDResponse) GetJSON401 added in v0.1.4

func (r GetVolumesVolumeIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVolumesVolumeIDResponse) GetJSON404 added in v0.1.4

func (r GetVolumesVolumeIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetVolumesVolumeIDResponse) GetJSON429 added in v0.1.4

func (r GetVolumesVolumeIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetVolumesVolumeIDResponse) GetJSON500 added in v0.1.4

func (r GetVolumesVolumeIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVolumesVolumeIDResponse) Status

Status returns HTTPResponse.Status

func (GetVolumesVolumeIDResponse) StatusCode

func (r GetVolumesVolumeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVolumesVolumeIDResponse429Headers added in v0.1.4

type GetVolumesVolumeIDResponse429Headers struct {
	RetryAfter *int
}

GetVolumesVolumeIDResponse429Headers the declared response headers of an HTTP 429 response for GetVolumesVolumeID

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListedSandbox

type ListedSandbox struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// ClientID Identifier of the client
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ClientID string `json:"clientID"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// EndAt Time when the sandbox will expire
	EndAt time.Time `json:"endAt"`

	// EnvdUnresponsiveAtPause True when the snapshot a paused sandbox would resume from was taken while the sandbox guest agent was not responding. A plain resume of it is refused with 409 and error_code sandbox_snapshot_guest_agent_unresponsive, because restoring that memory would bring the unresponsive agent back; resume it without memory (`memory: false`), which cold-boots the sandbox from its disk. Omitted for a running sandbox and for a snapshot whose agent answered.
	EnvdUnresponsiveAtPause *EnvdUnresponsiveAtPause `json:"envdUnresponsiveAtPause,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB         `json:"memoryMB"`
	Metadata *SandboxMetadata `json:"metadata,omitempty"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// StartedAt Time when the sandbox was started
	StartedAt time.Time `json:"startedAt"`

	// State State of the sandbox
	State SandboxState `json:"state"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID   string                `json:"templateID"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

ListedSandbox defines model for ListedSandbox.

type LogLevel

type LogLevel string

LogLevel State of the sandbox

const (
	LogLevelDebug LogLevel = "debug"
	LogLevelError LogLevel = "error"
	LogLevelInfo  LogLevel = "info"
	LogLevelWarn  LogLevel = "warn"
)

Defines values for LogLevel.

func (LogLevel) Valid

func (e LogLevel) Valid() bool

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

type LogsDirection

type LogsDirection string

LogsDirection Direction of the logs that should be returned

const (
	LogsDirectionBackward LogsDirection = "backward"
	LogsDirectionForward  LogsDirection = "forward"
)

Defines values for LogsDirection.

func (LogsDirection) Valid

func (e LogsDirection) Valid() bool

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

type LogsSource

type LogsSource string

LogsSource Source of the logs that should be returned

const (
	LogsSourcePersistent LogsSource = "persistent"
	LogsSourceTemporary  LogsSource = "temporary"
)

Defines values for LogsSource.

func (LogsSource) Valid

func (e LogsSource) Valid() bool

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

type Mcp

type Mcp map[string]interface{}

Mcp MCP configuration for the sandbox

type MemoryMB

type MemoryMB = int32

MemoryMB Memory for the sandbox in MiB

type MinFreeDiskMb added in v0.1.4

type MinFreeDiskMb = int32

MinFreeDiskMb Requested minimum free space after the template's build steps, in MiB. Omit to use the team's default. Set to 0 to request no minimum free-disk growth. The filesystem is never shrunk, including inherited or already-larger filesystems. Growth is best effort, so filesystem metadata can leave the available space slightly below the requested minimum.

type N400

type N400 = Error

N400 defines model for 400.

type N401

type N401 = Error

N401 defines model for 401.

type N403

type N403 = Error

N403 defines model for 403.

type N404

type N404 = Error

N404 defines model for 404.

type N409

type N409 = Error

N409 defines model for 409.

type N429 added in v0.1.4

type N429 = Error

N429 defines model for 429.

type N500

type N500 = Error

N500 defines model for 500.

type N502 added in v0.1.4

type N502 = Error

N502 defines model for 502.

type N503 added in v0.1.4

type N503 = Error

N503 defines model for 503.

type N504 added in v0.1.4

type N504 = Error

N504 defines model for 504.

type NewSandbox

type NewSandbox struct {
	// AllowInternetAccess Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
	AllowInternetAccess *bool `json:"allow_internet_access,omitempty"`

	// AutoPause Automatically pauses the sandbox after the timeout
	AutoPause *bool `json:"autoPause,omitempty"`

	// AutoPauseMemory Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
	AutoPauseMemory *bool `json:"autoPauseMemory,omitempty"`

	// AutoResume Auto-resume configuration for paused sandboxes.
	AutoResume *SandboxAutoResumeConfig `json:"autoResume,omitempty"`

	// CpuCount Online vCPU target for the sandbox. Defaults to the template's cpuCount; at most its maxCpuCount (fixed-size templates accept only their cpuCount).
	CpuCount *CPUCount `json:"cpuCount,omitempty"`
	EnvVars  *EnvVars  `json:"envVars,omitempty"`

	// Iam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.
	Iam *SandboxIam `json:"iam,omitempty"`

	// Mcp MCP configuration for the sandbox
	Mcp      *Mcp                  `json:"mcp,omitempty"`
	Metadata *SandboxMetadata      `json:"metadata,omitempty"`
	Network  *SandboxNetworkConfig `json:"network,omitempty"`

	// Secure Ignored. All system communication with the sandbox is always secured; the template's envd version must support secured access.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Secure *bool `json:"secure,omitempty"`

	// TemplateID Identifier of the required template
	TemplateID string `json:"templateID"`

	// Timeout Time to live for the sandbox in seconds.
	Timeout      *int32                `json:"timeout,omitempty"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

NewSandbox defines model for NewSandbox.

type NewSandboxV2 added in v0.1.4

type NewSandboxV2 struct {
	// AllowInternetAccess Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
	AllowInternetAccess *bool `json:"allow_internet_access,omitempty"`

	// AutoPause Automatically pauses the sandbox after the timeout
	AutoPause *bool `json:"autoPause,omitempty"`

	// AutoPauseMemory Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
	AutoPauseMemory *bool `json:"autoPauseMemory,omitempty"`

	// AutoResume Auto-resume configuration for paused sandboxes.
	AutoResume *SandboxAutoResumeConfig `json:"autoResume,omitempty"`

	// CpuCount Online vCPU target for the sandbox. Defaults to the template's cpuCount; at most its maxCpuCount (fixed-size templates accept only their cpuCount).
	CpuCount *CPUCount `json:"cpuCount,omitempty"`
	EnvVars  *EnvVars  `json:"envVars,omitempty"`

	// Iam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.
	Iam *SandboxIam `json:"iam,omitempty"`

	// Mcp MCP configuration for the sandbox
	Mcp      *Mcp                  `json:"mcp,omitempty"`
	Metadata *SandboxMetadata      `json:"metadata,omitempty"`
	Network  *SandboxNetworkConfig `json:"network,omitempty"`

	// TemplateID Identifier of the required template
	TemplateID string `json:"templateID"`

	// Timeout Time to live for the sandbox in seconds.
	Timeout      *int32                `json:"timeout,omitempty"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

NewSandboxV2 Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.

type NewSecret added in v0.1.4

type NewSecret struct {
	// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
	Metadata *SecretMetadata `json:"metadata,omitempty"`

	// Name Name of the secret, unique within the project. Names are lower-cased before storage and returned in that canonical form; the sec_ prefix is reserved for secret identifiers.
	Name string `json:"name"`

	// Value Runtime marker stored as the secret's first version. The runtime resolves it to a value at sandbox egress.
	Value string `json:"value"`
}

NewSecret defines model for NewSecret.

type NewVolume

type NewVolume struct {
	// Name Name of the volume
	Name string `json:"name"`
}

NewVolume defines model for NewVolume.

type OrderDirection added in v0.1.4

type OrderDirection string

OrderDirection Sort direction

const (
	Asc  OrderDirection = "asc"
	Desc OrderDirection = "desc"
)

Defines values for OrderDirection.

func (OrderDirection) Valid added in v0.1.4

func (e OrderDirection) Valid() bool

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

type PaginationLimit

type PaginationLimit = int32

PaginationLimit defines model for paginationLimit.

type PaginationNextToken

type PaginationNextToken = string

PaginationNextToken defines model for paginationNextToken.

type PatchTemplatesTemplateIDJSONRequestBody deprecated

type PatchTemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest

PatchTemplatesTemplateIDJSONRequestBody defines body for PatchTemplatesTemplateID for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PatchTemplatesTemplateIDResponse

type PatchTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PatchTemplatesTemplateIDResponse429Headers
}

func ParsePatchTemplatesTemplateIDResponse

func ParsePatchTemplatesTemplateIDResponse(rsp *http.Response) (*PatchTemplatesTemplateIDResponse, error)

ParsePatchTemplatesTemplateIDResponse parses an HTTP response from a PatchTemplatesTemplateIDWithResponse call

func (PatchTemplatesTemplateIDResponse) ContentType added in v0.1.4

func (r PatchTemplatesTemplateIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchTemplatesTemplateIDResponse) GetBody added in v0.1.4

func (r PatchTemplatesTemplateIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchTemplatesTemplateIDResponse) GetJSON400 added in v0.1.4

func (r PatchTemplatesTemplateIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchTemplatesTemplateIDResponse) GetJSON401 added in v0.1.4

func (r PatchTemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchTemplatesTemplateIDResponse) GetJSON429 added in v0.1.4

func (r PatchTemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PatchTemplatesTemplateIDResponse) GetJSON500 added in v0.1.4

func (r PatchTemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (PatchTemplatesTemplateIDResponse) StatusCode

func (r PatchTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTemplatesTemplateIDResponse429Headers added in v0.1.4

type PatchTemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

PatchTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for PatchTemplatesTemplateID

type PatchV2TemplatesTemplateIDJSONRequestBody

type PatchV2TemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest

PatchV2TemplatesTemplateIDJSONRequestBody defines body for PatchV2TemplatesTemplateID for application/json ContentType.

type PatchV2TemplatesTemplateIDResponse

type PatchV2TemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateUpdateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PatchV2TemplatesTemplateIDResponse429Headers
}

func ParsePatchV2TemplatesTemplateIDResponse

func ParsePatchV2TemplatesTemplateIDResponse(rsp *http.Response) (*PatchV2TemplatesTemplateIDResponse, error)

ParsePatchV2TemplatesTemplateIDResponse parses an HTTP response from a PatchV2TemplatesTemplateIDWithResponse call

func (PatchV2TemplatesTemplateIDResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV2TemplatesTemplateIDResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PatchV2TemplatesTemplateIDResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) GetJSON400 added in v0.1.4

func (r PatchV2TemplatesTemplateIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) GetJSON401 added in v0.1.4

func (r PatchV2TemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) GetJSON429 added in v0.1.4

func (r PatchV2TemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) GetJSON500 added in v0.1.4

func (r PatchV2TemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (PatchV2TemplatesTemplateIDResponse) StatusCode

func (r PatchV2TemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV2TemplatesTemplateIDResponse429Headers added in v0.1.4

type PatchV2TemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

PatchV2TemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for PatchV2TemplatesTemplateID

type PostSandboxesJSONRequestBody deprecated

type PostSandboxesJSONRequestBody = NewSandbox

PostSandboxesJSONRequestBody defines body for PostSandboxes for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostSandboxesResponse

type PostSandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesResponse429Headers
}

func ParsePostSandboxesResponse

func ParsePostSandboxesResponse(rsp *http.Response) (*PostSandboxesResponse, error)

ParsePostSandboxesResponse parses an HTTP response from a PostSandboxesWithResponse call

func (PostSandboxesResponse) ContentType added in v0.1.4

func (r PostSandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesResponse) GetBody added in v0.1.4

func (r PostSandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxesResponse) GetJSON201 added in v0.1.4

func (r PostSandboxesResponse) GetJSON201() *Sandbox

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesResponse) GetJSON400 added in v0.1.4

func (r PostSandboxesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesResponse) GetJSON401 added in v0.1.4

func (r PostSandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesResponse) GetJSON429 added in v0.1.4

func (r PostSandboxesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesResponse) GetJSON500 added in v0.1.4

func (r PostSandboxesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesResponse) GetJSON503 added in v0.1.4

func (r PostSandboxesResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesResponse) GetJSON504 added in v0.1.4

func (r PostSandboxesResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxesResponse) Status

func (r PostSandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (PostSandboxesResponse) StatusCode

func (r PostSandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesResponse429Headers added in v0.1.4

type PostSandboxesResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxes

type PostSandboxesSandboxIDConnectJSONRequestBody deprecated

type PostSandboxesSandboxIDConnectJSONRequestBody = ConnectSandbox

PostSandboxesSandboxIDConnectJSONRequestBody defines body for PostSandboxesSandboxIDConnect for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostSandboxesSandboxIDConnectResponse

type PostSandboxesSandboxIDConnectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Sandbox
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDConnectResponse429Headers
}

func ParsePostSandboxesSandboxIDConnectResponse

func ParsePostSandboxesSandboxIDConnectResponse(rsp *http.Response) (*PostSandboxesSandboxIDConnectResponse, error)

ParsePostSandboxesSandboxIDConnectResponse parses an HTTP response from a PostSandboxesSandboxIDConnectWithResponse call

func (PostSandboxesSandboxIDConnectResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDConnectResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDConnectResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON201 added in v0.1.4

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON409 added in v0.1.4

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON503 added in v0.1.4

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON504 added in v0.1.4

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDConnectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDConnectResponse429Headers added in v0.1.4

type PostSandboxesSandboxIDConnectResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDConnectResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDConnect

type PostSandboxesSandboxIDForkJSONRequestBody added in v0.1.4

type PostSandboxesSandboxIDForkJSONRequestBody = SandboxForkRequest

PostSandboxesSandboxIDForkJSONRequestBody defines body for PostSandboxesSandboxIDFork for application/json ContentType.

type PostSandboxesSandboxIDForkResponse added in v0.1.4

type PostSandboxesSandboxIDForkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *[]SandboxForkResult
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDForkResponse429Headers
}

func ParsePostSandboxesSandboxIDForkResponse added in v0.1.4

func ParsePostSandboxesSandboxIDForkResponse(rsp *http.Response) (*PostSandboxesSandboxIDForkResponse, error)

ParsePostSandboxesSandboxIDForkResponse parses an HTTP response from a PostSandboxesSandboxIDForkWithResponse call

func (PostSandboxesSandboxIDForkResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDForkResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDForkResponse) GetJSON201 added in v0.1.4

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON401 added in v0.1.4

func (r PostSandboxesSandboxIDForkResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON404 added in v0.1.4

func (r PostSandboxesSandboxIDForkResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON409 added in v0.1.4

func (r PostSandboxesSandboxIDForkResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON429 added in v0.1.4

func (r PostSandboxesSandboxIDForkResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON500 added in v0.1.4

func (r PostSandboxesSandboxIDForkResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON503 added in v0.1.4

func (r PostSandboxesSandboxIDForkResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDForkResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDForkResponse) StatusCode added in v0.1.4

func (r PostSandboxesSandboxIDForkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDForkResponse429Headers added in v0.1.4

type PostSandboxesSandboxIDForkResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDForkResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDFork

type PostSandboxesSandboxIDPauseJSONRequestBody added in v0.1.4

type PostSandboxesSandboxIDPauseJSONRequestBody = SandboxPauseRequest

PostSandboxesSandboxIDPauseJSONRequestBody defines body for PostSandboxesSandboxIDPause for application/json ContentType.

type PostSandboxesSandboxIDPauseResponse

type PostSandboxesSandboxIDPauseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDPauseResponse429Headers
}

func ParsePostSandboxesSandboxIDPauseResponse

func ParsePostSandboxesSandboxIDPauseResponse(rsp *http.Response) (*PostSandboxesSandboxIDPauseResponse, error)

ParsePostSandboxesSandboxIDPauseResponse parses an HTTP response from a PostSandboxesSandboxIDPauseWithResponse call

func (PostSandboxesSandboxIDPauseResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDPauseResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDPauseResponse) GetJSON401 added in v0.1.4

func (r PostSandboxesSandboxIDPauseResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON404 added in v0.1.4

func (r PostSandboxesSandboxIDPauseResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON409 added in v0.1.4

func (r PostSandboxesSandboxIDPauseResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON429 added in v0.1.4

func (r PostSandboxesSandboxIDPauseResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON500 added in v0.1.4

func (r PostSandboxesSandboxIDPauseResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON503 added in v0.1.4

func (r PostSandboxesSandboxIDPauseResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDPauseResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDPauseResponse429Headers added in v0.1.4

type PostSandboxesSandboxIDPauseResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDPauseResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDPause

type PostSandboxesSandboxIDRefreshesJSONRequestBody

type PostSandboxesSandboxIDRefreshesJSONRequestBody = SandboxRefreshRequest

PostSandboxesSandboxIDRefreshesJSONRequestBody defines body for PostSandboxesSandboxIDRefreshes for application/json ContentType.

type PostSandboxesSandboxIDRefreshesResponse

type PostSandboxesSandboxIDRefreshesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDRefreshesResponse429Headers
}

func ParsePostSandboxesSandboxIDRefreshesResponse

func ParsePostSandboxesSandboxIDRefreshesResponse(rsp *http.Response) (*PostSandboxesSandboxIDRefreshesResponse, error)

ParsePostSandboxesSandboxIDRefreshesResponse parses an HTTP response from a PostSandboxesSandboxIDRefreshesWithResponse call

func (PostSandboxesSandboxIDRefreshesResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDRefreshesResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDRefreshesResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDRefreshesResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDRefreshesResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDRefreshesResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDRefreshesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDRefreshesResponse429Headers added in v0.1.4

type PostSandboxesSandboxIDRefreshesResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDRefreshesResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDRefreshes

type PostSandboxesSandboxIDResumeJSONRequestBody deprecated

type PostSandboxesSandboxIDResumeJSONRequestBody = ResumedSandbox

PostSandboxesSandboxIDResumeJSONRequestBody defines body for PostSandboxesSandboxIDResume for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostSandboxesSandboxIDResumeResponse

type PostSandboxesSandboxIDResumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDResumeResponse429Headers
}

func ParsePostSandboxesSandboxIDResumeResponse

func ParsePostSandboxesSandboxIDResumeResponse(rsp *http.Response) (*PostSandboxesSandboxIDResumeResponse, error)

ParsePostSandboxesSandboxIDResumeResponse parses an HTTP response from a PostSandboxesSandboxIDResumeWithResponse call

func (PostSandboxesSandboxIDResumeResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDResumeResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDResumeResponse) GetJSON201 added in v0.1.4

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON409 added in v0.1.4

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON503 added in v0.1.4

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON504 added in v0.1.4

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDResumeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDResumeResponse429Headers added in v0.1.4

type PostSandboxesSandboxIDResumeResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDResumeResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDResume

type PostSandboxesSandboxIDSnapshotsJSONRequestBody

type PostSandboxesSandboxIDSnapshotsJSONRequestBody = SandboxSnapshotRequest

PostSandboxesSandboxIDSnapshotsJSONRequestBody defines body for PostSandboxesSandboxIDSnapshots for application/json ContentType.

type PostSandboxesSandboxIDSnapshotsResponse

type PostSandboxesSandboxIDSnapshotsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SnapshotInfo
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDSnapshotsResponse429Headers
}

func ParsePostSandboxesSandboxIDSnapshotsResponse

func ParsePostSandboxesSandboxIDSnapshotsResponse(rsp *http.Response) (*PostSandboxesSandboxIDSnapshotsResponse, error)

ParsePostSandboxesSandboxIDSnapshotsResponse parses an HTTP response from a PostSandboxesSandboxIDSnapshotsWithResponse call

func (PostSandboxesSandboxIDSnapshotsResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDSnapshotsResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON201 added in v0.1.4

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON503 added in v0.1.4

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDSnapshotsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDSnapshotsResponse429Headers added in v0.1.4

type PostSandboxesSandboxIDSnapshotsResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDSnapshotsResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDSnapshots

type PostSandboxesSandboxIDTimeoutJSONRequestBody

type PostSandboxesSandboxIDTimeoutJSONRequestBody = SandboxTimeoutRequest

PostSandboxesSandboxIDTimeoutJSONRequestBody defines body for PostSandboxesSandboxIDTimeout for application/json ContentType.

type PostSandboxesSandboxIDTimeoutResponse

type PostSandboxesSandboxIDTimeoutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDTimeoutResponse429Headers
}

func ParsePostSandboxesSandboxIDTimeoutResponse

func ParsePostSandboxesSandboxIDTimeoutResponse(rsp *http.Response) (*PostSandboxesSandboxIDTimeoutResponse, error)

ParsePostSandboxesSandboxIDTimeoutResponse parses an HTTP response from a PostSandboxesSandboxIDTimeoutWithResponse call

func (PostSandboxesSandboxIDTimeoutResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDTimeoutResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDTimeoutResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDTimeoutResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDTimeoutResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDTimeoutResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDTimeoutResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDTimeoutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDTimeoutResponse429Headers added in v0.1.4

type PostSandboxesSandboxIDTimeoutResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDTimeoutResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDTimeout

type PostSecretsJSONRequestBody added in v0.1.4

type PostSecretsJSONRequestBody = NewSecret

PostSecretsJSONRequestBody defines body for PostSecrets for application/json ContentType.

type PostSecretsResponse added in v0.1.4

type PostSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Secret
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSecretsResponse429Headers
}

func ParsePostSecretsResponse added in v0.1.4

func ParsePostSecretsResponse(rsp *http.Response) (*PostSecretsResponse, error)

ParsePostSecretsResponse parses an HTTP response from a PostSecretsWithResponse call

func (PostSecretsResponse) ContentType added in v0.1.4

func (r PostSecretsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSecretsResponse) GetBody added in v0.1.4

func (r PostSecretsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSecretsResponse) GetJSON201 added in v0.1.4

func (r PostSecretsResponse) GetJSON201() *Secret

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSecretsResponse) GetJSON400 added in v0.1.4

func (r PostSecretsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSecretsResponse) GetJSON401 added in v0.1.4

func (r PostSecretsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSecretsResponse) GetJSON403 added in v0.1.4

func (r PostSecretsResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSecretsResponse) GetJSON404 added in v0.1.4

func (r PostSecretsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSecretsResponse) GetJSON409 added in v0.1.4

func (r PostSecretsResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSecretsResponse) GetJSON429 added in v0.1.4

func (r PostSecretsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSecretsResponse) GetJSON500 added in v0.1.4

func (r PostSecretsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSecretsResponse) GetJSON502 added in v0.1.4

func (r PostSecretsResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSecretsResponse) GetJSON504 added in v0.1.4

func (r PostSecretsResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSecretsResponse) Status added in v0.1.4

func (r PostSecretsResponse) Status() string

Status returns HTTPResponse.Status

func (PostSecretsResponse) StatusCode added in v0.1.4

func (r PostSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSecretsResponse429Headers added in v0.1.4

type PostSecretsResponse429Headers struct {
	RetryAfter *int
}

PostSecretsResponse429Headers the declared response headers of an HTTP 429 response for PostSecrets

type PostSecretsSecretIDJSONRequestBody added in v0.1.4

type PostSecretsSecretIDJSONRequestBody = SecretUpdate

PostSecretsSecretIDJSONRequestBody defines body for PostSecretsSecretID for application/json ContentType.

type PostSecretsSecretIDResponse added in v0.1.4

type PostSecretsSecretIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Secret
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSecretsSecretIDResponse429Headers
}

func ParsePostSecretsSecretIDResponse added in v0.1.4

func ParsePostSecretsSecretIDResponse(rsp *http.Response) (*PostSecretsSecretIDResponse, error)

ParsePostSecretsSecretIDResponse parses an HTTP response from a PostSecretsSecretIDWithResponse call

func (PostSecretsSecretIDResponse) ContentType added in v0.1.4

func (r PostSecretsSecretIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSecretsSecretIDResponse) GetBody added in v0.1.4

func (r PostSecretsSecretIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSecretsSecretIDResponse) GetJSON200 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON200() *Secret

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON400 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON401 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON403 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON404 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON409 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON429 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON500 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON502 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON504 added in v0.1.4

func (r PostSecretsSecretIDResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSecretsSecretIDResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (PostSecretsSecretIDResponse) StatusCode added in v0.1.4

func (r PostSecretsSecretIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSecretsSecretIDResponse429Headers added in v0.1.4

type PostSecretsSecretIDResponse429Headers struct {
	RetryAfter *int
}

PostSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for PostSecretsSecretID

type PostTemplatesTagsJSONRequestBody

type PostTemplatesTagsJSONRequestBody = AssignTemplateTagsRequest

PostTemplatesTagsJSONRequestBody defines body for PostTemplatesTags for application/json ContentType.

type PostTemplatesTagsResponse

type PostTemplatesTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AssignedTemplateTags
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostTemplatesTagsResponse429Headers
}

func ParsePostTemplatesTagsResponse

func ParsePostTemplatesTagsResponse(rsp *http.Response) (*PostTemplatesTagsResponse, error)

ParsePostTemplatesTagsResponse parses an HTTP response from a PostTemplatesTagsWithResponse call

func (PostTemplatesTagsResponse) ContentType added in v0.1.4

func (r PostTemplatesTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostTemplatesTagsResponse) GetBody added in v0.1.4

func (r PostTemplatesTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostTemplatesTagsResponse) GetJSON201 added in v0.1.4

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostTemplatesTagsResponse) GetJSON400 added in v0.1.4

func (r PostTemplatesTagsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostTemplatesTagsResponse) GetJSON401 added in v0.1.4

func (r PostTemplatesTagsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostTemplatesTagsResponse) GetJSON404 added in v0.1.4

func (r PostTemplatesTagsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostTemplatesTagsResponse) GetJSON429 added in v0.1.4

func (r PostTemplatesTagsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostTemplatesTagsResponse) GetJSON500 added in v0.1.4

func (r PostTemplatesTagsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostTemplatesTagsResponse) Status

func (r PostTemplatesTagsResponse) Status() string

Status returns HTTPResponse.Status

func (PostTemplatesTagsResponse) StatusCode

func (r PostTemplatesTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTemplatesTagsResponse429Headers added in v0.1.4

type PostTemplatesTagsResponse429Headers struct {
	RetryAfter *int
}

PostTemplatesTagsResponse429Headers the declared response headers of an HTTP 429 response for PostTemplatesTags

type PostV2SandboxesJSONRequestBody added in v0.1.4

type PostV2SandboxesJSONRequestBody = NewSandboxV2

PostV2SandboxesJSONRequestBody defines body for PostV2Sandboxes for application/json ContentType.

type PostV2SandboxesParams added in v0.1.4

type PostV2SandboxesParams struct {
	// IdempotencyKey Optional team-scoped key for retrying sandbox creation. Use 1 to 255 lowercase ASCII
	// letters, digits, or hyphens (a-z, 0-9, -), such as a lowercase UUID. When idempotency is enabled,
	// matching retries replay a completed status and body for the retention period. A creation
	// failure explicitly classified as safe to retry (Should-Retry: true) permits a fresh
	// attempt with the same key and parameters. Only one attempt can run at a time.
	// Different request parameters return 409 with error_code idempotency_request_mismatch.
	// An in-progress request returns 409 with error_code idempotency_in_progress; an unknown
	// outcome returns 422 with error_code idempotency_outcome_unknown. These retries do not execute the request again.
	// Retries do not extend retention. If a fresh attempt's request deadline plus response
	// persistence budget would exceed the remaining retention, the previous error is replayed.
	// After the key expires, it can start a new creation.
	IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}

PostV2SandboxesParams defines parameters for PostV2Sandboxes.

type PostV2SandboxesResponse added in v0.1.4

type PostV2SandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// 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
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *Error
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *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
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *PostV2SandboxesResponse400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *PostV2SandboxesResponse403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *PostV2SandboxesResponse404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *PostV2SandboxesResponse409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *PostV2SandboxesResponse422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostV2SandboxesResponse429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *PostV2SandboxesResponse500Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *PostV2SandboxesResponse503Headers
	// Headers504 the parsed response headers for an HTTP 504 response
	Headers504 *PostV2SandboxesResponse504Headers
}

func ParsePostV2SandboxesResponse added in v0.1.4

func ParsePostV2SandboxesResponse(rsp *http.Response) (*PostV2SandboxesResponse, error)

ParsePostV2SandboxesResponse parses an HTTP response from a PostV2SandboxesWithResponse call

func (PostV2SandboxesResponse) ContentType added in v0.1.4

func (r PostV2SandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV2SandboxesResponse) GetBody added in v0.1.4

func (r PostV2SandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV2SandboxesResponse) GetJSON201 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON201() *Sandbox

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostV2SandboxesResponse) GetJSON400 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV2SandboxesResponse) GetJSON401 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV2SandboxesResponse) GetJSON403 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostV2SandboxesResponse) GetJSON404 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostV2SandboxesResponse) GetJSON409 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostV2SandboxesResponse) GetJSON422 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostV2SandboxesResponse) GetJSON429 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON429() *Error

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostV2SandboxesResponse) GetJSON500 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostV2SandboxesResponse) GetJSON503 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostV2SandboxesResponse) GetJSON504 added in v0.1.4

func (r PostV2SandboxesResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostV2SandboxesResponse) Status added in v0.1.4

func (r PostV2SandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (PostV2SandboxesResponse) StatusCode added in v0.1.4

func (r PostV2SandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2SandboxesResponse400Headers added in v0.1.4

type PostV2SandboxesResponse400Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse400Headers the declared response headers of an HTTP 400 response for PostV2Sandboxes

type PostV2SandboxesResponse403Headers added in v0.1.4

type PostV2SandboxesResponse403Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse403Headers the declared response headers of an HTTP 403 response for PostV2Sandboxes

type PostV2SandboxesResponse404Headers added in v0.1.4

type PostV2SandboxesResponse404Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse404Headers the declared response headers of an HTTP 404 response for PostV2Sandboxes

type PostV2SandboxesResponse409Headers added in v0.1.4

type PostV2SandboxesResponse409Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse409Headers the declared response headers of an HTTP 409 response for PostV2Sandboxes

type PostV2SandboxesResponse422Headers added in v0.1.4

type PostV2SandboxesResponse422Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse422Headers the declared response headers of an HTTP 422 response for PostV2Sandboxes

type PostV2SandboxesResponse429Headers added in v0.1.4

type PostV2SandboxesResponse429Headers struct {
	RetryAfter  *int
	ShouldRetry *bool
}

PostV2SandboxesResponse429Headers the declared response headers of an HTTP 429 response for PostV2Sandboxes

type PostV2SandboxesResponse500Headers added in v0.1.4

type PostV2SandboxesResponse500Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse500Headers the declared response headers of an HTTP 500 response for PostV2Sandboxes

type PostV2SandboxesResponse503Headers added in v0.1.4

type PostV2SandboxesResponse503Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse503Headers the declared response headers of an HTTP 503 response for PostV2Sandboxes

type PostV2SandboxesResponse504Headers added in v0.1.4

type PostV2SandboxesResponse504Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse504Headers the declared response headers of an HTTP 504 response for PostV2Sandboxes

type PostV2SandboxesSandboxIDConnectJSONRequestBody added in v0.1.4

type PostV2SandboxesSandboxIDConnectJSONRequestBody = ConnectSandboxV2

PostV2SandboxesSandboxIDConnectJSONRequestBody defines body for PostV2SandboxesSandboxIDConnect for application/json ContentType.

type PostV2SandboxesSandboxIDConnectResponse added in v0.1.4

type PostV2SandboxesSandboxIDConnectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Sandbox
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostV2SandboxesSandboxIDConnectResponse429Headers
}

func ParsePostV2SandboxesSandboxIDConnectResponse added in v0.1.4

func ParsePostV2SandboxesSandboxIDConnectResponse(rsp *http.Response) (*PostV2SandboxesSandboxIDConnectResponse, error)

ParsePostV2SandboxesSandboxIDConnectResponse parses an HTTP response from a PostV2SandboxesSandboxIDConnectWithResponse call

func (PostV2SandboxesSandboxIDConnectResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV2SandboxesSandboxIDConnectResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON200 added in v0.1.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON201 added in v0.1.4

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON409 added in v0.1.4

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON503 added in v0.1.4

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON504 added in v0.1.4

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (PostV2SandboxesSandboxIDConnectResponse) StatusCode added in v0.1.4

StatusCode returns HTTPResponse.StatusCode

type PostV2SandboxesSandboxIDConnectResponse429Headers added in v0.1.4

type PostV2SandboxesSandboxIDConnectResponse429Headers struct {
	RetryAfter *int
}

PostV2SandboxesSandboxIDConnectResponse429Headers the declared response headers of an HTTP 429 response for PostV2SandboxesSandboxIDConnect

type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody

type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody = TemplateBuildStartV2

PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody defines body for PostV2TemplatesTemplateIDBuildsBuildID for application/json ContentType.

type PostV2TemplatesTemplateIDBuildsBuildIDResponse

type PostV2TemplatesTemplateIDBuildsBuildIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers
}

func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse

func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse(rsp *http.Response) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse parses an HTTP response from a PostV2TemplatesTemplateIDBuildsBuildIDWithResponse call

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON400 added in v0.1.4

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) Status

Status returns HTTPResponse.Status

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers added in v0.1.4

type PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers struct {
	RetryAfter *int
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers the declared response headers of an HTTP 429 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV3TemplatesJSONRequestBody

type PostV3TemplatesJSONRequestBody = TemplateBuildRequestV3

PostV3TemplatesJSONRequestBody defines body for PostV3Templates for application/json ContentType.

type PostV3TemplatesResponse

type PostV3TemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *TemplateRequestResponseV3
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostV3TemplatesResponse429Headers
}

func ParsePostV3TemplatesResponse

func ParsePostV3TemplatesResponse(rsp *http.Response) (*PostV3TemplatesResponse, error)

ParsePostV3TemplatesResponse parses an HTTP response from a PostV3TemplatesWithResponse call

func (PostV3TemplatesResponse) ContentType added in v0.1.4

func (r PostV3TemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV3TemplatesResponse) GetBody added in v0.1.4

func (r PostV3TemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV3TemplatesResponse) GetJSON202 added in v0.1.4

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PostV3TemplatesResponse) GetJSON400 added in v0.1.4

func (r PostV3TemplatesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV3TemplatesResponse) GetJSON401 added in v0.1.4

func (r PostV3TemplatesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV3TemplatesResponse) GetJSON403 added in v0.1.4

func (r PostV3TemplatesResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostV3TemplatesResponse) GetJSON409 added in v0.1.4

func (r PostV3TemplatesResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostV3TemplatesResponse) GetJSON429 added in v0.1.4

func (r PostV3TemplatesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostV3TemplatesResponse) GetJSON500 added in v0.1.4

func (r PostV3TemplatesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostV3TemplatesResponse) Status

func (r PostV3TemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (PostV3TemplatesResponse) StatusCode

func (r PostV3TemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV3TemplatesResponse429Headers added in v0.1.4

type PostV3TemplatesResponse429Headers struct {
	RetryAfter *int
}

PostV3TemplatesResponse429Headers the declared response headers of an HTTP 429 response for PostV3Templates

type PostVolumesJSONRequestBody

type PostVolumesJSONRequestBody = NewVolume

PostVolumesJSONRequestBody defines body for PostVolumes for application/json ContentType.

type PostVolumesResponse

type PostVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *VolumeAndToken
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostVolumesResponse429Headers
}

func ParsePostVolumesResponse

func ParsePostVolumesResponse(rsp *http.Response) (*PostVolumesResponse, error)

ParsePostVolumesResponse parses an HTTP response from a PostVolumesWithResponse call

func (PostVolumesResponse) ContentType added in v0.1.4

func (r PostVolumesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostVolumesResponse) GetBody added in v0.1.4

func (r PostVolumesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostVolumesResponse) GetJSON201 added in v0.1.4

func (r PostVolumesResponse) GetJSON201() *VolumeAndToken

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostVolumesResponse) GetJSON400 added in v0.1.4

func (r PostVolumesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostVolumesResponse) GetJSON401 added in v0.1.4

func (r PostVolumesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostVolumesResponse) GetJSON429 added in v0.1.4

func (r PostVolumesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostVolumesResponse) GetJSON500 added in v0.1.4

func (r PostVolumesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostVolumesResponse) Status

func (r PostVolumesResponse) Status() string

Status returns HTTPResponse.Status

func (PostVolumesResponse) StatusCode

func (r PostVolumesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostVolumesResponse429Headers added in v0.1.4

type PostVolumesResponse429Headers struct {
	RetryAfter *int
}

PostVolumesResponse429Headers the declared response headers of an HTTP 429 response for PostVolumes

type PutSandboxesSandboxIDNetworkJSONRequestBody added in v0.1.4

type PutSandboxesSandboxIDNetworkJSONRequestBody = SandboxNetworkUpdateConfig

PutSandboxesSandboxIDNetworkJSONRequestBody defines body for PutSandboxesSandboxIDNetwork for application/json ContentType.

type PutSandboxesSandboxIDNetworkResponse added in v0.1.4

type PutSandboxesSandboxIDNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PutSandboxesSandboxIDNetworkResponse429Headers
}

func ParsePutSandboxesSandboxIDNetworkResponse added in v0.1.4

func ParsePutSandboxesSandboxIDNetworkResponse(rsp *http.Response) (*PutSandboxesSandboxIDNetworkResponse, error)

ParsePutSandboxesSandboxIDNetworkResponse parses an HTTP response from a PutSandboxesSandboxIDNetworkWithResponse call

func (PutSandboxesSandboxIDNetworkResponse) ContentType added in v0.1.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutSandboxesSandboxIDNetworkResponse) GetBody added in v0.1.4

GetBody returns the raw response body bytes

func (PutSandboxesSandboxIDNetworkResponse) GetJSON401 added in v0.1.4

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) GetJSON404 added in v0.1.4

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) GetJSON409 added in v0.1.4

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) GetJSON429 added in v0.1.4

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) GetJSON500 added in v0.1.4

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) Status added in v0.1.4

Status returns HTTPResponse.Status

func (PutSandboxesSandboxIDNetworkResponse) StatusCode added in v0.1.4

StatusCode returns HTTPResponse.StatusCode

type PutSandboxesSandboxIDNetworkResponse429Headers added in v0.1.4

type PutSandboxesSandboxIDNetworkResponse429Headers struct {
	RetryAfter *int
}

PutSandboxesSandboxIDNetworkResponse429Headers the declared response headers of an HTTP 429 response for PutSandboxesSandboxIDNetwork

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ResumedSandbox

type ResumedSandbox struct {
	// AutoPause Automatically pauses the sandbox after the timeout
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AutoPause *bool `json:"autoPause,omitempty"`

	// CpuCount Online vCPU target for the resumed sandbox. Defaults to the snapshot's cpuCount; at most the template's maxCpuCount (fixed-size templates accept only their cpuCount).
	CpuCount *CPUCount `json:"cpuCount,omitempty"`

	// Memory Defaults to true. When false, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore. A snapshot taken while the sandbox guest agent was not responding (envdUnresponsiveAtPause) can only be resumed this way, and needs no enablement.
	Memory *bool `json:"memory,omitempty"`

	// Timeout Time to live for the sandbox in seconds.
	Timeout *int32 `json:"timeout,omitempty"`
}

ResumedSandbox defines model for ResumedSandbox.

type Sandbox

type Sandbox struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// ClientID Identifier of the client
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ClientID string `json:"clientID"`

	// Domain Base domain where the sandbox traffic is accessible
	Domain *string `json:"domain,omitempty"`

	// EnvdAccessToken Access token used for envd communication
	EnvdAccessToken *string `json:"envdAccessToken,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID string `json:"templateID"`

	// TrafficAccessToken Token required for accessing sandbox via proxy.
	TrafficAccessToken *string `json:"trafficAccessToken,omitempty"`
}

Sandbox defines model for Sandbox.

type SandboxAutoResumeConfig

type SandboxAutoResumeConfig struct {
	// Enabled Auto-resume enabled flag for paused sandboxes. Default false.
	Enabled SandboxAutoResumeEnabled `json:"enabled"`
}

SandboxAutoResumeConfig Auto-resume configuration for paused sandboxes.

type SandboxAutoResumeEnabled

type SandboxAutoResumeEnabled = bool

SandboxAutoResumeEnabled Auto-resume enabled flag for paused sandboxes. Default false.

type SandboxDetail

type SandboxDetail struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// AllowInternetAccess Whether internet access was explicitly enabled or disabled for the sandbox. Null means it was not explicitly set.
	AllowInternetAccess *bool `json:"allowInternetAccess,omitempty"`

	// ClientID Identifier of the client
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ClientID string `json:"clientID"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// Domain Base domain where the sandbox traffic is accessible
	Domain *string `json:"domain,omitempty"`

	// EndAt Time when the sandbox will expire
	EndAt time.Time `json:"endAt"`

	// EnvdAccessToken Access token used for envd communication
	EnvdAccessToken *string `json:"envdAccessToken,omitempty"`

	// EnvdUnresponsiveAtPause True when the snapshot a paused sandbox would resume from was taken while the sandbox guest agent was not responding. A plain resume of it is refused with 409 and error_code sandbox_snapshot_guest_agent_unresponsive, because restoring that memory would bring the unresponsive agent back; resume it without memory (`memory: false`), which cold-boots the sandbox from its disk. Omitted for a running sandbox and for a snapshot whose agent answered.
	EnvdUnresponsiveAtPause *EnvdUnresponsiveAtPause `json:"envdUnresponsiveAtPause,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// Lifecycle Sandbox lifecycle policy returned by sandbox info.
	Lifecycle *SandboxLifecycle `json:"lifecycle,omitempty"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB              `json:"memoryMB"`
	Metadata *SandboxMetadata      `json:"metadata,omitempty"`
	Network  *SandboxNetworkConfig `json:"network,omitempty"`

	// PauseMode What the sandbox's latest pause saved. `full` saved the filesystem and the memory, and resuming restores the sandbox where it left off. `filesystem` saved only the filesystem, and resuming reboots the sandbox from disk. Returned for a paused sandbox once its pause has finished, and omitted while it is still pausing.
	PauseMode *SandboxPauseMode `json:"pauseMode,omitempty"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// StartedAt Time when the sandbox was started
	StartedAt time.Time `json:"startedAt"`

	// State State of the sandbox
	State SandboxState `json:"state"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID   string                `json:"templateID"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

SandboxDetail defines model for SandboxDetail.

type SandboxEgressProxyConfig added in v0.1.4

type SandboxEgressProxyConfig struct {
	// Address SOCKS5 proxy address in host:port format (e.g. "proxy.example.com:1080").
	Address string `json:"address"`

	// Password Optional SOCKS5 password (RFC 1929), max 255 bytes.
	Password *string `json:"password,omitempty"`

	// Tls TLS for the connection to the SOCKS5 proxy. The SOCKS5 negotiation and the tunneled traffic both run inside the TLS session, so the proxy credentials are not sent in the clear. This secures only the hop to the proxy; what the proxy does onward is its own concern. A half-close from the sandbox reaches the proxy as a TLS close_notify, not a TCP FIN, and a proxy that treats close_notify as a full close cuts the reply short.
	Tls *SandboxEgressProxyTLSConfig `json:"tls,omitempty"`

	// Username Optional SOCKS5 username (RFC 1929), max 255 bytes.
	Username *string `json:"username,omitempty"`
}

SandboxEgressProxyConfig SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).

type SandboxEgressProxyTLSConfig added in v0.1.4

type SandboxEgressProxyTLSConfig struct {
	// CaCert One or more PEM-encoded certificates to verify the proxy against, for a proxy fronted by a private CA. These replace the system trust store, which is what is used when this is omitted. The system trust store depends on the host the orchestrator runs on, so set this to get the same verification everywhere.
	CaCert *string `json:"caCert,omitempty"`

	// Enabled Connect to the proxy over TLS. When false, no other field in this object may be set.
	Enabled bool `json:"enabled"`

	// ServerName Name to verify the proxy certificate against, and to send as SNI. Defaults to the host part of address. Set this only when the certificate does not match the address the proxy is reached at.
	ServerName *string `json:"serverName,omitempty"`
}

SandboxEgressProxyTLSConfig TLS for the connection to the SOCKS5 proxy. The SOCKS5 negotiation and the tunneled traffic both run inside the TLS session, so the proxy credentials are not sent in the clear. This secures only the hop to the proxy; what the proxy does onward is its own concern. A half-close from the sandbox reaches the proxy as a TLS close_notify, not a TCP FIN, and a proxy that treats close_notify as a full close cuts the reply short.

type SandboxForkRequest added in v0.1.4

type SandboxForkRequest struct {
	// Count Number of forked sandboxes to create. All forks boot from the same snapshot, so the snapshot is captured once regardless of count. Each fork succeeds or fails independently; the outcome of each is reported in its entry of the response list.
	Count *int32 `json:"count,omitempty"`

	// Timeout Time to live for the new forked sandboxes in seconds.
	Timeout *int32 `json:"timeout,omitempty"`
}

SandboxForkRequest defines model for SandboxForkRequest.

type SandboxForkResult added in v0.1.4

type SandboxForkResult struct {
	Error   *Error   `json:"error,omitempty"`
	Sandbox *Sandbox `json:"sandbox,omitempty"`
}

SandboxForkResult Result of one requested fork. Exactly one of sandbox or error is set: sandbox when the fork started successfully, error when it failed to start.

type SandboxID

type SandboxID = string

SandboxID defines model for sandboxID.

type SandboxIam added in v0.1.4

type SandboxIam struct {
	// Tokens Named workload-token definitions, keyed by a caller-chosen token name.
	Tokens *SandboxIamTokens `json:"tokens,omitempty"`
}

SandboxIam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.

type SandboxIamToken added in v0.1.4

type SandboxIamToken struct {
	// Audience Audience of the workload token, stored exactly as provided.
	Audience string `json:"audience"`

	// TokenType Workload token type.
	TokenType string `json:"tokenType"`
}

SandboxIamToken defines model for SandboxIamToken.

type SandboxIamTokens added in v0.1.4

type SandboxIamTokens map[string]SandboxIamToken

SandboxIamTokens Named workload-token definitions, keyed by a caller-chosen token name.

type SandboxLifecycle

type SandboxLifecycle struct {
	// AutoResume Whether the sandbox can auto-resume.
	AutoResume bool `json:"autoResume"`

	// OnTimeout Action taken when the sandbox times out.
	OnTimeout SandboxOnTimeout `json:"onTimeout"`
}

SandboxLifecycle Sandbox lifecycle policy returned by sandbox info.

type SandboxLog

type SandboxLog struct {
	// Line Log line content
	Line string `json:"line"`

	// Timestamp Timestamp of the log entry
	Timestamp time.Time `json:"timestamp"`
}

SandboxLog Log entry with timestamp and line

type SandboxLogEntry

type SandboxLogEntry struct {
	Fields map[string]string `json:"fields"`

	// Level State of the sandbox
	Level LogLevel `json:"level"`

	// Message Log message content
	Message string `json:"message"`

	// Timestamp Timestamp of the log entry
	Timestamp time.Time `json:"timestamp"`
}

SandboxLogEntry defines model for SandboxLogEntry.

type SandboxLogs

type SandboxLogs struct {
	// LogEntries Structured logs of the sandbox
	LogEntries []SandboxLogEntry `json:"logEntries"`

	// Logs Logs of the sandbox
	Logs []SandboxLog `json:"logs"`
}

SandboxLogs defines model for SandboxLogs.

type SandboxLogsV2Response

type SandboxLogsV2Response struct {
	// Logs Sandbox logs structured
	Logs []SandboxLogEntry `json:"logs"`
}

SandboxLogsV2Response defines model for SandboxLogsV2Response.

type SandboxMetadata

type SandboxMetadata map[string]string

SandboxMetadata defines model for SandboxMetadata.

type SandboxMetric

type SandboxMetric struct {
	// CpuCount Number of CPU cores
	CpuCount int32 `json:"cpuCount"`

	// CpuUsedPct CPU usage percentage
	CpuUsedPct float32 `json:"cpuUsedPct"`

	// DiskTotal Total disk space in bytes
	DiskTotal int64 `json:"diskTotal"`

	// DiskUsed Disk used in bytes
	DiskUsed int64 `json:"diskUsed"`

	// MemCache Cached memory (page cache) in bytes
	MemCache int64 `json:"memCache"`

	// MemTotal Total memory in bytes
	MemTotal int64 `json:"memTotal"`

	// MemUsed Memory used in bytes
	MemUsed int64 `json:"memUsed"`

	// Timestamp Timestamp of the metric entry
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Timestamp time.Time `json:"timestamp"`

	// TimestampUnix Timestamp of the metric entry in Unix time (seconds since epoch)
	TimestampUnix int64 `json:"timestampUnix"`
}

SandboxMetric Metric entry with timestamp and line

type SandboxNetworkConfig

type SandboxNetworkConfig struct {
	// AllowOut List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries. When allowOut contains a domain, the servers in dnsServers (8.8.8.8 by default) are also allowed.
	AllowOut *[]string `json:"allowOut,omitempty"`

	// AllowPublicTraffic Whether sandbox URLs accept traffic without the sandbox's traffic access token. When omitted or null on create, the project's default applies, which is true unless the project changed it.
	AllowPublicTraffic *bool `json:"allowPublicTraffic,omitempty"`

	// DenyOut List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
	DenyOut *[]string `json:"denyOut,omitempty"`

	// DnsServers DNS servers the sandbox can reach when allowOut contains a domain. Each entry must be an IPv4 address, and all traffic to it is allowed. Omit it to allow the default nameserver 8.8.8.8, or pass an empty list to allow none. This does not change the sandbox's /etc/resolv.conf.
	DnsServers *[]string `json:"dnsServers,omitempty"`

	// EgressProxy SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
	EgressProxy *SandboxEgressProxyConfig `json:"egressProxy,omitempty"`

	// HttpsPorts Sandbox ports that serve HTTPS rather than plaintext HTTP. Affects how the proxy reaches the service inside the sandbox; the public URL is HTTPS either way. Certificates are not verified, so self-signed ones work. The envd port (49983) cannot be listed.
	HttpsPorts *[]uint32 `json:"httpsPorts,omitempty"`

	// MaskRequestHost Specify host mask which will be used for all sandbox requests
	MaskRequestHost *string `json:"maskRequestHost,omitempty"`

	// Rules Per-domain transform rules applied to matching outbound HTTPS requests. Keys may be exact DNS names (for example, "api.example.com") or a leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
	Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}

SandboxNetworkConfig defines model for SandboxNetworkConfig.

type SandboxNetworkRule added in v0.1.4

type SandboxNetworkRule struct {
	// Transform Transformations applied to matching egress requests before forwarding.
	Transform *SandboxNetworkTransform `json:"transform,omitempty"`
}

SandboxNetworkRule Transform rule applied to egress requests matching a domain pattern.

type SandboxNetworkTransform added in v0.1.4

type SandboxNetworkTransform struct {
	// Headers HTTP headers to inject or override in matching requests. An existing header with the same name is replaced. Values are plain strings; secret resolution happens client-side before sending to the API.
	Headers *map[string]string `json:"headers,omitempty"`
}

SandboxNetworkTransform Transformations applied to matching egress requests before forwarding.

type SandboxNetworkUpdateConfig added in v0.1.4

type SandboxNetworkUpdateConfig struct {
	// AllowOut List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries. When allowOut contains a domain, the servers in dnsServers (8.8.8.8 by default) are also allowed.
	AllowOut *[]string `json:"allowOut,omitempty"`

	// AllowInternetAccess Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
	AllowInternetAccess *bool `json:"allow_internet_access,omitempty"`

	// DenyOut List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
	DenyOut *[]string `json:"denyOut,omitempty"`

	// DnsServers DNS servers the sandbox can reach when allowOut contains a domain. Each entry must be an IPv4 address, and all traffic to it is allowed. Omit it to reset to the default nameserver 8.8.8.8, or pass an empty list to allow none. This does not change the sandbox's /etc/resolv.conf.
	DnsServers *[]string `json:"dnsServers,omitempty"`

	// EgressProxy SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
	EgressProxy *SandboxEgressProxyConfig `json:"egressProxy,omitempty"`

	// Rules Per-domain transform rules applied to matching outbound HTTPS requests. Replaces all existing rules when provided. Keys may be exact DNS names or a single leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
	Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}

SandboxNetworkUpdateConfig Network configuration update for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting a field clears it.

type SandboxOnTimeout

type SandboxOnTimeout string

SandboxOnTimeout Action taken when the sandbox times out.

const (
	Kill  SandboxOnTimeout = "kill"
	Pause SandboxOnTimeout = "pause"
)

Defines values for SandboxOnTimeout.

func (SandboxOnTimeout) Valid

func (e SandboxOnTimeout) Valid() bool

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

type SandboxPauseMode added in v0.1.4

type SandboxPauseMode string

SandboxPauseMode What the sandbox's latest pause saved. `full` saved the filesystem and the memory, and resuming restores the sandbox where it left off. `filesystem` saved only the filesystem, and resuming reboots the sandbox from disk. Returned for a paused sandbox once its pause has finished, and omitted while it is still pausing.

const (
	Filesystem SandboxPauseMode = "filesystem"
	Full       SandboxPauseMode = "full"
)

Defines values for SandboxPauseMode.

func (SandboxPauseMode) Valid added in v0.1.4

func (e SandboxPauseMode) Valid() bool

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

type SandboxPauseRequest added in v0.1.4

type SandboxPauseRequest struct {
	// Memory Whether to capture a full memory snapshot. When false, only the filesystem is persisted and resuming the sandbox cold-boots (reboots) it from disk, losing in-memory state, running processes, and open connections. Resume it with an explicit request (connect or resume); auto-resume, which can be triggered by arbitrary traffic, refuses such a sandbox. Defaults to true.
	Memory *bool `json:"memory,omitempty"`

	// RequireHealthyGuest The pause checks that the sandbox guest agent answers before it takes the snapshot. By default an unresponsive agent is recorded on the snapshot and the pause proceeds; the sandbox then shows `envdUnresponsiveAtPause` and a later resume must ask for `memory: false`, since restoring that memory would bring the unresponsive agent back. With this true, the pause is instead refused with 503 while the agent does not answer, and the sandbox keeps running. A filesystem-only pause (`memory: false`) is always refused while the agent does not answer, whatever this says.
	RequireHealthyGuest *bool `json:"requireHealthyGuest,omitempty"`
}

SandboxPauseRequest defines model for SandboxPauseRequest.

type SandboxRecord added in v0.1.4

type SandboxRecord struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// Domain Base domain where the sandbox traffic is accessible
	Domain *string `json:"domain,omitempty"`

	// EventsRetentionExpired Whether the sandbox ended more than the team's events retention window ago, so its events data is no longer available
	EventsRetentionExpired bool `json:"eventsRetentionExpired"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB `json:"memoryMB"`

	// RetentionExpired Whether the sandbox ended more than the fixed retention window ago, so its monitoring and logs data is no longer available
	RetentionExpired bool `json:"retentionExpired"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// StartedAt Time when the sandbox was started
	StartedAt time.Time `json:"startedAt"`

	// StoppedAt Time when the sandbox was stopped
	StoppedAt *time.Time `json:"stoppedAt,omitempty"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID string `json:"templateID"`
}

SandboxRecord defines model for SandboxRecord.

type SandboxRefreshRequest added in v0.1.4

type SandboxRefreshRequest struct {
	// Duration Duration for which the sandbox should be kept alive in seconds
	Duration *int `json:"duration,omitempty"`
}

SandboxRefreshRequest defines model for SandboxRefreshRequest.

type SandboxSnapshotRequest added in v0.1.4

type SandboxSnapshotRequest struct {
	// Memory Whether to capture a full memory snapshot. When false, only the filesystem is persisted: the snapshot is smaller and faster to take, and sandboxes created from it cold-boot (start fresh from disk) instead of restoring memory, so they begin without the source sandbox's running processes, in-memory state, and open connections. The source sandbox keeps running in both cases. Defaults to true.
	Memory *bool `json:"memory,omitempty"`

	// Name Optional name for the snapshot template. If a snapshot template with this name already exists, a new build will be assigned to the existing template instead of creating a new one.
	Name *string `json:"name,omitempty"`
}

SandboxSnapshotRequest defines model for SandboxSnapshotRequest.

type SandboxState

type SandboxState string

SandboxState State of the sandbox

const (
	Paused  SandboxState = "paused"
	Running SandboxState = "running"
)

Defines values for SandboxState.

func (SandboxState) Valid

func (e SandboxState) Valid() bool

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

type SandboxTimeoutRequest added in v0.1.4

type SandboxTimeoutRequest struct {
	// Timeout Timeout in seconds from the current time after which the sandbox should expire
	Timeout int32 `json:"timeout"`
}

SandboxTimeoutRequest defines model for SandboxTimeoutRequest.

type SandboxVolumeMount

type SandboxVolumeMount struct {
	// Name Name of the volume
	Name string `json:"name"`

	// Path Path of the volume
	Path string `json:"path"`
}

SandboxVolumeMount defines model for SandboxVolumeMount.

type SandboxesWithMetrics

type SandboxesWithMetrics struct {
	Sandboxes map[string]SandboxMetric `json:"sandboxes"`
}

SandboxesWithMetrics defines model for SandboxesWithMetrics.

type Secret added in v0.1.4

type Secret struct {
	// CreatedAt Time when the secret was created
	CreatedAt time.Time `json:"createdAt"`

	// CurrentVersion Version served to readers that do not name one
	CurrentVersion int64 `json:"currentVersion"`

	// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
	Metadata SecretMetadata `json:"metadata"`

	// Name Name of the secret, unique within the project
	Name string `json:"name"`

	// SecretID Identifier of the secret
	SecretID string `json:"secretID"`

	// UpdatedAt Time when the secret was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

Secret Metadata of a secret. It never carries the secret value.

type SecretID added in v0.1.4

type SecretID = string

SecretID Identifier of the secret (sec_ prefixed), or its canonical lower-case name

type SecretMetadata added in v0.1.4

type SecretMetadata map[string]string

SecretMetadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.

type SecretUpdate added in v0.1.4

type SecretUpdate struct {
	// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
	Metadata *SecretMetadata `json:"metadata,omitempty"`

	// Value Runtime marker stored as the secret's new version. The runtime resolves it to a value at sandbox egress.
	Value string `json:"value"`
}

SecretUpdate defines model for SecretUpdate.

type SnapshotInfo

type SnapshotInfo struct {
	// Names Full names of the snapshot template including team namespace and tag (e.g. team-slug/my-snapshot:v2)
	Names []string `json:"names"`

	// SnapshotID Identifier of the snapshot template including the tag. Uses namespace/alias when a name was provided (e.g. team-slug/my-snapshot:default), otherwise falls back to the raw template ID (e.g. abc123:default).
	SnapshotID string `json:"snapshotID"`
}

SnapshotInfo defines model for SnapshotInfo.

type Tag

type Tag = string

Tag Tag name

type TagAssignmentLimit added in v0.1.4

type TagAssignmentLimit = int32

TagAssignmentLimit defines model for tagAssignmentLimit.

type TagAssignmentsCursor added in v0.1.4

type TagAssignmentsCursor = string

TagAssignmentsCursor defines model for tagAssignmentsCursor.

type TagAssignmentsLimit added in v0.1.4

type TagAssignmentsLimit = int32

TagAssignmentsLimit defines model for tagAssignmentsLimit.

type TagGroupsCursor added in v0.1.4

type TagGroupsCursor = string

TagGroupsCursor defines model for tagGroupsCursor.

type TagGroupsLimit added in v0.1.4

type TagGroupsLimit = int32

TagGroupsLimit defines model for tagGroupsLimit.

type TagGroupsSearch added in v0.1.4

type TagGroupsSearch = string

TagGroupsSearch defines model for tagGroupsSearch.

type TagGroupsSort added in v0.1.4

type TagGroupsSort string

TagGroupsSort defines model for tagGroupsSort.

const (
	TagGroupsSortLatestAsc  TagGroupsSort = "latest_asc"
	TagGroupsSortLatestDesc TagGroupsSort = "latest_desc"
	TagGroupsSortNameAsc    TagGroupsSort = "name_asc"
	TagGroupsSortNameDesc   TagGroupsSort = "name_desc"
)

Defines values for TagGroupsSort.

func (TagGroupsSort) Valid added in v0.1.4

func (e TagGroupsSort) Valid() bool

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

type TagQuery added in v0.1.4

type TagQuery = string

TagQuery defines model for tagQuery.

type TeamUser

type TeamUser struct {
	// Email Email of the user
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Email *string `json:"email"`

	// Id Identifier of the user
	Id openapi_types.UUID `json:"id"`
}

TeamUser defines model for TeamUser.

type Template

type Template struct {
	// Aliases Aliases of the template
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Aliases []string `json:"aliases"`

	// BuildCount Number of times the template was built
	BuildCount int32 `json:"buildCount"`

	// BuildID Identifier of the last successful build for given template
	BuildID string `json:"buildID"`

	// BuildStatus Status of the template build
	BuildStatus TemplateBuildStatus `json:"buildStatus"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// CreatedAt Time when the template was created
	CreatedAt time.Time `json:"createdAt"`
	CreatedBy *TeamUser `json:"createdBy"`

	// Description Description of the template
	Description *string `json:"description,omitempty"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// IsDefault Whether the template is one of the platform's default templates. A default template owned by another team carries zero or null usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`).
	IsDefault *bool `json:"isDefault,omitempty"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// MaxCpuCount Maximum CPU count for resizable templates; absent for fixed-size templates.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB `json:"memoryMB"`

	// Names Names of the template (namespace/alias format when namespaced)
	Names []string `json:"names"`

	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// SpawnCount Number of times the template was used
	SpawnCount int64 `json:"spawnCount"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`

	// UpdatedAt Time when the template was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

Template defines model for Template.

type TemplateAliasResponse

type TemplateAliasResponse struct {
	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`
}

TemplateAliasResponse defines model for TemplateAliasResponse.

type TemplateBuild

type TemplateBuild struct {
	// BuildID Identifier of the build
	BuildID openapi_types.UUID `json:"buildID"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// CreatedAt Time when the build was created
	CreatedAt time.Time `json:"createdAt"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB *DiskSizeMB `json:"diskSizeMB,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion *EnvdVersion `json:"envdVersion,omitempty"`

	// FinishedAt Time when the build was finished
	FinishedAt *time.Time `json:"finishedAt,omitempty"`

	// MaxCpuCount Maximum CPU count for resizable templates; absent for fixed-size templates.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB `json:"memoryMB"`

	// Status Status of the template build
	Status TemplateBuildStatus `json:"status"`

	// UpdatedAt Time when the build was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

TemplateBuild defines model for TemplateBuild.

type TemplateBuildFileUpload

type TemplateBuildFileUpload struct {
	// Headers Request headers that must be sent with the upload request
	Headers *map[string]string `json:"headers,omitempty"`

	// Present Whether the file is already present in the cache
	Present bool `json:"present"`

	// Url Url where the file should be uploaded to
	Url *string `json:"url,omitempty"`
}

TemplateBuildFileUpload defines model for TemplateBuildFileUpload.

type TemplateBuildInfo

type TemplateBuildInfo struct {
	// BuildID Identifier of the build
	BuildID string `json:"buildID"`

	// LogEntries Build logs structured
	LogEntries []BuildLogEntry `json:"logEntries"`

	// Logs Build logs (always empty since the V1 build path was removed, use logEntries)
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Logs   []string           `json:"logs"`
	Reason *BuildStatusReason `json:"reason,omitempty"`

	// Status Status of the template build
	Status TemplateBuildStatus `json:"status"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`
}

TemplateBuildInfo defines model for TemplateBuildInfo.

type TemplateBuildLogsResponse

type TemplateBuildLogsResponse struct {
	// Logs Build logs structured
	Logs []BuildLogEntry `json:"logs"`
}

TemplateBuildLogsResponse defines model for TemplateBuildLogsResponse.

type TemplateBuildRequestV3

type TemplateBuildRequestV3 struct {
	// Alias Alias of the template. Deprecated, use name instead.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Alias *string `json:"alias,omitempty"`

	// CpuCount CPU cores for the sandbox
	CpuCount *CPUCount `json:"cpuCount,omitempty"`

	// MaxCpuCount Maximum CPU count the template's sandboxes can be resized to; makes the template resizable. Must be at least cpuCount.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB *MemoryMB `json:"memoryMB,omitempty"`

	// MinFreeDiskMb Requested minimum free space after the template's build steps, in MiB. Omit to use the team's default. Set to 0 to request no minimum free-disk growth. The filesystem is never shrunk, including inherited or already-larger filesystems. Growth is best effort, so filesystem metadata can leave the available space slightly below the requested minimum.
	MinFreeDiskMb *MinFreeDiskMb `json:"minFreeDiskMb,omitempty"`

	// Name Name of the template. Can include a tag with colon separator (e.g. "my-template" or "my-template:v1"). If tag is included, it will be treated as if the tag was provided in the tags array.
	Name *string `json:"name,omitempty"`

	// Tags Tags to assign to the template build
	Tags *[]string `json:"tags,omitempty"`

	// TeamID Identifier of the team, as its UUID or its public project ID (prj_)
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	TeamID *string `json:"teamID,omitempty"`
}

TemplateBuildRequestV3 defines model for TemplateBuildRequestV3.

type TemplateBuildStartV2

type TemplateBuildStartV2 struct {
	// Force Whether the whole build should be forced to run regardless of the cache
	Force *bool `json:"force,omitempty"`

	// FromImage Image to use as a base for the template build
	FromImage         *string            `json:"fromImage,omitempty"`
	FromImageRegistry *FromImageRegistry `json:"fromImageRegistry,omitempty"`

	// FromTemplate Template to use as a base for the template build
	FromTemplate *string `json:"fromTemplate,omitempty"`

	// ReadyCmd Ready check command to execute in the template after the build
	ReadyCmd *string `json:"readyCmd,omitempty"`

	// StartCmd Start command to execute in the template after the build
	StartCmd *string `json:"startCmd,omitempty"`

	// Steps List of steps to execute in the template build
	Steps *[]TemplateStep `json:"steps,omitempty"`
}

TemplateBuildStartV2 Exactly one of fromImage or fromTemplate must be given and non-empty.

type TemplateBuildStatus

type TemplateBuildStatus string

TemplateBuildStatus Status of the template build

const (
	TemplateBuildStatusBuilding TemplateBuildStatus = "building"
	TemplateBuildStatusError    TemplateBuildStatus = "error"
	TemplateBuildStatusReady    TemplateBuildStatus = "ready"
	TemplateBuildStatusWaiting  TemplateBuildStatus = "waiting"
)

Defines values for TemplateBuildStatus.

func (TemplateBuildStatus) Valid

func (e TemplateBuildStatus) Valid() bool

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

type TemplateID

type TemplateID = string

TemplateID defines model for templateID.

type TemplateRequestResponseV3

type TemplateRequestResponseV3 struct {
	// Aliases Aliases of the template
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Aliases []string `json:"aliases"`

	// BuildID Identifier of the last successful build for given template
	BuildID string `json:"buildID"`

	// Names Names of the template
	Names []string `json:"names"`

	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// Tags Tags assigned to the template build
	Tags []string `json:"tags"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`
}

TemplateRequestResponseV3 defines model for TemplateRequestResponseV3.

type TemplateStep

type TemplateStep struct {
	// Args Arguments for the step
	Args *[]string `json:"args,omitempty"`

	// FilesHash Hash of the files used in the step (lowercase hex SHA-256)
	FilesHash *string `json:"filesHash,omitempty"`

	// Force Whether the step should be forced to run regardless of the cache
	Force *bool `json:"force,omitempty"`

	// Type Type of the step
	Type string `json:"type"`
}

TemplateStep Step in the template build process

type TemplateTag

type TemplateTag struct {
	// BuildID Identifier of the build associated with this tag
	BuildID openapi_types.UUID `json:"buildID"`

	// CreatedAt Time when the tag was assigned
	CreatedAt time.Time `json:"createdAt"`

	// Tag The tag name
	Tag string `json:"tag"`
}

TemplateTag defines model for TemplateTag.

type TemplateTagAssignment added in v0.1.4

type TemplateTagAssignment struct {
	// AssignedAt Time when the tag was assigned to the build.
	AssignedAt time.Time `json:"assignedAt"`

	// AssignmentId Identifier of the tag assignment event.
	AssignmentId openapi_types.UUID `json:"assignmentId"`

	// BuildCreatedAt Time when the assigned build was created.
	BuildCreatedAt time.Time `json:"buildCreatedAt"`

	// BuildFinishedAt Time when the assigned build finished.
	BuildFinishedAt *time.Time `json:"buildFinishedAt"`

	// BuildId Identifier of the assigned build.
	BuildId openapi_types.UUID `json:"buildId"`
}

TemplateTagAssignment defines model for TemplateTagAssignment.

type TemplateTagAssignmentsResponse added in v0.1.4

type TemplateTagAssignmentsResponse struct {
	// Data Ready assignment events for the tag, sorted latest first.
	Data []TemplateTagAssignment `json:"data"`

	// NextCursor Cursor to pass to the next list request, or `null` if there is no next page.
	NextCursor *string `json:"nextCursor"`
}

TemplateTagAssignmentsResponse defines model for TemplateTagAssignmentsResponse.

type TemplateTagExistsResponse added in v0.1.4

type TemplateTagExistsResponse struct {
	// Exists Whether the template tag has at least one ready assignment.
	Exists bool `json:"exists"`

	// NormalizedTag Normalized template tag name.
	NormalizedTag string `json:"normalizedTag"`
}

TemplateTagExistsResponse defines model for TemplateTagExistsResponse.

type TemplateTagGroup added in v0.1.4

type TemplateTagGroup struct {
	// Assignments Ready assignment events for this tag, sorted latest first.
	Assignments []TemplateTagAssignment `json:"assignments"`

	// HasMore Whether more ready assignment events exist beyond the requested assignment limit.
	HasMore bool `json:"hasMore"`

	// Tag Template tag name.
	Tag string `json:"tag"`
}

TemplateTagGroup defines model for TemplateTagGroup.

type TemplateTagGroupsResponse added in v0.1.4

type TemplateTagGroupsResponse struct {
	// NextCursor Cursor to pass as `tagsCursor` for the next page, or `null` if there is no next page.
	NextCursor *string            `json:"nextCursor"`
	Tags       []TemplateTagGroup `json:"tags"`
}

TemplateTagGroupsResponse defines model for TemplateTagGroupsResponse.

type TemplateTagsCountResponse added in v0.1.4

type TemplateTagsCountResponse struct {
	// Total Total distinct ready tags for the template.
	Total int64 `json:"total"`
}

TemplateTagsCountResponse defines model for TemplateTagsCountResponse.

type TemplateUpdateRequest

type TemplateUpdateRequest struct {
	// Public Whether the template is public or only accessible by the team
	Public *bool `json:"public,omitempty"`
}

TemplateUpdateRequest defines model for TemplateUpdateRequest.

type TemplateUpdateResponse

type TemplateUpdateResponse struct {
	// Names Names of the template (namespace/alias format when namespaced)
	Names []string `json:"names"`
}

TemplateUpdateResponse defines model for TemplateUpdateResponse.

type TemplateWithBuilds

type TemplateWithBuilds struct {
	// Aliases Aliases of the template
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Aliases []string `json:"aliases"`

	// BuildCount Number of times the template was built
	BuildCount int32 `json:"buildCount"`

	// BuildID Identifier of the last successful build for given template
	BuildID string `json:"buildID"`

	// BuildStatus Status of the template build
	BuildStatus TemplateBuildStatus `json:"buildStatus"`

	// Builds List of builds for the template
	Builds []TemplateBuild `json:"builds"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// CreatedAt Time when the template was created
	CreatedAt time.Time `json:"createdAt"`
	CreatedBy *TeamUser `json:"createdBy"`

	// Description Description of the template
	Description *string `json:"description,omitempty"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// IsDefault Whether the template is one of the platform's default templates. A default template owned by another team carries zero or null usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`).
	IsDefault *bool `json:"isDefault,omitempty"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// MaxCpuCount Maximum CPU count for resizable templates; absent for fixed-size templates.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB `json:"memoryMB"`

	// Names Names of the template (namespace/alias format when namespaced)
	Names []string `json:"names"`

	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// SpawnCount Number of times the template was used
	SpawnCount int64 `json:"spawnCount"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`

	// UpdatedAt Time when the template was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

TemplateWithBuilds defines model for TemplateWithBuilds.

type Volume

type Volume struct {
	// Name Name of the volume
	Name string `json:"name"`

	// VolumeID ID of the volume
	VolumeID string `json:"volumeID"`
}

Volume defines model for Volume.

type VolumeAndToken

type VolumeAndToken struct {
	// Domain Domain to use as the destination for volume content requests,
	// replacing the default `api.<E2B_DOMAIN>`. Only returned when the
	// team is connected to a custom (BYOC) cluster; absent otherwise, in
	// which case the default domain is used.
	Domain *string `json:"domain,omitempty"`

	// Name Name of the volume
	Name string `json:"name"`

	// Token Auth token to use for interacting with volume content
	Token string `json:"token"`

	// VolumeID ID of the volume
	VolumeID string `json:"volumeID"`
}

VolumeAndToken defines model for VolumeAndToken.

type VolumeID

type VolumeID = string

VolumeID defines model for volumeID.

Jump to

Keyboard shortcuts

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