api

package
v0.0.0-...-35dcf12 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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

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

Index

Constants

View Source
const (
	AccessTokenAuthScopes    = "AccessTokenAuth.Scopes"
	AdminTokenAuthScopes     = "AdminTokenAuth.Scopes"
	ApiKeyAuthScopes         = "ApiKeyAuth.Scopes"
	Supabase1TokenAuthScopes = "Supabase1TokenAuth.Scopes"
	Supabase2TeamAuthScopes  = "Supabase2TeamAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewDeleteAccessTokensAccessTokenIDRequest

func NewDeleteAccessTokensAccessTokenIDRequest(server string, accessTokenID AccessTokenID) (*http.Request, error)

NewDeleteAccessTokensAccessTokenIDRequest generates requests for DeleteAccessTokensAccessTokenID

func NewDeleteApiKeysApiKeyIDRequest

func NewDeleteApiKeysApiKeyIDRequest(server string, apiKeyID ApiKeyID) (*http.Request, error)

NewDeleteApiKeysApiKeyIDRequest generates requests for DeleteApiKeysApiKeyID

func NewDeleteSandboxesSandboxIDRequest

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

NewDeleteSandboxesSandboxIDRequest generates requests for DeleteSandboxesSandboxID

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 generates requests for DeleteTemplatesTags with any type of body

func NewDeleteTemplatesTemplateIDRequest

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

NewDeleteTemplatesTemplateIDRequest generates requests for DeleteTemplatesTemplateID

func NewDeleteVolumesVolumeIDRequest

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

NewDeleteVolumesVolumeIDRequest generates requests for DeleteVolumesVolumeID

func NewGetApiKeysRequest

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

NewGetApiKeysRequest generates requests for GetApiKeys

func NewGetHealthRequest

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

NewGetHealthRequest generates requests for GetHealth

func NewGetNodesNodeIDRequest

func NewGetNodesNodeIDRequest(server string, nodeID NodeID, params *GetNodesNodeIDParams) (*http.Request, error)

NewGetNodesNodeIDRequest generates requests for GetNodesNodeID

func NewGetNodesRequest

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

NewGetNodesRequest generates requests for GetNodes

func NewGetSandboxesMetricsRequest

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

NewGetSandboxesMetricsRequest generates requests for GetSandboxesMetrics

func NewGetSandboxesRequest

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

NewGetSandboxesRequest generates requests for GetSandboxes

func NewGetSandboxesSandboxIDLogsRequest

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

NewGetSandboxesSandboxIDLogsRequest generates requests for GetSandboxesSandboxIDLogs

func NewGetSandboxesSandboxIDMetricsRequest

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

NewGetSandboxesSandboxIDMetricsRequest generates requests for GetSandboxesSandboxIDMetrics

func NewGetSandboxesSandboxIDRequest

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

NewGetSandboxesSandboxIDRequest generates requests for GetSandboxesSandboxID

func NewGetSnapshotsRequest

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

NewGetSnapshotsRequest generates requests for GetSnapshots

func NewGetTeamsRequest

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

NewGetTeamsRequest generates requests for GetTeams

func NewGetTeamsTeamIDMetricsMaxRequest

func NewGetTeamsTeamIDMetricsMaxRequest(server string, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams) (*http.Request, error)

NewGetTeamsTeamIDMetricsMaxRequest generates requests for GetTeamsTeamIDMetricsMax

func NewGetTeamsTeamIDMetricsRequest

func NewGetTeamsTeamIDMetricsRequest(server string, teamID TeamID, params *GetTeamsTeamIDMetricsParams) (*http.Request, error)

NewGetTeamsTeamIDMetricsRequest generates requests for GetTeamsTeamIDMetrics

func NewGetTemplatesAliasesAliasRequest

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

NewGetTemplatesAliasesAliasRequest generates requests for GetTemplatesAliasesAlias

func NewGetTemplatesRequest

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

NewGetTemplatesRequest generates requests for GetTemplates

func NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest

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

NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest generates requests for GetTemplatesTemplateIDBuildsBuildIDLogs

func NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest

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

NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest generates requests for GetTemplatesTemplateIDBuildsBuildIDStatus

func NewGetTemplatesTemplateIDFilesHashRequest

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

NewGetTemplatesTemplateIDFilesHashRequest generates requests for GetTemplatesTemplateIDFilesHash

func NewGetTemplatesTemplateIDRequest

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

NewGetTemplatesTemplateIDRequest generates requests for GetTemplatesTemplateID

func NewGetTemplatesTemplateIDTagsRequest

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

NewGetTemplatesTemplateIDTagsRequest generates requests for GetTemplatesTemplateIDTags

func NewGetV2SandboxesRequest

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

NewGetV2SandboxesRequest generates requests for GetV2Sandboxes

func NewGetV2SandboxesSandboxIDLogsRequest

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

NewGetV2SandboxesSandboxIDLogsRequest generates requests for GetV2SandboxesSandboxIDLogs

func NewGetVolumesRequest

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

NewGetVolumesRequest generates requests for GetVolumes

func NewGetVolumesVolumeIDRequest

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

NewGetVolumesVolumeIDRequest generates requests for GetVolumesVolumeID

func NewPatchApiKeysApiKeyIDRequest

func NewPatchApiKeysApiKeyIDRequest(server string, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody) (*http.Request, error)

NewPatchApiKeysApiKeyIDRequest calls the generic PatchApiKeysApiKeyID builder with application/json body

func NewPatchApiKeysApiKeyIDRequestWithBody

func NewPatchApiKeysApiKeyIDRequestWithBody(server string, apiKeyID ApiKeyID, contentType string, body io.Reader) (*http.Request, error)

NewPatchApiKeysApiKeyIDRequestWithBody generates requests for PatchApiKeysApiKeyID with any type of body

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 generates requests for PatchTemplatesTemplateID with any type of body

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 generates requests for PatchV2TemplatesTemplateID with any type of body

func NewPostAccessTokensRequest

func NewPostAccessTokensRequest(server string, body PostAccessTokensJSONRequestBody) (*http.Request, error)

NewPostAccessTokensRequest calls the generic PostAccessTokens builder with application/json body

func NewPostAccessTokensRequestWithBody

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

NewPostAccessTokensRequestWithBody generates requests for PostAccessTokens with any type of body

func NewPostAdminTeamsTeamIDBuildsCancelRequest

func NewPostAdminTeamsTeamIDBuildsCancelRequest(server string, teamID openapi_types.UUID) (*http.Request, error)

NewPostAdminTeamsTeamIDBuildsCancelRequest generates requests for PostAdminTeamsTeamIDBuildsCancel

func NewPostAdminTeamsTeamIDSandboxesKillRequest

func NewPostAdminTeamsTeamIDSandboxesKillRequest(server string, teamID openapi_types.UUID) (*http.Request, error)

NewPostAdminTeamsTeamIDSandboxesKillRequest generates requests for PostAdminTeamsTeamIDSandboxesKill

func NewPostApiKeysRequest

func NewPostApiKeysRequest(server string, body PostApiKeysJSONRequestBody) (*http.Request, error)

NewPostApiKeysRequest calls the generic PostApiKeys builder with application/json body

func NewPostApiKeysRequestWithBody

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

NewPostApiKeysRequestWithBody generates requests for PostApiKeys with any type of body

func NewPostNodesNodeIDRequest

func NewPostNodesNodeIDRequest(server string, nodeID NodeID, body PostNodesNodeIDJSONRequestBody) (*http.Request, error)

NewPostNodesNodeIDRequest calls the generic PostNodesNodeID builder with application/json body

func NewPostNodesNodeIDRequestWithBody

func NewPostNodesNodeIDRequestWithBody(server string, nodeID NodeID, contentType string, body io.Reader) (*http.Request, error)

NewPostNodesNodeIDRequestWithBody generates requests for PostNodesNodeID with any type of body

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 generates requests for PostSandboxes with any type of body

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 generates requests for PostSandboxesSandboxIDConnect with any type of body

func NewPostSandboxesSandboxIDPauseRequest

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

NewPostSandboxesSandboxIDPauseRequest generates requests for PostSandboxesSandboxIDPause

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 generates requests for PostSandboxesSandboxIDRefreshes with any type of body

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 generates requests for PostSandboxesSandboxIDResume with any type of body

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 generates requests for PostSandboxesSandboxIDSnapshots with any type of body

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 generates requests for PostSandboxesSandboxIDTimeout with any type of body

func NewPostTemplatesRequest

func NewPostTemplatesRequest(server string, body PostTemplatesJSONRequestBody) (*http.Request, error)

NewPostTemplatesRequest calls the generic PostTemplates builder with application/json body

func NewPostTemplatesRequestWithBody

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

NewPostTemplatesRequestWithBody generates requests for PostTemplates with any type of body

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 generates requests for PostTemplatesTags with any type of body

func NewPostTemplatesTemplateIDBuildsBuildIDRequest

func NewPostTemplatesTemplateIDBuildsBuildIDRequest(server string, templateID TemplateID, buildID BuildID) (*http.Request, error)

NewPostTemplatesTemplateIDBuildsBuildIDRequest generates requests for PostTemplatesTemplateIDBuildsBuildID

func NewPostTemplatesTemplateIDRequest

func NewPostTemplatesTemplateIDRequest(server string, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody) (*http.Request, error)

NewPostTemplatesTemplateIDRequest calls the generic PostTemplatesTemplateID builder with application/json body

func NewPostTemplatesTemplateIDRequestWithBody

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

NewPostTemplatesTemplateIDRequestWithBody generates requests for PostTemplatesTemplateID with any type of body

func NewPostV2TemplatesRequest

func NewPostV2TemplatesRequest(server string, body PostV2TemplatesJSONRequestBody) (*http.Request, error)

NewPostV2TemplatesRequest calls the generic PostV2Templates builder with application/json body

func NewPostV2TemplatesRequestWithBody

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

NewPostV2TemplatesRequestWithBody generates requests for PostV2Templates with any type of body

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 generates requests for PostV2TemplatesTemplateIDBuildsBuildID with any type of body

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 generates requests for PostV3Templates with any type of body

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 generates requests for PostVolumes with any type of body

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.

type AccessTokenID

type AccessTokenID = string

AccessTokenID defines model for accessTokenID.

type AdminBuildCancelResult

type AdminBuildCancelResult struct {
	// CancelledCount Number of builds successfully cancelled
	CancelledCount int `json:"cancelledCount"`

	// FailedCount Number of builds that failed to cancel
	FailedCount int `json:"failedCount"`
}

AdminBuildCancelResult defines model for AdminBuildCancelResult.

type AdminSandboxKillResult

type AdminSandboxKillResult struct {
	// FailedCount Number of sandboxes that failed to kill
	FailedCount int `json:"failedCount"`

	// KilledCount Number of sandboxes successfully killed
	KilledCount int `json:"killedCount"`
}

AdminSandboxKillResult defines model for AdminSandboxKillResult.

type ApiKeyID

type ApiKeyID = string

ApiKeyID defines model for apiKeyID.

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

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

func (*Client) DeleteApiKeysApiKeyID

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

func (*Client) DeleteSandboxesSandboxID

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

func (*Client) DeleteTemplatesTags

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

func (*Client) DeleteTemplatesTagsWithBody

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

func (*Client) DeleteTemplatesTemplateID

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

func (*Client) DeleteVolumesVolumeID

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

func (*Client) GetApiKeys

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

func (*Client) GetHealth

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

func (*Client) GetNodes

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

func (*Client) GetNodesNodeID

func (c *Client) GetNodesNodeID(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSandboxes

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

func (*Client) GetSandboxesMetrics

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

func (*Client) GetSandboxesSandboxID

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

func (*Client) GetSandboxesSandboxIDLogs

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

func (*Client) GetSandboxesSandboxIDMetrics

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

func (*Client) GetSnapshots

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

func (*Client) GetTeams

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

func (*Client) GetTeamsTeamIDMetrics

func (c *Client) GetTeamsTeamIDMetrics(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIDMetricsMax

func (c *Client) GetTeamsTeamIDMetricsMax(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTemplates

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

func (*Client) GetTemplatesAliasesAlias

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

func (*Client) GetTemplatesTemplateID

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

func (*Client) GetTemplatesTemplateIDBuildsBuildIDLogs

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

func (*Client) GetTemplatesTemplateIDBuildsBuildIDStatus

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

func (*Client) GetTemplatesTemplateIDFilesHash

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

func (*Client) GetTemplatesTemplateIDTags

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

func (*Client) GetV2Sandboxes

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

func (*Client) GetV2SandboxesSandboxIDLogs

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

func (*Client) GetVolumes

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

func (*Client) GetVolumesVolumeID

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

func (*Client) PatchApiKeysApiKeyID

func (c *Client) PatchApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchApiKeysApiKeyIDWithBody

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

func (*Client) PatchTemplatesTemplateID

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

func (*Client) PatchTemplatesTemplateIDWithBody

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

func (*Client) PatchV2TemplatesTemplateID

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

func (*Client) PatchV2TemplatesTemplateIDWithBody

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

func (*Client) PostAccessTokens

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

func (*Client) PostAccessTokensWithBody

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

func (*Client) PostAdminTeamsTeamIDBuildsCancel

func (c *Client) PostAdminTeamsTeamIDBuildsCancel(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAdminTeamsTeamIDSandboxesKill

func (c *Client) PostAdminTeamsTeamIDSandboxesKill(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiKeys

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

func (*Client) PostApiKeysWithBody

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

func (*Client) PostNodesNodeID

func (c *Client) PostNodesNodeID(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostNodesNodeIDWithBody

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

func (*Client) PostSandboxes

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

func (*Client) PostSandboxesSandboxIDConnect

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

func (*Client) PostSandboxesSandboxIDConnectWithBody

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

func (*Client) PostSandboxesSandboxIDPause

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

func (*Client) PostSandboxesSandboxIDRefreshes

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

func (*Client) PostSandboxesSandboxIDRefreshesWithBody

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

func (*Client) PostSandboxesSandboxIDResume

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

func (*Client) PostSandboxesSandboxIDResumeWithBody

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

func (*Client) PostSandboxesSandboxIDSnapshots

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

func (*Client) PostSandboxesSandboxIDSnapshotsWithBody

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

func (*Client) PostSandboxesSandboxIDTimeout

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

func (*Client) PostSandboxesSandboxIDTimeoutWithBody

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

func (*Client) PostSandboxesWithBody

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

func (*Client) PostTemplates

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

func (*Client) PostTemplatesTags

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

func (*Client) PostTemplatesTagsWithBody

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

func (*Client) PostTemplatesTemplateID

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

func (*Client) PostTemplatesTemplateIDBuildsBuildID

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

func (*Client) PostTemplatesTemplateIDWithBody

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

func (*Client) PostTemplatesWithBody

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

func (*Client) PostV2Templates

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

func (*Client) PostV2TemplatesTemplateIDBuildsBuildID

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

func (*Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody

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

func (*Client) PostV2TemplatesWithBody

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

func (*Client) PostV3Templates

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

func (*Client) PostV3TemplatesWithBody

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

func (*Client) PostVolumes

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

func (*Client) PostVolumesWithBody

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

type ClientInterface

type ClientInterface interface {
	// PostAccessTokensWithBody request with any body
	PostAccessTokensWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostAccessTokens(ctx context.Context, body PostAccessTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAccessTokensAccessTokenID request
	DeleteAccessTokensAccessTokenID(ctx context.Context, accessTokenID AccessTokenID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAdminTeamsTeamIDBuildsCancel request
	PostAdminTeamsTeamIDBuildsCancel(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAdminTeamsTeamIDSandboxesKill request
	PostAdminTeamsTeamIDSandboxesKill(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	PostApiKeys(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiKeysApiKeyID request
	DeleteApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PatchApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// GetNodesNodeID request
	GetNodesNodeID(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostNodesNodeID(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	// DeleteSandboxesSandboxID request
	DeleteSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesSandboxID request
	GetSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// GetSandboxesSandboxIDLogs request
	GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesSandboxIDMetrics request
	GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDPause request
	PostSandboxesSandboxIDPause(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

	// GetTeamsTeamIDMetrics request
	GetTeamsTeamIDMetrics(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIDMetricsMax request
	GetTeamsTeamIDMetricsMax(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	PostTemplates(ctx context.Context, body PostTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

	// DeleteTemplatesTemplateID request
	DeleteTemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateID request
	GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	PostTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTemplatesTemplateIDBuildsBuildID request
	PostTemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// GetTemplatesTemplateIDFilesHash request
	GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTags request
	GetTemplatesTemplateIDTags(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetV2SandboxesSandboxIDLogs request
	GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostV2Templates(ctx context.Context, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// PostV2TemplatesTemplateIDBuildsBuildIDWithBody request with any body
	PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

	// DeleteVolumesVolumeID request
	DeleteVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVolumesVolumeID request
	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) DeleteAccessTokensAccessTokenIDWithResponse

func (c *ClientWithResponses) DeleteAccessTokensAccessTokenIDWithResponse(ctx context.Context, accessTokenID AccessTokenID, reqEditors ...RequestEditorFn) (*DeleteAccessTokensAccessTokenIDResponse, error)

DeleteAccessTokensAccessTokenIDWithResponse request returning *DeleteAccessTokensAccessTokenIDResponse

func (*ClientWithResponses) DeleteApiKeysApiKeyIDWithResponse

func (c *ClientWithResponses) DeleteApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteApiKeysApiKeyIDResponse, error)

DeleteApiKeysApiKeyIDWithResponse request returning *DeleteApiKeysApiKeyIDResponse

func (*ClientWithResponses) DeleteSandboxesSandboxIDWithResponse

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

DeleteSandboxesSandboxIDWithResponse request returning *DeleteSandboxesSandboxIDResponse

func (*ClientWithResponses) DeleteTemplatesTagsWithBodyWithResponse

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

DeleteTemplatesTagsWithBodyWithResponse request with arbitrary body returning *DeleteTemplatesTagsResponse

func (*ClientWithResponses) DeleteTemplatesTagsWithResponse

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

func (*ClientWithResponses) DeleteTemplatesTemplateIDWithResponse

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

DeleteTemplatesTemplateIDWithResponse request returning *DeleteTemplatesTemplateIDResponse

func (*ClientWithResponses) DeleteVolumesVolumeIDWithResponse

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

DeleteVolumesVolumeIDWithResponse request returning *DeleteVolumesVolumeIDResponse

func (*ClientWithResponses) GetApiKeysWithResponse

func (c *ClientWithResponses) GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)

GetApiKeysWithResponse request returning *GetApiKeysResponse

func (*ClientWithResponses) GetHealthWithResponse

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

GetHealthWithResponse request returning *GetHealthResponse

func (*ClientWithResponses) GetNodesNodeIDWithResponse

func (c *ClientWithResponses) GetNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*GetNodesNodeIDResponse, error)

GetNodesNodeIDWithResponse request returning *GetNodesNodeIDResponse

func (*ClientWithResponses) GetNodesWithResponse

func (c *ClientWithResponses) GetNodesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNodesResponse, error)

GetNodesWithResponse request returning *GetNodesResponse

func (*ClientWithResponses) GetSandboxesMetricsWithResponse

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

GetSandboxesMetricsWithResponse request returning *GetSandboxesMetricsResponse

func (*ClientWithResponses) GetSandboxesSandboxIDLogsWithResponse

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

GetSandboxesSandboxIDLogsWithResponse request returning *GetSandboxesSandboxIDLogsResponse

func (*ClientWithResponses) GetSandboxesSandboxIDMetricsWithResponse

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

GetSandboxesSandboxIDMetricsWithResponse request returning *GetSandboxesSandboxIDMetricsResponse

func (*ClientWithResponses) GetSandboxesSandboxIDWithResponse

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

GetSandboxesSandboxIDWithResponse request returning *GetSandboxesSandboxIDResponse

func (*ClientWithResponses) GetSandboxesWithResponse

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

GetSandboxesWithResponse request returning *GetSandboxesResponse

func (*ClientWithResponses) GetSnapshotsWithResponse

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

GetSnapshotsWithResponse request returning *GetSnapshotsResponse

func (*ClientWithResponses) GetTeamsTeamIDMetricsMaxWithResponse

func (c *ClientWithResponses) GetTeamsTeamIDMetricsMaxWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsMaxResponse, error)

GetTeamsTeamIDMetricsMaxWithResponse request returning *GetTeamsTeamIDMetricsMaxResponse

func (*ClientWithResponses) GetTeamsTeamIDMetricsWithResponse

func (c *ClientWithResponses) GetTeamsTeamIDMetricsWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsResponse, error)

GetTeamsTeamIDMetricsWithResponse request returning *GetTeamsTeamIDMetricsResponse

func (*ClientWithResponses) GetTeamsWithResponse

func (c *ClientWithResponses) GetTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)

GetTeamsWithResponse request returning *GetTeamsResponse

func (*ClientWithResponses) GetTemplatesAliasesAliasWithResponse

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

GetTemplatesAliasesAliasWithResponse request returning *GetTemplatesAliasesAliasResponse

func (*ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse

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

GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse request returning *GetTemplatesTemplateIDBuildsBuildIDLogsResponse

func (*ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse

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

GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse request returning *GetTemplatesTemplateIDBuildsBuildIDStatusResponse

func (*ClientWithResponses) GetTemplatesTemplateIDFilesHashWithResponse

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

GetTemplatesTemplateIDFilesHashWithResponse request returning *GetTemplatesTemplateIDFilesHashResponse

func (*ClientWithResponses) GetTemplatesTemplateIDTagsWithResponse

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

GetTemplatesTemplateIDTagsWithResponse request returning *GetTemplatesTemplateIDTagsResponse

func (*ClientWithResponses) GetTemplatesTemplateIDWithResponse

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

GetTemplatesTemplateIDWithResponse request returning *GetTemplatesTemplateIDResponse

func (*ClientWithResponses) GetTemplatesWithResponse

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

GetTemplatesWithResponse request returning *GetTemplatesResponse

func (*ClientWithResponses) GetV2SandboxesSandboxIDLogsWithResponse

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

GetV2SandboxesSandboxIDLogsWithResponse request returning *GetV2SandboxesSandboxIDLogsResponse

func (*ClientWithResponses) GetV2SandboxesWithResponse

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

GetV2SandboxesWithResponse request returning *GetV2SandboxesResponse

func (*ClientWithResponses) GetVolumesVolumeIDWithResponse

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

GetVolumesVolumeIDWithResponse request returning *GetVolumesVolumeIDResponse

func (*ClientWithResponses) GetVolumesWithResponse

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

GetVolumesWithResponse request returning *GetVolumesResponse

func (*ClientWithResponses) PatchApiKeysApiKeyIDWithBodyWithResponse

func (c *ClientWithResponses) PatchApiKeysApiKeyIDWithBodyWithResponse(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)

PatchApiKeysApiKeyIDWithBodyWithResponse request with arbitrary body returning *PatchApiKeysApiKeyIDResponse

func (*ClientWithResponses) PatchApiKeysApiKeyIDWithResponse

func (c *ClientWithResponses) PatchApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)

func (*ClientWithResponses) PatchTemplatesTemplateIDWithBodyWithResponse

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

PatchTemplatesTemplateIDWithBodyWithResponse request with arbitrary body returning *PatchTemplatesTemplateIDResponse

func (*ClientWithResponses) PatchTemplatesTemplateIDWithResponse

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

func (*ClientWithResponses) PatchV2TemplatesTemplateIDWithBodyWithResponse

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

PatchV2TemplatesTemplateIDWithBodyWithResponse request with arbitrary body returning *PatchV2TemplatesTemplateIDResponse

func (*ClientWithResponses) PatchV2TemplatesTemplateIDWithResponse

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

func (*ClientWithResponses) PostAccessTokensWithBodyWithResponse

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

PostAccessTokensWithBodyWithResponse request with arbitrary body returning *PostAccessTokensResponse

func (*ClientWithResponses) PostAccessTokensWithResponse

func (c *ClientWithResponses) PostAccessTokensWithResponse(ctx context.Context, body PostAccessTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccessTokensResponse, error)

func (*ClientWithResponses) PostAdminTeamsTeamIDBuildsCancelWithResponse

func (c *ClientWithResponses) PostAdminTeamsTeamIDBuildsCancelWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)

PostAdminTeamsTeamIDBuildsCancelWithResponse request returning *PostAdminTeamsTeamIDBuildsCancelResponse

func (*ClientWithResponses) PostAdminTeamsTeamIDSandboxesKillWithResponse

func (c *ClientWithResponses) PostAdminTeamsTeamIDSandboxesKillWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)

PostAdminTeamsTeamIDSandboxesKillWithResponse request returning *PostAdminTeamsTeamIDSandboxesKillResponse

func (*ClientWithResponses) PostApiKeysWithBodyWithResponse

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

PostApiKeysWithBodyWithResponse request with arbitrary body returning *PostApiKeysResponse

func (*ClientWithResponses) PostApiKeysWithResponse

func (c *ClientWithResponses) PostApiKeysWithResponse(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)

func (*ClientWithResponses) PostNodesNodeIDWithBodyWithResponse

func (c *ClientWithResponses) PostNodesNodeIDWithBodyWithResponse(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)

PostNodesNodeIDWithBodyWithResponse request with arbitrary body returning *PostNodesNodeIDResponse

func (*ClientWithResponses) PostNodesNodeIDWithResponse

func (c *ClientWithResponses) PostNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)

func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse

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

PostSandboxesSandboxIDConnectWithBodyWithResponse request with arbitrary body returning *PostSandboxesSandboxIDConnectResponse

func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse

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

func (*ClientWithResponses) PostSandboxesSandboxIDPauseWithResponse

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

PostSandboxesSandboxIDPauseWithResponse request returning *PostSandboxesSandboxIDPauseResponse

func (*ClientWithResponses) PostSandboxesSandboxIDRefreshesWithBodyWithResponse

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

PostSandboxesSandboxIDRefreshesWithBodyWithResponse request with arbitrary body returning *PostSandboxesSandboxIDRefreshesResponse

func (*ClientWithResponses) PostSandboxesSandboxIDRefreshesWithResponse

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

func (*ClientWithResponses) PostSandboxesSandboxIDResumeWithBodyWithResponse

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

PostSandboxesSandboxIDResumeWithBodyWithResponse request with arbitrary body returning *PostSandboxesSandboxIDResumeResponse

func (*ClientWithResponses) PostSandboxesSandboxIDResumeWithResponse

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

func (*ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithBodyWithResponse

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

PostSandboxesSandboxIDSnapshotsWithBodyWithResponse request with arbitrary body returning *PostSandboxesSandboxIDSnapshotsResponse

func (*ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithResponse

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

func (*ClientWithResponses) PostSandboxesSandboxIDTimeoutWithBodyWithResponse

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

PostSandboxesSandboxIDTimeoutWithBodyWithResponse request with arbitrary body returning *PostSandboxesSandboxIDTimeoutResponse

func (*ClientWithResponses) PostSandboxesSandboxIDTimeoutWithResponse

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

func (*ClientWithResponses) PostSandboxesWithBodyWithResponse

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

PostSandboxesWithBodyWithResponse request with arbitrary body returning *PostSandboxesResponse

func (*ClientWithResponses) PostSandboxesWithResponse

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

func (*ClientWithResponses) PostTemplatesTagsWithBodyWithResponse

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

PostTemplatesTagsWithBodyWithResponse request with arbitrary body returning *PostTemplatesTagsResponse

func (*ClientWithResponses) PostTemplatesTagsWithResponse

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

func (*ClientWithResponses) PostTemplatesTemplateIDBuildsBuildIDWithResponse

func (c *ClientWithResponses) PostTemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDBuildsBuildIDResponse, error)

PostTemplatesTemplateIDBuildsBuildIDWithResponse request returning *PostTemplatesTemplateIDBuildsBuildIDResponse

func (*ClientWithResponses) PostTemplatesTemplateIDWithBodyWithResponse

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

PostTemplatesTemplateIDWithBodyWithResponse request with arbitrary body returning *PostTemplatesTemplateIDResponse

func (*ClientWithResponses) PostTemplatesTemplateIDWithResponse

func (c *ClientWithResponses) PostTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDResponse, error)

func (*ClientWithResponses) PostTemplatesWithBodyWithResponse

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

PostTemplatesWithBodyWithResponse request with arbitrary body returning *PostTemplatesResponse

func (*ClientWithResponses) PostTemplatesWithResponse

func (c *ClientWithResponses) PostTemplatesWithResponse(ctx context.Context, body PostTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesResponse, error)

func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse

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

PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse request with arbitrary body returning *PostV2TemplatesTemplateIDBuildsBuildIDResponse

func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse

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

func (*ClientWithResponses) PostV2TemplatesWithBodyWithResponse

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

PostV2TemplatesWithBodyWithResponse request with arbitrary body returning *PostV2TemplatesResponse

func (*ClientWithResponses) PostV2TemplatesWithResponse

func (c *ClientWithResponses) PostV2TemplatesWithResponse(ctx context.Context, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)

func (*ClientWithResponses) PostV3TemplatesWithBodyWithResponse

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

PostV3TemplatesWithBodyWithResponse request with arbitrary body returning *PostV3TemplatesResponse

func (*ClientWithResponses) PostV3TemplatesWithResponse

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

func (*ClientWithResponses) PostVolumesWithBodyWithResponse

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

PostVolumesWithBodyWithResponse request with arbitrary body returning *PostVolumesResponse

func (*ClientWithResponses) PostVolumesWithResponse

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

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// PostAccessTokensWithBodyWithResponse request with any body
	PostAccessTokensWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccessTokensResponse, error)

	PostAccessTokensWithResponse(ctx context.Context, body PostAccessTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccessTokensResponse, error)

	// DeleteAccessTokensAccessTokenIDWithResponse request
	DeleteAccessTokensAccessTokenIDWithResponse(ctx context.Context, accessTokenID AccessTokenID, reqEditors ...RequestEditorFn) (*DeleteAccessTokensAccessTokenIDResponse, error)

	// PostAdminTeamsTeamIDBuildsCancelWithResponse request
	PostAdminTeamsTeamIDBuildsCancelWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)

	// PostAdminTeamsTeamIDSandboxesKillWithResponse request
	PostAdminTeamsTeamIDSandboxesKillWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)

	// GetApiKeysWithResponse request
	GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)

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

	PostApiKeysWithResponse(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)

	// DeleteApiKeysApiKeyIDWithResponse request
	DeleteApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteApiKeysApiKeyIDResponse, error)

	// PatchApiKeysApiKeyIDWithBodyWithResponse request with any body
	PatchApiKeysApiKeyIDWithBodyWithResponse(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)

	PatchApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)

	// GetHealthWithResponse request
	GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)

	// GetNodesWithResponse request
	GetNodesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNodesResponse, error)

	// GetNodesNodeIDWithResponse request
	GetNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*GetNodesNodeIDResponse, error)

	// PostNodesNodeIDWithBodyWithResponse request with any body
	PostNodesNodeIDWithBodyWithResponse(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)

	PostNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)

	// GetSandboxesWithResponse request
	GetSandboxesWithResponse(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*GetSandboxesResponse, error)

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

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

	// GetSandboxesMetricsWithResponse request
	GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesMetricsResponse, error)

	// DeleteSandboxesSandboxIDWithResponse request
	DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)

	// GetSandboxesSandboxIDWithResponse request
	GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)

	// PostSandboxesSandboxIDConnectWithBodyWithResponse request with any body
	PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

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

	// GetSandboxesSandboxIDLogsWithResponse request
	GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDLogsResponse, error)

	// GetSandboxesSandboxIDMetricsWithResponse request
	GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDMetricsResponse, error)

	// PostSandboxesSandboxIDPauseWithResponse request
	PostSandboxesSandboxIDPauseWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

	// PostSandboxesSandboxIDRefreshesWithBodyWithResponse request with any body
	PostSandboxesSandboxIDRefreshesWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

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

	// PostSandboxesSandboxIDResumeWithBodyWithResponse request with any body
	PostSandboxesSandboxIDResumeWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

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

	// PostSandboxesSandboxIDSnapshotsWithBodyWithResponse request with any body
	PostSandboxesSandboxIDSnapshotsWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)

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

	// PostSandboxesSandboxIDTimeoutWithBodyWithResponse request with any body
	PostSandboxesSandboxIDTimeoutWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

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

	// GetSnapshotsWithResponse request
	GetSnapshotsWithResponse(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*GetSnapshotsResponse, error)

	// GetTeamsWithResponse request
	GetTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)

	// GetTeamsTeamIDMetricsWithResponse request
	GetTeamsTeamIDMetricsWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsResponse, error)

	// GetTeamsTeamIDMetricsMaxWithResponse request
	GetTeamsTeamIDMetricsMaxWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsMaxResponse, error)

	// GetTemplatesWithResponse request
	GetTemplatesWithResponse(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)

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

	PostTemplatesWithResponse(ctx context.Context, body PostTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesResponse, error)

	// GetTemplatesAliasesAliasWithResponse request
	GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)

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

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

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

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

	// DeleteTemplatesTemplateIDWithResponse request
	DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)

	// GetTemplatesTemplateIDWithResponse request
	GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDResponse, error)

	// PatchTemplatesTemplateIDWithBodyWithResponse request with any body
	PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

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

	// PostTemplatesTemplateIDWithBodyWithResponse request with any body
	PostTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDResponse, error)

	PostTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDResponse, error)

	// PostTemplatesTemplateIDBuildsBuildIDWithResponse request
	PostTemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDBuildsBuildIDResponse, error)

	// GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse request
	GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)

	// GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse request
	GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)

	// GetTemplatesTemplateIDFilesHashWithResponse request
	GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDFilesHashResponse, error)

	// GetTemplatesTemplateIDTagsWithResponse request
	GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)

	// GetV2SandboxesWithResponse request
	GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesResponse, error)

	// GetV2SandboxesSandboxIDLogsWithResponse request
	GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesSandboxIDLogsResponse, error)

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

	PostV2TemplatesWithResponse(ctx context.Context, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)

	// PatchV2TemplatesTemplateIDWithBodyWithResponse request with any body
	PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

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

	// PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse request with any body
	PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

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

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

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

	// GetVolumesWithResponse request
	GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)

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

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

	// DeleteVolumesVolumeIDWithResponse request
	DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)

	// GetVolumesVolumeIDWithResponse request
	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 {
	// Timeout Timeout in seconds from the current time after which the sandbox should expire
	Timeout int32 `json:"timeout"`
}

