e2bgen

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 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 RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)

RegisterHandlersWithOptions creates http.Handler with additional options

Types

type AWSRegistry

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

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

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

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

AWSRegistry defines model for AWSRegistry.

type AWSRegistryType

type AWSRegistryType string

AWSRegistryType Type of registry authentication

const (
	Aws AWSRegistryType = "aws"
)

Defines values for AWSRegistryType.

func (AWSRegistryType) Valid

func (e AWSRegistryType) Valid() bool

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

type 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 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,omitempty"`

	// 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,omitempty"`
	Mask     IdentifierMaskingDetails `json:"mask"`

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

CreatedTeamAPIKey defines model for CreatedTeamAPIKey.

type DeleteAccessTokensAccessTokenID204Response

type DeleteAccessTokensAccessTokenID204Response struct {
}

func (DeleteAccessTokensAccessTokenID204Response) VisitDeleteAccessTokensAccessTokenIDResponse

func (response DeleteAccessTokensAccessTokenID204Response) VisitDeleteAccessTokensAccessTokenIDResponse(w http.ResponseWriter) error

type DeleteAccessTokensAccessTokenID401JSONResponse

type DeleteAccessTokensAccessTokenID401JSONResponse struct{ N401JSONResponse }

func (DeleteAccessTokensAccessTokenID401JSONResponse) VisitDeleteAccessTokensAccessTokenIDResponse

func (response DeleteAccessTokensAccessTokenID401JSONResponse) VisitDeleteAccessTokensAccessTokenIDResponse(w http.ResponseWriter) error

type DeleteAccessTokensAccessTokenID404JSONResponse

type DeleteAccessTokensAccessTokenID404JSONResponse struct{ N404JSONResponse }

func (DeleteAccessTokensAccessTokenID404JSONResponse) VisitDeleteAccessTokensAccessTokenIDResponse

func (response DeleteAccessTokensAccessTokenID404JSONResponse) VisitDeleteAccessTokensAccessTokenIDResponse(w http.ResponseWriter) error

type DeleteAccessTokensAccessTokenID500JSONResponse

type DeleteAccessTokensAccessTokenID500JSONResponse struct{ N500JSONResponse }

func (DeleteAccessTokensAccessTokenID500JSONResponse) VisitDeleteAccessTokensAccessTokenIDResponse

func (response DeleteAccessTokensAccessTokenID500JSONResponse) VisitDeleteAccessTokensAccessTokenIDResponse(w http.ResponseWriter) error

type DeleteAccessTokensAccessTokenIDRequestObject

type DeleteAccessTokensAccessTokenIDRequestObject struct {
	AccessTokenID AccessTokenID `json:"accessTokenID"`
}

type DeleteAccessTokensAccessTokenIDResponseObject

type DeleteAccessTokensAccessTokenIDResponseObject interface {
	VisitDeleteAccessTokensAccessTokenIDResponse(w http.ResponseWriter) error
}

type DeleteApiKeysApiKeyID204Response

type DeleteApiKeysApiKeyID204Response struct {
}

func (DeleteApiKeysApiKeyID204Response) VisitDeleteApiKeysApiKeyIDResponse

func (response DeleteApiKeysApiKeyID204Response) VisitDeleteApiKeysApiKeyIDResponse(w http.ResponseWriter) error

type DeleteApiKeysApiKeyID401JSONResponse

type DeleteApiKeysApiKeyID401JSONResponse struct{ N401JSONResponse }

func (DeleteApiKeysApiKeyID401JSONResponse) VisitDeleteApiKeysApiKeyIDResponse

func (response DeleteApiKeysApiKeyID401JSONResponse) VisitDeleteApiKeysApiKeyIDResponse(w http.ResponseWriter) error

type DeleteApiKeysApiKeyID404JSONResponse

type DeleteApiKeysApiKeyID404JSONResponse struct{ N404JSONResponse }

func (DeleteApiKeysApiKeyID404JSONResponse) VisitDeleteApiKeysApiKeyIDResponse

func (response DeleteApiKeysApiKeyID404JSONResponse) VisitDeleteApiKeysApiKeyIDResponse(w http.ResponseWriter) error

type DeleteApiKeysApiKeyID500JSONResponse

type DeleteApiKeysApiKeyID500JSONResponse struct{ N500JSONResponse }

func (DeleteApiKeysApiKeyID500JSONResponse) VisitDeleteApiKeysApiKeyIDResponse

func (response DeleteApiKeysApiKeyID500JSONResponse) VisitDeleteApiKeysApiKeyIDResponse(w http.ResponseWriter) error

type DeleteApiKeysApiKeyIDRequestObject

type DeleteApiKeysApiKeyIDRequestObject struct {
	ApiKeyID ApiKeyID `json:"apiKeyID"`
}

type DeleteApiKeysApiKeyIDResponseObject

type DeleteApiKeysApiKeyIDResponseObject interface {
	VisitDeleteApiKeysApiKeyIDResponse(w http.ResponseWriter) error
}

type DeleteSandboxesSandboxID204Response

type DeleteSandboxesSandboxID204Response struct {
}

func (DeleteSandboxesSandboxID204Response) VisitDeleteSandboxesSandboxIDResponse

func (response DeleteSandboxesSandboxID204Response) VisitDeleteSandboxesSandboxIDResponse(w http.ResponseWriter) error

type DeleteSandboxesSandboxID401JSONResponse

type DeleteSandboxesSandboxID401JSONResponse struct{ N401JSONResponse }

func (DeleteSandboxesSandboxID401JSONResponse) VisitDeleteSandboxesSandboxIDResponse

func (response DeleteSandboxesSandboxID401JSONResponse) VisitDeleteSandboxesSandboxIDResponse(w http.ResponseWriter) error

type DeleteSandboxesSandboxID404JSONResponse

type DeleteSandboxesSandboxID404JSONResponse struct{ N404JSONResponse }

func (DeleteSandboxesSandboxID404JSONResponse) VisitDeleteSandboxesSandboxIDResponse

func (response DeleteSandboxesSandboxID404JSONResponse) VisitDeleteSandboxesSandboxIDResponse(w http.ResponseWriter) error

type DeleteSandboxesSandboxID500JSONResponse

type DeleteSandboxesSandboxID500JSONResponse struct{ N500JSONResponse }

func (DeleteSandboxesSandboxID500JSONResponse) VisitDeleteSandboxesSandboxIDResponse

func (response DeleteSandboxesSandboxID500JSONResponse) VisitDeleteSandboxesSandboxIDResponse(w http.ResponseWriter) error

type DeleteSandboxesSandboxIDRequestObject

type DeleteSandboxesSandboxIDRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
}

type DeleteSandboxesSandboxIDResponseObject

type DeleteSandboxesSandboxIDResponseObject interface {
	VisitDeleteSandboxesSandboxIDResponse(w http.ResponseWriter) error
}

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 DeleteTemplatesTags204Response

type DeleteTemplatesTags204Response struct {
}

func (DeleteTemplatesTags204Response) VisitDeleteTemplatesTagsResponse

func (response DeleteTemplatesTags204Response) VisitDeleteTemplatesTagsResponse(w http.ResponseWriter) error

type DeleteTemplatesTags400JSONResponse

type DeleteTemplatesTags400JSONResponse struct{ N400JSONResponse }

func (DeleteTemplatesTags400JSONResponse) VisitDeleteTemplatesTagsResponse

func (response DeleteTemplatesTags400JSONResponse) VisitDeleteTemplatesTagsResponse(w http.ResponseWriter) error

type DeleteTemplatesTags401JSONResponse

type DeleteTemplatesTags401JSONResponse struct{ N401JSONResponse }

func (DeleteTemplatesTags401JSONResponse) VisitDeleteTemplatesTagsResponse

func (response DeleteTemplatesTags401JSONResponse) VisitDeleteTemplatesTagsResponse(w http.ResponseWriter) error

type DeleteTemplatesTags404JSONResponse

type DeleteTemplatesTags404JSONResponse struct{ N404JSONResponse }

func (DeleteTemplatesTags404JSONResponse) VisitDeleteTemplatesTagsResponse

func (response DeleteTemplatesTags404JSONResponse) VisitDeleteTemplatesTagsResponse(w http.ResponseWriter) error

type DeleteTemplatesTags500JSONResponse

type DeleteTemplatesTags500JSONResponse struct{ N500JSONResponse }

func (DeleteTemplatesTags500JSONResponse) VisitDeleteTemplatesTagsResponse

func (response DeleteTemplatesTags500JSONResponse) VisitDeleteTemplatesTagsResponse(w http.ResponseWriter) error

type DeleteTemplatesTagsJSONRequestBody

type DeleteTemplatesTagsJSONRequestBody = DeleteTemplateTagsRequest

DeleteTemplatesTagsJSONRequestBody defines body for DeleteTemplatesTags for application/json ContentType.

type DeleteTemplatesTagsRequestObject

type DeleteTemplatesTagsRequestObject struct {
	Body *DeleteTemplatesTagsJSONRequestBody
}

type DeleteTemplatesTagsResponseObject

type DeleteTemplatesTagsResponseObject interface {
	VisitDeleteTemplatesTagsResponse(w http.ResponseWriter) error
}

type DeleteTemplatesTemplateID204Response

type DeleteTemplatesTemplateID204Response struct {
}

func (DeleteTemplatesTemplateID204Response) VisitDeleteTemplatesTemplateIDResponse

func (response DeleteTemplatesTemplateID204Response) VisitDeleteTemplatesTemplateIDResponse(w http.ResponseWriter) error

type DeleteTemplatesTemplateID401JSONResponse

type DeleteTemplatesTemplateID401JSONResponse struct{ N401JSONResponse }

func (DeleteTemplatesTemplateID401JSONResponse) VisitDeleteTemplatesTemplateIDResponse

func (response DeleteTemplatesTemplateID401JSONResponse) VisitDeleteTemplatesTemplateIDResponse(w http.ResponseWriter) error

type DeleteTemplatesTemplateID500JSONResponse

type DeleteTemplatesTemplateID500JSONResponse struct{ N500JSONResponse }

func (DeleteTemplatesTemplateID500JSONResponse) VisitDeleteTemplatesTemplateIDResponse

func (response DeleteTemplatesTemplateID500JSONResponse) VisitDeleteTemplatesTemplateIDResponse(w http.ResponseWriter) error

type DeleteTemplatesTemplateIDRequestObject

type DeleteTemplatesTemplateIDRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
}

type DeleteTemplatesTemplateIDResponseObject

type DeleteTemplatesTemplateIDResponseObject interface {
	VisitDeleteTemplatesTemplateIDResponse(w http.ResponseWriter) error
}

type DeleteVolumesVolumeID204Response

type DeleteVolumesVolumeID204Response struct {
}

func (DeleteVolumesVolumeID204Response) VisitDeleteVolumesVolumeIDResponse

func (response DeleteVolumesVolumeID204Response) VisitDeleteVolumesVolumeIDResponse(w http.ResponseWriter) error

type DeleteVolumesVolumeID401JSONResponse

type DeleteVolumesVolumeID401JSONResponse struct{ N401JSONResponse }

func (DeleteVolumesVolumeID401JSONResponse) VisitDeleteVolumesVolumeIDResponse

func (response DeleteVolumesVolumeID401JSONResponse) VisitDeleteVolumesVolumeIDResponse(w http.ResponseWriter) error

type DeleteVolumesVolumeID404JSONResponse

type DeleteVolumesVolumeID404JSONResponse struct{ N404JSONResponse }

func (DeleteVolumesVolumeID404JSONResponse) VisitDeleteVolumesVolumeIDResponse

func (response DeleteVolumesVolumeID404JSONResponse) VisitDeleteVolumesVolumeIDResponse(w http.ResponseWriter) error

type DeleteVolumesVolumeID500JSONResponse

type DeleteVolumesVolumeID500JSONResponse struct{ N500JSONResponse }

func (DeleteVolumesVolumeID500JSONResponse) VisitDeleteVolumesVolumeIDResponse

func (response DeleteVolumesVolumeID500JSONResponse) VisitDeleteVolumesVolumeIDResponse(w http.ResponseWriter) error

type DeleteVolumesVolumeIDRequestObject

type DeleteVolumesVolumeIDRequestObject struct {
	VolumeID VolumeID `json:"volumeID"`
}

type DeleteVolumesVolumeIDResponseObject

type DeleteVolumesVolumeIDResponseObject interface {
	VisitDeleteVolumesVolumeIDResponse(w http.ResponseWriter) error
}

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.

func (GCPRegistryType) Valid

func (e GCPRegistryType) Valid() bool

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

type GeneralRegistry

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

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

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

GeneralRegistry defines model for GeneralRegistry.

type GeneralRegistryType

type GeneralRegistryType string

GeneralRegistryType Type of registry authentication

const (
	Registry GeneralRegistryType = "registry"
)

Defines values for GeneralRegistryType.

func (GeneralRegistryType) Valid

func (e GeneralRegistryType) Valid() bool

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

type GetApiKeys200JSONResponse

type GetApiKeys200JSONResponse []TeamAPIKey

func (GetApiKeys200JSONResponse) VisitGetApiKeysResponse

func (response GetApiKeys200JSONResponse) VisitGetApiKeysResponse(w http.ResponseWriter) error

type GetApiKeys401JSONResponse

type GetApiKeys401JSONResponse struct{ N401JSONResponse }

func (GetApiKeys401JSONResponse) VisitGetApiKeysResponse

func (response GetApiKeys401JSONResponse) VisitGetApiKeysResponse(w http.ResponseWriter) error

type GetApiKeys500JSONResponse

type GetApiKeys500JSONResponse struct{ N500JSONResponse }

func (GetApiKeys500JSONResponse) VisitGetApiKeysResponse

func (response GetApiKeys500JSONResponse) VisitGetApiKeysResponse(w http.ResponseWriter) error

type GetApiKeysRequestObject

type GetApiKeysRequestObject struct {
}

type GetApiKeysResponseObject

type GetApiKeysResponseObject interface {
	VisitGetApiKeysResponse(w http.ResponseWriter) error
}

type GetHealth200Response

type GetHealth200Response struct {
}

func (GetHealth200Response) VisitGetHealthResponse

func (response GetHealth200Response) VisitGetHealthResponse(w http.ResponseWriter) error

type GetHealth401JSONResponse

type GetHealth401JSONResponse struct{ N401JSONResponse }

func (GetHealth401JSONResponse) VisitGetHealthResponse