ConnectSandbox defines model for ConnectSandbox.

type CreatedAccessToken

type CreatedAccessToken struct {
	// CreatedAt Timestamp of access token creation
	CreatedAt time.Time `json:"createdAt"`

	// Id Identifier of the access token
	Id   openapi_types.UUID       `json:"id"`
	Mask IdentifierMaskingDetails `json:"mask"`

	// Name Name of the access token
	Name string `json:"name"`

	// Token The fully created access token
	Token string `json:"token"`
}

CreatedAccessToken defines model for CreatedAccessToken.

type CreatedTeamAPIKey

type CreatedTeamAPIKey struct {
	// CreatedAt Timestamp of API key creation
	CreatedAt time.Time `json:"createdAt"`
	CreatedBy *TeamUser `json:"createdBy"`

	// Id Identifier of the API key
	Id openapi_types.UUID `json:"id"`

	// Key Raw value of the API key
	Key string `json:"key"`

	// LastUsed Last time this API key was used
	LastUsed *time.Time               `json:"lastUsed"`
	Mask     IdentifierMaskingDetails `json:"mask"`

	// Name Name of the API key
	Name string `json:"name"`
}

CreatedTeamAPIKey defines model for CreatedTeamAPIKey.

type DeleteAccessTokensAccessTokenIDResponse

type DeleteAccessTokensAccessTokenIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseDeleteAccessTokensAccessTokenIDResponse

func ParseDeleteAccessTokensAccessTokenIDResponse(rsp *http.Response) (*DeleteAccessTokensAccessTokenIDResponse, error)

ParseDeleteAccessTokensAccessTokenIDResponse parses an HTTP response from a DeleteAccessTokensAccessTokenIDWithResponse call

func (DeleteAccessTokensAccessTokenIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteAccessTokensAccessTokenIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteApiKeysApiKeyIDResponse

type DeleteApiKeysApiKeyIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseDeleteApiKeysApiKeyIDResponse

func ParseDeleteApiKeysApiKeyIDResponse(rsp *http.Response) (*DeleteApiKeysApiKeyIDResponse, error)

ParseDeleteApiKeysApiKeyIDResponse parses an HTTP response from a DeleteApiKeysApiKeyIDWithResponse call

func (DeleteApiKeysApiKeyIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiKeysApiKeyIDResponse) StatusCode

func (r DeleteApiKeysApiKeyIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxesSandboxIDResponse

type DeleteSandboxesSandboxIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseDeleteSandboxesSandboxIDResponse

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

ParseDeleteSandboxesSandboxIDResponse parses an HTTP response from a DeleteSandboxesSandboxIDWithResponse call

func (DeleteSandboxesSandboxIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteSandboxesSandboxIDResponse) StatusCode

func (r DeleteSandboxesSandboxIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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      *N400
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseDeleteTemplatesTagsResponse

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

ParseDeleteTemplatesTagsResponse parses an HTTP response from a DeleteTemplatesTagsWithResponse call

func (DeleteTemplatesTagsResponse) Status

Status returns HTTPResponse.Status

func (DeleteTemplatesTagsResponse) StatusCode

func (r DeleteTemplatesTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplatesTemplateIDResponse

type DeleteTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON500      *N500
}

func ParseDeleteTemplatesTemplateIDResponse

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

ParseDeleteTemplatesTemplateIDResponse parses an HTTP response from a DeleteTemplatesTemplateIDWithResponse call

func (DeleteTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteTemplatesTemplateIDResponse) StatusCode

func (r DeleteTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVolumesVolumeIDResponse

type DeleteVolumesVolumeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseDeleteVolumesVolumeIDResponse

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

ParseDeleteVolumesVolumeIDResponse parses an HTTP response from a DeleteVolumesVolumeIDWithResponse call

func (DeleteVolumesVolumeIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteVolumesVolumeIDResponse) StatusCode

func (r DeleteVolumesVolumeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DiskMetrics

type DiskMetrics struct {
	// Device Device name
	Device string `json:"device"`

	// FilesystemType Filesystem type (e.g., ext4, xfs)
	FilesystemType string `json:"filesystemType"`

	// MountPoint Mount point of the disk
	MountPoint string `json:"mountPoint"`

	// TotalBytes Total space in bytes
	TotalBytes uint64 `json:"totalBytes"`

	// UsedBytes Used space in bytes
	UsedBytes uint64 `json:"usedBytes"`
}

DiskMetrics defines model for DiskMetrics.

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 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"`

	// 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.

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.

type GetApiKeysResponse

type GetApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TeamAPIKey
	JSON401      *N401
	JSON500      *N500
}

func ParseGetApiKeysResponse

func ParseGetApiKeysResponse(rsp *http.Response) (*GetApiKeysResponse, error)

ParseGetApiKeysResponse parses an HTTP response from a GetApiKeysWithResponse call

func (GetApiKeysResponse) Status

func (r GetApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiKeysResponse) StatusCode

func (r GetApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHealthResponse

type GetHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
}

func ParseGetHealthResponse

func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)

ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call

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 GetNodesNodeIDParams

type GetNodesNodeIDParams struct {
	// ClusterID Identifier of the cluster
	ClusterID *openapi_types.UUID `form:"clusterID,omitempty" json:"clusterID,omitempty"`
}

GetNodesNodeIDParams defines parameters for GetNodesNodeID.

type GetNodesNodeIDResponse

type GetNodesNodeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NodeDetail
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetNodesNodeIDResponse

func ParseGetNodesNodeIDResponse(rsp *http.Response) (*GetNodesNodeIDResponse, error)

ParseGetNodesNodeIDResponse parses an HTTP response from a GetNodesNodeIDWithResponse call

func (GetNodesNodeIDResponse) Status

func (r GetNodesNodeIDResponse) Status() string

Status returns HTTPResponse.Status

func (GetNodesNodeIDResponse) StatusCode

func (r GetNodesNodeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNodesResponse

type GetNodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Node
	JSON401      *N401
	JSON500      *N500
}

func ParseGetNodesResponse

func ParseGetNodesResponse(rsp *http.Response) (*GetNodesResponse, error)

ParseGetNodesResponse parses an HTTP response from a GetNodesWithResponse call

func (GetNodesResponse) Status

func (r GetNodesResponse) Status() string

Status returns HTTPResponse.Status

func (GetNodesResponse) StatusCode

func (r GetNodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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      *SandboxesWithMetrics
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParseGetSandboxesMetricsResponse

func ParseGetSandboxesMetricsResponse(rsp *http.Response) (*GetSandboxesMetricsResponse, error)

ParseGetSandboxesMetricsResponse parses an HTTP response from a GetSandboxesMetricsWithResponse call

func (GetSandboxesMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesMetricsResponse) StatusCode

func (r GetSandboxesMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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      *[]ListedSandbox
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParseGetSandboxesResponse

func ParseGetSandboxesResponse(rsp *http.Response) (*GetSandboxesResponse, error)

ParseGetSandboxesResponse parses an HTTP response from a GetSandboxesWithResponse call

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 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      *SandboxLogs
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetSandboxesSandboxIDLogsResponse

func ParseGetSandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetSandboxesSandboxIDLogsResponse, error)

ParseGetSandboxesSandboxIDLogsResponse parses an HTTP response from a GetSandboxesSandboxIDLogsWithResponse call

func (GetSandboxesSandboxIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDLogsResponse) StatusCode

func (r GetSandboxesSandboxIDLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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      *[]SandboxMetric
	JSON400      *N400
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetSandboxesSandboxIDMetricsResponse

func ParseGetSandboxesSandboxIDMetricsResponse(rsp *http.Response) (*GetSandboxesSandboxIDMetricsResponse, error)

ParseGetSandboxesSandboxIDMetricsResponse parses an HTTP response from a GetSandboxesSandboxIDMetricsWithResponse call

func (GetSandboxesSandboxIDMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDMetricsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesSandboxIDResponse

type GetSandboxesSandboxIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SandboxDetail
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetSandboxesSandboxIDResponse

func ParseGetSandboxesSandboxIDResponse(rsp *http.Response) (*GetSandboxesSandboxIDResponse, error)

ParseGetSandboxesSandboxIDResponse parses an HTTP response from a GetSandboxesSandboxIDWithResponse call

func (GetSandboxesSandboxIDResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDResponse) StatusCode

func (r GetSandboxesSandboxIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSnapshotsParams

type GetSnapshotsParams struct {
	SandboxID *string `form:"sandboxID,omitempty" json:"sandboxID,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      *[]SnapshotInfo
	JSON401      *N401
	JSON500      *N500
}

func ParseGetSnapshotsResponse

func ParseGetSnapshotsResponse(rsp *http.Response) (*GetSnapshotsResponse, error)

ParseGetSnapshotsResponse parses an HTTP response from a GetSnapshotsWithResponse call

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 GetTeamsResponse

type GetTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Team
	JSON401      *N401
	JSON500      *N500
}

func ParseGetTeamsResponse

func ParseGetTeamsResponse(rsp *http.Response) (*GetTeamsResponse, error)

ParseGetTeamsResponse parses an HTTP response from a GetTeamsWithResponse call

func (GetTeamsResponse) Status

func (r GetTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamsResponse) StatusCode

func (r GetTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIDMetricsMaxParams

type GetTeamsTeamIDMetricsMaxParams 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"`

	// Metric Metric to retrieve the maximum value for
	Metric GetTeamsTeamIDMetricsMaxParamsMetric `form:"metric" json:"metric"`
}

GetTeamsTeamIDMetricsMaxParams defines parameters for GetTeamsTeamIDMetricsMax.

type GetTeamsTeamIDMetricsMaxParamsMetric

type GetTeamsTeamIDMetricsMaxParamsMetric string

GetTeamsTeamIDMetricsMaxParamsMetric defines parameters for GetTeamsTeamIDMetricsMax.

const (
	ConcurrentSandboxes GetTeamsTeamIDMetricsMaxParamsMetric = "concurrent_sandboxes"
	SandboxStartRate    GetTeamsTeamIDMetricsMaxParamsMetric = "sandbox_start_rate"
)

Defines values for GetTeamsTeamIDMetricsMaxParamsMetric.

type GetTeamsTeamIDMetricsMaxResponse

type GetTeamsTeamIDMetricsMaxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaxTeamMetric
	JSON400      *N400
	JSON401      *N401
	JSON403      *N403
	JSON500      *N500
}

func ParseGetTeamsTeamIDMetricsMaxResponse

func ParseGetTeamsTeamIDMetricsMaxResponse(rsp *http.Response) (*GetTeamsTeamIDMetricsMaxResponse, error)

ParseGetTeamsTeamIDMetricsMaxResponse parses an HTTP response from a GetTeamsTeamIDMetricsMaxWithResponse call

func (GetTeamsTeamIDMetricsMaxResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIDMetricsMaxResponse) StatusCode

func (r GetTeamsTeamIDMetricsMaxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIDMetricsParams

type GetTeamsTeamIDMetricsParams 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"`
}

GetTeamsTeamIDMetricsParams defines parameters for GetTeamsTeamIDMetrics.

type GetTeamsTeamIDMetricsResponse

type GetTeamsTeamIDMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TeamMetric
	JSON400      *N400
	JSON401      *N401
	JSON403      *N403
	JSON500      *N500
}

func ParseGetTeamsTeamIDMetricsResponse

func ParseGetTeamsTeamIDMetricsResponse(rsp *http.Response) (*GetTeamsTeamIDMetricsResponse, error)

ParseGetTeamsTeamIDMetricsResponse parses an HTTP response from a GetTeamsTeamIDMetricsWithResponse call

func (GetTeamsTeamIDMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIDMetricsResponse) StatusCode

func (r GetTeamsTeamIDMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesAliasesAliasResponse

type GetTemplatesAliasesAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TemplateAliasResponse
	JSON400      *N400
	JSON403      *N403
	JSON404      *N404
	JSON500      *N500
}

func ParseGetTemplatesAliasesAliasResponse

func ParseGetTemplatesAliasesAliasResponse(rsp *http.Response) (*GetTemplatesAliasesAliasResponse, error)

ParseGetTemplatesAliasesAliasResponse parses an HTTP response from a GetTemplatesAliasesAliasWithResponse call

func (GetTemplatesAliasesAliasResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesAliasesAliasResponse) StatusCode

func (r GetTemplatesAliasesAliasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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      *[]Template
	JSON401      *N401
	JSON500      *N500
}

func ParseGetTemplatesResponse

func ParseGetTemplatesResponse(rsp *http.Response) (*GetTemplatesResponse, error)

ParseGetTemplatesResponse parses an HTTP response from a GetTemplatesWithResponse call

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 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      *TemplateBuildLogsResponse
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse

func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)

ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse call

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

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      *TemplateBuildInfo
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse

func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)

ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse call

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDFilesHashResponse

type GetTemplatesTemplateIDFilesHashResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TemplateBuildFileUpload
	JSON400      *N400
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetTemplatesTemplateIDFilesHashResponse

func ParseGetTemplatesTemplateIDFilesHashResponse(rsp *http.Response) (*GetTemplatesTemplateIDFilesHashResponse, error)

ParseGetTemplatesTemplateIDFilesHashResponse parses an HTTP response from a GetTemplatesTemplateIDFilesHashWithResponse call

func (GetTemplatesTemplateIDFilesHashResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDFilesHashResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

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      *TemplateWithBuilds
	JSON401      *N401
	JSON500      *N500
}

func ParseGetTemplatesTemplateIDResponse

func ParseGetTemplatesTemplateIDResponse(rsp *http.Response) (*GetTemplatesTemplateIDResponse, error)

ParseGetTemplatesTemplateIDResponse parses an HTTP response from a GetTemplatesTemplateIDWithResponse call

func (GetTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDResponse) StatusCode

func (r GetTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsResponse

type GetTemplatesTemplateIDTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TemplateTag
	JSON401      *N401
	JSON403      *N403
	JSON404      *N404
	JSON500      *N500
}

func ParseGetTemplatesTemplateIDTagsResponse

func ParseGetTemplatesTemplateIDTagsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsResponse, error)

ParseGetTemplatesTemplateIDTagsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsWithResponse call

func (GetTemplatesTemplateIDTagsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsResponse) StatusCode

func (r GetTemplatesTemplateIDTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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"`

	// 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      *[]ListedSandbox
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParseGetV2SandboxesResponse

func ParseGetV2SandboxesResponse(rsp *http.Response) (*GetV2SandboxesResponse, error)

ParseGetV2SandboxesResponse parses an HTTP response from a GetV2SandboxesWithResponse call

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 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"`
}

GetV2SandboxesSandboxIDLogsParams defines parameters for GetV2SandboxesSandboxIDLogs.

type GetV2SandboxesSandboxIDLogsResponse

type GetV2SandboxesSandboxIDLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SandboxLogsV2Response
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetV2SandboxesSandboxIDLogsResponse

func ParseGetV2SandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetV2SandboxesSandboxIDLogsResponse, error)

ParseGetV2SandboxesSandboxIDLogsResponse parses an HTTP response from a GetV2SandboxesSandboxIDLogsWithResponse call

func (GetV2SandboxesSandboxIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetV2SandboxesSandboxIDLogsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetVolumesResponse

type GetVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Volume
	JSON401      *N401
	JSON500      *N500
}

func ParseGetVolumesResponse

func ParseGetVolumesResponse(rsp *http.Response) (*GetVolumesResponse, error)

ParseGetVolumesResponse parses an HTTP response from a GetVolumesWithResponse call

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 GetVolumesVolumeIDResponse

type GetVolumesVolumeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Volume
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParseGetVolumesVolumeIDResponse

func ParseGetVolumesVolumeIDResponse(rsp *http.Response) (*GetVolumesVolumeIDResponse, error)

ParseGetVolumesVolumeIDResponse parses an HTTP response from a GetVolumesVolumeIDWithResponse call

func (GetVolumesVolumeIDResponse) Status

Status returns HTTPResponse.Status

func (GetVolumesVolumeIDResponse) StatusCode

func (r GetVolumesVolumeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IdentifierMaskingDetails

type IdentifierMaskingDetails struct {
	// MaskedValuePrefix Prefix used in masked version of the token or key
	MaskedValuePrefix string `json:"maskedValuePrefix"`

	// MaskedValueSuffix Suffix used in masked version of the token or key
	MaskedValueSuffix string `json:"maskedValueSuffix"`

	// Prefix Prefix that identifies the token or key type
	Prefix string `json:"prefix"`

	// ValueLength Length of the token or key
	ValueLength int `json:"valueLength"`
}

IdentifierMaskingDetails defines model for IdentifierMaskingDetails.

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"`

	// 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"`
}

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.

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.

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.

type MachineInfo

type MachineInfo struct {
	// CpuArchitecture CPU architecture of the node
	CpuArchitecture string `json:"cpuArchitecture"`

	// CpuFamily CPU family of the node
	CpuFamily string `json:"cpuFamily"`

	// CpuModel CPU model of the node
	CpuModel string `json:"cpuModel"`

	// CpuModelName CPU model name of the node
	CpuModelName string `json:"cpuModelName"`
}

MachineInfo defines model for MachineInfo.

type MaxTeamMetric

type MaxTeamMetric struct {
	// 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"`

	// Value The maximum value of the requested metric in the given interval
	Value float32 `json:"value"`
}

MaxTeamMetric Team metric with timestamp

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 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 N500

type N500 = Error

N500 defines model for 500.

type NewAccessToken

type NewAccessToken struct {
	// Name Name of the access token
	Name string `json:"name"`
}

NewAccessToken defines model for NewAccessToken.

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"`

	// AutoResume Auto-resume configuration for paused sandboxes. Default is off.
	AutoResume *SandboxAutoResumeConfig `json:"autoResume,omitempty"`
	EnvVars    *EnvVars                 `json:"envVars,omitempty"`

	// Mcp MCP configuration for the sandbox
	Mcp      *Mcp                  `json:"mcp"`
	Metadata *SandboxMetadata      `json:"metadata,omitempty"`
	Network  *SandboxNetworkConfig `json:"network,omitempty"`

	// Secure Secure all system communication with sandbox
	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 NewTeamAPIKey

type NewTeamAPIKey struct {
	// Name Name of the API key
	Name string `json:"name"`
}

NewTeamAPIKey defines model for NewTeamAPIKey.

type NewVolume

type NewVolume struct {
	// Name Name of the volume
	Name string `json:"name"`
}

NewVolume defines model for NewVolume.

type Node

type Node struct {
	// ClusterID Identifier of the cluster
	ClusterID string `json:"clusterID"`

	// Commit Commit of the orchestrator
	Commit string `json:"commit"`

	// CreateFails Number of sandbox create fails
	CreateFails uint64 `json:"createFails"`

	// CreateSuccesses Number of sandbox create successes
	CreateSuccesses uint64 `json:"createSuccesses"`

	// Id Identifier of the node
	Id          string      `json:"id"`
	MachineInfo MachineInfo `json:"machineInfo"`

	// Metrics Node metrics
	Metrics NodeMetrics `json:"metrics"`

	// SandboxCount Number of sandboxes running on the node
	SandboxCount uint32 `json:"sandboxCount"`

	// SandboxStartingCount Number of starting Sandboxes
	SandboxStartingCount int `json:"sandboxStartingCount"`

	// ServiceInstanceID Service instance identifier of the node
	ServiceInstanceID string `json:"serviceInstanceID"`

	// Status Status of the node
	Status NodeStatus `json:"status"`

	// Version Version of the orchestrator
	Version string `json:"version"`
}

Node defines model for Node.

type NodeDetail

type NodeDetail struct {
	// CachedBuilds List of cached builds id on the node
	CachedBuilds []string `json:"cachedBuilds"`

	// ClusterID Identifier of the cluster
	ClusterID string `json:"clusterID"`

	// Commit Commit of the orchestrator
	Commit string `json:"commit"`

	// CreateFails Number of sandbox create fails
	CreateFails uint64 `json:"createFails"`

	// CreateSuccesses Number of sandbox create successes
	CreateSuccesses uint64 `json:"createSuccesses"`

	// Id Identifier of the node
	Id          string      `json:"id"`
	MachineInfo MachineInfo `json:"machineInfo"`

	// Metrics Node metrics
	Metrics NodeMetrics `json:"metrics"`

	// SandboxCount Number of sandboxes running on the node
	SandboxCount uint32 `json:"sandboxCount"`

	// ServiceInstanceID Service instance identifier of the node
	ServiceInstanceID string `json:"serviceInstanceID"`

	// Status Status of the node
	Status NodeStatus `json:"status"`

	// Version Version of the orchestrator
	Version string `json:"version"`
}

NodeDetail defines model for NodeDetail.

type NodeID

type NodeID = string

NodeID defines model for nodeID.

type NodeMetrics

type NodeMetrics struct {
	// AllocatedCPU Number of allocated CPU cores
	AllocatedCPU uint32 `json:"allocatedCPU"`

	// AllocatedMemoryBytes Amount of allocated memory in bytes
	AllocatedMemoryBytes uint64 `json:"allocatedMemoryBytes"`

	// CpuCount Total number of CPU cores on the node
	CpuCount uint32 `json:"cpuCount"`

	// CpuPercent Node CPU usage percentage
	CpuPercent uint32 `json:"cpuPercent"`

	// Disks Detailed metrics for each disk/mount point
	Disks []DiskMetrics `json:"disks"`

	// MemoryTotalBytes Total node memory in bytes
	MemoryTotalBytes uint64 `json:"memoryTotalBytes"`

	// MemoryUsedBytes Node memory used in bytes
	MemoryUsedBytes uint64 `json:"memoryUsedBytes"`
}

NodeMetrics Node metrics

type NodeStatus

type NodeStatus string

NodeStatus Status of the node

const (
	NodeStatusConnecting NodeStatus = "connecting"
	NodeStatusDraining   NodeStatus = "draining"
	NodeStatusReady      NodeStatus = "ready"
	NodeStatusUnhealthy  NodeStatus = "unhealthy"
)

Defines values for NodeStatus.

type NodeStatusChange

type NodeStatusChange struct {
	// ClusterID Identifier of the cluster
	ClusterID *openapi_types.UUID `json:"clusterID,omitempty"`

	// Status Status of the node
	Status NodeStatus `json:"status"`
}

NodeStatusChange defines model for NodeStatusChange.

type PaginationLimit

type PaginationLimit = int32

PaginationLimit defines model for paginationLimit.

type PaginationNextToken

type PaginationNextToken = string

PaginationNextToken defines model for paginationNextToken.

type PatchApiKeysApiKeyIDJSONRequestBody

type PatchApiKeysApiKeyIDJSONRequestBody = UpdateTeamAPIKey

PatchApiKeysApiKeyIDJSONRequestBody defines body for PatchApiKeysApiKeyID for application/json ContentType.

type PatchApiKeysApiKeyIDResponse

type PatchApiKeysApiKeyIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParsePatchApiKeysApiKeyIDResponse

func ParsePatchApiKeysApiKeyIDResponse(rsp *http.Response) (*PatchApiKeysApiKeyIDResponse, error)

ParsePatchApiKeysApiKeyIDResponse parses an HTTP response from a PatchApiKeysApiKeyIDWithResponse call

func (PatchApiKeysApiKeyIDResponse) Status

Status returns HTTPResponse.Status

func (PatchApiKeysApiKeyIDResponse) StatusCode

func (r PatchApiKeysApiKeyIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTemplatesTemplateIDJSONRequestBody

type PatchTemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest

PatchTemplatesTemplateIDJSONRequestBody defines body for PatchTemplatesTemplateID for application/json ContentType.

type PatchTemplatesTemplateIDResponse

type PatchTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParsePatchTemplatesTemplateIDResponse

func ParsePatchTemplatesTemplateIDResponse(rsp *http.Response) (*PatchTemplatesTemplateIDResponse, error)

ParsePatchTemplatesTemplateIDResponse parses an HTTP response from a PatchTemplatesTemplateIDWithResponse call

func (PatchTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (PatchTemplatesTemplateIDResponse) StatusCode

func (r PatchTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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      *TemplateUpdateResponse
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParsePatchV2TemplatesTemplateIDResponse

func ParsePatchV2TemplatesTemplateIDResponse(rsp *http.Response) (*PatchV2TemplatesTemplateIDResponse, error)

ParsePatchV2TemplatesTemplateIDResponse parses an HTTP response from a PatchV2TemplatesTemplateIDWithResponse call

func (PatchV2TemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (PatchV2TemplatesTemplateIDResponse) StatusCode

func (r PatchV2TemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAccessTokensJSONRequestBody

type PostAccessTokensJSONRequestBody = NewAccessToken

PostAccessTokensJSONRequestBody defines body for PostAccessTokens for application/json ContentType.

type PostAccessTokensResponse

type PostAccessTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreatedAccessToken
	JSON401      *N401
	JSON500      *N500
}

func ParsePostAccessTokensResponse

func ParsePostAccessTokensResponse(rsp *http.Response) (*PostAccessTokensResponse, error)

ParsePostAccessTokensResponse parses an HTTP response from a PostAccessTokensWithResponse call

func (PostAccessTokensResponse) Status

func (r PostAccessTokensResponse) Status() string

Status returns HTTPResponse.Status

func (PostAccessTokensResponse) StatusCode

func (r PostAccessTokensResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAdminTeamsTeamIDBuildsCancelResponse

type PostAdminTeamsTeamIDBuildsCancelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AdminBuildCancelResult
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParsePostAdminTeamsTeamIDBuildsCancelResponse

func ParsePostAdminTeamsTeamIDBuildsCancelResponse(rsp *http.Response) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)

ParsePostAdminTeamsTeamIDBuildsCancelResponse parses an HTTP response from a PostAdminTeamsTeamIDBuildsCancelWithResponse call

func (PostAdminTeamsTeamIDBuildsCancelResponse) Status

Status returns HTTPResponse.Status

func (PostAdminTeamsTeamIDBuildsCancelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAdminTeamsTeamIDSandboxesKillResponse

type PostAdminTeamsTeamIDSandboxesKillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AdminSandboxKillResult
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParsePostAdminTeamsTeamIDSandboxesKillResponse

func ParsePostAdminTeamsTeamIDSandboxesKillResponse(rsp *http.Response) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)

ParsePostAdminTeamsTeamIDSandboxesKillResponse parses an HTTP response from a PostAdminTeamsTeamIDSandboxesKillWithResponse call

func (PostAdminTeamsTeamIDSandboxesKillResponse) Status

Status returns HTTPResponse.Status

func (PostAdminTeamsTeamIDSandboxesKillResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostApiKeysJSONRequestBody

type PostApiKeysJSONRequestBody = NewTeamAPIKey

PostApiKeysJSONRequestBody defines body for PostApiKeys for application/json ContentType.

type PostApiKeysResponse

type PostApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreatedTeamAPIKey
	JSON401      *N401
	JSON500      *N500
}

func ParsePostApiKeysResponse

func ParsePostApiKeysResponse(rsp *http.Response) (*PostApiKeysResponse, error)

ParsePostApiKeysResponse parses an HTTP response from a PostApiKeysWithResponse call

func (PostApiKeysResponse) Status

func (r PostApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (PostApiKeysResponse) StatusCode

func (r PostApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostNodesNodeIDJSONRequestBody

type PostNodesNodeIDJSONRequestBody = NodeStatusChange

PostNodesNodeIDJSONRequestBody defines body for PostNodesNodeID for application/json ContentType.

type PostNodesNodeIDResponse

type PostNodesNodeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParsePostNodesNodeIDResponse

func ParsePostNodesNodeIDResponse(rsp *http.Response) (*PostNodesNodeIDResponse, error)

ParsePostNodesNodeIDResponse parses an HTTP response from a PostNodesNodeIDWithResponse call

func (PostNodesNodeIDResponse) Status

func (r PostNodesNodeIDResponse) Status() string

Status returns HTTPResponse.Status

func (PostNodesNodeIDResponse) StatusCode

func (r PostNodesNodeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesJSONRequestBody

type PostSandboxesJSONRequestBody = NewSandbox

PostSandboxesJSONRequestBody defines body for PostSandboxes for application/json ContentType.

type PostSandboxesResponse

type PostSandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Sandbox
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParsePostSandboxesResponse

func ParsePostSandboxesResponse(rsp *http.Response) (*PostSandboxesResponse, error)

ParsePostSandboxesResponse parses an HTTP response from a PostSandboxesWithResponse call

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 PostSandboxesSandboxIDConnectJSONRequestBody

type PostSandboxesSandboxIDConnectJSONRequestBody = ConnectSandbox

PostSandboxesSandboxIDConnectJSONRequestBody defines body for PostSandboxesSandboxIDConnect for application/json ContentType.

type PostSandboxesSandboxIDConnectResponse

type PostSandboxesSandboxIDConnectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Sandbox
	JSON201      *Sandbox
	JSON400      *N400
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParsePostSandboxesSandboxIDConnectResponse

func ParsePostSandboxesSandboxIDConnectResponse(rsp *http.Response) (*PostSandboxesSandboxIDConnectResponse, error)

ParsePostSandboxesSandboxIDConnectResponse parses an HTTP response from a PostSandboxesSandboxIDConnectWithResponse call

func (PostSandboxesSandboxIDConnectResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDConnectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDPauseResponse

type PostSandboxesSandboxIDPauseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
	JSON409      *N409
	JSON500      *N500
}

func ParsePostSandboxesSandboxIDPauseResponse

func ParsePostSandboxesSandboxIDPauseResponse(rsp *http.Response) (*PostSandboxesSandboxIDPauseResponse, error)

ParsePostSandboxesSandboxIDPauseResponse parses an HTTP response from a PostSandboxesSandboxIDPauseWithResponse call

func (PostSandboxesSandboxIDPauseResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDPauseResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDRefreshesJSONBody

type PostSandboxesSandboxIDRefreshesJSONBody struct {
	// Duration Duration for which the sandbox should be kept alive in seconds
	Duration *int `json:"duration,omitempty"`
}

PostSandboxesSandboxIDRefreshesJSONBody defines parameters for PostSandboxesSandboxIDRefreshes.

type PostSandboxesSandboxIDRefreshesJSONRequestBody

type PostSandboxesSandboxIDRefreshesJSONRequestBody PostSandboxesSandboxIDRefreshesJSONBody

PostSandboxesSandboxIDRefreshesJSONRequestBody defines body for PostSandboxesSandboxIDRefreshes for application/json ContentType.

type PostSandboxesSandboxIDRefreshesResponse

type PostSandboxesSandboxIDRefreshesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
}

func ParsePostSandboxesSandboxIDRefreshesResponse

func ParsePostSandboxesSandboxIDRefreshesResponse(rsp *http.Response) (*PostSandboxesSandboxIDRefreshesResponse, error)

ParsePostSandboxesSandboxIDRefreshesResponse parses an HTTP response from a PostSandboxesSandboxIDRefreshesWithResponse call

func (PostSandboxesSandboxIDRefreshesResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDRefreshesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDResumeJSONRequestBody

type PostSandboxesSandboxIDResumeJSONRequestBody = ResumedSandbox

PostSandboxesSandboxIDResumeJSONRequestBody defines body for PostSandboxesSandboxIDResume for application/json ContentType.

type PostSandboxesSandboxIDResumeResponse

type PostSandboxesSandboxIDResumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Sandbox
	JSON401      *N401
	JSON404      *N404
	JSON409      *N409
	JSON500      *N500
}

func ParsePostSandboxesSandboxIDResumeResponse

func ParsePostSandboxesSandboxIDResumeResponse(rsp *http.Response) (*PostSandboxesSandboxIDResumeResponse, error)

ParsePostSandboxesSandboxIDResumeResponse parses an HTTP response from a PostSandboxesSandboxIDResumeWithResponse call

func (PostSandboxesSandboxIDResumeResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDResumeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDSnapshotsJSONBody

type PostSandboxesSandboxIDSnapshotsJSONBody struct {
	// 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"`
}

PostSandboxesSandboxIDSnapshotsJSONBody defines parameters for PostSandboxesSandboxIDSnapshots.

type PostSandboxesSandboxIDSnapshotsJSONRequestBody

type PostSandboxesSandboxIDSnapshotsJSONRequestBody PostSandboxesSandboxIDSnapshotsJSONBody

PostSandboxesSandboxIDSnapshotsJSONRequestBody defines body for PostSandboxesSandboxIDSnapshots for application/json ContentType.

type PostSandboxesSandboxIDSnapshotsResponse

type PostSandboxesSandboxIDSnapshotsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SnapshotInfo
	JSON400      *N400
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParsePostSandboxesSandboxIDSnapshotsResponse

func ParsePostSandboxesSandboxIDSnapshotsResponse(rsp *http.Response) (*PostSandboxesSandboxIDSnapshotsResponse, error)

ParsePostSandboxesSandboxIDSnapshotsResponse parses an HTTP response from a PostSandboxesSandboxIDSnapshotsWithResponse call

func (PostSandboxesSandboxIDSnapshotsResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDSnapshotsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDTimeoutJSONBody

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

PostSandboxesSandboxIDTimeoutJSONBody defines parameters for PostSandboxesSandboxIDTimeout.

type PostSandboxesSandboxIDTimeoutJSONRequestBody

type PostSandboxesSandboxIDTimeoutJSONRequestBody PostSandboxesSandboxIDTimeoutJSONBody

PostSandboxesSandboxIDTimeoutJSONRequestBody defines body for PostSandboxesSandboxIDTimeout for application/json ContentType.

type PostSandboxesSandboxIDTimeoutResponse

type PostSandboxesSandboxIDTimeoutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParsePostSandboxesSandboxIDTimeoutResponse

func ParsePostSandboxesSandboxIDTimeoutResponse(rsp *http.Response) (*PostSandboxesSandboxIDTimeoutResponse, error)

ParsePostSandboxesSandboxIDTimeoutResponse parses an HTTP response from a PostSandboxesSandboxIDTimeoutWithResponse call

func (PostSandboxesSandboxIDTimeoutResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDTimeoutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTemplatesJSONRequestBody

type PostTemplatesJSONRequestBody = TemplateBuildRequest

PostTemplatesJSONRequestBody defines body for PostTemplates for application/json ContentType.

type PostTemplatesResponse

type PostTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *TemplateLegacy
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParsePostTemplatesResponse

func ParsePostTemplatesResponse(rsp *http.Response) (*PostTemplatesResponse, error)

ParsePostTemplatesResponse parses an HTTP response from a PostTemplatesWithResponse call

func (PostTemplatesResponse) Status

func (r PostTemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (PostTemplatesResponse) StatusCode

func (r PostTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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      *AssignedTemplateTags
	JSON400      *N400
	JSON401      *N401
	JSON404      *N404
	JSON500      *N500
}

func ParsePostTemplatesTagsResponse

func ParsePostTemplatesTagsResponse(rsp *http.Response) (*PostTemplatesTagsResponse, error)

ParsePostTemplatesTagsResponse parses an HTTP response from a PostTemplatesTagsWithResponse call

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 PostTemplatesTemplateIDBuildsBuildIDResponse

type PostTemplatesTemplateIDBuildsBuildIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON500      *N500
}

func ParsePostTemplatesTemplateIDBuildsBuildIDResponse

func ParsePostTemplatesTemplateIDBuildsBuildIDResponse(rsp *http.Response) (*PostTemplatesTemplateIDBuildsBuildIDResponse, error)

ParsePostTemplatesTemplateIDBuildsBuildIDResponse parses an HTTP response from a PostTemplatesTemplateIDBuildsBuildIDWithResponse call

func (PostTemplatesTemplateIDBuildsBuildIDResponse) Status

Status returns HTTPResponse.Status

func (PostTemplatesTemplateIDBuildsBuildIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTemplatesTemplateIDJSONRequestBody

type PostTemplatesTemplateIDJSONRequestBody = TemplateBuildRequest

PostTemplatesTemplateIDJSONRequestBody defines body for PostTemplatesTemplateID for application/json ContentType.

type PostTemplatesTemplateIDResponse

type PostTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *TemplateLegacy
	JSON401      *N401
	JSON500      *N500
}

func ParsePostTemplatesTemplateIDResponse

func ParsePostTemplatesTemplateIDResponse(rsp *http.Response) (*PostTemplatesTemplateIDResponse, error)

ParsePostTemplatesTemplateIDResponse parses an HTTP response from a PostTemplatesTemplateIDWithResponse call

func (PostTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (PostTemplatesTemplateIDResponse) StatusCode

func (r PostTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2TemplatesJSONRequestBody

type PostV2TemplatesJSONRequestBody = TemplateBuildRequestV2

PostV2TemplatesJSONRequestBody defines body for PostV2Templates for application/json ContentType.

type PostV2TemplatesResponse

type PostV2TemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *TemplateLegacy
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParsePostV2TemplatesResponse

func ParsePostV2TemplatesResponse(rsp *http.Response) (*PostV2TemplatesResponse, error)

ParsePostV2TemplatesResponse parses an HTTP response from a PostV2TemplatesWithResponse call

func (PostV2TemplatesResponse) Status

func (r PostV2TemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (PostV2TemplatesResponse) StatusCode

func (r PostV2TemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody

type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody = TemplateBuildStartV2

PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody defines body for PostV2TemplatesTemplateIDBuildsBuildID for application/json ContentType.

type PostV2TemplatesTemplateIDBuildsBuildIDResponse

type PostV2TemplatesTemplateIDBuildsBuildIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *N401
	JSON500      *N500
}

func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse

func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse(rsp *http.Response) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse parses an HTTP response from a PostV2TemplatesTemplateIDBuildsBuildIDWithResponse call

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) Status

Status returns HTTPResponse.Status

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

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      *TemplateRequestResponseV3
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParsePostV3TemplatesResponse

func ParsePostV3TemplatesResponse(rsp *http.Response) (*PostV3TemplatesResponse, error)

ParsePostV3TemplatesResponse parses an HTTP response from a PostV3TemplatesWithResponse call

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 PostVolumesJSONRequestBody

type PostVolumesJSONRequestBody = NewVolume

PostVolumesJSONRequestBody defines body for PostVolumes for application/json ContentType.

type PostVolumesResponse

type PostVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Volume
	JSON400      *N400
	JSON401      *N401
	JSON500      *N500
}

func ParsePostVolumesResponse

func ParsePostVolumesResponse(rsp *http.Response) (*PostVolumesResponse, error)

ParsePostVolumesResponse parses an HTTP response from a PostVolumesWithResponse call

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 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"`

	// 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"`

	// 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"`
}

Sandbox defines model for Sandbox.

type SandboxAutoResumeConfig

type SandboxAutoResumeConfig struct {
	// Policy Auto-resume policy for paused sandboxes. Default is off.
	Policy SandboxAutoResumePolicy `json:"policy"`
}

SandboxAutoResumeConfig Auto-resume configuration for paused sandboxes. Default is off.

type SandboxAutoResumePolicy

type SandboxAutoResumePolicy string

SandboxAutoResumePolicy Auto-resume policy for paused sandboxes. Default is off.

const (
	Any SandboxAutoResumePolicy = "any"
	Off SandboxAutoResumePolicy = "off"
)

Defines values for SandboxAutoResumePolicy.

type SandboxDetail

type SandboxDetail 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"`

	// Domain Base domain where the sandbox traffic is accessible
	Domain *string `json:"domain"`

	// EndAt Time when the sandbox will expire
	EndAt time.Time `json:"endAt"`

	// 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"`

	// 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"`
}

SandboxDetail defines model for SandboxDetail.

type SandboxID

type SandboxID = string

SandboxID defines model for sandboxID.

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"`

	// 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 CIDR blocks or IP addresses for egress traffic. Allowed addresses always take precedence over blocked addresses.
	AllowOut *[]string `json:"allowOut,omitempty"`

	// AllowPublicTraffic Specify if the sandbox URLs should be accessible only with authentication.
	AllowPublicTraffic *bool `json:"allowPublicTraffic,omitempty"`

	// DenyOut List of denied CIDR blocks or IP addresses for egress traffic
	DenyOut *[]string `json:"denyOut,omitempty"`

	// MaskRequestHost Specify host mask which will be used for all sandbox requests
	MaskRequestHost *string `json:"maskRequestHost,omitempty"`
}

SandboxNetworkConfig defines model for SandboxNetworkConfig.

type SandboxState

type SandboxState string

SandboxState State of the sandbox

const (
	Paused  SandboxState = "paused"
	Running SandboxState = "running"
)

Defines values for SandboxState.

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 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 Team

type Team struct {
	// ApiKey API key for the team
	ApiKey string `json:"apiKey"`

	// IsDefault Whether the team is the default team
	IsDefault bool `json:"isDefault"`

	// Name Name of the team
	Name string `json:"name"`

	// TeamID Identifier of the team
	TeamID string `json:"teamID"`
}

Team defines model for Team.

type TeamAPIKey

type TeamAPIKey struct {
	// CreatedAt Timestamp of API key creation
	CreatedAt time.Time `json:"createdAt"`
	CreatedBy *TeamUser `json:"createdBy"`

	// Id Identifier of the API key
	Id openapi_types.UUID `json:"id"`

	// LastUsed Last time this API key was used
	LastUsed *time.Time               `json:"lastUsed"`
	Mask     IdentifierMaskingDetails `json:"mask"`

	// Name Name of the API key
	Name string `json:"name"`
}

TeamAPIKey defines model for TeamAPIKey.

type TeamID

type TeamID = string

TeamID defines model for teamID.

type TeamMetric

type TeamMetric struct {
	// ConcurrentSandboxes The number of concurrent sandboxes for the team
	ConcurrentSandboxes int32 `json:"concurrentSandboxes"`

	// SandboxStartRate Number of sandboxes started per second
	SandboxStartRate float32 `json:"sandboxStartRate"`

	// 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"`
}

TeamMetric Team metric with timestamp

type TeamUser

type TeamUser struct {
	// Email Email of the user
	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"`

	// 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"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// 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"`

	// 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 {
	// 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
	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 TemplateBuildRequest

type TemplateBuildRequest struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// CpuCount CPU cores for the sandbox
	CpuCount *CPUCount `json:"cpuCount,omitempty"`

	// Dockerfile Dockerfile for the template
	Dockerfile string `json:"dockerfile"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB *MemoryMB `json:"memoryMB,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"`

	// TeamID Identifier of the team
	TeamID *string `json:"teamID,omitempty"`
}

TemplateBuildRequest defines model for TemplateBuildRequest.

type TemplateBuildRequestV2

type TemplateBuildRequestV2 struct {
	// Alias Alias of the template
	Alias string `json:"alias"`

	// CpuCount CPU cores for the sandbox
	CpuCount *CPUCount `json:"cpuCount,omitempty"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB *MemoryMB `json:"memoryMB,omitempty"`

	// TeamID Identifier of the team
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	TeamID *string `json:"teamID,omitempty"`
}

TemplateBuildRequestV2 defines model for TemplateBuildRequestV2.

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"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB *MemoryMB `json:"memoryMB,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
	// 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 defines model for TemplateBuildStartV2.

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.

type TemplateID

type TemplateID = string

TemplateID defines model for templateID.

type TemplateLegacy

type TemplateLegacy struct {
	// Aliases Aliases of the template
	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"`

	// 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"`

	// 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"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB `json:"memoryMB"`

	// 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"`
}

TemplateLegacy defines model for TemplateLegacy.

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
	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 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"`

	// Builds List of builds for the template
	Builds []TemplateBuild `json:"builds"`

	// CreatedAt Time when the template was created
	CreatedAt time.Time `json:"createdAt"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// 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 UpdateTeamAPIKey

type UpdateTeamAPIKey struct {
	// Name New name for the API key
	Name string `json:"name"`
}

UpdateTeamAPIKey defines model for UpdateTeamAPIKey.

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