func (response GetHealth401JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error

type GetHealthRequestObject

type GetHealthRequestObject struct {
}

type GetHealthResponseObject

type GetHealthResponseObject interface {
	VisitGetHealthResponse(w http.ResponseWriter) error
}

type GetNodes200JSONResponse

type GetNodes200JSONResponse []Node

func (GetNodes200JSONResponse) VisitGetNodesResponse

func (response GetNodes200JSONResponse) VisitGetNodesResponse(w http.ResponseWriter) error

type GetNodes401JSONResponse

type GetNodes401JSONResponse struct{ N401JSONResponse }

func (GetNodes401JSONResponse) VisitGetNodesResponse

func (response GetNodes401JSONResponse) VisitGetNodesResponse(w http.ResponseWriter) error

type GetNodes500JSONResponse

type GetNodes500JSONResponse struct{ N500JSONResponse }

func (GetNodes500JSONResponse) VisitGetNodesResponse

func (response GetNodes500JSONResponse) VisitGetNodesResponse(w http.ResponseWriter) error

type GetNodesNodeID200JSONResponse

type GetNodesNodeID200JSONResponse NodeDetail

func (GetNodesNodeID200JSONResponse) VisitGetNodesNodeIDResponse

func (response GetNodesNodeID200JSONResponse) VisitGetNodesNodeIDResponse(w http.ResponseWriter) error

type GetNodesNodeID401JSONResponse

type GetNodesNodeID401JSONResponse struct{ N401JSONResponse }

func (GetNodesNodeID401JSONResponse) VisitGetNodesNodeIDResponse

func (response GetNodesNodeID401JSONResponse) VisitGetNodesNodeIDResponse(w http.ResponseWriter) error

type GetNodesNodeID404JSONResponse

type GetNodesNodeID404JSONResponse struct{ N404JSONResponse }

func (GetNodesNodeID404JSONResponse) VisitGetNodesNodeIDResponse

func (response GetNodesNodeID404JSONResponse) VisitGetNodesNodeIDResponse(w http.ResponseWriter) error

type GetNodesNodeID500JSONResponse

type GetNodesNodeID500JSONResponse struct{ N500JSONResponse }

func (GetNodesNodeID500JSONResponse) VisitGetNodesNodeIDResponse

func (response GetNodesNodeID500JSONResponse) VisitGetNodesNodeIDResponse(w http.ResponseWriter) error

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 GetNodesNodeIDRequestObject

type GetNodesNodeIDRequestObject struct {
	NodeID NodeID `json:"nodeID"`
	Params GetNodesNodeIDParams
}

type GetNodesNodeIDResponseObject

type GetNodesNodeIDResponseObject interface {
	VisitGetNodesNodeIDResponse(w http.ResponseWriter) error
}

type GetNodesRequestObject

type GetNodesRequestObject struct {
}

type GetNodesResponseObject

type GetNodesResponseObject interface {
	VisitGetNodesResponse(w http.ResponseWriter) error
}

type GetSandboxes200JSONResponse

type GetSandboxes200JSONResponse []ListedSandbox

func (GetSandboxes200JSONResponse) VisitGetSandboxesResponse

func (response GetSandboxes200JSONResponse) VisitGetSandboxesResponse(w http.ResponseWriter) error

type GetSandboxes400JSONResponse

type GetSandboxes400JSONResponse struct{ N400JSONResponse }

func (GetSandboxes400JSONResponse) VisitGetSandboxesResponse

func (response GetSandboxes400JSONResponse) VisitGetSandboxesResponse(w http.ResponseWriter) error

type GetSandboxes401JSONResponse

type GetSandboxes401JSONResponse struct{ N401JSONResponse }

func (GetSandboxes401JSONResponse) VisitGetSandboxesResponse

func (response GetSandboxes401JSONResponse) VisitGetSandboxesResponse(w http.ResponseWriter) error

type GetSandboxes500JSONResponse

type GetSandboxes500JSONResponse struct{ N500JSONResponse }

func (GetSandboxes500JSONResponse) VisitGetSandboxesResponse

func (response GetSandboxes500JSONResponse) VisitGetSandboxesResponse(w http.ResponseWriter) error

type GetSandboxesMetrics200JSONResponse

type GetSandboxesMetrics200JSONResponse SandboxesWithMetrics

func (GetSandboxesMetrics200JSONResponse) VisitGetSandboxesMetricsResponse

func (response GetSandboxesMetrics200JSONResponse) VisitGetSandboxesMetricsResponse(w http.ResponseWriter) error

type GetSandboxesMetrics400JSONResponse

type GetSandboxesMetrics400JSONResponse struct{ N400JSONResponse }

func (GetSandboxesMetrics400JSONResponse) VisitGetSandboxesMetricsResponse

func (response GetSandboxesMetrics400JSONResponse) VisitGetSandboxesMetricsResponse(w http.ResponseWriter) error

type GetSandboxesMetrics401JSONResponse

type GetSandboxesMetrics401JSONResponse struct{ N401JSONResponse }

func (GetSandboxesMetrics401JSONResponse) VisitGetSandboxesMetricsResponse

func (response GetSandboxesMetrics401JSONResponse) VisitGetSandboxesMetricsResponse(w http.ResponseWriter) error

type GetSandboxesMetrics500JSONResponse

type GetSandboxesMetrics500JSONResponse struct{ N500JSONResponse }

func (GetSandboxesMetrics500JSONResponse) VisitGetSandboxesMetricsResponse

func (response GetSandboxesMetrics500JSONResponse) VisitGetSandboxesMetricsResponse(w http.ResponseWriter) error

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 GetSandboxesMetricsRequestObject

type GetSandboxesMetricsRequestObject struct {
	Params GetSandboxesMetricsParams
}

type GetSandboxesMetricsResponseObject

type GetSandboxesMetricsResponseObject interface {
	VisitGetSandboxesMetricsResponse(w http.ResponseWriter) error
}

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 GetSandboxesRequestObject

type GetSandboxesRequestObject struct {
	Params GetSandboxesParams
}

type GetSandboxesResponseObject

type GetSandboxesResponseObject interface {
	VisitGetSandboxesResponse(w http.ResponseWriter) error
}

type GetSandboxesSandboxID200JSONResponse

type GetSandboxesSandboxID200JSONResponse SandboxDetail

func (GetSandboxesSandboxID200JSONResponse) VisitGetSandboxesSandboxIDResponse

func (response GetSandboxesSandboxID200JSONResponse) VisitGetSandboxesSandboxIDResponse(w http.ResponseWriter) error

type GetSandboxesSandboxID401JSONResponse

type GetSandboxesSandboxID401JSONResponse struct{ N401JSONResponse }

func (GetSandboxesSandboxID401JSONResponse) VisitGetSandboxesSandboxIDResponse

func (response GetSandboxesSandboxID401JSONResponse) VisitGetSandboxesSandboxIDResponse(w http.ResponseWriter) error

type GetSandboxesSandboxID404JSONResponse

type GetSandboxesSandboxID404JSONResponse struct{ N404JSONResponse }

func (GetSandboxesSandboxID404JSONResponse) VisitGetSandboxesSandboxIDResponse

func (response GetSandboxesSandboxID404JSONResponse) VisitGetSandboxesSandboxIDResponse(w http.ResponseWriter) error

type GetSandboxesSandboxID500JSONResponse

type GetSandboxesSandboxID500JSONResponse struct{ N500JSONResponse }

func (GetSandboxesSandboxID500JSONResponse) VisitGetSandboxesSandboxIDResponse

func (response GetSandboxesSandboxID500JSONResponse) VisitGetSandboxesSandboxIDResponse(w http.ResponseWriter) error

type GetSandboxesSandboxIDLogs200JSONResponse

type GetSandboxesSandboxIDLogs200JSONResponse SandboxLogs

func (GetSandboxesSandboxIDLogs200JSONResponse) VisitGetSandboxesSandboxIDLogsResponse

func (response GetSandboxesSandboxIDLogs200JSONResponse) VisitGetSandboxesSandboxIDLogsResponse(w http.ResponseWriter) error

type GetSandboxesSandboxIDLogs401JSONResponse

type GetSandboxesSandboxIDLogs401JSONResponse struct{ N401JSONResponse }

func (GetSandboxesSandboxIDLogs401JSONResponse) VisitGetSandboxesSandboxIDLogsResponse

func (response GetSandboxesSandboxIDLogs401JSONResponse) VisitGetSandboxesSandboxIDLogsResponse(w http.ResponseWriter) error

type GetSandboxesSandboxIDLogs404JSONResponse

type GetSandboxesSandboxIDLogs404JSONResponse struct{ N404JSONResponse }

func (GetSandboxesSandboxIDLogs404JSONResponse) VisitGetSandboxesSandboxIDLogsResponse

func (response GetSandboxesSandboxIDLogs404JSONResponse) VisitGetSandboxesSandboxIDLogsResponse(w http.ResponseWriter) error

type GetSandboxesSandboxIDLogs500JSONResponse

type GetSandboxesSandboxIDLogs500JSONResponse struct{ N500JSONResponse }

func (GetSandboxesSandboxIDLogs500JSONResponse) VisitGetSandboxesSandboxIDLogsResponse

func (response GetSandboxesSandboxIDLogs500JSONResponse) VisitGetSandboxesSandboxIDLogsResponse(w http.ResponseWriter) error

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 GetSandboxesSandboxIDLogsRequestObject

type GetSandboxesSandboxIDLogsRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
	Params    GetSandboxesSandboxIDLogsParams
}

type GetSandboxesSandboxIDLogsResponseObject

type GetSandboxesSandboxIDLogsResponseObject interface {
	VisitGetSandboxesSandboxIDLogsResponse(w http.ResponseWriter) error
}

type GetSandboxesSandboxIDMetrics200JSONResponse

type GetSandboxesSandboxIDMetrics200JSONResponse []SandboxMetric

func (GetSandboxesSandboxIDMetrics200JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse

func (response GetSandboxesSandboxIDMetrics200JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse(w http.ResponseWriter) error

type GetSandboxesSandboxIDMetrics400JSONResponse

type GetSandboxesSandboxIDMetrics400JSONResponse struct{ N400JSONResponse }

func (GetSandboxesSandboxIDMetrics400JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse

func (response GetSandboxesSandboxIDMetrics400JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse(w http.ResponseWriter) error

type GetSandboxesSandboxIDMetrics401JSONResponse

type GetSandboxesSandboxIDMetrics401JSONResponse struct{ N401JSONResponse }

func (GetSandboxesSandboxIDMetrics401JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse

func (response GetSandboxesSandboxIDMetrics401JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse(w http.ResponseWriter) error

type GetSandboxesSandboxIDMetrics404JSONResponse

type GetSandboxesSandboxIDMetrics404JSONResponse struct{ N404JSONResponse }

func (GetSandboxesSandboxIDMetrics404JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse

func (response GetSandboxesSandboxIDMetrics404JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse(w http.ResponseWriter) error

type GetSandboxesSandboxIDMetrics500JSONResponse

type GetSandboxesSandboxIDMetrics500JSONResponse struct{ N500JSONResponse }

func (GetSandboxesSandboxIDMetrics500JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse

func (response GetSandboxesSandboxIDMetrics500JSONResponse) VisitGetSandboxesSandboxIDMetricsResponse(w http.ResponseWriter) error

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 GetSandboxesSandboxIDMetricsRequestObject

type GetSandboxesSandboxIDMetricsRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
	Params    GetSandboxesSandboxIDMetricsParams
}

type GetSandboxesSandboxIDMetricsResponseObject

type GetSandboxesSandboxIDMetricsResponseObject interface {
	VisitGetSandboxesSandboxIDMetricsResponse(w http.ResponseWriter) error
}

type GetSandboxesSandboxIDRequestObject

type GetSandboxesSandboxIDRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
}

type GetSandboxesSandboxIDResponseObject

type GetSandboxesSandboxIDResponseObject interface {
	VisitGetSandboxesSandboxIDResponse(w http.ResponseWriter) error
}

type GetSnapshots200JSONResponse

type GetSnapshots200JSONResponse []SnapshotInfo

func (GetSnapshots200JSONResponse) VisitGetSnapshotsResponse

func (response GetSnapshots200JSONResponse) VisitGetSnapshotsResponse(w http.ResponseWriter) error

type GetSnapshots401JSONResponse

type GetSnapshots401JSONResponse struct{ N401JSONResponse }

func (GetSnapshots401JSONResponse) VisitGetSnapshotsResponse

func (response GetSnapshots401JSONResponse) VisitGetSnapshotsResponse(w http.ResponseWriter) error

type GetSnapshots500JSONResponse

type GetSnapshots500JSONResponse struct{ N500JSONResponse }

func (GetSnapshots500JSONResponse) VisitGetSnapshotsResponse

func (response GetSnapshots500JSONResponse) VisitGetSnapshotsResponse(w http.ResponseWriter) error

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 GetSnapshotsRequestObject

type GetSnapshotsRequestObject struct {
	Params GetSnapshotsParams
}

type GetSnapshotsResponseObject

type GetSnapshotsResponseObject interface {
	VisitGetSnapshotsResponse(w http.ResponseWriter) error
}

type GetTeams200JSONResponse

type GetTeams200JSONResponse []Team

func (GetTeams200JSONResponse) VisitGetTeamsResponse

func (response GetTeams200JSONResponse) VisitGetTeamsResponse(w http.ResponseWriter) error

type GetTeams401JSONResponse

type GetTeams401JSONResponse struct{ N401JSONResponse }

func (GetTeams401JSONResponse) VisitGetTeamsResponse

func (response GetTeams401JSONResponse) VisitGetTeamsResponse(w http.ResponseWriter) error

type GetTeams500JSONResponse

type GetTeams500JSONResponse struct{ N500JSONResponse }

func (GetTeams500JSONResponse) VisitGetTeamsResponse

func (response GetTeams500JSONResponse) VisitGetTeamsResponse(w http.ResponseWriter) error

type GetTeamsRequestObject

type GetTeamsRequestObject struct {
}

type GetTeamsResponseObject

type GetTeamsResponseObject interface {
	VisitGetTeamsResponse(w http.ResponseWriter) error
}

type GetTeamsTeamIDMetrics200JSONResponse

type GetTeamsTeamIDMetrics200JSONResponse []TeamMetric

func (GetTeamsTeamIDMetrics200JSONResponse) VisitGetTeamsTeamIDMetricsResponse

func (response GetTeamsTeamIDMetrics200JSONResponse) VisitGetTeamsTeamIDMetricsResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetrics400JSONResponse

type GetTeamsTeamIDMetrics400JSONResponse struct{ N400JSONResponse }

func (GetTeamsTeamIDMetrics400JSONResponse) VisitGetTeamsTeamIDMetricsResponse

func (response GetTeamsTeamIDMetrics400JSONResponse) VisitGetTeamsTeamIDMetricsResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetrics401JSONResponse

type GetTeamsTeamIDMetrics401JSONResponse struct{ N401JSONResponse }

func (GetTeamsTeamIDMetrics401JSONResponse) VisitGetTeamsTeamIDMetricsResponse

func (response GetTeamsTeamIDMetrics401JSONResponse) VisitGetTeamsTeamIDMetricsResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetrics403JSONResponse

type GetTeamsTeamIDMetrics403JSONResponse struct{ N403JSONResponse }

func (GetTeamsTeamIDMetrics403JSONResponse) VisitGetTeamsTeamIDMetricsResponse

func (response GetTeamsTeamIDMetrics403JSONResponse) VisitGetTeamsTeamIDMetricsResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetrics500JSONResponse

type GetTeamsTeamIDMetrics500JSONResponse struct{ N500JSONResponse }

func (GetTeamsTeamIDMetrics500JSONResponse) VisitGetTeamsTeamIDMetricsResponse

func (response GetTeamsTeamIDMetrics500JSONResponse) VisitGetTeamsTeamIDMetricsResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetricsMax200JSONResponse

type GetTeamsTeamIDMetricsMax200JSONResponse MaxTeamMetric

func (GetTeamsTeamIDMetricsMax200JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse

func (response GetTeamsTeamIDMetricsMax200JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetricsMax400JSONResponse

type GetTeamsTeamIDMetricsMax400JSONResponse struct{ N400JSONResponse }

func (GetTeamsTeamIDMetricsMax400JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse

func (response GetTeamsTeamIDMetricsMax400JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetricsMax401JSONResponse

type GetTeamsTeamIDMetricsMax401JSONResponse struct{ N401JSONResponse }

func (GetTeamsTeamIDMetricsMax401JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse

func (response GetTeamsTeamIDMetricsMax401JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetricsMax403JSONResponse

type GetTeamsTeamIDMetricsMax403JSONResponse struct{ N403JSONResponse }

func (GetTeamsTeamIDMetricsMax403JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse

func (response GetTeamsTeamIDMetricsMax403JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse(w http.ResponseWriter) error

type GetTeamsTeamIDMetricsMax500JSONResponse

type GetTeamsTeamIDMetricsMax500JSONResponse struct{ N500JSONResponse }

func (GetTeamsTeamIDMetricsMax500JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse

func (response GetTeamsTeamIDMetricsMax500JSONResponse) VisitGetTeamsTeamIDMetricsMaxResponse(w http.ResponseWriter) error

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.

func (GetTeamsTeamIDMetricsMaxParamsMetric) Valid

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

type GetTeamsTeamIDMetricsMaxRequestObject

type GetTeamsTeamIDMetricsMaxRequestObject struct {
	TeamID TeamID `json:"teamID"`
	Params GetTeamsTeamIDMetricsMaxParams
}

type GetTeamsTeamIDMetricsMaxResponseObject

type GetTeamsTeamIDMetricsMaxResponseObject interface {
	VisitGetTeamsTeamIDMetricsMaxResponse(w http.ResponseWriter) error
}

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 GetTeamsTeamIDMetricsRequestObject

type GetTeamsTeamIDMetricsRequestObject struct {
	TeamID TeamID `json:"teamID"`
	Params GetTeamsTeamIDMetricsParams
}

type GetTeamsTeamIDMetricsResponseObject

type GetTeamsTeamIDMetricsResponseObject interface {
	VisitGetTeamsTeamIDMetricsResponse(w http.ResponseWriter) error
}

type GetTemplates200JSONResponse

type GetTemplates200JSONResponse []Template

func (GetTemplates200JSONResponse) VisitGetTemplatesResponse

func (response GetTemplates200JSONResponse) VisitGetTemplatesResponse(w http.ResponseWriter) error

type GetTemplates401JSONResponse

type GetTemplates401JSONResponse struct{ N401JSONResponse }

func (GetTemplates401JSONResponse) VisitGetTemplatesResponse

func (response GetTemplates401JSONResponse) VisitGetTemplatesResponse(w http.ResponseWriter) error

type GetTemplates500JSONResponse

type GetTemplates500JSONResponse struct{ N500JSONResponse }

func (GetTemplates500JSONResponse) VisitGetTemplatesResponse

func (response GetTemplates500JSONResponse) VisitGetTemplatesResponse(w http.ResponseWriter) error

type GetTemplatesAliasesAlias200JSONResponse

type GetTemplatesAliasesAlias200JSONResponse TemplateAliasResponse

func (GetTemplatesAliasesAlias200JSONResponse) VisitGetTemplatesAliasesAliasResponse

func (response GetTemplatesAliasesAlias200JSONResponse) VisitGetTemplatesAliasesAliasResponse(w http.ResponseWriter) error

type GetTemplatesAliasesAlias400JSONResponse

type GetTemplatesAliasesAlias400JSONResponse struct{ N400JSONResponse }

func (GetTemplatesAliasesAlias400JSONResponse) VisitGetTemplatesAliasesAliasResponse

func (response GetTemplatesAliasesAlias400JSONResponse) VisitGetTemplatesAliasesAliasResponse(w http.ResponseWriter) error

type GetTemplatesAliasesAlias403JSONResponse

type GetTemplatesAliasesAlias403JSONResponse struct{ N403JSONResponse }

func (GetTemplatesAliasesAlias403JSONResponse) VisitGetTemplatesAliasesAliasResponse

func (response GetTemplatesAliasesAlias403JSONResponse) VisitGetTemplatesAliasesAliasResponse(w http.ResponseWriter) error

type GetTemplatesAliasesAlias404JSONResponse

type GetTemplatesAliasesAlias404JSONResponse struct{ N404JSONResponse }

func (GetTemplatesAliasesAlias404JSONResponse) VisitGetTemplatesAliasesAliasResponse

func (response GetTemplatesAliasesAlias404JSONResponse) VisitGetTemplatesAliasesAliasResponse(w http.ResponseWriter) error

type GetTemplatesAliasesAlias500JSONResponse

type GetTemplatesAliasesAlias500JSONResponse struct{ N500JSONResponse }

func (GetTemplatesAliasesAlias500JSONResponse) VisitGetTemplatesAliasesAliasResponse

func (response GetTemplatesAliasesAlias500JSONResponse) VisitGetTemplatesAliasesAliasResponse(w http.ResponseWriter) error

type GetTemplatesAliasesAliasRequestObject

type GetTemplatesAliasesAliasRequestObject struct {
	Alias string `json:"alias"`
}

type GetTemplatesAliasesAliasResponseObject

type GetTemplatesAliasesAliasResponseObject interface {
	VisitGetTemplatesAliasesAliasResponse(w http.ResponseWriter) error
}

type GetTemplatesParams

type GetTemplatesParams struct {
	TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`
}

GetTemplatesParams defines parameters for GetTemplates.

type GetTemplatesRequestObject

type GetTemplatesRequestObject struct {
	Params GetTemplatesParams
}

type GetTemplatesResponseObject

type GetTemplatesResponseObject interface {
	VisitGetTemplatesResponse(w http.ResponseWriter) error
}

type GetTemplatesTemplateID200JSONResponse

type GetTemplatesTemplateID200JSONResponse TemplateWithBuilds

func (GetTemplatesTemplateID200JSONResponse) VisitGetTemplatesTemplateIDResponse

func (response GetTemplatesTemplateID200JSONResponse) VisitGetTemplatesTemplateIDResponse(w http.ResponseWriter) error

type GetTemplatesTemplateID401JSONResponse

type GetTemplatesTemplateID401JSONResponse struct{ N401JSONResponse }

func (GetTemplatesTemplateID401JSONResponse) VisitGetTemplatesTemplateIDResponse

func (response GetTemplatesTemplateID401JSONResponse) VisitGetTemplatesTemplateIDResponse(w http.ResponseWriter) error

type GetTemplatesTemplateID500JSONResponse

type GetTemplatesTemplateID500JSONResponse struct{ N500JSONResponse }

func (GetTemplatesTemplateID500JSONResponse) VisitGetTemplatesTemplateIDResponse

func (response GetTemplatesTemplateID500JSONResponse) VisitGetTemplatesTemplateIDResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDBuildsBuildIDLogs200JSONResponse

type GetTemplatesTemplateIDBuildsBuildIDLogs200JSONResponse TemplateBuildLogsResponse

func (GetTemplatesTemplateIDBuildsBuildIDLogs200JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse

func (response GetTemplatesTemplateIDBuildsBuildIDLogs200JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDBuildsBuildIDLogs401JSONResponse

type GetTemplatesTemplateIDBuildsBuildIDLogs401JSONResponse struct{ N401JSONResponse }

func (GetTemplatesTemplateIDBuildsBuildIDLogs401JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse

func (response GetTemplatesTemplateIDBuildsBuildIDLogs401JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDBuildsBuildIDLogs404JSONResponse

type GetTemplatesTemplateIDBuildsBuildIDLogs404JSONResponse struct{ N404JSONResponse }

func (GetTemplatesTemplateIDBuildsBuildIDLogs404JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse

func (response GetTemplatesTemplateIDBuildsBuildIDLogs404JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDBuildsBuildIDLogs500JSONResponse

type GetTemplatesTemplateIDBuildsBuildIDLogs500JSONResponse struct{ N500JSONResponse }

func (GetTemplatesTemplateIDBuildsBuildIDLogs500JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse

func (response GetTemplatesTemplateIDBuildsBuildIDLogs500JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse(w http.ResponseWriter) error

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 GetTemplatesTemplateIDBuildsBuildIDLogsRequestObject

type GetTemplatesTemplateIDBuildsBuildIDLogsRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	BuildID    BuildID    `json:"buildID"`
	Params     GetTemplatesTemplateIDBuildsBuildIDLogsParams
}

type GetTemplatesTemplateIDBuildsBuildIDLogsResponseObject

type GetTemplatesTemplateIDBuildsBuildIDLogsResponseObject interface {
	VisitGetTemplatesTemplateIDBuildsBuildIDLogsResponse(w http.ResponseWriter) error
}

type GetTemplatesTemplateIDBuildsBuildIDStatus200JSONResponse

type GetTemplatesTemplateIDBuildsBuildIDStatus200JSONResponse TemplateBuildInfo

func (GetTemplatesTemplateIDBuildsBuildIDStatus200JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse

func (response GetTemplatesTemplateIDBuildsBuildIDStatus200JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDBuildsBuildIDStatus401JSONResponse

type GetTemplatesTemplateIDBuildsBuildIDStatus401JSONResponse struct{ N401JSONResponse }

func (GetTemplatesTemplateIDBuildsBuildIDStatus401JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse

func (response GetTemplatesTemplateIDBuildsBuildIDStatus401JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDBuildsBuildIDStatus404JSONResponse

type GetTemplatesTemplateIDBuildsBuildIDStatus404JSONResponse struct{ N404JSONResponse }

func (GetTemplatesTemplateIDBuildsBuildIDStatus404JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse

func (response GetTemplatesTemplateIDBuildsBuildIDStatus404JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDBuildsBuildIDStatus500JSONResponse

type GetTemplatesTemplateIDBuildsBuildIDStatus500JSONResponse struct{ N500JSONResponse }

func (GetTemplatesTemplateIDBuildsBuildIDStatus500JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse

func (response GetTemplatesTemplateIDBuildsBuildIDStatus500JSONResponse) VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse(w http.ResponseWriter) error

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 GetTemplatesTemplateIDBuildsBuildIDStatusRequestObject

type GetTemplatesTemplateIDBuildsBuildIDStatusRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	BuildID    BuildID    `json:"buildID"`
	Params     GetTemplatesTemplateIDBuildsBuildIDStatusParams
}

type GetTemplatesTemplateIDBuildsBuildIDStatusResponseObject

type GetTemplatesTemplateIDBuildsBuildIDStatusResponseObject interface {
	VisitGetTemplatesTemplateIDBuildsBuildIDStatusResponse(w http.ResponseWriter) error
}

type GetTemplatesTemplateIDFilesHash201JSONResponse

type GetTemplatesTemplateIDFilesHash201JSONResponse TemplateBuildFileUpload

func (GetTemplatesTemplateIDFilesHash201JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse

func (response GetTemplatesTemplateIDFilesHash201JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDFilesHash400JSONResponse

type GetTemplatesTemplateIDFilesHash400JSONResponse struct{ N400JSONResponse }

func (GetTemplatesTemplateIDFilesHash400JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse

func (response GetTemplatesTemplateIDFilesHash400JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDFilesHash401JSONResponse

type GetTemplatesTemplateIDFilesHash401JSONResponse struct{ N401JSONResponse }

func (GetTemplatesTemplateIDFilesHash401JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse

func (response GetTemplatesTemplateIDFilesHash401JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDFilesHash404JSONResponse

type GetTemplatesTemplateIDFilesHash404JSONResponse struct{ N404JSONResponse }

func (GetTemplatesTemplateIDFilesHash404JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse

func (response GetTemplatesTemplateIDFilesHash404JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDFilesHash500JSONResponse

type GetTemplatesTemplateIDFilesHash500JSONResponse struct{ N500JSONResponse }

func (GetTemplatesTemplateIDFilesHash500JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse

func (response GetTemplatesTemplateIDFilesHash500JSONResponse) VisitGetTemplatesTemplateIDFilesHashResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDFilesHashRequestObject

type GetTemplatesTemplateIDFilesHashRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	Hash       string     `json:"hash"`
}

type GetTemplatesTemplateIDFilesHashResponseObject

type GetTemplatesTemplateIDFilesHashResponseObject interface {
	VisitGetTemplatesTemplateIDFilesHashResponse(w http.ResponseWriter) error
}

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 GetTemplatesTemplateIDRequestObject

type GetTemplatesTemplateIDRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	Params     GetTemplatesTemplateIDParams
}

type GetTemplatesTemplateIDResponseObject

type GetTemplatesTemplateIDResponseObject interface {
	VisitGetTemplatesTemplateIDResponse(w http.ResponseWriter) error
}

type GetTemplatesTemplateIDTags200JSONResponse

type GetTemplatesTemplateIDTags200JSONResponse []TemplateTag

func (GetTemplatesTemplateIDTags200JSONResponse) VisitGetTemplatesTemplateIDTagsResponse

func (response GetTemplatesTemplateIDTags200JSONResponse) VisitGetTemplatesTemplateIDTagsResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDTags401JSONResponse

type GetTemplatesTemplateIDTags401JSONResponse struct{ N401JSONResponse }

func (GetTemplatesTemplateIDTags401JSONResponse) VisitGetTemplatesTemplateIDTagsResponse

func (response GetTemplatesTemplateIDTags401JSONResponse) VisitGetTemplatesTemplateIDTagsResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDTags403JSONResponse

type GetTemplatesTemplateIDTags403JSONResponse struct{ N403JSONResponse }

func (GetTemplatesTemplateIDTags403JSONResponse) VisitGetTemplatesTemplateIDTagsResponse

func (response GetTemplatesTemplateIDTags403JSONResponse) VisitGetTemplatesTemplateIDTagsResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDTags404JSONResponse

type GetTemplatesTemplateIDTags404JSONResponse struct{ N404JSONResponse }

func (GetTemplatesTemplateIDTags404JSONResponse) VisitGetTemplatesTemplateIDTagsResponse

func (response GetTemplatesTemplateIDTags404JSONResponse) VisitGetTemplatesTemplateIDTagsResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDTags500JSONResponse

type GetTemplatesTemplateIDTags500JSONResponse struct{ N500JSONResponse }

func (GetTemplatesTemplateIDTags500JSONResponse) VisitGetTemplatesTemplateIDTagsResponse

func (response GetTemplatesTemplateIDTags500JSONResponse) VisitGetTemplatesTemplateIDTagsResponse(w http.ResponseWriter) error

type GetTemplatesTemplateIDTagsRequestObject

type GetTemplatesTemplateIDTagsRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
}

type GetTemplatesTemplateIDTagsResponseObject

type GetTemplatesTemplateIDTagsResponseObject interface {
	VisitGetTemplatesTemplateIDTagsResponse(w http.ResponseWriter) error
}

type GetV2Sandboxes200JSONResponse

type GetV2Sandboxes200JSONResponse []ListedSandbox

func (GetV2Sandboxes200JSONResponse) VisitGetV2SandboxesResponse

func (response GetV2Sandboxes200JSONResponse) VisitGetV2SandboxesResponse(w http.ResponseWriter) error

type GetV2Sandboxes400JSONResponse

type GetV2Sandboxes400JSONResponse struct{ N400JSONResponse }

func (GetV2Sandboxes400JSONResponse) VisitGetV2SandboxesResponse

func (response GetV2Sandboxes400JSONResponse) VisitGetV2SandboxesResponse(w http.ResponseWriter) error

type GetV2Sandboxes401JSONResponse

type GetV2Sandboxes401JSONResponse struct{ N401JSONResponse }

func (GetV2Sandboxes401JSONResponse) VisitGetV2SandboxesResponse

func (response GetV2Sandboxes401JSONResponse) VisitGetV2SandboxesResponse(w http.ResponseWriter) error

type GetV2Sandboxes500JSONResponse

type GetV2Sandboxes500JSONResponse struct{ N500JSONResponse }

func (GetV2Sandboxes500JSONResponse) VisitGetV2SandboxesResponse

func (response GetV2Sandboxes500JSONResponse) VisitGetV2SandboxesResponse(w http.ResponseWriter) error

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 GetV2SandboxesRequestObject

type GetV2SandboxesRequestObject struct {
	Params GetV2SandboxesParams
}

type GetV2SandboxesResponseObject

type GetV2SandboxesResponseObject interface {
	VisitGetV2SandboxesResponse(w http.ResponseWriter) error
}

type GetV2SandboxesSandboxIDLogs200JSONResponse

type GetV2SandboxesSandboxIDLogs200JSONResponse SandboxLogsV2Response

func (GetV2SandboxesSandboxIDLogs200JSONResponse) VisitGetV2SandboxesSandboxIDLogsResponse

func (response GetV2SandboxesSandboxIDLogs200JSONResponse) VisitGetV2SandboxesSandboxIDLogsResponse(w http.ResponseWriter) error

type GetV2SandboxesSandboxIDLogs401JSONResponse

type GetV2SandboxesSandboxIDLogs401JSONResponse struct{ N401JSONResponse }

func (GetV2SandboxesSandboxIDLogs401JSONResponse) VisitGetV2SandboxesSandboxIDLogsResponse

func (response GetV2SandboxesSandboxIDLogs401JSONResponse) VisitGetV2SandboxesSandboxIDLogsResponse(w http.ResponseWriter) error

type GetV2SandboxesSandboxIDLogs404JSONResponse

type GetV2SandboxesSandboxIDLogs404JSONResponse struct{ N404JSONResponse }

func (GetV2SandboxesSandboxIDLogs404JSONResponse) VisitGetV2SandboxesSandboxIDLogsResponse

func (response GetV2SandboxesSandboxIDLogs404JSONResponse) VisitGetV2SandboxesSandboxIDLogsResponse(w http.ResponseWriter) error

type GetV2SandboxesSandboxIDLogs500JSONResponse

type GetV2SandboxesSandboxIDLogs500JSONResponse struct{ N500JSONResponse }

func (GetV2SandboxesSandboxIDLogs500JSONResponse) VisitGetV2SandboxesSandboxIDLogsResponse

func (response GetV2SandboxesSandboxIDLogs500JSONResponse) VisitGetV2SandboxesSandboxIDLogsResponse(w http.ResponseWriter) error

type GetV2SandboxesSandboxIDLogsParams

type GetV2SandboxesSandboxIDLogsParams struct {
	// Cursor Starting timestamp of the logs that should be returned in milliseconds
	Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`

	// Direction Direction of the logs that should be returned
	Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`

	// Level Minimum log level to return. Logs below this level are excluded
	Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`

	// Search Case-sensitive substring match on log message content
	Search *string `form:"search,omitempty" json:"search,omitempty"`
}

GetV2SandboxesSandboxIDLogsParams defines parameters for GetV2SandboxesSandboxIDLogs.

type GetV2SandboxesSandboxIDLogsRequestObject

type GetV2SandboxesSandboxIDLogsRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
	Params    GetV2SandboxesSandboxIDLogsParams
}

type GetV2SandboxesSandboxIDLogsResponseObject

type GetV2SandboxesSandboxIDLogsResponseObject interface {
	VisitGetV2SandboxesSandboxIDLogsResponse(w http.ResponseWriter) error
}

type GetVolumes200JSONResponse

type GetVolumes200JSONResponse []Volume

func (GetVolumes200JSONResponse) VisitGetVolumesResponse

func (response GetVolumes200JSONResponse) VisitGetVolumesResponse(w http.ResponseWriter) error

type GetVolumes401JSONResponse

type GetVolumes401JSONResponse struct{ N401JSONResponse }

func (GetVolumes401JSONResponse) VisitGetVolumesResponse

func (response GetVolumes401JSONResponse) VisitGetVolumesResponse(w http.ResponseWriter) error

type GetVolumes500JSONResponse

type GetVolumes500JSONResponse struct{ N500JSONResponse }

func (GetVolumes500JSONResponse) VisitGetVolumesResponse

func (response GetVolumes500JSONResponse) VisitGetVolumesResponse(w http.ResponseWriter) error

type GetVolumesRequestObject

type GetVolumesRequestObject struct {
}

type GetVolumesResponseObject

type GetVolumesResponseObject interface {
	VisitGetVolumesResponse(w http.ResponseWriter) error
}

type GetVolumesVolumeID200JSONResponse

type GetVolumesVolumeID200JSONResponse VolumeAndToken

func (GetVolumesVolumeID200JSONResponse) VisitGetVolumesVolumeIDResponse

func (response GetVolumesVolumeID200JSONResponse) VisitGetVolumesVolumeIDResponse(w http.ResponseWriter) error

type GetVolumesVolumeID401JSONResponse

type GetVolumesVolumeID401JSONResponse struct{ N401JSONResponse }

func (GetVolumesVolumeID401JSONResponse) VisitGetVolumesVolumeIDResponse

func (response GetVolumesVolumeID401JSONResponse) VisitGetVolumesVolumeIDResponse(w http.ResponseWriter) error

type GetVolumesVolumeID404JSONResponse

type GetVolumesVolumeID404JSONResponse struct{ N404JSONResponse }

func (GetVolumesVolumeID404JSONResponse) VisitGetVolumesVolumeIDResponse

func (response GetVolumesVolumeID404JSONResponse) VisitGetVolumesVolumeIDResponse(w http.ResponseWriter) error

type GetVolumesVolumeID500JSONResponse

type GetVolumesVolumeID500JSONResponse struct{ N500JSONResponse }

func (GetVolumesVolumeID500JSONResponse) VisitGetVolumesVolumeIDResponse

func (response GetVolumesVolumeID500JSONResponse) VisitGetVolumesVolumeIDResponse(w http.ResponseWriter) error

type GetVolumesVolumeIDRequestObject

type GetVolumesVolumeIDRequestObject struct {
	VolumeID VolumeID `json:"volumeID"`
}

type GetVolumesVolumeIDResponseObject

type GetVolumesVolumeIDResponseObject interface {
	VisitGetVolumesVolumeIDResponse(w http.ResponseWriter) error
}

type GinServerOptions

type GinServerOptions struct {
	BaseURL      string
	Middlewares  []MiddlewareFunc
	ErrorHandler func(*gin.Context, error, int)
}

GinServerOptions provides options for the Gin server.

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

ListedSandbox defines model for ListedSandbox.

type LogLevel

type LogLevel string

LogLevel State of the sandbox

const (
	LogLevelDebug LogLevel = "debug"
	LogLevelError LogLevel = "error"
	LogLevelInfo  LogLevel = "info"
	LogLevelWarn  LogLevel = "warn"
)

Defines values for LogLevel.

func (LogLevel) Valid

func (e LogLevel) Valid() bool

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

type LogsDirection

type LogsDirection string

LogsDirection Direction of the logs that should be returned

const (
	LogsDirectionBackward LogsDirection = "backward"
	LogsDirectionForward  LogsDirection = "forward"
)

Defines values for LogsDirection.

func (LogsDirection) Valid

func (e LogsDirection) Valid() bool

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

type LogsSource

type LogsSource string

LogsSource Source of the logs that should be returned

const (
	LogsSourcePersistent LogsSource = "persistent"
	LogsSourceTemporary  LogsSource = "temporary"
)

Defines values for LogsSource.

func (LogsSource) Valid

func (e LogsSource) Valid() bool

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

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

type MiddlewareFunc func(c *gin.Context)

type N400

type N400 = Error

N400 defines model for 400.

type N400JSONResponse

type N400JSONResponse Error

type N401

type N401 = Error

N401 defines model for 401.

type N401JSONResponse

type N401JSONResponse Error

type N403

type N403 = Error

N403 defines model for 403.

type N403JSONResponse

type N403JSONResponse Error

type N404

type N404 = Error

N404 defines model for 404.

type N404JSONResponse

type N404JSONResponse Error

type N409

type N409 = Error

N409 defines model for 409.

type N409JSONResponse

type N409JSONResponse Error

type N500

type N500 = Error

N500 defines model for 500.

type N500JSONResponse

type N500JSONResponse Error

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.
	AutoResume *SandboxAutoResumeConfig `json:"autoResume,omitempty"`
	EnvVars    *EnvVars                 `json:"envVars,omitempty"`

	// Mcp MCP configuration for the sandbox
	Mcp      *Mcp                  `json:"mcp,omitempty"`
	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.

func (NodeStatus) Valid

func (e NodeStatus) Valid() bool

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

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 PatchApiKeysApiKeyID200Response

type PatchApiKeysApiKeyID200Response struct {
}

func (PatchApiKeysApiKeyID200Response) VisitPatchApiKeysApiKeyIDResponse

func (response PatchApiKeysApiKeyID200Response) VisitPatchApiKeysApiKeyIDResponse(w http.ResponseWriter) error

type PatchApiKeysApiKeyID401JSONResponse

type PatchApiKeysApiKeyID401JSONResponse struct{ N401JSONResponse }

func (PatchApiKeysApiKeyID401JSONResponse) VisitPatchApiKeysApiKeyIDResponse

func (response PatchApiKeysApiKeyID401JSONResponse) VisitPatchApiKeysApiKeyIDResponse(w http.ResponseWriter) error

type PatchApiKeysApiKeyID404JSONResponse

type PatchApiKeysApiKeyID404JSONResponse struct{ N404JSONResponse }

func (PatchApiKeysApiKeyID404JSONResponse) VisitPatchApiKeysApiKeyIDResponse

func (response PatchApiKeysApiKeyID404JSONResponse) VisitPatchApiKeysApiKeyIDResponse(w http.ResponseWriter) error

type PatchApiKeysApiKeyID500JSONResponse

type PatchApiKeysApiKeyID500JSONResponse struct{ N500JSONResponse }

func (PatchApiKeysApiKeyID500JSONResponse) VisitPatchApiKeysApiKeyIDResponse

func (response PatchApiKeysApiKeyID500JSONResponse) VisitPatchApiKeysApiKeyIDResponse(w http.ResponseWriter) error

type PatchApiKeysApiKeyIDJSONRequestBody

type PatchApiKeysApiKeyIDJSONRequestBody = UpdateTeamAPIKey

PatchApiKeysApiKeyIDJSONRequestBody defines body for PatchApiKeysApiKeyID for application/json ContentType.

type PatchApiKeysApiKeyIDRequestObject

type PatchApiKeysApiKeyIDRequestObject struct {
	ApiKeyID ApiKeyID `json:"apiKeyID"`
	Body     *PatchApiKeysApiKeyIDJSONRequestBody
}

type PatchApiKeysApiKeyIDResponseObject

type PatchApiKeysApiKeyIDResponseObject interface {
	VisitPatchApiKeysApiKeyIDResponse(w http.ResponseWriter) error
}

type PatchTemplatesTemplateID200Response

type PatchTemplatesTemplateID200Response struct {
}

func (PatchTemplatesTemplateID200Response) VisitPatchTemplatesTemplateIDResponse

func (response PatchTemplatesTemplateID200Response) VisitPatchTemplatesTemplateIDResponse(w http.ResponseWriter) error

type PatchTemplatesTemplateID400JSONResponse

type PatchTemplatesTemplateID400JSONResponse struct{ N400JSONResponse }

func (PatchTemplatesTemplateID400JSONResponse) VisitPatchTemplatesTemplateIDResponse

func (response PatchTemplatesTemplateID400JSONResponse) VisitPatchTemplatesTemplateIDResponse(w http.ResponseWriter) error

type PatchTemplatesTemplateID401JSONResponse

type PatchTemplatesTemplateID401JSONResponse struct{ N401JSONResponse }

func (PatchTemplatesTemplateID401JSONResponse) VisitPatchTemplatesTemplateIDResponse

func (response PatchTemplatesTemplateID401JSONResponse) VisitPatchTemplatesTemplateIDResponse(w http.ResponseWriter) error

type PatchTemplatesTemplateID500JSONResponse

type PatchTemplatesTemplateID500JSONResponse struct{ N500JSONResponse }

func (PatchTemplatesTemplateID500JSONResponse) VisitPatchTemplatesTemplateIDResponse

func (response PatchTemplatesTemplateID500JSONResponse) VisitPatchTemplatesTemplateIDResponse(w http.ResponseWriter) error

type PatchTemplatesTemplateIDJSONRequestBody

type PatchTemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest

PatchTemplatesTemplateIDJSONRequestBody defines body for PatchTemplatesTemplateID for application/json ContentType.

type PatchTemplatesTemplateIDRequestObject

type PatchTemplatesTemplateIDRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	Body       *PatchTemplatesTemplateIDJSONRequestBody
}

type PatchTemplatesTemplateIDResponseObject

type PatchTemplatesTemplateIDResponseObject interface {
	VisitPatchTemplatesTemplateIDResponse(w http.ResponseWriter) error
}

type PatchV2TemplatesTemplateID200JSONResponse

type PatchV2TemplatesTemplateID200JSONResponse TemplateUpdateResponse

func (PatchV2TemplatesTemplateID200JSONResponse) VisitPatchV2TemplatesTemplateIDResponse

func (response PatchV2TemplatesTemplateID200JSONResponse) VisitPatchV2TemplatesTemplateIDResponse(w http.ResponseWriter) error

type PatchV2TemplatesTemplateID400JSONResponse

type PatchV2TemplatesTemplateID400JSONResponse struct{ N400JSONResponse }

func (PatchV2TemplatesTemplateID400JSONResponse) VisitPatchV2TemplatesTemplateIDResponse

func (response PatchV2TemplatesTemplateID400JSONResponse) VisitPatchV2TemplatesTemplateIDResponse(w http.ResponseWriter) error

type PatchV2TemplatesTemplateID401JSONResponse

type PatchV2TemplatesTemplateID401JSONResponse struct{ N401JSONResponse }

func (PatchV2TemplatesTemplateID401JSONResponse) VisitPatchV2TemplatesTemplateIDResponse

func (response PatchV2TemplatesTemplateID401JSONResponse) VisitPatchV2TemplatesTemplateIDResponse(w http.ResponseWriter) error

type PatchV2TemplatesTemplateID500JSONResponse

type PatchV2TemplatesTemplateID500JSONResponse struct{ N500JSONResponse }

func (PatchV2TemplatesTemplateID500JSONResponse) VisitPatchV2TemplatesTemplateIDResponse

func (response PatchV2TemplatesTemplateID500JSONResponse) VisitPatchV2TemplatesTemplateIDResponse(w http.ResponseWriter) error

type PatchV2TemplatesTemplateIDJSONRequestBody

type PatchV2TemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest

PatchV2TemplatesTemplateIDJSONRequestBody defines body for PatchV2TemplatesTemplateID for application/json ContentType.

type PatchV2TemplatesTemplateIDRequestObject

type PatchV2TemplatesTemplateIDRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	Body       *PatchV2TemplatesTemplateIDJSONRequestBody
}

type PatchV2TemplatesTemplateIDResponseObject

type PatchV2TemplatesTemplateIDResponseObject interface {
	VisitPatchV2TemplatesTemplateIDResponse(w http.ResponseWriter) error
}

type PostAccessTokens201JSONResponse

type PostAccessTokens201JSONResponse CreatedAccessToken

func (PostAccessTokens201JSONResponse) VisitPostAccessTokensResponse

func (response PostAccessTokens201JSONResponse) VisitPostAccessTokensResponse(w http.ResponseWriter) error

type PostAccessTokens401JSONResponse

type PostAccessTokens401JSONResponse struct{ N401JSONResponse }

func (PostAccessTokens401JSONResponse) VisitPostAccessTokensResponse

func (response PostAccessTokens401JSONResponse) VisitPostAccessTokensResponse(w http.ResponseWriter) error

type PostAccessTokens500JSONResponse

type PostAccessTokens500JSONResponse struct{ N500JSONResponse }

func (PostAccessTokens500JSONResponse) VisitPostAccessTokensResponse

func (response PostAccessTokens500JSONResponse) VisitPostAccessTokensResponse(w http.ResponseWriter) error

type PostAccessTokensJSONRequestBody

type PostAccessTokensJSONRequestBody = NewAccessToken

PostAccessTokensJSONRequestBody defines body for PostAccessTokens for application/json ContentType.

type PostAccessTokensRequestObject

type PostAccessTokensRequestObject struct {
	Body *PostAccessTokensJSONRequestBody
}

type PostAccessTokensResponseObject

type PostAccessTokensResponseObject interface {
	VisitPostAccessTokensResponse(w http.ResponseWriter) error
}

type PostAdminTeamsTeamIDBuildsCancel200JSONResponse

type PostAdminTeamsTeamIDBuildsCancel200JSONResponse AdminBuildCancelResult

func (PostAdminTeamsTeamIDBuildsCancel200JSONResponse) VisitPostAdminTeamsTeamIDBuildsCancelResponse

func (response PostAdminTeamsTeamIDBuildsCancel200JSONResponse) VisitPostAdminTeamsTeamIDBuildsCancelResponse(w http.ResponseWriter) error

type PostAdminTeamsTeamIDBuildsCancel401JSONResponse

type PostAdminTeamsTeamIDBuildsCancel401JSONResponse struct{ N401JSONResponse }

func (PostAdminTeamsTeamIDBuildsCancel401JSONResponse) VisitPostAdminTeamsTeamIDBuildsCancelResponse

func (response PostAdminTeamsTeamIDBuildsCancel401JSONResponse) VisitPostAdminTeamsTeamIDBuildsCancelResponse(w http.ResponseWriter) error

type PostAdminTeamsTeamIDBuildsCancel404JSONResponse

type PostAdminTeamsTeamIDBuildsCancel404JSONResponse struct{ N404JSONResponse }

func (PostAdminTeamsTeamIDBuildsCancel404JSONResponse) VisitPostAdminTeamsTeamIDBuildsCancelResponse

func (response PostAdminTeamsTeamIDBuildsCancel404JSONResponse) VisitPostAdminTeamsTeamIDBuildsCancelResponse(w http.ResponseWriter) error

type PostAdminTeamsTeamIDBuildsCancel500JSONResponse

type PostAdminTeamsTeamIDBuildsCancel500JSONResponse struct{ N500JSONResponse }

func (PostAdminTeamsTeamIDBuildsCancel500JSONResponse) VisitPostAdminTeamsTeamIDBuildsCancelResponse

func (response PostAdminTeamsTeamIDBuildsCancel500JSONResponse) VisitPostAdminTeamsTeamIDBuildsCancelResponse(w http.ResponseWriter) error

type PostAdminTeamsTeamIDBuildsCancelRequestObject

type PostAdminTeamsTeamIDBuildsCancelRequestObject struct {
	TeamID openapi_types.UUID `json:"teamID"`
}

type PostAdminTeamsTeamIDBuildsCancelResponseObject

type PostAdminTeamsTeamIDBuildsCancelResponseObject interface {
	VisitPostAdminTeamsTeamIDBuildsCancelResponse(w http.ResponseWriter) error
}

type PostAdminTeamsTeamIDSandboxesKill200JSONResponse

type PostAdminTeamsTeamIDSandboxesKill200JSONResponse AdminSandboxKillResult

func (PostAdminTeamsTeamIDSandboxesKill200JSONResponse) VisitPostAdminTeamsTeamIDSandboxesKillResponse

func (response PostAdminTeamsTeamIDSandboxesKill200JSONResponse) VisitPostAdminTeamsTeamIDSandboxesKillResponse(w http.ResponseWriter) error

type PostAdminTeamsTeamIDSandboxesKill401JSONResponse

type PostAdminTeamsTeamIDSandboxesKill401JSONResponse struct{ N401JSONResponse }

func (PostAdminTeamsTeamIDSandboxesKill401JSONResponse) VisitPostAdminTeamsTeamIDSandboxesKillResponse

func (response PostAdminTeamsTeamIDSandboxesKill401JSONResponse) VisitPostAdminTeamsTeamIDSandboxesKillResponse(w http.ResponseWriter) error

type PostAdminTeamsTeamIDSandboxesKill404JSONResponse

type PostAdminTeamsTeamIDSandboxesKill404JSONResponse struct{ N404JSONResponse }

func (PostAdminTeamsTeamIDSandboxesKill404JSONResponse) VisitPostAdminTeamsTeamIDSandboxesKillResponse

func (response PostAdminTeamsTeamIDSandboxesKill404JSONResponse) VisitPostAdminTeamsTeamIDSandboxesKillResponse(w http.ResponseWriter) error

type PostAdminTeamsTeamIDSandboxesKill500JSONResponse

type PostAdminTeamsTeamIDSandboxesKill500JSONResponse struct{ N500JSONResponse }

func (PostAdminTeamsTeamIDSandboxesKill500JSONResponse) VisitPostAdminTeamsTeamIDSandboxesKillResponse

func (response PostAdminTeamsTeamIDSandboxesKill500JSONResponse) VisitPostAdminTeamsTeamIDSandboxesKillResponse(w http.ResponseWriter) error

type PostAdminTeamsTeamIDSandboxesKillRequestObject

type PostAdminTeamsTeamIDSandboxesKillRequestObject struct {
	TeamID openapi_types.UUID `json:"teamID"`
}

type PostAdminTeamsTeamIDSandboxesKillResponseObject

type PostAdminTeamsTeamIDSandboxesKillResponseObject interface {
	VisitPostAdminTeamsTeamIDSandboxesKillResponse(w http.ResponseWriter) error
}

type PostApiKeys201JSONResponse

type PostApiKeys201JSONResponse CreatedTeamAPIKey

func (PostApiKeys201JSONResponse) VisitPostApiKeysResponse

func (response PostApiKeys201JSONResponse) VisitPostApiKeysResponse(w http.ResponseWriter) error

type PostApiKeys401JSONResponse

type PostApiKeys401JSONResponse struct{ N401JSONResponse }

func (PostApiKeys401JSONResponse) VisitPostApiKeysResponse

func (response PostApiKeys401JSONResponse) VisitPostApiKeysResponse(w http.ResponseWriter) error

type PostApiKeys500JSONResponse

type PostApiKeys500JSONResponse struct{ N500JSONResponse }

func (PostApiKeys500JSONResponse) VisitPostApiKeysResponse

func (response PostApiKeys500JSONResponse) VisitPostApiKeysResponse(w http.ResponseWriter) error

type PostApiKeysJSONRequestBody

type PostApiKeysJSONRequestBody = NewTeamAPIKey

PostApiKeysJSONRequestBody defines body for PostApiKeys for application/json ContentType.

type PostApiKeysRequestObject

type PostApiKeysRequestObject struct {
	Body *PostApiKeysJSONRequestBody
}

type PostApiKeysResponseObject

type PostApiKeysResponseObject interface {
	VisitPostApiKeysResponse(w http.ResponseWriter) error
}

type PostNodesNodeID204Response

type PostNodesNodeID204Response struct {
}

func (PostNodesNodeID204Response) VisitPostNodesNodeIDResponse

func (response PostNodesNodeID204Response) VisitPostNodesNodeIDResponse(w http.ResponseWriter) error

type PostNodesNodeID401JSONResponse

type PostNodesNodeID401JSONResponse struct{ N401JSONResponse }

func (PostNodesNodeID401JSONResponse) VisitPostNodesNodeIDResponse

func (response PostNodesNodeID401JSONResponse) VisitPostNodesNodeIDResponse(w http.ResponseWriter) error

type PostNodesNodeID404JSONResponse

type PostNodesNodeID404JSONResponse struct{ N404JSONResponse }

func (PostNodesNodeID404JSONResponse) VisitPostNodesNodeIDResponse

func (response PostNodesNodeID404JSONResponse) VisitPostNodesNodeIDResponse(w http.ResponseWriter) error

type PostNodesNodeID500JSONResponse

type PostNodesNodeID500JSONResponse struct{ N500JSONResponse }

func (PostNodesNodeID500JSONResponse) VisitPostNodesNodeIDResponse

func (response PostNodesNodeID500JSONResponse) VisitPostNodesNodeIDResponse(w http.ResponseWriter) error

type PostNodesNodeIDJSONRequestBody

type PostNodesNodeIDJSONRequestBody = NodeStatusChange

PostNodesNodeIDJSONRequestBody defines body for PostNodesNodeID for application/json ContentType.

type PostNodesNodeIDRequestObject

type PostNodesNodeIDRequestObject struct {
	NodeID NodeID `json:"nodeID"`
	Body   *PostNodesNodeIDJSONRequestBody
}

type PostNodesNodeIDResponseObject

type PostNodesNodeIDResponseObject interface {
	VisitPostNodesNodeIDResponse(w http.ResponseWriter) error
}

type PostSandboxes201JSONResponse

type PostSandboxes201JSONResponse Sandbox

func (PostSandboxes201JSONResponse) VisitPostSandboxesResponse

func (response PostSandboxes201JSONResponse) VisitPostSandboxesResponse(w http.ResponseWriter) error

type PostSandboxes400JSONResponse

type PostSandboxes400JSONResponse struct{ N400JSONResponse }

func (PostSandboxes400JSONResponse) VisitPostSandboxesResponse

func (response PostSandboxes400JSONResponse) VisitPostSandboxesResponse(w http.ResponseWriter) error

type PostSandboxes401JSONResponse

type PostSandboxes401JSONResponse struct{ N401JSONResponse }

func (PostSandboxes401JSONResponse) VisitPostSandboxesResponse

func (response PostSandboxes401JSONResponse) VisitPostSandboxesResponse(w http.ResponseWriter) error

type PostSandboxes500JSONResponse

type PostSandboxes500JSONResponse struct{ N500JSONResponse }

func (PostSandboxes500JSONResponse) VisitPostSandboxesResponse

func (response PostSandboxes500JSONResponse) VisitPostSandboxesResponse(w http.ResponseWriter) error

type PostSandboxesJSONRequestBody

type PostSandboxesJSONRequestBody = NewSandbox

PostSandboxesJSONRequestBody defines body for PostSandboxes for application/json ContentType.

type PostSandboxesRequestObject

type PostSandboxesRequestObject struct {
	Body *PostSandboxesJSONRequestBody
}

type PostSandboxesResponseObject

type PostSandboxesResponseObject interface {
	VisitPostSandboxesResponse(w http.ResponseWriter) error
}

type PostSandboxesSandboxIDConnect200JSONResponse

type PostSandboxesSandboxIDConnect200JSONResponse Sandbox

func (PostSandboxesSandboxIDConnect200JSONResponse) VisitPostSandboxesSandboxIDConnectResponse

func (response PostSandboxesSandboxIDConnect200JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDConnect201JSONResponse

type PostSandboxesSandboxIDConnect201JSONResponse Sandbox

func (PostSandboxesSandboxIDConnect201JSONResponse) VisitPostSandboxesSandboxIDConnectResponse

func (response PostSandboxesSandboxIDConnect201JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDConnect400JSONResponse

type PostSandboxesSandboxIDConnect400JSONResponse struct{ N400JSONResponse }

func (PostSandboxesSandboxIDConnect400JSONResponse) VisitPostSandboxesSandboxIDConnectResponse

func (response PostSandboxesSandboxIDConnect400JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDConnect401JSONResponse

type PostSandboxesSandboxIDConnect401JSONResponse struct{ N401JSONResponse }

func (PostSandboxesSandboxIDConnect401JSONResponse) VisitPostSandboxesSandboxIDConnectResponse

func (response PostSandboxesSandboxIDConnect401JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDConnect404JSONResponse

type PostSandboxesSandboxIDConnect404JSONResponse struct{ N404JSONResponse }

func (PostSandboxesSandboxIDConnect404JSONResponse) VisitPostSandboxesSandboxIDConnectResponse

func (response PostSandboxesSandboxIDConnect404JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDConnect500JSONResponse

type PostSandboxesSandboxIDConnect500JSONResponse struct{ N500JSONResponse }

func (PostSandboxesSandboxIDConnect500JSONResponse) VisitPostSandboxesSandboxIDConnectResponse

func (response PostSandboxesSandboxIDConnect500JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDConnectJSONRequestBody

type PostSandboxesSandboxIDConnectJSONRequestBody = ConnectSandbox

PostSandboxesSandboxIDConnectJSONRequestBody defines body for PostSandboxesSandboxIDConnect for application/json ContentType.

type PostSandboxesSandboxIDConnectRequestObject

type PostSandboxesSandboxIDConnectRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
	Body      *PostSandboxesSandboxIDConnectJSONRequestBody
}

type PostSandboxesSandboxIDConnectResponseObject

type PostSandboxesSandboxIDConnectResponseObject interface {
	VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error
}

type PostSandboxesSandboxIDPause204Response

type PostSandboxesSandboxIDPause204Response struct {
}

func (PostSandboxesSandboxIDPause204Response) VisitPostSandboxesSandboxIDPauseResponse

func (response PostSandboxesSandboxIDPause204Response) VisitPostSandboxesSandboxIDPauseResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDPause401JSONResponse

type PostSandboxesSandboxIDPause401JSONResponse struct{ N401JSONResponse }

func (PostSandboxesSandboxIDPause401JSONResponse) VisitPostSandboxesSandboxIDPauseResponse

func (response PostSandboxesSandboxIDPause401JSONResponse) VisitPostSandboxesSandboxIDPauseResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDPause404JSONResponse

type PostSandboxesSandboxIDPause404JSONResponse struct{ N404JSONResponse }

func (PostSandboxesSandboxIDPause404JSONResponse) VisitPostSandboxesSandboxIDPauseResponse

func (response PostSandboxesSandboxIDPause404JSONResponse) VisitPostSandboxesSandboxIDPauseResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDPause409JSONResponse

type PostSandboxesSandboxIDPause409JSONResponse struct{ N409JSONResponse }

func (PostSandboxesSandboxIDPause409JSONResponse) VisitPostSandboxesSandboxIDPauseResponse

func (response PostSandboxesSandboxIDPause409JSONResponse) VisitPostSandboxesSandboxIDPauseResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDPause500JSONResponse

type PostSandboxesSandboxIDPause500JSONResponse struct{ N500JSONResponse }

func (PostSandboxesSandboxIDPause500JSONResponse) VisitPostSandboxesSandboxIDPauseResponse

func (response PostSandboxesSandboxIDPause500JSONResponse) VisitPostSandboxesSandboxIDPauseResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDPauseRequestObject

type PostSandboxesSandboxIDPauseRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
}

type PostSandboxesSandboxIDPauseResponseObject

type PostSandboxesSandboxIDPauseResponseObject interface {
	VisitPostSandboxesSandboxIDPauseResponse(w http.ResponseWriter) error
}

type PostSandboxesSandboxIDRefreshes204Response

type PostSandboxesSandboxIDRefreshes204Response struct {
}

func (PostSandboxesSandboxIDRefreshes204Response) VisitPostSandboxesSandboxIDRefreshesResponse

func (response PostSandboxesSandboxIDRefreshes204Response) VisitPostSandboxesSandboxIDRefreshesResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDRefreshes401JSONResponse

type PostSandboxesSandboxIDRefreshes401JSONResponse struct{ N401JSONResponse }

func (PostSandboxesSandboxIDRefreshes401JSONResponse) VisitPostSandboxesSandboxIDRefreshesResponse

func (response PostSandboxesSandboxIDRefreshes401JSONResponse) VisitPostSandboxesSandboxIDRefreshesResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDRefreshes404JSONResponse

type PostSandboxesSandboxIDRefreshes404JSONResponse struct{ N404JSONResponse }

func (PostSandboxesSandboxIDRefreshes404JSONResponse) VisitPostSandboxesSandboxIDRefreshesResponse

func (response PostSandboxesSandboxIDRefreshes404JSONResponse) VisitPostSandboxesSandboxIDRefreshesResponse(w http.ResponseWriter) error

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 PostSandboxesSandboxIDRefreshesRequestObject

type PostSandboxesSandboxIDRefreshesRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
	Body      *PostSandboxesSandboxIDRefreshesJSONRequestBody
}

type PostSandboxesSandboxIDRefreshesResponseObject

type PostSandboxesSandboxIDRefreshesResponseObject interface {
	VisitPostSandboxesSandboxIDRefreshesResponse(w http.ResponseWriter) error
}

type PostSandboxesSandboxIDResume201JSONResponse

type PostSandboxesSandboxIDResume201JSONResponse Sandbox

func (PostSandboxesSandboxIDResume201JSONResponse) VisitPostSandboxesSandboxIDResumeResponse

func (response PostSandboxesSandboxIDResume201JSONResponse) VisitPostSandboxesSandboxIDResumeResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDResume401JSONResponse

type PostSandboxesSandboxIDResume401JSONResponse struct{ N401JSONResponse }

func (PostSandboxesSandboxIDResume401JSONResponse) VisitPostSandboxesSandboxIDResumeResponse

func (response PostSandboxesSandboxIDResume401JSONResponse) VisitPostSandboxesSandboxIDResumeResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDResume404JSONResponse

type PostSandboxesSandboxIDResume404JSONResponse struct{ N404JSONResponse }

func (PostSandboxesSandboxIDResume404JSONResponse) VisitPostSandboxesSandboxIDResumeResponse

func (response PostSandboxesSandboxIDResume404JSONResponse) VisitPostSandboxesSandboxIDResumeResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDResume409JSONResponse

type PostSandboxesSandboxIDResume409JSONResponse struct{ N409JSONResponse }

func (PostSandboxesSandboxIDResume409JSONResponse) VisitPostSandboxesSandboxIDResumeResponse

func (response PostSandboxesSandboxIDResume409JSONResponse) VisitPostSandboxesSandboxIDResumeResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDResume500JSONResponse

type PostSandboxesSandboxIDResume500JSONResponse struct{ N500JSONResponse }

func (PostSandboxesSandboxIDResume500JSONResponse) VisitPostSandboxesSandboxIDResumeResponse

func (response PostSandboxesSandboxIDResume500JSONResponse) VisitPostSandboxesSandboxIDResumeResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDResumeJSONRequestBody

type PostSandboxesSandboxIDResumeJSONRequestBody = ResumedSandbox

PostSandboxesSandboxIDResumeJSONRequestBody defines body for PostSandboxesSandboxIDResume for application/json ContentType.

type PostSandboxesSandboxIDResumeRequestObject

type PostSandboxesSandboxIDResumeRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
	Body      *PostSandboxesSandboxIDResumeJSONRequestBody
}

type PostSandboxesSandboxIDResumeResponseObject

type PostSandboxesSandboxIDResumeResponseObject interface {
	VisitPostSandboxesSandboxIDResumeResponse(w http.ResponseWriter) error
}

type PostSandboxesSandboxIDSnapshots201JSONResponse

type PostSandboxesSandboxIDSnapshots201JSONResponse SnapshotInfo

func (PostSandboxesSandboxIDSnapshots201JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse

func (response PostSandboxesSandboxIDSnapshots201JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDSnapshots400JSONResponse

type PostSandboxesSandboxIDSnapshots400JSONResponse struct{ N400JSONResponse }

func (PostSandboxesSandboxIDSnapshots400JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse

func (response PostSandboxesSandboxIDSnapshots400JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDSnapshots401JSONResponse

type PostSandboxesSandboxIDSnapshots401JSONResponse struct{ N401JSONResponse }

func (PostSandboxesSandboxIDSnapshots401JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse

func (response PostSandboxesSandboxIDSnapshots401JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDSnapshots404JSONResponse

type PostSandboxesSandboxIDSnapshots404JSONResponse struct{ N404JSONResponse }

func (PostSandboxesSandboxIDSnapshots404JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse

func (response PostSandboxesSandboxIDSnapshots404JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDSnapshots500JSONResponse

type PostSandboxesSandboxIDSnapshots500JSONResponse struct{ N500JSONResponse }

func (PostSandboxesSandboxIDSnapshots500JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse

func (response PostSandboxesSandboxIDSnapshots500JSONResponse) VisitPostSandboxesSandboxIDSnapshotsResponse(w http.ResponseWriter) error

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 PostSandboxesSandboxIDSnapshotsRequestObject

type PostSandboxesSandboxIDSnapshotsRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
	Body      *PostSandboxesSandboxIDSnapshotsJSONRequestBody
}

type PostSandboxesSandboxIDSnapshotsResponseObject

type PostSandboxesSandboxIDSnapshotsResponseObject interface {
	VisitPostSandboxesSandboxIDSnapshotsResponse(w http.ResponseWriter) error
}

type PostSandboxesSandboxIDTimeout204Response

type PostSandboxesSandboxIDTimeout204Response struct {
}

func (PostSandboxesSandboxIDTimeout204Response) VisitPostSandboxesSandboxIDTimeoutResponse

func (response PostSandboxesSandboxIDTimeout204Response) VisitPostSandboxesSandboxIDTimeoutResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDTimeout401JSONResponse

type PostSandboxesSandboxIDTimeout401JSONResponse struct{ N401JSONResponse }

func (PostSandboxesSandboxIDTimeout401JSONResponse) VisitPostSandboxesSandboxIDTimeoutResponse

func (response PostSandboxesSandboxIDTimeout401JSONResponse) VisitPostSandboxesSandboxIDTimeoutResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDTimeout404JSONResponse

type PostSandboxesSandboxIDTimeout404JSONResponse struct{ N404JSONResponse }

func (PostSandboxesSandboxIDTimeout404JSONResponse) VisitPostSandboxesSandboxIDTimeoutResponse

func (response PostSandboxesSandboxIDTimeout404JSONResponse) VisitPostSandboxesSandboxIDTimeoutResponse(w http.ResponseWriter) error

type PostSandboxesSandboxIDTimeout500JSONResponse

type PostSandboxesSandboxIDTimeout500JSONResponse struct{ N500JSONResponse }

func (PostSandboxesSandboxIDTimeout500JSONResponse) VisitPostSandboxesSandboxIDTimeoutResponse

func (response PostSandboxesSandboxIDTimeout500JSONResponse) VisitPostSandboxesSandboxIDTimeoutResponse(w http.ResponseWriter) error

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 PostSandboxesSandboxIDTimeoutRequestObject

type PostSandboxesSandboxIDTimeoutRequestObject struct {
	SandboxID SandboxID `json:"sandboxID"`
	Body      *PostSandboxesSandboxIDTimeoutJSONRequestBody
}

type PostSandboxesSandboxIDTimeoutResponseObject

type PostSandboxesSandboxIDTimeoutResponseObject interface {
	VisitPostSandboxesSandboxIDTimeoutResponse(w http.ResponseWriter) error
}

type PostTemplates202JSONResponse

type PostTemplates202JSONResponse TemplateLegacy

func (PostTemplates202JSONResponse) VisitPostTemplatesResponse

func (response PostTemplates202JSONResponse) VisitPostTemplatesResponse(w http.ResponseWriter) error

type PostTemplates400JSONResponse

type PostTemplates400JSONResponse struct{ N400JSONResponse }

func (PostTemplates400JSONResponse) VisitPostTemplatesResponse

func (response PostTemplates400JSONResponse) VisitPostTemplatesResponse(w http.ResponseWriter) error

type PostTemplates401JSONResponse

type PostTemplates401JSONResponse struct{ N401JSONResponse }

func (PostTemplates401JSONResponse) VisitPostTemplatesResponse

func (response PostTemplates401JSONResponse) VisitPostTemplatesResponse(w http.ResponseWriter) error

type PostTemplates500JSONResponse

type PostTemplates500JSONResponse struct{ N500JSONResponse }

func (PostTemplates500JSONResponse) VisitPostTemplatesResponse

func (response PostTemplates500JSONResponse) VisitPostTemplatesResponse(w http.ResponseWriter) error

type PostTemplatesJSONRequestBody

type PostTemplatesJSONRequestBody = TemplateBuildRequest

PostTemplatesJSONRequestBody defines body for PostTemplates for application/json ContentType.

type PostTemplatesRequestObject

type PostTemplatesRequestObject struct {
	Body *PostTemplatesJSONRequestBody
}

type PostTemplatesResponseObject

type PostTemplatesResponseObject interface {
	VisitPostTemplatesResponse(w http.ResponseWriter) error
}

type PostTemplatesTags201JSONResponse

type PostTemplatesTags201JSONResponse AssignedTemplateTags

func (PostTemplatesTags201JSONResponse) VisitPostTemplatesTagsResponse

func (response PostTemplatesTags201JSONResponse) VisitPostTemplatesTagsResponse(w http.ResponseWriter) error

type PostTemplatesTags400JSONResponse

type PostTemplatesTags400JSONResponse struct{ N400JSONResponse }

func (PostTemplatesTags400JSONResponse) VisitPostTemplatesTagsResponse

func (response PostTemplatesTags400JSONResponse) VisitPostTemplatesTagsResponse(w http.ResponseWriter) error

type PostTemplatesTags401JSONResponse

type PostTemplatesTags401JSONResponse struct{ N401JSONResponse }

func (PostTemplatesTags401JSONResponse) VisitPostTemplatesTagsResponse

func (response PostTemplatesTags401JSONResponse) VisitPostTemplatesTagsResponse(w http.ResponseWriter) error

type PostTemplatesTags404JSONResponse

type PostTemplatesTags404JSONResponse struct{ N404JSONResponse }

func (PostTemplatesTags404JSONResponse) VisitPostTemplatesTagsResponse

func (response PostTemplatesTags404JSONResponse) VisitPostTemplatesTagsResponse(w http.ResponseWriter) error

type PostTemplatesTags500JSONResponse

type PostTemplatesTags500JSONResponse struct{ N500JSONResponse }

func (PostTemplatesTags500JSONResponse) VisitPostTemplatesTagsResponse

func (response PostTemplatesTags500JSONResponse) VisitPostTemplatesTagsResponse(w http.ResponseWriter) error

type PostTemplatesTagsJSONRequestBody

type PostTemplatesTagsJSONRequestBody = AssignTemplateTagsRequest

PostTemplatesTagsJSONRequestBody defines body for PostTemplatesTags for application/json ContentType.

type PostTemplatesTagsRequestObject

type PostTemplatesTagsRequestObject struct {
	Body *PostTemplatesTagsJSONRequestBody
}

type PostTemplatesTagsResponseObject

type PostTemplatesTagsResponseObject interface {
	VisitPostTemplatesTagsResponse(w http.ResponseWriter) error
}

type PostTemplatesTemplateID202JSONResponse

type PostTemplatesTemplateID202JSONResponse TemplateLegacy

func (PostTemplatesTemplateID202JSONResponse) VisitPostTemplatesTemplateIDResponse

func (response PostTemplatesTemplateID202JSONResponse) VisitPostTemplatesTemplateIDResponse(w http.ResponseWriter) error

type PostTemplatesTemplateID401JSONResponse

type PostTemplatesTemplateID401JSONResponse struct{ N401JSONResponse }

func (PostTemplatesTemplateID401JSONResponse) VisitPostTemplatesTemplateIDResponse

func (response PostTemplatesTemplateID401JSONResponse) VisitPostTemplatesTemplateIDResponse(w http.ResponseWriter) error

type PostTemplatesTemplateID500JSONResponse

type PostTemplatesTemplateID500JSONResponse struct{ N500JSONResponse }

func (PostTemplatesTemplateID500JSONResponse) VisitPostTemplatesTemplateIDResponse

func (response PostTemplatesTemplateID500JSONResponse) VisitPostTemplatesTemplateIDResponse(w http.ResponseWriter) error

type PostTemplatesTemplateIDBuildsBuildID202Response

type PostTemplatesTemplateIDBuildsBuildID202Response struct {
}

func (PostTemplatesTemplateIDBuildsBuildID202Response) VisitPostTemplatesTemplateIDBuildsBuildIDResponse

func (response PostTemplatesTemplateIDBuildsBuildID202Response) VisitPostTemplatesTemplateIDBuildsBuildIDResponse(w http.ResponseWriter) error

type PostTemplatesTemplateIDBuildsBuildID401JSONResponse

type PostTemplatesTemplateIDBuildsBuildID401JSONResponse struct{ N401JSONResponse }

func (PostTemplatesTemplateIDBuildsBuildID401JSONResponse) VisitPostTemplatesTemplateIDBuildsBuildIDResponse

func (response PostTemplatesTemplateIDBuildsBuildID401JSONResponse) VisitPostTemplatesTemplateIDBuildsBuildIDResponse(w http.ResponseWriter) error

type PostTemplatesTemplateIDBuildsBuildID500JSONResponse

type PostTemplatesTemplateIDBuildsBuildID500JSONResponse struct{ N500JSONResponse }

func (PostTemplatesTemplateIDBuildsBuildID500JSONResponse) VisitPostTemplatesTemplateIDBuildsBuildIDResponse

func (response PostTemplatesTemplateIDBuildsBuildID500JSONResponse) VisitPostTemplatesTemplateIDBuildsBuildIDResponse(w http.ResponseWriter) error

type PostTemplatesTemplateIDBuildsBuildIDRequestObject

type PostTemplatesTemplateIDBuildsBuildIDRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	BuildID    BuildID    `json:"buildID"`
}

type PostTemplatesTemplateIDBuildsBuildIDResponseObject

type PostTemplatesTemplateIDBuildsBuildIDResponseObject interface {
	VisitPostTemplatesTemplateIDBuildsBuildIDResponse(w http.ResponseWriter) error
}

type PostTemplatesTemplateIDJSONRequestBody

type PostTemplatesTemplateIDJSONRequestBody = TemplateBuildRequest

PostTemplatesTemplateIDJSONRequestBody defines body for PostTemplatesTemplateID for application/json ContentType.

type PostTemplatesTemplateIDRequestObject

type PostTemplatesTemplateIDRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	Body       *PostTemplatesTemplateIDJSONRequestBody
}

type PostTemplatesTemplateIDResponseObject

type PostTemplatesTemplateIDResponseObject interface {
	VisitPostTemplatesTemplateIDResponse(w http.ResponseWriter) error
}

type PostV2Templates202JSONResponse

type PostV2Templates202JSONResponse TemplateLegacy

func (PostV2Templates202JSONResponse) VisitPostV2TemplatesResponse

func (response PostV2Templates202JSONResponse) VisitPostV2TemplatesResponse(w http.ResponseWriter) error

type PostV2Templates400JSONResponse

type PostV2Templates400JSONResponse struct{ N400JSONResponse }

func (PostV2Templates400JSONResponse) VisitPostV2TemplatesResponse

func (response PostV2Templates400JSONResponse) VisitPostV2TemplatesResponse(w http.ResponseWriter) error

type PostV2Templates401JSONResponse

type PostV2Templates401JSONResponse struct{ N401JSONResponse }

func (PostV2Templates401JSONResponse) VisitPostV2TemplatesResponse

func (response PostV2Templates401JSONResponse) VisitPostV2TemplatesResponse(w http.ResponseWriter) error

type PostV2Templates500JSONResponse

type PostV2Templates500JSONResponse struct{ N500JSONResponse }

func (PostV2Templates500JSONResponse) VisitPostV2TemplatesResponse

func (response PostV2Templates500JSONResponse) VisitPostV2TemplatesResponse(w http.ResponseWriter) error

type PostV2TemplatesJSONRequestBody

type PostV2TemplatesJSONRequestBody = TemplateBuildRequestV2

PostV2TemplatesJSONRequestBody defines body for PostV2Templates for application/json ContentType.

type PostV2TemplatesRequestObject

type PostV2TemplatesRequestObject struct {
	Body *PostV2TemplatesJSONRequestBody
}

type PostV2TemplatesResponseObject

type PostV2TemplatesResponseObject interface {
	VisitPostV2TemplatesResponse(w http.ResponseWriter) error
}

type PostV2TemplatesTemplateIDBuildsBuildID202Response

type PostV2TemplatesTemplateIDBuildsBuildID202Response struct {
}

func (PostV2TemplatesTemplateIDBuildsBuildID202Response) VisitPostV2TemplatesTemplateIDBuildsBuildIDResponse

func (response PostV2TemplatesTemplateIDBuildsBuildID202Response) VisitPostV2TemplatesTemplateIDBuildsBuildIDResponse(w http.ResponseWriter) error

type PostV2TemplatesTemplateIDBuildsBuildID401JSONResponse

type PostV2TemplatesTemplateIDBuildsBuildID401JSONResponse struct{ N401JSONResponse }

func (PostV2TemplatesTemplateIDBuildsBuildID401JSONResponse) VisitPostV2TemplatesTemplateIDBuildsBuildIDResponse

func (response PostV2TemplatesTemplateIDBuildsBuildID401JSONResponse) VisitPostV2TemplatesTemplateIDBuildsBuildIDResponse(w http.ResponseWriter) error

type PostV2TemplatesTemplateIDBuildsBuildID500JSONResponse

type PostV2TemplatesTemplateIDBuildsBuildID500JSONResponse struct{ N500JSONResponse }

func (PostV2TemplatesTemplateIDBuildsBuildID500JSONResponse) VisitPostV2TemplatesTemplateIDBuildsBuildIDResponse

func (response PostV2TemplatesTemplateIDBuildsBuildID500JSONResponse) VisitPostV2TemplatesTemplateIDBuildsBuildIDResponse(w http.ResponseWriter) error

type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody

type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody = TemplateBuildStartV2

PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody defines body for PostV2TemplatesTemplateIDBuildsBuildID for application/json ContentType.

type PostV2TemplatesTemplateIDBuildsBuildIDRequestObject

type PostV2TemplatesTemplateIDBuildsBuildIDRequestObject struct {
	TemplateID TemplateID `json:"templateID"`
	BuildID    BuildID    `json:"buildID"`
	Body       *PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody
}

type PostV2TemplatesTemplateIDBuildsBuildIDResponseObject

type PostV2TemplatesTemplateIDBuildsBuildIDResponseObject interface {
	VisitPostV2TemplatesTemplateIDBuildsBuildIDResponse(w http.ResponseWriter) error
}

type PostV3Templates202JSONResponse

type PostV3Templates202JSONResponse TemplateRequestResponseV3

func (PostV3Templates202JSONResponse) VisitPostV3TemplatesResponse

func (response PostV3Templates202JSONResponse) VisitPostV3TemplatesResponse(w http.ResponseWriter) error

type PostV3Templates400JSONResponse

type PostV3Templates400JSONResponse struct{ N400JSONResponse }

func (PostV3Templates400JSONResponse) VisitPostV3TemplatesResponse

func (response PostV3Templates400JSONResponse) VisitPostV3TemplatesResponse(w http.ResponseWriter) error

type PostV3Templates401JSONResponse

type PostV3Templates401JSONResponse struct{ N401JSONResponse }

func (PostV3Templates401JSONResponse) VisitPostV3TemplatesResponse

func (response PostV3Templates401JSONResponse) VisitPostV3TemplatesResponse(w http.ResponseWriter) error

type PostV3Templates500JSONResponse

type PostV3Templates500JSONResponse struct{ N500JSONResponse }

func (PostV3Templates500JSONResponse) VisitPostV3TemplatesResponse

func (response PostV3Templates500JSONResponse) VisitPostV3TemplatesResponse(w http.ResponseWriter) error

type PostV3TemplatesJSONRequestBody

type PostV3TemplatesJSONRequestBody = TemplateBuildRequestV3

PostV3TemplatesJSONRequestBody defines body for PostV3Templates for application/json ContentType.

type PostV3TemplatesRequestObject

type PostV3TemplatesRequestObject struct {
	Body *PostV3TemplatesJSONRequestBody
}

type PostV3TemplatesResponseObject

type PostV3TemplatesResponseObject interface {
	VisitPostV3TemplatesResponse(w http.ResponseWriter) error
}

type PostVolumes201JSONResponse

type PostVolumes201JSONResponse VolumeAndToken

func (PostVolumes201JSONResponse) VisitPostVolumesResponse

func (response PostVolumes201JSONResponse) VisitPostVolumesResponse(w http.ResponseWriter) error

type PostVolumes400JSONResponse

type PostVolumes400JSONResponse struct{ N400JSONResponse }

func (PostVolumes400JSONResponse) VisitPostVolumesResponse

func (response PostVolumes400JSONResponse) VisitPostVolumesResponse(w http.ResponseWriter) error

type PostVolumes401JSONResponse

type PostVolumes401JSONResponse struct{ N401JSONResponse }

func (PostVolumes401JSONResponse) VisitPostVolumesResponse

func (response PostVolumes401JSONResponse) VisitPostVolumesResponse(w http.ResponseWriter) error

type PostVolumes500JSONResponse

type PostVolumes500JSONResponse struct{ N500JSONResponse }

func (PostVolumes500JSONResponse) VisitPostVolumesResponse

func (response PostVolumes500JSONResponse) VisitPostVolumesResponse(w http.ResponseWriter) error

type PostVolumesJSONRequestBody

type PostVolumesJSONRequestBody = NewVolume

PostVolumesJSONRequestBody defines body for PostVolumes for application/json ContentType.

type PostVolumesRequestObject

type PostVolumesRequestObject struct {
	Body *PostVolumesJSONRequestBody
}

type PostVolumesResponseObject

type PostVolumesResponseObject interface {
	VisitPostVolumesResponse(w http.ResponseWriter) error
}

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

	// EnvdAccessToken Access token used for envd communication
	EnvdAccessToken *string `json:"envdAccessToken,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID string `json:"templateID"`

	// TrafficAccessToken Token required for accessing sandbox via proxy.
	TrafficAccessToken *string `json:"trafficAccessToken,omitempty"`
}

Sandbox defines model for Sandbox.

type SandboxAutoResumeConfig

type SandboxAutoResumeConfig struct {
	// Enabled Auto-resume enabled flag for paused sandboxes. Default false.
	Enabled SandboxAutoResumeEnabled `json:"enabled"`
}

SandboxAutoResumeConfig Auto-resume configuration for paused sandboxes.

type SandboxAutoResumeEnabled

type SandboxAutoResumeEnabled = bool

SandboxAutoResumeEnabled Auto-resume enabled flag for paused sandboxes. Default false.

type SandboxDetail

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

	// ClientID Identifier of the client
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ClientID string `json:"clientID"`

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

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

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

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

	// EnvdAccessToken Access token used for envd communication
	EnvdAccessToken *string `json:"envdAccessToken,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

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

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// StartedAt Time when the sandbox was started
	StartedAt time.Time `json:"startedAt"`

	// State State of the sandbox
	State SandboxState `json:"state"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID   string                `json:"templateID"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

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.

func (SandboxState) Valid

func (e SandboxState) Valid() bool

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

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 ServerInterface

type ServerInterface interface {

	// (POST /access-tokens)
	PostAccessTokens(c *gin.Context)

	// (DELETE /access-tokens/{accessTokenID})
	DeleteAccessTokensAccessTokenID(c *gin.Context, accessTokenID AccessTokenID)
	// Cancel all builds for a team
	// (POST /admin/teams/{teamID}/builds/cancel)
	PostAdminTeamsTeamIDBuildsCancel(c *gin.Context, teamID openapi_types.UUID)
	// Kill all sandboxes for a team
	// (POST /admin/teams/{teamID}/sandboxes/kill)
	PostAdminTeamsTeamIDSandboxesKill(c *gin.Context, teamID openapi_types.UUID)

	// (GET /api-keys)
	GetApiKeys(c *gin.Context)

	// (POST /api-keys)
	PostApiKeys(c *gin.Context)

	// (DELETE /api-keys/{apiKeyID})
	DeleteApiKeysApiKeyID(c *gin.Context, apiKeyID ApiKeyID)

	// (PATCH /api-keys/{apiKeyID})
	PatchApiKeysApiKeyID(c *gin.Context, apiKeyID ApiKeyID)

	// (GET /health)
	GetHealth(c *gin.Context)

	// (GET /nodes)
	GetNodes(c *gin.Context)

	// (GET /nodes/{nodeID})
	GetNodesNodeID(c *gin.Context, nodeID NodeID, params GetNodesNodeIDParams)

	// (POST /nodes/{nodeID})
	PostNodesNodeID(c *gin.Context, nodeID NodeID)

	// (GET /sandboxes)
	GetSandboxes(c *gin.Context, params GetSandboxesParams)

	// (POST /sandboxes)
	PostSandboxes(c *gin.Context)

	// (GET /sandboxes/metrics)
	GetSandboxesMetrics(c *gin.Context, params GetSandboxesMetricsParams)

	// (DELETE /sandboxes/{sandboxID})
	DeleteSandboxesSandboxID(c *gin.Context, sandboxID SandboxID)

	// (GET /sandboxes/{sandboxID})
	GetSandboxesSandboxID(c *gin.Context, sandboxID SandboxID)

	// (POST /sandboxes/{sandboxID}/connect)
	PostSandboxesSandboxIDConnect(c *gin.Context, sandboxID SandboxID)

	// (GET /sandboxes/{sandboxID}/logs)
	GetSandboxesSandboxIDLogs(c *gin.Context, sandboxID SandboxID, params GetSandboxesSandboxIDLogsParams)

	// (GET /sandboxes/{sandboxID}/metrics)
	GetSandboxesSandboxIDMetrics(c *gin.Context, sandboxID SandboxID, params GetSandboxesSandboxIDMetricsParams)

	// (POST /sandboxes/{sandboxID}/pause)
	PostSandboxesSandboxIDPause(c *gin.Context, sandboxID SandboxID)

	// (POST /sandboxes/{sandboxID}/refreshes)
	PostSandboxesSandboxIDRefreshes(c *gin.Context, sandboxID SandboxID)

	// (POST /sandboxes/{sandboxID}/resume)
	PostSandboxesSandboxIDResume(c *gin.Context, sandboxID SandboxID)

	// (POST /sandboxes/{sandboxID}/snapshots)
	PostSandboxesSandboxIDSnapshots(c *gin.Context, sandboxID SandboxID)

	// (POST /sandboxes/{sandboxID}/timeout)
	PostSandboxesSandboxIDTimeout(c *gin.Context, sandboxID SandboxID)

	// (GET /snapshots)
	GetSnapshots(c *gin.Context, params GetSnapshotsParams)

	// (GET /teams)
	GetTeams(c *gin.Context)

	// (GET /teams/{teamID}/metrics)
	GetTeamsTeamIDMetrics(c *gin.Context, teamID TeamID, params GetTeamsTeamIDMetricsParams)

	// (GET /teams/{teamID}/metrics/max)
	GetTeamsTeamIDMetricsMax(c *gin.Context, teamID TeamID, params GetTeamsTeamIDMetricsMaxParams)

	// (GET /templates)
	GetTemplates(c *gin.Context, params GetTemplatesParams)

	// (POST /templates)
	PostTemplates(c *gin.Context)

	// (GET /templates/aliases/{alias})
	GetTemplatesAliasesAlias(c *gin.Context, alias string)

	// (DELETE /templates/tags)
	DeleteTemplatesTags(c *gin.Context)

	// (POST /templates/tags)
	PostTemplatesTags(c *gin.Context)

	// (DELETE /templates/{templateID})
	DeleteTemplatesTemplateID(c *gin.Context, templateID TemplateID)

	// (GET /templates/{templateID})
	GetTemplatesTemplateID(c *gin.Context, templateID TemplateID, params GetTemplatesTemplateIDParams)

	// (PATCH /templates/{templateID})
	PatchTemplatesTemplateID(c *gin.Context, templateID TemplateID)

	// (POST /templates/{templateID})
	PostTemplatesTemplateID(c *gin.Context, templateID TemplateID)

	// (POST /templates/{templateID}/builds/{buildID})
	PostTemplatesTemplateIDBuildsBuildID(c *gin.Context, templateID TemplateID, buildID BuildID)

	// (GET /templates/{templateID}/builds/{buildID}/logs)
	GetTemplatesTemplateIDBuildsBuildIDLogs(c *gin.Context, templateID TemplateID, buildID BuildID, params GetTemplatesTemplateIDBuildsBuildIDLogsParams)

	// (GET /templates/{templateID}/builds/{buildID}/status)
	GetTemplatesTemplateIDBuildsBuildIDStatus(c *gin.Context, templateID TemplateID, buildID BuildID, params GetTemplatesTemplateIDBuildsBuildIDStatusParams)

	// (GET /templates/{templateID}/files/{hash})
	GetTemplatesTemplateIDFilesHash(c *gin.Context, templateID TemplateID, hash string)

	// (GET /templates/{templateID}/tags)
	GetTemplatesTemplateIDTags(c *gin.Context, templateID TemplateID)

	// (GET /v2/sandboxes)
	GetV2Sandboxes(c *gin.Context, params GetV2SandboxesParams)

	// (GET /v2/sandboxes/{sandboxID}/logs)
	GetV2SandboxesSandboxIDLogs(c *gin.Context, sandboxID SandboxID, params GetV2SandboxesSandboxIDLogsParams)

	// (POST /v2/templates)
	PostV2Templates(c *gin.Context)

	// (PATCH /v2/templates/{templateID})
	PatchV2TemplatesTemplateID(c *gin.Context, templateID TemplateID)

	// (POST /v2/templates/{templateID}/builds/{buildID})
	PostV2TemplatesTemplateIDBuildsBuildID(c *gin.Context, templateID TemplateID, buildID BuildID)

	// (POST /v3/templates)
	PostV3Templates(c *gin.Context)

	// (GET /volumes)
	GetVolumes(c *gin.Context)

	// (POST /volumes)
	PostVolumes(c *gin.Context)

	// (DELETE /volumes/{volumeID})
	DeleteVolumesVolumeID(c *gin.Context, volumeID VolumeID)

	// (GET /volumes/{volumeID})
	GetVolumesVolumeID(c *gin.Context, volumeID VolumeID)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandler       func(*gin.Context, error, int)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeleteAccessTokensAccessTokenID

func (siw *ServerInterfaceWrapper) DeleteAccessTokensAccessTokenID(c *gin.Context)

DeleteAccessTokensAccessTokenID operation middleware

func (*ServerInterfaceWrapper) DeleteApiKeysApiKeyID

func (siw *ServerInterfaceWrapper) DeleteApiKeysApiKeyID(c *gin.Context)

DeleteApiKeysApiKeyID operation middleware

func (*ServerInterfaceWrapper) DeleteSandboxesSandboxID

func (siw *ServerInterfaceWrapper) DeleteSandboxesSandboxID(c *gin.Context)

DeleteSandboxesSandboxID operation middleware

func (*ServerInterfaceWrapper) DeleteTemplatesTags

func (siw *ServerInterfaceWrapper) DeleteTemplatesTags(c *gin.Context)

DeleteTemplatesTags operation middleware

func (*ServerInterfaceWrapper) DeleteTemplatesTemplateID

func (siw *ServerInterfaceWrapper) DeleteTemplatesTemplateID(c *gin.Context)

DeleteTemplatesTemplateID operation middleware

func (*ServerInterfaceWrapper) DeleteVolumesVolumeID

func (siw *ServerInterfaceWrapper) DeleteVolumesVolumeID(c *gin.Context)

DeleteVolumesVolumeID operation middleware

func (*ServerInterfaceWrapper) GetApiKeys

func (siw *ServerInterfaceWrapper) GetApiKeys(c *gin.Context)

GetApiKeys operation middleware

func (*ServerInterfaceWrapper) GetHealth

func (siw *ServerInterfaceWrapper) GetHealth(c *gin.Context)

GetHealth operation middleware

func (*ServerInterfaceWrapper) GetNodes

func (siw *ServerInterfaceWrapper) GetNodes(c *gin.Context)

GetNodes operation middleware

func (*ServerInterfaceWrapper) GetNodesNodeID

func (siw *ServerInterfaceWrapper) GetNodesNodeID(c *gin.Context)

GetNodesNodeID operation middleware

func (*ServerInterfaceWrapper) GetSandboxes

func (siw *ServerInterfaceWrapper) GetSandboxes(c *gin.Context)

GetSandboxes operation middleware

func (*ServerInterfaceWrapper) GetSandboxesMetrics

func (siw *ServerInterfaceWrapper) GetSandboxesMetrics(c *gin.Context)

GetSandboxesMetrics operation middleware

func (*ServerInterfaceWrapper) GetSandboxesSandboxID

func (siw *ServerInterfaceWrapper) GetSandboxesSandboxID(c *gin.Context)

GetSandboxesSandboxID operation middleware

func (*ServerInterfaceWrapper) GetSandboxesSandboxIDLogs

func (siw *ServerInterfaceWrapper) GetSandboxesSandboxIDLogs(c *gin.Context)

GetSandboxesSandboxIDLogs operation middleware

func (*ServerInterfaceWrapper) GetSandboxesSandboxIDMetrics

func (siw *ServerInterfaceWrapper) GetSandboxesSandboxIDMetrics(c *gin.Context)

GetSandboxesSandboxIDMetrics operation middleware

func (*ServerInterfaceWrapper) GetSnapshots

func (siw *ServerInterfaceWrapper) GetSnapshots(c *gin.Context)

GetSnapshots operation middleware

func (*ServerInterfaceWrapper) GetTeams

func (siw *ServerInterfaceWrapper) GetTeams(c *gin.Context)

GetTeams operation middleware

func (*ServerInterfaceWrapper) GetTeamsTeamIDMetrics

func (siw *ServerInterfaceWrapper) GetTeamsTeamIDMetrics(c *gin.Context)

GetTeamsTeamIDMetrics operation middleware

func (*ServerInterfaceWrapper) GetTeamsTeamIDMetricsMax

func (siw *ServerInterfaceWrapper) GetTeamsTeamIDMetricsMax(c *gin.Context)

GetTeamsTeamIDMetricsMax operation middleware

func (*ServerInterfaceWrapper) GetTemplates

func (siw *ServerInterfaceWrapper) GetTemplates(c *gin.Context)

GetTemplates operation middleware

func (*ServerInterfaceWrapper) GetTemplatesAliasesAlias

func (siw *ServerInterfaceWrapper) GetTemplatesAliasesAlias(c *gin.Context)

GetTemplatesAliasesAlias operation middleware

func (*ServerInterfaceWrapper) GetTemplatesTemplateID

func (siw *ServerInterfaceWrapper) GetTemplatesTemplateID(c *gin.Context)

GetTemplatesTemplateID operation middleware

func (*ServerInterfaceWrapper) GetTemplatesTemplateIDBuildsBuildIDLogs

func (siw *ServerInterfaceWrapper) GetTemplatesTemplateIDBuildsBuildIDLogs(c *gin.Context)

GetTemplatesTemplateIDBuildsBuildIDLogs operation middleware

func (*ServerInterfaceWrapper) GetTemplatesTemplateIDBuildsBuildIDStatus

func (siw *ServerInterfaceWrapper) GetTemplatesTemplateIDBuildsBuildIDStatus(c *gin.Context)

GetTemplatesTemplateIDBuildsBuildIDStatus operation middleware

func (*ServerInterfaceWrapper) GetTemplatesTemplateIDFilesHash

func (siw *ServerInterfaceWrapper) GetTemplatesTemplateIDFilesHash(c *gin.Context)

GetTemplatesTemplateIDFilesHash operation middleware

func (*ServerInterfaceWrapper) GetTemplatesTemplateIDTags

func (siw *ServerInterfaceWrapper) GetTemplatesTemplateIDTags(c *gin.Context)

GetTemplatesTemplateIDTags operation middleware

func (*ServerInterfaceWrapper) GetV2Sandboxes

func (siw *ServerInterfaceWrapper) GetV2Sandboxes(c *gin.Context)

GetV2Sandboxes operation middleware

func (*ServerInterfaceWrapper) GetV2SandboxesSandboxIDLogs

func (siw *ServerInterfaceWrapper) GetV2SandboxesSandboxIDLogs(c *gin.Context)

GetV2SandboxesSandboxIDLogs operation middleware

func (*ServerInterfaceWrapper) GetVolumes

func (siw *ServerInterfaceWrapper) GetVolumes(c *gin.Context)

GetVolumes operation middleware

func (*ServerInterfaceWrapper) GetVolumesVolumeID

func (siw *ServerInterfaceWrapper) GetVolumesVolumeID(c *gin.Context)

GetVolumesVolumeID operation middleware

func (*ServerInterfaceWrapper) PatchApiKeysApiKeyID

func (siw *ServerInterfaceWrapper) PatchApiKeysApiKeyID(c *gin.Context)

PatchApiKeysApiKeyID operation middleware

func (*ServerInterfaceWrapper) PatchTemplatesTemplateID

func (siw *ServerInterfaceWrapper) PatchTemplatesTemplateID(c *gin.Context)

PatchTemplatesTemplateID operation middleware

func (*ServerInterfaceWrapper) PatchV2TemplatesTemplateID

func (siw *ServerInterfaceWrapper) PatchV2TemplatesTemplateID(c *gin.Context)

PatchV2TemplatesTemplateID operation middleware

func (*ServerInterfaceWrapper) PostAccessTokens

func (siw *ServerInterfaceWrapper) PostAccessTokens(c *gin.Context)

PostAccessTokens operation middleware

func (*ServerInterfaceWrapper) PostAdminTeamsTeamIDBuildsCancel

func (siw *ServerInterfaceWrapper) PostAdminTeamsTeamIDBuildsCancel(c *gin.Context)

PostAdminTeamsTeamIDBuildsCancel operation middleware

func (*ServerInterfaceWrapper) PostAdminTeamsTeamIDSandboxesKill

func (siw *ServerInterfaceWrapper) PostAdminTeamsTeamIDSandboxesKill(c *gin.Context)

PostAdminTeamsTeamIDSandboxesKill operation middleware

func (*ServerInterfaceWrapper) PostApiKeys

func (siw *ServerInterfaceWrapper) PostApiKeys(c *gin.Context)

PostApiKeys operation middleware

func (*ServerInterfaceWrapper) PostNodesNodeID

func (siw *ServerInterfaceWrapper) PostNodesNodeID(c *gin.Context)

PostNodesNodeID operation middleware

func (*ServerInterfaceWrapper) PostSandboxes

func (siw *ServerInterfaceWrapper) PostSandboxes(c *gin.Context)

PostSandboxes operation middleware

func (*ServerInterfaceWrapper) PostSandboxesSandboxIDConnect

func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDConnect(c *gin.Context)

PostSandboxesSandboxIDConnect operation middleware

func (*ServerInterfaceWrapper) PostSandboxesSandboxIDPause

func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDPause(c *gin.Context)

PostSandboxesSandboxIDPause operation middleware

func (*ServerInterfaceWrapper) PostSandboxesSandboxIDRefreshes

func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDRefreshes(c *gin.Context)

PostSandboxesSandboxIDRefreshes operation middleware

func (*ServerInterfaceWrapper) PostSandboxesSandboxIDResume

func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDResume(c *gin.Context)

PostSandboxesSandboxIDResume operation middleware

func (*ServerInterfaceWrapper) PostSandboxesSandboxIDSnapshots

func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDSnapshots(c *gin.Context)

PostSandboxesSandboxIDSnapshots operation middleware

func (*ServerInterfaceWrapper) PostSandboxesSandboxIDTimeout

func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDTimeout(c *gin.Context)

PostSandboxesSandboxIDTimeout operation middleware

func (*ServerInterfaceWrapper) PostTemplates

func (siw *ServerInterfaceWrapper) PostTemplates(c *gin.Context)

PostTemplates operation middleware

func (*ServerInterfaceWrapper) PostTemplatesTags

func (siw *ServerInterfaceWrapper) PostTemplatesTags(c *gin.Context)

PostTemplatesTags operation middleware

func (*ServerInterfaceWrapper) PostTemplatesTemplateID

func (siw *ServerInterfaceWrapper) PostTemplatesTemplateID(c *gin.Context)

PostTemplatesTemplateID operation middleware

func (*ServerInterfaceWrapper) PostTemplatesTemplateIDBuildsBuildID

func (siw *ServerInterfaceWrapper) PostTemplatesTemplateIDBuildsBuildID(c *gin.Context)

PostTemplatesTemplateIDBuildsBuildID operation middleware

func (*ServerInterfaceWrapper) PostV2Templates

func (siw *ServerInterfaceWrapper) PostV2Templates(c *gin.Context)

PostV2Templates operation middleware

func (*ServerInterfaceWrapper) PostV2TemplatesTemplateIDBuildsBuildID

func (siw *ServerInterfaceWrapper) PostV2TemplatesTemplateIDBuildsBuildID(c *gin.Context)

PostV2TemplatesTemplateIDBuildsBuildID operation middleware

func (*ServerInterfaceWrapper) PostV3Templates

func (siw *ServerInterfaceWrapper) PostV3Templates(c *gin.Context)

PostV3Templates operation middleware

func (*ServerInterfaceWrapper) PostVolumes

func (siw *ServerInterfaceWrapper) PostVolumes(c *gin.Context)

PostVolumes operation middleware

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 StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {

	// (POST /access-tokens)
	PostAccessTokens(ctx context.Context, request PostAccessTokensRequestObject) (PostAccessTokensResponseObject, error)

	// (DELETE /access-tokens/{accessTokenID})
	DeleteAccessTokensAccessTokenID(ctx context.Context, request DeleteAccessTokensAccessTokenIDRequestObject) (DeleteAccessTokensAccessTokenIDResponseObject, error)
	// Cancel all builds for a team
	// (POST /admin/teams/{teamID}/builds/cancel)
	PostAdminTeamsTeamIDBuildsCancel(ctx context.Context, request PostAdminTeamsTeamIDBuildsCancelRequestObject) (PostAdminTeamsTeamIDBuildsCancelResponseObject, error)
	// Kill all sandboxes for a team
	// (POST /admin/teams/{teamID}/sandboxes/kill)
	PostAdminTeamsTeamIDSandboxesKill(ctx context.Context, request PostAdminTeamsTeamIDSandboxesKillRequestObject) (PostAdminTeamsTeamIDSandboxesKillResponseObject, error)

	// (GET /api-keys)
	GetApiKeys(ctx context.Context, request GetApiKeysRequestObject) (GetApiKeysResponseObject, error)

	// (POST /api-keys)
	PostApiKeys(ctx context.Context, request PostApiKeysRequestObject) (PostApiKeysResponseObject, error)

	// (DELETE /api-keys/{apiKeyID})
	DeleteApiKeysApiKeyID(ctx context.Context, request DeleteApiKeysApiKeyIDRequestObject) (DeleteApiKeysApiKeyIDResponseObject, error)

	// (PATCH /api-keys/{apiKeyID})
	PatchApiKeysApiKeyID(ctx context.Context, request PatchApiKeysApiKeyIDRequestObject) (PatchApiKeysApiKeyIDResponseObject, error)

	// (GET /health)
	GetHealth(ctx context.Context, request GetHealthRequestObject) (GetHealthResponseObject, error)

	// (GET /nodes)
	GetNodes(ctx context.Context, request GetNodesRequestObject) (GetNodesResponseObject, error)

	// (GET /nodes/{nodeID})
	GetNodesNodeID(ctx context.Context, request GetNodesNodeIDRequestObject) (GetNodesNodeIDResponseObject, error)

	// (POST /nodes/{nodeID})
	PostNodesNodeID(ctx context.Context, request PostNodesNodeIDRequestObject) (PostNodesNodeIDResponseObject, error)

	// (GET /sandboxes)
	GetSandboxes(ctx context.Context, request GetSandboxesRequestObject) (GetSandboxesResponseObject, error)

	// (POST /sandboxes)
	PostSandboxes(ctx context.Context, request PostSandboxesRequestObject) (PostSandboxesResponseObject, error)

	// (GET /sandboxes/metrics)
	GetSandboxesMetrics(ctx context.Context, request GetSandboxesMetricsRequestObject) (GetSandboxesMetricsResponseObject, error)

	// (DELETE /sandboxes/{sandboxID})
	DeleteSandboxesSandboxID(ctx context.Context, request DeleteSandboxesSandboxIDRequestObject) (DeleteSandboxesSandboxIDResponseObject, error)

	// (GET /sandboxes/{sandboxID})
	GetSandboxesSandboxID(ctx context.Context, request GetSandboxesSandboxIDRequestObject) (GetSandboxesSandboxIDResponseObject, error)

	// (POST /sandboxes/{sandboxID}/connect)
	PostSandboxesSandboxIDConnect(ctx context.Context, request PostSandboxesSandboxIDConnectRequestObject) (PostSandboxesSandboxIDConnectResponseObject, error)

	// (GET /sandboxes/{sandboxID}/logs)
	GetSandboxesSandboxIDLogs(ctx context.Context, request GetSandboxesSandboxIDLogsRequestObject) (GetSandboxesSandboxIDLogsResponseObject, error)

	// (GET /sandboxes/{sandboxID}/metrics)
	GetSandboxesSandboxIDMetrics(ctx context.Context, request GetSandboxesSandboxIDMetricsRequestObject) (GetSandboxesSandboxIDMetricsResponseObject, error)

	// (POST /sandboxes/{sandboxID}/pause)
	PostSandboxesSandboxIDPause(ctx context.Context, request PostSandboxesSandboxIDPauseRequestObject) (PostSandboxesSandboxIDPauseResponseObject, error)

	// (POST /sandboxes/{sandboxID}/refreshes)
	PostSandboxesSandboxIDRefreshes(ctx context.Context, request PostSandboxesSandboxIDRefreshesRequestObject) (PostSandboxesSandboxIDRefreshesResponseObject, error)

	// (POST /sandboxes/{sandboxID}/resume)
	PostSandboxesSandboxIDResume(ctx context.Context, request PostSandboxesSandboxIDResumeRequestObject) (PostSandboxesSandboxIDResumeResponseObject, error)

	// (POST /sandboxes/{sandboxID}/snapshots)
	PostSandboxesSandboxIDSnapshots(ctx context.Context, request PostSandboxesSandboxIDSnapshotsRequestObject) (PostSandboxesSandboxIDSnapshotsResponseObject, error)

	// (POST /sandboxes/{sandboxID}/timeout)
	PostSandboxesSandboxIDTimeout(ctx context.Context, request PostSandboxesSandboxIDTimeoutRequestObject) (PostSandboxesSandboxIDTimeoutResponseObject, error)

	// (GET /snapshots)
	GetSnapshots(ctx context.Context, request GetSnapshotsRequestObject) (GetSnapshotsResponseObject, error)

	// (GET /teams)
	GetTeams(ctx context.Context, request GetTeamsRequestObject) (GetTeamsResponseObject, error)

	// (GET /teams/{teamID}/metrics)
	GetTeamsTeamIDMetrics(ctx context.Context, request GetTeamsTeamIDMetricsRequestObject) (GetTeamsTeamIDMetricsResponseObject, error)

	// (GET /teams/{teamID}/metrics/max)
	GetTeamsTeamIDMetricsMax(ctx context.Context, request GetTeamsTeamIDMetricsMaxRequestObject) (GetTeamsTeamIDMetricsMaxResponseObject, error)

	// (GET /templates)
	GetTemplates(ctx context.Context, request GetTemplatesRequestObject) (GetTemplatesResponseObject, error)

	// (POST /templates)
	PostTemplates(ctx context.Context, request PostTemplatesRequestObject) (PostTemplatesResponseObject, error)

	// (GET /templates/aliases/{alias})
	GetTemplatesAliasesAlias(ctx context.Context, request GetTemplatesAliasesAliasRequestObject) (GetTemplatesAliasesAliasResponseObject, error)

	// (DELETE /templates/tags)
	DeleteTemplatesTags(ctx context.Context, request DeleteTemplatesTagsRequestObject) (DeleteTemplatesTagsResponseObject, error)

	// (POST /templates/tags)
	PostTemplatesTags(ctx context.Context, request PostTemplatesTagsRequestObject) (PostTemplatesTagsResponseObject, error)

	// (DELETE /templates/{templateID})
	DeleteTemplatesTemplateID(ctx context.Context, request DeleteTemplatesTemplateIDRequestObject) (DeleteTemplatesTemplateIDResponseObject, error)

	// (GET /templates/{templateID})
	GetTemplatesTemplateID(ctx context.Context, request GetTemplatesTemplateIDRequestObject) (GetTemplatesTemplateIDResponseObject, error)

	// (PATCH /templates/{templateID})
	PatchTemplatesTemplateID(ctx context.Context, request PatchTemplatesTemplateIDRequestObject) (PatchTemplatesTemplateIDResponseObject, error)

	// (POST /templates/{templateID})
	PostTemplatesTemplateID(ctx context.Context, request PostTemplatesTemplateIDRequestObject) (PostTemplatesTemplateIDResponseObject, error)

	// (POST /templates/{templateID}/builds/{buildID})
	PostTemplatesTemplateIDBuildsBuildID(ctx context.Context, request PostTemplatesTemplateIDBuildsBuildIDRequestObject) (PostTemplatesTemplateIDBuildsBuildIDResponseObject, error)

	// (GET /templates/{templateID}/builds/{buildID}/logs)
	GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, request GetTemplatesTemplateIDBuildsBuildIDLogsRequestObject) (GetTemplatesTemplateIDBuildsBuildIDLogsResponseObject, error)

	// (GET /templates/{templateID}/builds/{buildID}/status)
	GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, request GetTemplatesTemplateIDBuildsBuildIDStatusRequestObject) (GetTemplatesTemplateIDBuildsBuildIDStatusResponseObject, error)

	// (GET /templates/{templateID}/files/{hash})
	GetTemplatesTemplateIDFilesHash(ctx context.Context, request GetTemplatesTemplateIDFilesHashRequestObject) (GetTemplatesTemplateIDFilesHashResponseObject, error)

	// (GET /templates/{templateID}/tags)
	GetTemplatesTemplateIDTags(ctx context.Context, request GetTemplatesTemplateIDTagsRequestObject) (GetTemplatesTemplateIDTagsResponseObject, error)

	// (GET /v2/sandboxes)
	GetV2Sandboxes(ctx context.Context, request GetV2SandboxesRequestObject) (GetV2SandboxesResponseObject, error)

	// (GET /v2/sandboxes/{sandboxID}/logs)
	GetV2SandboxesSandboxIDLogs(ctx context.Context, request GetV2SandboxesSandboxIDLogsRequestObject) (GetV2SandboxesSandboxIDLogsResponseObject, error)

	// (POST /v2/templates)
	PostV2Templates(ctx context.Context, request PostV2TemplatesRequestObject) (PostV2TemplatesResponseObject, error)

	// (PATCH /v2/templates/{templateID})
	PatchV2TemplatesTemplateID(ctx context.Context, request PatchV2TemplatesTemplateIDRequestObject) (PatchV2TemplatesTemplateIDResponseObject, error)

	// (POST /v2/templates/{templateID}/builds/{buildID})
	PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, request PostV2TemplatesTemplateIDBuildsBuildIDRequestObject) (PostV2TemplatesTemplateIDBuildsBuildIDResponseObject, error)

	// (POST /v3/templates)
	PostV3Templates(ctx context.Context, request PostV3TemplatesRequestObject) (PostV3TemplatesResponseObject, error)

	// (GET /volumes)
	GetVolumes(ctx context.Context, request GetVolumesRequestObject) (GetVolumesResponseObject, error)

	// (POST /volumes)
	PostVolumes(ctx context.Context, request PostVolumesRequestObject) (PostVolumesResponseObject, error)

	// (DELETE /volumes/{volumeID})
	DeleteVolumesVolumeID(ctx context.Context, request DeleteVolumesVolumeIDRequestObject) (DeleteVolumesVolumeIDResponseObject, error)

	// (GET /volumes/{volumeID})
	GetVolumesVolumeID(ctx context.Context, request GetVolumesVolumeIDRequestObject) (GetVolumesVolumeIDResponseObject, error)
}

StrictServerInterface represents all server handlers.

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

	// 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,omitempty"`
	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.

func (TemplateBuildStatus) Valid

func (e TemplateBuildStatus) Valid() bool

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

type TemplateID

type TemplateID = string

TemplateID defines model for templateID.

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

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

	// Token Auth token to use for interacting with volume content
	Token string `json:"token"`

	// VolumeID ID of the volume
	VolumeID string `json:"volumeID"`
}

VolumeAndToken defines model for VolumeAndToken.

type VolumeID

type VolumeID = string

VolumeID defines model for volumeID.

Jump to

Keyboard shortcuts

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