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
- func RegisterHandlers(router gin.IRouter, si ServerInterface)
- func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
- type AWSRegistry
- type AWSRegistryType
- type AccessTokenID
- type AdminBuildCancelResult
- type AdminSandboxKillResult
- type AdminTeamRunningSandboxCounts
- type ApiKeyID
- type AssignTemplateTagsRequest
- type AssignedTemplateTags
- type BuildID
- type BuildLogEntry
- type BuildStatusReason
- type CPUCount
- type ConnectSandbox
- type CreatedAccessToken
- type CreatedTeamAPIKey
- type DeleteAccessTokensAccessTokenID204Response
- type DeleteAccessTokensAccessTokenID401JSONResponse
- type DeleteAccessTokensAccessTokenID404JSONResponse
- type DeleteAccessTokensAccessTokenID500JSONResponse
- type DeleteAccessTokensAccessTokenIDRequestObject
- type DeleteAccessTokensAccessTokenIDResponseObject
- type DeleteAdminTeamsTeamIDApiKeysApiKeyID204Response
- type DeleteAdminTeamsTeamIDApiKeysApiKeyID400JSONResponse
- type DeleteAdminTeamsTeamIDApiKeysApiKeyID401JSONResponse
- type DeleteAdminTeamsTeamIDApiKeysApiKeyID404JSONResponse
- type DeleteAdminTeamsTeamIDApiKeysApiKeyID500JSONResponse
- type DeleteAdminTeamsTeamIDApiKeysApiKeyIDRequestObject
- type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponseObject
- type DeleteApiKeysApiKeyID204Response
- type DeleteApiKeysApiKeyID401JSONResponse
- type DeleteApiKeysApiKeyID404JSONResponse
- type DeleteApiKeysApiKeyID500JSONResponse
- type DeleteApiKeysApiKeyIDRequestObject
- type DeleteApiKeysApiKeyIDResponseObject
- type DeleteSandboxesSandboxID204Response
- type DeleteSandboxesSandboxID401JSONResponse
- type DeleteSandboxesSandboxID404JSONResponse
- type DeleteSandboxesSandboxID500JSONResponse
- type DeleteSandboxesSandboxIDRequestObject
- type DeleteSandboxesSandboxIDResponseObject
- type DeleteSecretsSecretID204Response
- type DeleteSecretsSecretID400JSONResponse
- type DeleteSecretsSecretID401JSONResponse
- type DeleteSecretsSecretID403JSONResponse
- type DeleteSecretsSecretID404JSONResponse
- type DeleteSecretsSecretID409JSONResponse
- type DeleteSecretsSecretID429JSONResponse
- type DeleteSecretsSecretID500JSONResponse
- type DeleteSecretsSecretID502JSONResponse
- type DeleteSecretsSecretID504JSONResponse
- type DeleteSecretsSecretIDRequestObject
- type DeleteSecretsSecretIDResponseObject
- type DeleteTemplateTagsRequest
- type DeleteTemplatesTags204Response
- type DeleteTemplatesTags400JSONResponse
- type DeleteTemplatesTags401JSONResponse
- type DeleteTemplatesTags404JSONResponse
- type DeleteTemplatesTags500JSONResponse
- type DeleteTemplatesTagsJSONRequestBody
- type DeleteTemplatesTagsRequestObject
- type DeleteTemplatesTagsResponseObject
- type DeleteTemplatesTemplateID204Response
- type DeleteTemplatesTemplateID401JSONResponse
- type DeleteTemplatesTemplateID500JSONResponse
- type DeleteTemplatesTemplateIDRequestObject
- type DeleteTemplatesTemplateIDResponseObject
- type DeleteVolumesVolumeID204Response
- type DeleteVolumesVolumeID401JSONResponse
- type DeleteVolumesVolumeID404JSONResponse
- type DeleteVolumesVolumeID500JSONResponse
- type DeleteVolumesVolumeIDRequestObject
- type DeleteVolumesVolumeIDResponseObject
- type DiskMetrics
- type DiskSizeMB
- type EnvVars
- type EnvdVersion
- type Error
- type FromImageRegistry
- func (t FromImageRegistry) AsAWSRegistry() (AWSRegistry, error)
- func (t FromImageRegistry) AsGCPRegistry() (GCPRegistry, error)
- func (t FromImageRegistry) AsGeneralRegistry() (GeneralRegistry, error)
- func (t FromImageRegistry) Discriminator() (string, error)
- func (t *FromImageRegistry) FromAWSRegistry(v AWSRegistry) error
- func (t *FromImageRegistry) FromGCPRegistry(v GCPRegistry) error
- func (t *FromImageRegistry) FromGeneralRegistry(v GeneralRegistry) error
- func (t FromImageRegistry) MarshalJSON() ([]byte, error)
- func (t *FromImageRegistry) MergeAWSRegistry(v AWSRegistry) error
- func (t *FromImageRegistry) MergeGCPRegistry(v GCPRegistry) error
- func (t *FromImageRegistry) MergeGeneralRegistry(v GeneralRegistry) error
- func (t *FromImageRegistry) UnmarshalJSON(b []byte) error
- func (t FromImageRegistry) ValueByDiscriminator() (interface{}, error)
- type GCPRegistry
- type GCPRegistryType
- type GeneralRegistry
- type GeneralRegistryType
- type GetAdminSandboxesRunningCounts200JSONResponse
- type GetAdminSandboxesRunningCounts401JSONResponse
- type GetAdminSandboxesRunningCounts500JSONResponse
- type GetAdminSandboxesRunningCountsRequestObject
- type GetAdminSandboxesRunningCountsResponseObject
- type GetApiKeys200JSONResponse
- type GetApiKeys401JSONResponse
- type GetApiKeys500JSONResponse
- type GetApiKeysRequestObject
- type GetApiKeysResponseObject
- type GetHealth204Response
- type GetHealth401JSONResponse
- type GetHealthRequestObject
- type GetHealthResponseObject
- type GetNodes200JSONResponse
- type GetNodes401JSONResponse
- type GetNodes500JSONResponse
- type GetNodesNodeID200JSONResponse
- type GetNodesNodeID401JSONResponse
- type GetNodesNodeID404JSONResponse
- type GetNodesNodeID500JSONResponse
- type GetNodesNodeIDParams
- type GetNodesNodeIDRequestObject
- type GetNodesNodeIDResponseObject
- type GetNodesParams
- type GetNodesRequestObject
- type GetNodesResponseObject
- type GetSandboxes200JSONResponse
- type GetSandboxes400JSONResponse
- type GetSandboxes401JSONResponse
- type GetSandboxes500JSONResponse
- type GetSandboxesMetrics200JSONResponse
- type GetSandboxesMetrics400JSONResponse
- type GetSandboxesMetrics401JSONResponse
- type GetSandboxesMetrics500JSONResponse
- type GetSandboxesMetricsParams
- type GetSandboxesMetricsRequestObject
- type GetSandboxesMetricsResponseObject
- type GetSandboxesParams
- type GetSandboxesRequestObject
- type GetSandboxesResponseObject
- type GetSandboxesSandboxID200JSONResponse
- type GetSandboxesSandboxID401JSONResponse
- type GetSandboxesSandboxID404JSONResponse
- type GetSandboxesSandboxID500JSONResponse
- type GetSandboxesSandboxIDLogs200JSONResponse
- type GetSandboxesSandboxIDLogs401JSONResponse
- type GetSandboxesSandboxIDLogs404JSONResponse
- type GetSandboxesSandboxIDLogs500JSONResponse
- type GetSandboxesSandboxIDLogsParams
- type GetSandboxesSandboxIDLogsRequestObject
- type GetSandboxesSandboxIDLogsResponseObject
- type GetSandboxesSandboxIDMetrics200JSONResponse
- type GetSandboxesSandboxIDMetrics400JSONResponse
- type GetSandboxesSandboxIDMetrics401JSONResponse
- type GetSandboxesSandboxIDMetrics404JSONResponse
- type GetSandboxesSandboxIDMetrics500JSONResponse
- type GetSandboxesSandboxIDMetricsParams
- type GetSandboxesSandboxIDMetricsRequestObject
- type GetSandboxesSandboxIDMetricsResponseObject
- type GetSandboxesSandboxIDRequestObject
- type GetSandboxesSandboxIDResponseObject
- type GetSecrets200JSONResponse
- type GetSecrets200ResponseHeaders
- type GetSecrets400JSONResponse
- type GetSecrets401JSONResponse
- type GetSecrets403JSONResponse
- type GetSecrets404JSONResponse
- type GetSecrets409JSONResponse
- type GetSecrets429JSONResponse
- type GetSecrets500JSONResponse
- type GetSecrets502JSONResponse
- type GetSecrets504JSONResponse
- type GetSecretsParams
- type GetSecretsRequestObject
- type GetSecretsResponseObject
- type GetSecretsSecretID200JSONResponse
- type GetSecretsSecretID400JSONResponse
- type GetSecretsSecretID401JSONResponse
- type GetSecretsSecretID403JSONResponse
- type GetSecretsSecretID404JSONResponse
- type GetSecretsSecretID409JSONResponse
- type GetSecretsSecretID429JSONResponse
- type GetSecretsSecretID500JSONResponse
- type GetSecretsSecretID502JSONResponse
- type GetSecretsSecretID504JSONResponse
- type GetSecretsSecretIDRequestObject
- type GetSecretsSecretIDResponseObject
- type GetSnapshots200JSONResponse
- type GetSnapshots200ResponseHeaders
- type GetSnapshots401JSONResponse
- type GetSnapshots500JSONResponse
- type GetSnapshotsParams
- type GetSnapshotsRequestObject
- type GetSnapshotsResponseObject
- type GetTeams200JSONResponse
- type GetTeams401JSONResponse
- type GetTeams500JSONResponse
- type GetTeamsRequestObject
- type GetTeamsResponseObject
- type GetTeamsTeamIDMetrics200JSONResponse
- type GetTeamsTeamIDMetrics400JSONResponse
- type GetTeamsTeamIDMetrics401JSONResponse
- type GetTeamsTeamIDMetrics403JSONResponse
- type GetTeamsTeamIDMetrics500JSONResponse
- type GetTeamsTeamIDMetricsMax200JSONResponse
- type GetTeamsTeamIDMetricsMax400JSONResponse
- type GetTeamsTeamIDMetricsMax401JSONResponse
- type GetTeamsTeamIDMetricsMax403JSONResponse
- type GetTeamsTeamIDMetricsMax500JSONResponse
- type GetTeamsTeamIDMetricsMaxParams
- type GetTeamsTeamIDMetricsMaxParamsMetric
- type GetTeamsTeamIDMetricsMaxRequestObject
- type GetTeamsTeamIDMetricsMaxResponseObject
- type GetTeamsTeamIDMetricsParams
- type GetTeamsTeamIDMetricsRequestObject
- type GetTeamsTeamIDMetricsResponseObject
- type GetTemplates200JSONResponse
- type GetTemplates401JSONResponse
- type GetTemplates500JSONResponse
- type GetTemplatesAliasesAlias200JSONResponse
- type GetTemplatesAliasesAlias400JSONResponse
- type GetTemplatesAliasesAlias403JSONResponse
- type GetTemplatesAliasesAlias404JSONResponse
- type GetTemplatesAliasesAlias500JSONResponse
- type GetTemplatesAliasesAliasRequestObject
- type GetTemplatesAliasesAliasResponseObject
- type GetTemplatesParams
- type GetTemplatesRequestObject
- type GetTemplatesResponseObject
- type GetTemplatesTemplateID200JSONResponse
- type GetTemplatesTemplateID200ResponseHeaders
- type GetTemplatesTemplateID401JSONResponse
- type GetTemplatesTemplateID500JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDLogs200JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDLogs401JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDLogs404JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDLogs500JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDLogsParams
- type GetTemplatesTemplateIDBuildsBuildIDLogsRequestObject
- type GetTemplatesTemplateIDBuildsBuildIDLogsResponseObject
- type GetTemplatesTemplateIDBuildsBuildIDStatus200JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDStatus401JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDStatus404JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDStatus500JSONResponse
- type GetTemplatesTemplateIDBuildsBuildIDStatusParams
- type GetTemplatesTemplateIDBuildsBuildIDStatusRequestObject
- type GetTemplatesTemplateIDBuildsBuildIDStatusResponseObject
- type GetTemplatesTemplateIDFilesHash201JSONResponse
- type GetTemplatesTemplateIDFilesHash400JSONResponse
- type GetTemplatesTemplateIDFilesHash401JSONResponse
- type GetTemplatesTemplateIDFilesHash404JSONResponse
- type GetTemplatesTemplateIDFilesHash500JSONResponse
- type GetTemplatesTemplateIDFilesHashRequestObject
- type GetTemplatesTemplateIDFilesHashResponseObject
- type GetTemplatesTemplateIDParams
- type GetTemplatesTemplateIDRequestObject
- type GetTemplatesTemplateIDResponseObject
- type GetTemplatesTemplateIDTags200JSONResponse
- type GetTemplatesTemplateIDTags401JSONResponse
- type GetTemplatesTemplateIDTags403JSONResponse
- type GetTemplatesTemplateIDTags404JSONResponse
- type GetTemplatesTemplateIDTags500JSONResponse
- type GetTemplatesTemplateIDTagsRequestObject
- type GetTemplatesTemplateIDTagsResponseObject
- type GetV2Sandboxes200JSONResponse
- type GetV2Sandboxes200ResponseHeaders
- type GetV2Sandboxes400JSONResponse
- type GetV2Sandboxes401JSONResponse
- type GetV2Sandboxes500JSONResponse
- type GetV2SandboxesParams
- type GetV2SandboxesRequestObject
- type GetV2SandboxesResponseObject
- type GetV2SandboxesSandboxIDLogs200JSONResponse
- type GetV2SandboxesSandboxIDLogs401JSONResponse
- type GetV2SandboxesSandboxIDLogs404JSONResponse
- type GetV2SandboxesSandboxIDLogs500JSONResponse
- type GetV2SandboxesSandboxIDLogsParams
- type GetV2SandboxesSandboxIDLogsRequestObject
- type GetV2SandboxesSandboxIDLogsResponseObject
- type GetV2Templates200JSONResponse
- type GetV2Templates200ResponseHeaders
- type GetV2Templates400JSONResponse
- type GetV2Templates401JSONResponse
- type GetV2Templates403JSONResponse
- type GetV2Templates500JSONResponse
- type GetV2TemplatesParams
- type GetV2TemplatesRequestObject
- type GetV2TemplatesResponseObject
- type GetVolumes200JSONResponse
- type GetVolumes401JSONResponse
- type GetVolumes500JSONResponse
- type GetVolumesRequestObject
- type GetVolumesResponseObject
- type GetVolumesVolumeID200JSONResponse
- type GetVolumesVolumeID401JSONResponse
- type GetVolumesVolumeID404JSONResponse
- type GetVolumesVolumeID500JSONResponse
- type GetVolumesVolumeIDRequestObject
- type GetVolumesVolumeIDResponseObject
- type GinServerOptions
- type IdentifierMaskingDetails
- type ListedSandbox
- type LogLevel
- type LogsDirection
- type LogsSource
- type MachineInfo
- type MaxTeamMetric
- type Mcp
- type MemoryMB
- type MiddlewareFunc
- type N400
- type N400JSONResponse
- type N401
- type N401JSONResponse
- type N403
- type N403JSONResponse
- type N404
- type N404JSONResponse
- type N409
- type N409JSONResponse
- type N410
- type N410JSONResponse
- type N429
- type N429JSONResponse
- type N500
- type N500JSONResponse
- type N502
- type N502JSONResponse
- type N503
- type N503JSONResponse
- type N504
- type N504JSONResponse
- type NewAccessToken
- type NewSandbox
- type NewSecret
- type NewTeamAPIKey
- type NewVolume
- type Node
- type NodeDetail
- type NodeID
- type NodeMetrics
- type NodeStatus
- type NodeStatusChange
- type OrderDirection
- type PaginationLimit
- type PaginationNextToken
- type PatchApiKeysApiKeyID200Response
- type PatchApiKeysApiKeyID401JSONResponse
- type PatchApiKeysApiKeyID404JSONResponse
- type PatchApiKeysApiKeyID500JSONResponse
- type PatchApiKeysApiKeyIDJSONRequestBody
- type PatchApiKeysApiKeyIDRequestObject
- type PatchApiKeysApiKeyIDResponseObject
- type PatchTemplatesTemplateID200Response
- type PatchTemplatesTemplateID400JSONResponse
- type PatchTemplatesTemplateID401JSONResponse
- type PatchTemplatesTemplateID500JSONResponse
- type PatchTemplatesTemplateIDJSONRequestBody
- type PatchTemplatesTemplateIDRequestObject
- type PatchTemplatesTemplateIDResponseObject
- type PatchV2TemplatesTemplateID200JSONResponse
- type PatchV2TemplatesTemplateID400JSONResponse
- type PatchV2TemplatesTemplateID401JSONResponse
- type PatchV2TemplatesTemplateID500JSONResponse
- type PatchV2TemplatesTemplateIDJSONRequestBody
- type PatchV2TemplatesTemplateIDRequestObject
- type PatchV2TemplatesTemplateIDResponseObject
- type PostAccessTokens201JSONResponse
- type PostAccessTokens401JSONResponse
- type PostAccessTokens410JSONResponse
- type PostAccessTokens500JSONResponse
- type PostAccessTokensJSONRequestBody
- type PostAccessTokensRequestObject
- type PostAccessTokensResponseObject
- type PostAdminTeamsTeamIDApiKeys201JSONResponse
- type PostAdminTeamsTeamIDApiKeys400JSONResponse
- type PostAdminTeamsTeamIDApiKeys401JSONResponse
- type PostAdminTeamsTeamIDApiKeys403JSONResponse
- type PostAdminTeamsTeamIDApiKeys404JSONResponse
- type PostAdminTeamsTeamIDApiKeys500JSONResponse
- type PostAdminTeamsTeamIDApiKeysJSONRequestBody
- type PostAdminTeamsTeamIDApiKeysRequestObject
- type PostAdminTeamsTeamIDApiKeysResponseObject
- type PostAdminTeamsTeamIDBuildsCancel200JSONResponse
- type PostAdminTeamsTeamIDBuildsCancel401JSONResponse
- type PostAdminTeamsTeamIDBuildsCancel404JSONResponse
- type PostAdminTeamsTeamIDBuildsCancel500JSONResponse
- type PostAdminTeamsTeamIDBuildsCancelRequestObject
- type PostAdminTeamsTeamIDBuildsCancelResponseObject
- type PostAdminTeamsTeamIDSandboxesKill200JSONResponse
- type PostAdminTeamsTeamIDSandboxesKill401JSONResponse
- type PostAdminTeamsTeamIDSandboxesKill404JSONResponse
- type PostAdminTeamsTeamIDSandboxesKill500JSONResponse
- type PostAdminTeamsTeamIDSandboxesKillRequestObject
- type PostAdminTeamsTeamIDSandboxesKillResponseObject
- type PostApiKeys201JSONResponse
- type PostApiKeys401JSONResponse
- type PostApiKeys500JSONResponse
- type PostApiKeysJSONRequestBody
- type PostApiKeysRequestObject
- type PostApiKeysResponseObject
- type PostNodesNodeID204Response
- type PostNodesNodeID401JSONResponse
- type PostNodesNodeID404JSONResponse
- type PostNodesNodeID409JSONResponse
- type PostNodesNodeID500JSONResponse
- type PostNodesNodeIDJSONRequestBody
- type PostNodesNodeIDRequestObject
- type PostNodesNodeIDResponseObject
- type PostSandboxes201JSONResponse
- type PostSandboxes400JSONResponse
- type PostSandboxes401JSONResponse
- type PostSandboxes500JSONResponse
- type PostSandboxes503JSONResponse
- type PostSandboxes504JSONResponse
- type PostSandboxesJSONRequestBody
- type PostSandboxesRequestObject
- type PostSandboxesResponseObject
- type PostSandboxesSandboxIDConnect200JSONResponse
- type PostSandboxesSandboxIDConnect201JSONResponse
- type PostSandboxesSandboxIDConnect400JSONResponse
- type PostSandboxesSandboxIDConnect401JSONResponse
- type PostSandboxesSandboxIDConnect404JSONResponse
- type PostSandboxesSandboxIDConnect409JSONResponse
- type PostSandboxesSandboxIDConnect500JSONResponse
- type PostSandboxesSandboxIDConnect503JSONResponse
- type PostSandboxesSandboxIDConnect504JSONResponse
- type PostSandboxesSandboxIDConnectJSONRequestBody
- type PostSandboxesSandboxIDConnectRequestObject
- type PostSandboxesSandboxIDConnectResponseObject
- type PostSandboxesSandboxIDFork201JSONResponse
- type PostSandboxesSandboxIDFork401JSONResponse
- type PostSandboxesSandboxIDFork404JSONResponse
- type PostSandboxesSandboxIDFork409JSONResponse
- type PostSandboxesSandboxIDFork500JSONResponse
- type PostSandboxesSandboxIDFork503JSONResponse
- type PostSandboxesSandboxIDForkJSONRequestBody
- type PostSandboxesSandboxIDForkRequestObject
- type PostSandboxesSandboxIDForkResponseObject
- type PostSandboxesSandboxIDPause204Response
- type PostSandboxesSandboxIDPause401JSONResponse
- type PostSandboxesSandboxIDPause404JSONResponse
- type PostSandboxesSandboxIDPause409JSONResponse
- type PostSandboxesSandboxIDPause500JSONResponse
- type PostSandboxesSandboxIDPauseJSONRequestBody
- type PostSandboxesSandboxIDPauseRequestObject
- type PostSandboxesSandboxIDPauseResponseObject
- type PostSandboxesSandboxIDRefreshes204Response
- type PostSandboxesSandboxIDRefreshes401JSONResponse
- type PostSandboxesSandboxIDRefreshes404JSONResponse
- type PostSandboxesSandboxIDRefreshesJSONRequestBody
- type PostSandboxesSandboxIDRefreshesRequestObject
- type PostSandboxesSandboxIDRefreshesResponseObject
- type PostSandboxesSandboxIDResume201JSONResponse
- type PostSandboxesSandboxIDResume400JSONResponse
- type PostSandboxesSandboxIDResume401JSONResponse
- type PostSandboxesSandboxIDResume404JSONResponse
- type PostSandboxesSandboxIDResume409JSONResponse
- type PostSandboxesSandboxIDResume500JSONResponse
- type PostSandboxesSandboxIDResume503JSONResponse
- type PostSandboxesSandboxIDResume504JSONResponse
- type PostSandboxesSandboxIDResumeJSONRequestBody
- type PostSandboxesSandboxIDResumeRequestObject
- type PostSandboxesSandboxIDResumeResponseObject
- type PostSandboxesSandboxIDSnapshots201JSONResponse
- type PostSandboxesSandboxIDSnapshots400JSONResponse
- type PostSandboxesSandboxIDSnapshots401JSONResponse
- type PostSandboxesSandboxIDSnapshots404JSONResponse
- type PostSandboxesSandboxIDSnapshots500JSONResponse
- type PostSandboxesSandboxIDSnapshotsJSONRequestBody
- type PostSandboxesSandboxIDSnapshotsRequestObject
- type PostSandboxesSandboxIDSnapshotsResponseObject
- type PostSandboxesSandboxIDTimeout204Response
- type PostSandboxesSandboxIDTimeout401JSONResponse
- type PostSandboxesSandboxIDTimeout404JSONResponse
- type PostSandboxesSandboxIDTimeout500JSONResponse
- type PostSandboxesSandboxIDTimeoutJSONRequestBody
- type PostSandboxesSandboxIDTimeoutRequestObject
- type PostSandboxesSandboxIDTimeoutResponseObject
- type PostSecrets201JSONResponse
- type PostSecrets400JSONResponse
- type PostSecrets401JSONResponse
- type PostSecrets403JSONResponse
- type PostSecrets404JSONResponse
- type PostSecrets409JSONResponse
- type PostSecrets429JSONResponse
- type PostSecrets500JSONResponse
- type PostSecrets502JSONResponse
- type PostSecrets504JSONResponse
- type PostSecretsJSONRequestBody
- type PostSecretsRequestObject
- type PostSecretsResponseObject
- type PostSecretsSecretID200JSONResponse
- type PostSecretsSecretID400JSONResponse
- type PostSecretsSecretID401JSONResponse
- type PostSecretsSecretID403JSONResponse
- type PostSecretsSecretID404JSONResponse
- type PostSecretsSecretID409JSONResponse
- type PostSecretsSecretID429JSONResponse
- type PostSecretsSecretID500JSONResponse
- type PostSecretsSecretID502JSONResponse
- type PostSecretsSecretID504JSONResponse
- type PostSecretsSecretIDJSONRequestBody
- type PostSecretsSecretIDRequestObject
- type PostSecretsSecretIDResponseObject
- type PostTemplates202JSONResponse
- type PostTemplates400JSONResponse
- type PostTemplates401JSONResponse
- type PostTemplates500JSONResponse
- type PostTemplatesJSONRequestBody
- type PostTemplatesRequestObject
- type PostTemplatesResponseObject
- type PostTemplatesTags201JSONResponse
- type PostTemplatesTags400JSONResponse
- type PostTemplatesTags401JSONResponse
- type PostTemplatesTags404JSONResponse
- type PostTemplatesTags500JSONResponse
- type PostTemplatesTagsJSONRequestBody
- type PostTemplatesTagsRequestObject
- type PostTemplatesTagsResponseObject
- type PostTemplatesTemplateID202JSONResponse
- type PostTemplatesTemplateID401JSONResponse
- type PostTemplatesTemplateID500JSONResponse
- type PostTemplatesTemplateIDBuildsBuildID202Response
- type PostTemplatesTemplateIDBuildsBuildID401JSONResponse
- type PostTemplatesTemplateIDBuildsBuildID500JSONResponse
- type PostTemplatesTemplateIDBuildsBuildIDRequestObject
- type PostTemplatesTemplateIDBuildsBuildIDResponseObject
- type PostTemplatesTemplateIDJSONRequestBody
- type PostTemplatesTemplateIDRequestObject
- type PostTemplatesTemplateIDResponseObject
- type PostV2Templates202JSONResponse
- type PostV2Templates400JSONResponse
- type PostV2Templates401JSONResponse
- type PostV2Templates500JSONResponse
- type PostV2TemplatesJSONRequestBody
- type PostV2TemplatesRequestObject
- type PostV2TemplatesResponseObject
- type PostV2TemplatesTemplateIDBuildsBuildID202Response
- type PostV2TemplatesTemplateIDBuildsBuildID401JSONResponse
- type PostV2TemplatesTemplateIDBuildsBuildID500JSONResponse
- type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody
- type PostV2TemplatesTemplateIDBuildsBuildIDRequestObject
- type PostV2TemplatesTemplateIDBuildsBuildIDResponseObject
- type PostV3Templates202JSONResponse
- type PostV3Templates400JSONResponse
- type PostV3Templates401JSONResponse
- type PostV3Templates403JSONResponse
- type PostV3Templates500JSONResponse
- type PostV3TemplatesJSONRequestBody
- type PostV3TemplatesRequestObject
- type PostV3TemplatesResponseObject
- type PostVolumes201JSONResponse
- type PostVolumes400JSONResponse
- type PostVolumes401JSONResponse
- type PostVolumes500JSONResponse
- type PostVolumesJSONRequestBody
- type PostVolumesRequestObject
- type PostVolumesResponseObject
- type PutSandboxesSandboxIDNetwork204Response
- type PutSandboxesSandboxIDNetwork401JSONResponse
- type PutSandboxesSandboxIDNetwork404JSONResponse
- type PutSandboxesSandboxIDNetwork409JSONResponse
- type PutSandboxesSandboxIDNetwork500JSONResponse
- type PutSandboxesSandboxIDNetworkJSONRequestBody
- type PutSandboxesSandboxIDNetworkRequestObject
- type PutSandboxesSandboxIDNetworkResponseObject
- type ResumedSandbox
- type Sandbox
- type SandboxAutoResumeConfig
- type SandboxAutoResumeEnabled
- type SandboxDetail
- type SandboxEgressProxyConfig
- type SandboxForkRequest
- type SandboxForkResult
- type SandboxID
- type SandboxIam
- type SandboxIamToken
- type SandboxIamTokens
- type SandboxLifecycle
- type SandboxLog
- type SandboxLogEntry
- type SandboxLogs
- type SandboxLogsV2Response
- type SandboxMetadata
- type SandboxMetric
- type SandboxNetworkConfig
- type SandboxNetworkRule
- type SandboxNetworkTransform
- type SandboxNetworkUpdateConfig
- type SandboxOnTimeout
- type SandboxPauseRequest
- type SandboxRefreshRequest
- type SandboxSnapshotRequest
- type SandboxState
- type SandboxTimeoutRequest
- type SandboxVolumeMount
- type SandboxesWithMetrics
- type Secret
- type SecretID
- type SecretMetadata
- type SecretUpdate
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) DeleteAccessTokensAccessTokenID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteAdminTeamsTeamIDApiKeysApiKeyID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteApiKeysApiKeyID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteSandboxesSandboxID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteSecretsSecretID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteTemplatesTags(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteTemplatesTemplateID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteVolumesVolumeID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetAdminSandboxesRunningCounts(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetApiKeys(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetHealth(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetNodes(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetNodesNodeID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandboxes(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandboxesMetrics(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandboxesSandboxID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandboxesSandboxIDLogs(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandboxesSandboxIDMetrics(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSecrets(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSecretsSecretID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSnapshots(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTeams(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTeamsTeamIDMetrics(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTeamsTeamIDMetricsMax(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTemplates(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTemplatesAliasesAlias(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTemplatesTemplateID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTemplatesTemplateIDBuildsBuildIDLogs(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTemplatesTemplateIDBuildsBuildIDStatus(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTemplatesTemplateIDFilesHash(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetTemplatesTemplateIDTags(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetV2Sandboxes(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetV2SandboxesSandboxIDLogs(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetV2Templates(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetVolumes(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetVolumesVolumeID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PatchApiKeysApiKeyID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PatchTemplatesTemplateID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PatchV2TemplatesTemplateID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostAccessTokens(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostAdminTeamsTeamIDApiKeys(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostAdminTeamsTeamIDBuildsCancel(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostAdminTeamsTeamIDSandboxesKill(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostApiKeys(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostNodesNodeID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSandboxes(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDConnect(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDFork(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDPause(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDRefreshes(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDResume(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDSnapshots(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDTimeout(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSecrets(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostSecretsSecretID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostTemplates(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostTemplatesTags(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostTemplatesTemplateID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostTemplatesTemplateIDBuildsBuildID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostV2Templates(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostV2TemplatesTemplateIDBuildsBuildID(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostV3Templates(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostVolumes(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PutSandboxesSandboxIDNetwork(c *gin.Context)
- type SnapshotInfo
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type Team
- type TeamAPIKey
- type TeamID
- type TeamMetric
- type TeamUser
- type Template
- type TemplateAliasResponse
- type TemplateBuild
- type TemplateBuildFileUpload
- type TemplateBuildInfo
- type TemplateBuildLogsResponse
- type TemplateBuildRequest
- type TemplateBuildRequestV2
- type TemplateBuildRequestV3
- type TemplateBuildStartV2
- type TemplateBuildStatus
- type TemplateID
- type TemplateLegacy
- type TemplateRequestResponseV3
- type TemplateStep
- type TemplateTag
- type TemplateUpdateRequest
- type TemplateUpdateResponse
- type TemplateWithBuilds
- type UpdateTeamAPIKey
- type Volume
- type VolumeAndToken
- type VolumeID
Constants ¶
const ( AccessTokenAuthScopes = "AccessTokenAuth.Scopes" AdminApiKeyAuthScopes = "AdminApiKeyAuth.Scopes" AdminTeamAuthScopes = "AdminTeamAuth.Scopes" ApiKeyAuthScopes = "ApiKeyAuth.Scopes" AuthProviderBearerAuthScopes = "AuthProviderBearerAuth.Scopes" AuthProviderTeamAuthScopes = "AuthProviderTeamAuth.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 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 AdminTeamRunningSandboxCounts ¶ added in v0.0.10
AdminTeamRunningSandboxCounts Cached live sandbox index count keyed by team ID. Counts may briefly include sandboxes transitioning out of running; teams without indexed sandboxes are omitted.
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 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 ConnectSandbox ¶
type ConnectSandbox struct {
// Memory Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore.
Memory *bool `json:"memory,omitempty"`
// Timeout Timeout in seconds from the current time after which the sandbox should expire
Timeout int32 `json:"timeout"`
}
ConnectSandbox defines model for ConnectSandbox.
type 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 DeleteAdminTeamsTeamIDApiKeysApiKeyID204Response ¶ added in v0.0.7
type DeleteAdminTeamsTeamIDApiKeysApiKeyID204Response struct {
}
func (DeleteAdminTeamsTeamIDApiKeysApiKeyID204Response) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse ¶ added in v0.0.7
func (response DeleteAdminTeamsTeamIDApiKeysApiKeyID204Response) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse(w http.ResponseWriter) error
type DeleteAdminTeamsTeamIDApiKeysApiKeyID400JSONResponse ¶ added in v0.0.7
type DeleteAdminTeamsTeamIDApiKeysApiKeyID400JSONResponse struct{ N400JSONResponse }
func (DeleteAdminTeamsTeamIDApiKeysApiKeyID400JSONResponse) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse ¶ added in v0.0.7
func (response DeleteAdminTeamsTeamIDApiKeysApiKeyID400JSONResponse) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse(w http.ResponseWriter) error
type DeleteAdminTeamsTeamIDApiKeysApiKeyID401JSONResponse ¶ added in v0.0.7
type DeleteAdminTeamsTeamIDApiKeysApiKeyID401JSONResponse struct{ N401JSONResponse }
func (DeleteAdminTeamsTeamIDApiKeysApiKeyID401JSONResponse) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse ¶ added in v0.0.7
func (response DeleteAdminTeamsTeamIDApiKeysApiKeyID401JSONResponse) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse(w http.ResponseWriter) error
type DeleteAdminTeamsTeamIDApiKeysApiKeyID404JSONResponse ¶ added in v0.0.7
type DeleteAdminTeamsTeamIDApiKeysApiKeyID404JSONResponse struct{ N404JSONResponse }
func (DeleteAdminTeamsTeamIDApiKeysApiKeyID404JSONResponse) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse ¶ added in v0.0.7
func (response DeleteAdminTeamsTeamIDApiKeysApiKeyID404JSONResponse) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse(w http.ResponseWriter) error
type DeleteAdminTeamsTeamIDApiKeysApiKeyID500JSONResponse ¶ added in v0.0.7
type DeleteAdminTeamsTeamIDApiKeysApiKeyID500JSONResponse struct{ N500JSONResponse }
func (DeleteAdminTeamsTeamIDApiKeysApiKeyID500JSONResponse) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse ¶ added in v0.0.7
func (response DeleteAdminTeamsTeamIDApiKeysApiKeyID500JSONResponse) VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse(w http.ResponseWriter) error
type DeleteAdminTeamsTeamIDApiKeysApiKeyIDRequestObject ¶ added in v0.0.7
type DeleteAdminTeamsTeamIDApiKeysApiKeyIDRequestObject struct {
TeamID openapi_types.UUID `json:"teamID"`
ApiKeyID ApiKeyID `json:"apiKeyID"`
}
type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponseObject ¶ added in v0.0.7
type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponseObject interface {
VisitDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse(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 DeleteSecretsSecretID204Response ¶ added in v0.0.10
type DeleteSecretsSecretID204Response struct {
}
func (DeleteSecretsSecretID204Response) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID204Response) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID400JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID400JSONResponse struct{ N400JSONResponse }
func (DeleteSecretsSecretID400JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID400JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID401JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID401JSONResponse struct{ N401JSONResponse }
func (DeleteSecretsSecretID401JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID401JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID403JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID403JSONResponse struct{ N403JSONResponse }
func (DeleteSecretsSecretID403JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID403JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID404JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID404JSONResponse struct{ N404JSONResponse }
func (DeleteSecretsSecretID404JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID404JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID409JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID409JSONResponse struct{ N409JSONResponse }
func (DeleteSecretsSecretID409JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID409JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID429JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID429JSONResponse struct{ N429JSONResponse }
func (DeleteSecretsSecretID429JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID429JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID500JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID500JSONResponse struct{ N500JSONResponse }
func (DeleteSecretsSecretID500JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID500JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID502JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID502JSONResponse struct{ N502JSONResponse }
func (DeleteSecretsSecretID502JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID502JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretID504JSONResponse ¶ added in v0.0.10
type DeleteSecretsSecretID504JSONResponse struct{ N504JSONResponse }
func (DeleteSecretsSecretID504JSONResponse) VisitDeleteSecretsSecretIDResponse ¶ added in v0.0.10
func (response DeleteSecretsSecretID504JSONResponse) VisitDeleteSecretsSecretIDResponse(w http.ResponseWriter) error
type DeleteSecretsSecretIDRequestObject ¶ added in v0.0.10
type DeleteSecretsSecretIDRequestObject struct {
SecretID SecretID `json:"secretID"`
}
type DeleteSecretsSecretIDResponseObject ¶ added in v0.0.10
type DeleteSecretsSecretIDResponseObject interface {
VisitDeleteSecretsSecretIDResponse(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 Error ¶
type Error struct {
// Code Error code
Code int32 `json:"code"`
// ErrorCode Machine-readable semantic error code. Not a closed set; initial values: sandbox_capacity_unavailable, sandbox_placement_timeout, sandbox_no_compatible_node, sandbox_create_failed, internal_server_error.
ErrorCode *string `json:"error_code,omitempty"`
// Message Error
Message string `json:"message"`
}
Error defines model for Error.
type FromImageRegistry ¶
type FromImageRegistry struct {
// contains filtered or unexported fields
}
FromImageRegistry defines model for FromImageRegistry.
func (FromImageRegistry) AsAWSRegistry ¶
func (t FromImageRegistry) AsAWSRegistry() (AWSRegistry, error)
AsAWSRegistry returns the union data inside the FromImageRegistry as a AWSRegistry
func (FromImageRegistry) AsGCPRegistry ¶
func (t FromImageRegistry) AsGCPRegistry() (GCPRegistry, error)
AsGCPRegistry returns the union data inside the FromImageRegistry as a GCPRegistry
func (FromImageRegistry) AsGeneralRegistry ¶
func (t FromImageRegistry) AsGeneralRegistry() (GeneralRegistry, error)
AsGeneralRegistry returns the union data inside the FromImageRegistry as a GeneralRegistry
func (FromImageRegistry) Discriminator ¶
func (t FromImageRegistry) Discriminator() (string, error)
func (*FromImageRegistry) FromAWSRegistry ¶
func (t *FromImageRegistry) FromAWSRegistry(v AWSRegistry) error
FromAWSRegistry overwrites any union data inside the FromImageRegistry as the provided AWSRegistry
func (*FromImageRegistry) FromGCPRegistry ¶
func (t *FromImageRegistry) FromGCPRegistry(v GCPRegistry) error
FromGCPRegistry overwrites any union data inside the FromImageRegistry as the provided GCPRegistry
func (*FromImageRegistry) FromGeneralRegistry ¶
func (t *FromImageRegistry) FromGeneralRegistry(v GeneralRegistry) error
FromGeneralRegistry overwrites any union data inside the FromImageRegistry as the provided GeneralRegistry
func (FromImageRegistry) MarshalJSON ¶
func (t FromImageRegistry) MarshalJSON() ([]byte, error)
func (*FromImageRegistry) MergeAWSRegistry ¶
func (t *FromImageRegistry) MergeAWSRegistry(v AWSRegistry) error
MergeAWSRegistry performs a merge with any union data inside the FromImageRegistry, using the provided AWSRegistry
func (*FromImageRegistry) MergeGCPRegistry ¶
func (t *FromImageRegistry) MergeGCPRegistry(v GCPRegistry) error
MergeGCPRegistry performs a merge with any union data inside the FromImageRegistry, using the provided GCPRegistry
func (*FromImageRegistry) MergeGeneralRegistry ¶
func (t *FromImageRegistry) MergeGeneralRegistry(v GeneralRegistry) error
MergeGeneralRegistry performs a merge with any union data inside the FromImageRegistry, using the provided GeneralRegistry
func (*FromImageRegistry) UnmarshalJSON ¶
func (t *FromImageRegistry) UnmarshalJSON(b []byte) error
func (FromImageRegistry) ValueByDiscriminator ¶
func (t FromImageRegistry) ValueByDiscriminator() (interface{}, error)
type GCPRegistry ¶
type GCPRegistry struct {
// ServiceAccountJson Service Account JSON for GCP authentication
ServiceAccountJson string `json:"serviceAccountJson"`
// Type Type of registry authentication
Type GCPRegistryType `json:"type"`
}
GCPRegistry defines model for GCPRegistry.
type GCPRegistryType ¶
type GCPRegistryType string
GCPRegistryType Type of registry authentication
const (
Gcp GCPRegistryType = "gcp"
)
Defines values for GCPRegistryType.
func (GCPRegistryType) Valid ¶
func (e GCPRegistryType) Valid() bool
Valid indicates whether the value is a known member of the GCPRegistryType enum.
type GeneralRegistry ¶
type GeneralRegistry struct {
// Password Password to use for the registry
Password string `json:"password"`
// Type Type of registry authentication
Type GeneralRegistryType `json:"type"`
// Username Username to use for the registry
Username string `json:"username"`
}
GeneralRegistry defines model for GeneralRegistry.
type GeneralRegistryType ¶
type GeneralRegistryType string
GeneralRegistryType Type of registry authentication
const (
Registry GeneralRegistryType = "registry"
)
Defines values for GeneralRegistryType.
func (GeneralRegistryType) Valid ¶
func (e GeneralRegistryType) Valid() bool
Valid indicates whether the value is a known member of the GeneralRegistryType enum.
type GetAdminSandboxesRunningCounts200JSONResponse ¶ added in v0.0.10
type GetAdminSandboxesRunningCounts200JSONResponse AdminTeamRunningSandboxCounts
func (GetAdminSandboxesRunningCounts200JSONResponse) VisitGetAdminSandboxesRunningCountsResponse ¶ added in v0.0.10
func (response GetAdminSandboxesRunningCounts200JSONResponse) VisitGetAdminSandboxesRunningCountsResponse(w http.ResponseWriter) error
type GetAdminSandboxesRunningCounts401JSONResponse ¶ added in v0.0.10
type GetAdminSandboxesRunningCounts401JSONResponse struct{ N401JSONResponse }
func (GetAdminSandboxesRunningCounts401JSONResponse) VisitGetAdminSandboxesRunningCountsResponse ¶ added in v0.0.10
func (response GetAdminSandboxesRunningCounts401JSONResponse) VisitGetAdminSandboxesRunningCountsResponse(w http.ResponseWriter) error
type GetAdminSandboxesRunningCounts500JSONResponse ¶ added in v0.0.10
type GetAdminSandboxesRunningCounts500JSONResponse struct{ N500JSONResponse }
func (GetAdminSandboxesRunningCounts500JSONResponse) VisitGetAdminSandboxesRunningCountsResponse ¶ added in v0.0.10
func (response GetAdminSandboxesRunningCounts500JSONResponse) VisitGetAdminSandboxesRunningCountsResponse(w http.ResponseWriter) error
type GetAdminSandboxesRunningCountsRequestObject ¶ added in v0.0.10
type GetAdminSandboxesRunningCountsRequestObject struct {
}
type GetAdminSandboxesRunningCountsResponseObject ¶ added in v0.0.10
type GetAdminSandboxesRunningCountsResponseObject interface {
VisitGetAdminSandboxesRunningCountsResponse(w http.ResponseWriter) error
}
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 GetHealth204Response ¶ added in v0.0.7
type GetHealth204Response struct {
}
func (GetHealth204Response) VisitGetHealthResponse ¶ added in v0.0.7
func (response GetHealth204Response) 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 GetNodesParams ¶ added in v0.0.7
type GetNodesParams struct {
// ClusterID Identifier of the cluster
ClusterID *openapi_types.UUID `form:"clusterID,omitempty" json:"clusterID,omitempty"`
}
GetNodesParams defines parameters for GetNodes.
type GetNodesRequestObject ¶
type GetNodesRequestObject struct {
Params GetNodesParams
}
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 GetSecrets200JSONResponse ¶ added in v0.0.10
type GetSecrets200JSONResponse struct {
Body []Secret
Headers GetSecrets200ResponseHeaders
}
func (GetSecrets200JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets200JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets200ResponseHeaders ¶ added in v0.0.10
type GetSecrets200ResponseHeaders struct {
XNextToken string
}
type GetSecrets400JSONResponse ¶ added in v0.0.10
type GetSecrets400JSONResponse struct{ N400JSONResponse }
func (GetSecrets400JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets400JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets401JSONResponse ¶ added in v0.0.10
type GetSecrets401JSONResponse struct{ N401JSONResponse }
func (GetSecrets401JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets401JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets403JSONResponse ¶ added in v0.0.10
type GetSecrets403JSONResponse struct{ N403JSONResponse }
func (GetSecrets403JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets403JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets404JSONResponse ¶ added in v0.0.10
type GetSecrets404JSONResponse struct{ N404JSONResponse }
func (GetSecrets404JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets404JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets409JSONResponse ¶ added in v0.0.10
type GetSecrets409JSONResponse struct{ N409JSONResponse }
func (GetSecrets409JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets409JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets429JSONResponse ¶ added in v0.0.10
type GetSecrets429JSONResponse struct{ N429JSONResponse }
func (GetSecrets429JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets429JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets500JSONResponse ¶ added in v0.0.10
type GetSecrets500JSONResponse struct{ N500JSONResponse }
func (GetSecrets500JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets500JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets502JSONResponse ¶ added in v0.0.10
type GetSecrets502JSONResponse struct{ N502JSONResponse }
func (GetSecrets502JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets502JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecrets504JSONResponse ¶ added in v0.0.10
type GetSecrets504JSONResponse struct{ N504JSONResponse }
func (GetSecrets504JSONResponse) VisitGetSecretsResponse ¶ added in v0.0.10
func (response GetSecrets504JSONResponse) VisitGetSecretsResponse(w http.ResponseWriter) error
type GetSecretsParams ¶ added in v0.0.10
type GetSecretsParams struct {
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetSecretsParams defines parameters for GetSecrets.
type GetSecretsRequestObject ¶ added in v0.0.10
type GetSecretsRequestObject struct {
Params GetSecretsParams
}
type GetSecretsResponseObject ¶ added in v0.0.10
type GetSecretsResponseObject interface {
VisitGetSecretsResponse(w http.ResponseWriter) error
}
type GetSecretsSecretID200JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID200JSONResponse Secret
func (GetSecretsSecretID200JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID200JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID400JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID400JSONResponse struct{ N400JSONResponse }
func (GetSecretsSecretID400JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID400JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID401JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID401JSONResponse struct{ N401JSONResponse }
func (GetSecretsSecretID401JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID401JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID403JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID403JSONResponse struct{ N403JSONResponse }
func (GetSecretsSecretID403JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID403JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID404JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID404JSONResponse struct{ N404JSONResponse }
func (GetSecretsSecretID404JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID404JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID409JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID409JSONResponse struct{ N409JSONResponse }
func (GetSecretsSecretID409JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID409JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID429JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID429JSONResponse struct{ N429JSONResponse }
func (GetSecretsSecretID429JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID429JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID500JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID500JSONResponse struct{ N500JSONResponse }
func (GetSecretsSecretID500JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID500JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID502JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID502JSONResponse struct{ N502JSONResponse }
func (GetSecretsSecretID502JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID502JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretID504JSONResponse ¶ added in v0.0.10
type GetSecretsSecretID504JSONResponse struct{ N504JSONResponse }
func (GetSecretsSecretID504JSONResponse) VisitGetSecretsSecretIDResponse ¶ added in v0.0.10
func (response GetSecretsSecretID504JSONResponse) VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
type GetSecretsSecretIDRequestObject ¶ added in v0.0.10
type GetSecretsSecretIDRequestObject struct {
SecretID SecretID `json:"secretID"`
}
type GetSecretsSecretIDResponseObject ¶ added in v0.0.10
type GetSecretsSecretIDResponseObject interface {
VisitGetSecretsSecretIDResponse(w http.ResponseWriter) error
}
type GetSnapshots200JSONResponse ¶
type GetSnapshots200JSONResponse struct {
Body []SnapshotInfo
Headers GetSnapshots200ResponseHeaders
}
func (GetSnapshots200JSONResponse) VisitGetSnapshotsResponse ¶
func (response GetSnapshots200JSONResponse) VisitGetSnapshotsResponse(w http.ResponseWriter) error
type GetSnapshots200ResponseHeaders ¶ added in v0.0.10
type GetSnapshots200ResponseHeaders struct {
XNextToken string
}
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"`
// Name Filter snapshots by name or ID, optionally tag-qualified (e.g. "my-snapshot", "my-team/my-snapshot" or "my-snapshot:v1").
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}
GetSnapshotsParams defines parameters for GetSnapshots.
type 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 ¶
func (e GetTeamsTeamIDMetricsMaxParamsMetric) Valid() bool
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 struct {
Body TemplateWithBuilds
Headers GetTemplatesTemplateID200ResponseHeaders
}
func (GetTemplatesTemplateID200JSONResponse) VisitGetTemplatesTemplateIDResponse ¶
func (response GetTemplatesTemplateID200JSONResponse) VisitGetTemplatesTemplateIDResponse(w http.ResponseWriter) error
type GetTemplatesTemplateID200ResponseHeaders ¶ added in v0.0.10
type GetTemplatesTemplateID200ResponseHeaders struct {
XNextToken string
}
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 struct {
Body []ListedSandbox
Headers GetV2Sandboxes200ResponseHeaders
}
func (GetV2Sandboxes200JSONResponse) VisitGetV2SandboxesResponse ¶
func (response GetV2Sandboxes200JSONResponse) VisitGetV2SandboxesResponse(w http.ResponseWriter) error
type GetV2Sandboxes200ResponseHeaders ¶ added in v0.0.10
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"`
// Order Sort direction by sandbox start time. Defaults to desc (newest first).
Order *OrderDirection `form:"order,omitempty" json:"order,omitempty"`
// StartedAfter Return sandboxes started at or after this timestamp.
StartedAfter *time.Time `form:"startedAfter,omitempty" json:"startedAfter,omitempty"`
// Template Filter sandboxes by a template ID or alias.
Template *string `form:"template,omitempty" json:"template,omitempty"`
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetV2SandboxesParams defines parameters for GetV2Sandboxes.
type 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 GetV2Templates200JSONResponse ¶ added in v0.0.10
type GetV2Templates200JSONResponse struct {
Body []Template
Headers GetV2Templates200ResponseHeaders
}
func (GetV2Templates200JSONResponse) VisitGetV2TemplatesResponse ¶ added in v0.0.10
func (response GetV2Templates200JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2Templates200ResponseHeaders ¶ added in v0.0.10
type GetV2Templates200ResponseHeaders struct {
XNextToken string
}
type GetV2Templates400JSONResponse ¶ added in v0.0.10
type GetV2Templates400JSONResponse struct{ N400JSONResponse }
func (GetV2Templates400JSONResponse) VisitGetV2TemplatesResponse ¶ added in v0.0.10
func (response GetV2Templates400JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2Templates401JSONResponse ¶ added in v0.0.10
type GetV2Templates401JSONResponse struct{ N401JSONResponse }
func (GetV2Templates401JSONResponse) VisitGetV2TemplatesResponse ¶ added in v0.0.10
func (response GetV2Templates401JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2Templates403JSONResponse ¶ added in v0.0.10
type GetV2Templates403JSONResponse struct{ N403JSONResponse }
func (GetV2Templates403JSONResponse) VisitGetV2TemplatesResponse ¶ added in v0.0.10
func (response GetV2Templates403JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2Templates500JSONResponse ¶ added in v0.0.10
type GetV2Templates500JSONResponse struct{ N500JSONResponse }
func (GetV2Templates500JSONResponse) VisitGetV2TemplatesResponse ¶ added in v0.0.10
func (response GetV2Templates500JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2TemplatesParams ¶ added in v0.0.10
type GetV2TemplatesParams struct {
TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetV2TemplatesParams defines parameters for GetV2Templates.
type GetV2TemplatesRequestObject ¶ added in v0.0.10
type GetV2TemplatesRequestObject struct {
Params GetV2TemplatesParams
}
type GetV2TemplatesResponseObject ¶ added in v0.0.10
type GetV2TemplatesResponseObject interface {
VisitGetV2TemplatesResponse(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
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 MiddlewareFunc ¶
type N400JSONResponse ¶
type N400JSONResponse Error
type N401JSONResponse ¶
type N401JSONResponse Error
type N403JSONResponse ¶
type N403JSONResponse Error
type N404JSONResponse ¶
type N404JSONResponse Error
type N409JSONResponse ¶
type N409JSONResponse Error
type N410JSONResponse ¶ added in v0.0.10
type N410JSONResponse Error
type N429JSONResponse ¶ added in v0.0.10
type N429JSONResponse Error
type N500JSONResponse ¶
type N500JSONResponse Error
type N502JSONResponse ¶ added in v0.0.10
type N502JSONResponse Error
type N503JSONResponse ¶ added in v0.0.10
type N503JSONResponse Error
type N504JSONResponse ¶ added in v0.0.10
type N504JSONResponse 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"`
// AutoPauseMemory Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
AutoPauseMemory *bool `json:"autoPauseMemory,omitempty"`
// AutoResume Auto-resume configuration for paused sandboxes.
AutoResume *SandboxAutoResumeConfig `json:"autoResume,omitempty"`
EnvVars *EnvVars `json:"envVars,omitempty"`
// Iam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.
Iam *SandboxIam `json:"iam,omitempty"`
// Mcp MCP configuration for the sandbox
Mcp *Mcp `json:"mcp,omitempty"`
Metadata *SandboxMetadata `json:"metadata,omitempty"`
Network *SandboxNetworkConfig `json:"network,omitempty"`
// Secure 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 NewSecret ¶ added in v0.0.10
type NewSecret struct {
// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
Metadata *SecretMetadata `json:"metadata,omitempty"`
// Name Name of the secret, unique within the project. Names are lower-cased before storage and returned in that canonical form; the sec_ prefix is reserved for secret identifiers.
Name string `json:"name"`
// Value Runtime marker stored as the secret's first version. The runtime resolves it to a value at sandbox egress.
Value string `json:"value"`
}
NewSecret defines model for NewSecret.
type 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.
// - draining: the node is bound to be shut down. It will not accept new sandboxes and will stop once all existing sandboxes are done.
// - standby: the node is not actively used, but it can return to ready and continue serving traffic.
Status NodeStatus `json:"status"`
// StatusChangedAt Time when the node status was last changed
StatusChangedAt time.Time `json:"statusChangedAt"`
// Version Version of the orchestrator
Version string `json:"version"`
}
Node defines model for Node.
type NodeDetail ¶
type NodeDetail 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"`
// ServiceInstanceID Service instance identifier of the node
ServiceInstanceID string `json:"serviceInstanceID"`
// Status Status of the node.
// - draining: the node is bound to be shut down. It will not accept new sandboxes and will stop once all existing sandboxes are done.
// - standby: the node is not actively used, but it can return to ready and continue serving traffic.
Status NodeStatus `json:"status"`
// StatusChangedAt Time when the node status was last changed
StatusChangedAt time.Time `json:"statusChangedAt"`
// Version Version of the orchestrator
Version string `json:"version"`
}
NodeDetail defines model for NodeDetail.
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"`
// HugePageSizeBytes Size of a single hugepage in bytes
HugePageSizeBytes uint64 `json:"hugePageSizeBytes"`
// HugePagesReserved Number of reserved hugepages (committed but not yet faulted)
HugePagesReserved uint64 `json:"hugePagesReserved"`
// HugePagesTotal Total number of preallocated hugepages on the node
HugePagesTotal uint64 `json:"hugePagesTotal"`
// HugePagesUsed Number of hugepages in use (total - free)
HugePagesUsed uint64 `json:"hugePagesUsed"`
// 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. - draining: the node is bound to be shut down. It will not accept new sandboxes and will stop once all existing sandboxes are done. - standby: the node is not actively used, but it can return to ready and continue serving traffic.
const ( NodeStatusConnecting NodeStatus = "connecting" NodeStatusDraining NodeStatus = "draining" NodeStatusReady NodeStatus = "ready" NodeStatusStandby NodeStatus = "standby" 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.
// - draining: the node is bound to be shut down. It will not accept new sandboxes and will stop once all existing sandboxes are done.
// - standby: the node is not actively used, but it can return to ready and continue serving traffic.
Status NodeStatus `json:"status"`
}
NodeStatusChange defines model for NodeStatusChange.
type OrderDirection ¶ added in v0.0.10
type OrderDirection string
OrderDirection Sort direction
const ( Asc OrderDirection = "asc" Desc OrderDirection = "desc" )
Defines values for OrderDirection.
func (OrderDirection) Valid ¶ added in v0.0.10
func (e OrderDirection) Valid() bool
Valid indicates whether the value is a known member of the OrderDirection enum.
type PaginationLimit ¶
type PaginationLimit = int32
PaginationLimit defines model for paginationLimit.
type PaginationNextToken ¶
type PaginationNextToken = string
PaginationNextToken defines model for paginationNextToken.
type 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 PostAccessTokens410JSONResponse ¶ added in v0.0.10
type PostAccessTokens410JSONResponse struct{ N410JSONResponse }
func (PostAccessTokens410JSONResponse) VisitPostAccessTokensResponse ¶ added in v0.0.10
func (response PostAccessTokens410JSONResponse) 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 PostAdminTeamsTeamIDApiKeys201JSONResponse ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeys201JSONResponse CreatedTeamAPIKey
func (PostAdminTeamsTeamIDApiKeys201JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse ¶ added in v0.0.7
func (response PostAdminTeamsTeamIDApiKeys201JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse(w http.ResponseWriter) error
type PostAdminTeamsTeamIDApiKeys400JSONResponse ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeys400JSONResponse struct{ N400JSONResponse }
func (PostAdminTeamsTeamIDApiKeys400JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse ¶ added in v0.0.7
func (response PostAdminTeamsTeamIDApiKeys400JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse(w http.ResponseWriter) error
type PostAdminTeamsTeamIDApiKeys401JSONResponse ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeys401JSONResponse struct{ N401JSONResponse }
func (PostAdminTeamsTeamIDApiKeys401JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse ¶ added in v0.0.7
func (response PostAdminTeamsTeamIDApiKeys401JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse(w http.ResponseWriter) error
type PostAdminTeamsTeamIDApiKeys403JSONResponse ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeys403JSONResponse struct{ N403JSONResponse }
func (PostAdminTeamsTeamIDApiKeys403JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse ¶ added in v0.0.7
func (response PostAdminTeamsTeamIDApiKeys403JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse(w http.ResponseWriter) error
type PostAdminTeamsTeamIDApiKeys404JSONResponse ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeys404JSONResponse struct{ N404JSONResponse }
func (PostAdminTeamsTeamIDApiKeys404JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse ¶ added in v0.0.7
func (response PostAdminTeamsTeamIDApiKeys404JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse(w http.ResponseWriter) error
type PostAdminTeamsTeamIDApiKeys500JSONResponse ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeys500JSONResponse struct{ N500JSONResponse }
func (PostAdminTeamsTeamIDApiKeys500JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse ¶ added in v0.0.7
func (response PostAdminTeamsTeamIDApiKeys500JSONResponse) VisitPostAdminTeamsTeamIDApiKeysResponse(w http.ResponseWriter) error
type PostAdminTeamsTeamIDApiKeysJSONRequestBody ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeysJSONRequestBody = NewTeamAPIKey
PostAdminTeamsTeamIDApiKeysJSONRequestBody defines body for PostAdminTeamsTeamIDApiKeys for application/json ContentType.
type PostAdminTeamsTeamIDApiKeysRequestObject ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeysRequestObject struct {
TeamID openapi_types.UUID `json:"teamID"`
Body *PostAdminTeamsTeamIDApiKeysJSONRequestBody
}
type PostAdminTeamsTeamIDApiKeysResponseObject ¶ added in v0.0.7
type PostAdminTeamsTeamIDApiKeysResponseObject interface {
VisitPostAdminTeamsTeamIDApiKeysResponse(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 PostNodesNodeID409JSONResponse ¶ added in v0.0.10
type PostNodesNodeID409JSONResponse struct{ N409JSONResponse }
func (PostNodesNodeID409JSONResponse) VisitPostNodesNodeIDResponse ¶ added in v0.0.10
func (response PostNodesNodeID409JSONResponse) 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 PostSandboxes503JSONResponse ¶ added in v0.0.10
type PostSandboxes503JSONResponse struct{ N503JSONResponse }
func (PostSandboxes503JSONResponse) VisitPostSandboxesResponse ¶ added in v0.0.10
func (response PostSandboxes503JSONResponse) VisitPostSandboxesResponse(w http.ResponseWriter) error
type PostSandboxes504JSONResponse ¶ added in v0.0.10
type PostSandboxes504JSONResponse struct{ N504JSONResponse }
func (PostSandboxes504JSONResponse) VisitPostSandboxesResponse ¶ added in v0.0.10
func (response PostSandboxes504JSONResponse) 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 PostSandboxesSandboxIDConnect409JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDConnect409JSONResponse struct{ N409JSONResponse }
func (PostSandboxesSandboxIDConnect409JSONResponse) VisitPostSandboxesSandboxIDConnectResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDConnect409JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDConnect500JSONResponse ¶
type PostSandboxesSandboxIDConnect500JSONResponse struct{ N500JSONResponse }
func (PostSandboxesSandboxIDConnect500JSONResponse) VisitPostSandboxesSandboxIDConnectResponse ¶
func (response PostSandboxesSandboxIDConnect500JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDConnect503JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDConnect503JSONResponse struct{ N503JSONResponse }
func (PostSandboxesSandboxIDConnect503JSONResponse) VisitPostSandboxesSandboxIDConnectResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDConnect503JSONResponse) VisitPostSandboxesSandboxIDConnectResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDConnect504JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDConnect504JSONResponse struct{ N504JSONResponse }
func (PostSandboxesSandboxIDConnect504JSONResponse) VisitPostSandboxesSandboxIDConnectResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDConnect504JSONResponse) 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 PostSandboxesSandboxIDFork201JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDFork201JSONResponse []SandboxForkResult
func (PostSandboxesSandboxIDFork201JSONResponse) VisitPostSandboxesSandboxIDForkResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDFork201JSONResponse) VisitPostSandboxesSandboxIDForkResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDFork401JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDFork401JSONResponse struct{ N401JSONResponse }
func (PostSandboxesSandboxIDFork401JSONResponse) VisitPostSandboxesSandboxIDForkResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDFork401JSONResponse) VisitPostSandboxesSandboxIDForkResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDFork404JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDFork404JSONResponse struct{ N404JSONResponse }
func (PostSandboxesSandboxIDFork404JSONResponse) VisitPostSandboxesSandboxIDForkResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDFork404JSONResponse) VisitPostSandboxesSandboxIDForkResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDFork409JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDFork409JSONResponse struct{ N409JSONResponse }
func (PostSandboxesSandboxIDFork409JSONResponse) VisitPostSandboxesSandboxIDForkResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDFork409JSONResponse) VisitPostSandboxesSandboxIDForkResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDFork500JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDFork500JSONResponse struct{ N500JSONResponse }
func (PostSandboxesSandboxIDFork500JSONResponse) VisitPostSandboxesSandboxIDForkResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDFork500JSONResponse) VisitPostSandboxesSandboxIDForkResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDFork503JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDFork503JSONResponse struct{ N503JSONResponse }
func (PostSandboxesSandboxIDFork503JSONResponse) VisitPostSandboxesSandboxIDForkResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDFork503JSONResponse) VisitPostSandboxesSandboxIDForkResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDForkJSONRequestBody ¶ added in v0.0.10
type PostSandboxesSandboxIDForkJSONRequestBody = SandboxForkRequest
PostSandboxesSandboxIDForkJSONRequestBody defines body for PostSandboxesSandboxIDFork for application/json ContentType.
type PostSandboxesSandboxIDForkRequestObject ¶ added in v0.0.10
type PostSandboxesSandboxIDForkRequestObject struct {
SandboxID SandboxID `json:"sandboxID"`
Body *PostSandboxesSandboxIDForkJSONRequestBody
}
type PostSandboxesSandboxIDForkResponseObject ¶ added in v0.0.10
type PostSandboxesSandboxIDForkResponseObject interface {
VisitPostSandboxesSandboxIDForkResponse(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 PostSandboxesSandboxIDPauseJSONRequestBody ¶ added in v0.0.10
type PostSandboxesSandboxIDPauseJSONRequestBody = SandboxPauseRequest
PostSandboxesSandboxIDPauseJSONRequestBody defines body for PostSandboxesSandboxIDPause for application/json ContentType.
type PostSandboxesSandboxIDPauseRequestObject ¶
type PostSandboxesSandboxIDPauseRequestObject struct {
SandboxID SandboxID `json:"sandboxID"`
Body *PostSandboxesSandboxIDPauseJSONRequestBody
}
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 PostSandboxesSandboxIDRefreshesJSONRequestBody ¶
type PostSandboxesSandboxIDRefreshesJSONRequestBody = SandboxRefreshRequest
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 PostSandboxesSandboxIDResume400JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDResume400JSONResponse struct{ N400JSONResponse }
func (PostSandboxesSandboxIDResume400JSONResponse) VisitPostSandboxesSandboxIDResumeResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDResume400JSONResponse) 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 PostSandboxesSandboxIDResume503JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDResume503JSONResponse struct{ N503JSONResponse }
func (PostSandboxesSandboxIDResume503JSONResponse) VisitPostSandboxesSandboxIDResumeResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDResume503JSONResponse) VisitPostSandboxesSandboxIDResumeResponse(w http.ResponseWriter) error
type PostSandboxesSandboxIDResume504JSONResponse ¶ added in v0.0.10
type PostSandboxesSandboxIDResume504JSONResponse struct{ N504JSONResponse }
func (PostSandboxesSandboxIDResume504JSONResponse) VisitPostSandboxesSandboxIDResumeResponse ¶ added in v0.0.10
func (response PostSandboxesSandboxIDResume504JSONResponse) 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 PostSandboxesSandboxIDSnapshotsJSONRequestBody ¶
type PostSandboxesSandboxIDSnapshotsJSONRequestBody = SandboxSnapshotRequest
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 PostSandboxesSandboxIDTimeoutJSONRequestBody ¶
type PostSandboxesSandboxIDTimeoutJSONRequestBody = SandboxTimeoutRequest
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 PostSecrets201JSONResponse ¶ added in v0.0.10
type PostSecrets201JSONResponse Secret
func (PostSecrets201JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets201JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets400JSONResponse ¶ added in v0.0.10
type PostSecrets400JSONResponse struct{ N400JSONResponse }
func (PostSecrets400JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets400JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets401JSONResponse ¶ added in v0.0.10
type PostSecrets401JSONResponse struct{ N401JSONResponse }
func (PostSecrets401JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets401JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets403JSONResponse ¶ added in v0.0.10
type PostSecrets403JSONResponse struct{ N403JSONResponse }
func (PostSecrets403JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets403JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets404JSONResponse ¶ added in v0.0.10
type PostSecrets404JSONResponse struct{ N404JSONResponse }
func (PostSecrets404JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets404JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets409JSONResponse ¶ added in v0.0.10
type PostSecrets409JSONResponse struct{ N409JSONResponse }
func (PostSecrets409JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets409JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets429JSONResponse ¶ added in v0.0.10
type PostSecrets429JSONResponse struct{ N429JSONResponse }
func (PostSecrets429JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets429JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets500JSONResponse ¶ added in v0.0.10
type PostSecrets500JSONResponse struct{ N500JSONResponse }
func (PostSecrets500JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets500JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets502JSONResponse ¶ added in v0.0.10
type PostSecrets502JSONResponse struct{ N502JSONResponse }
func (PostSecrets502JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets502JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecrets504JSONResponse ¶ added in v0.0.10
type PostSecrets504JSONResponse struct{ N504JSONResponse }
func (PostSecrets504JSONResponse) VisitPostSecretsResponse ¶ added in v0.0.10
func (response PostSecrets504JSONResponse) VisitPostSecretsResponse(w http.ResponseWriter) error
type PostSecretsJSONRequestBody ¶ added in v0.0.10
type PostSecretsJSONRequestBody = NewSecret
PostSecretsJSONRequestBody defines body for PostSecrets for application/json ContentType.
type PostSecretsRequestObject ¶ added in v0.0.10
type PostSecretsRequestObject struct {
Body *PostSecretsJSONRequestBody
}
type PostSecretsResponseObject ¶ added in v0.0.10
type PostSecretsResponseObject interface {
VisitPostSecretsResponse(w http.ResponseWriter) error
}
type PostSecretsSecretID200JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID200JSONResponse Secret
func (PostSecretsSecretID200JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID200JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID400JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID400JSONResponse struct{ N400JSONResponse }
func (PostSecretsSecretID400JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID400JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID401JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID401JSONResponse struct{ N401JSONResponse }
func (PostSecretsSecretID401JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID401JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID403JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID403JSONResponse struct{ N403JSONResponse }
func (PostSecretsSecretID403JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID403JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID404JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID404JSONResponse struct{ N404JSONResponse }
func (PostSecretsSecretID404JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID404JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID409JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID409JSONResponse struct{ N409JSONResponse }
func (PostSecretsSecretID409JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID409JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID429JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID429JSONResponse struct{ N429JSONResponse }
func (PostSecretsSecretID429JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID429JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID500JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID500JSONResponse struct{ N500JSONResponse }
func (PostSecretsSecretID500JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID500JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID502JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID502JSONResponse struct{ N502JSONResponse }
func (PostSecretsSecretID502JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID502JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretID504JSONResponse ¶ added in v0.0.10
type PostSecretsSecretID504JSONResponse struct{ N504JSONResponse }
func (PostSecretsSecretID504JSONResponse) VisitPostSecretsSecretIDResponse ¶ added in v0.0.10
func (response PostSecretsSecretID504JSONResponse) VisitPostSecretsSecretIDResponse(w http.ResponseWriter) error
type PostSecretsSecretIDJSONRequestBody ¶ added in v0.0.10
type PostSecretsSecretIDJSONRequestBody = SecretUpdate
PostSecretsSecretIDJSONRequestBody defines body for PostSecretsSecretID for application/json ContentType.
type PostSecretsSecretIDRequestObject ¶ added in v0.0.10
type PostSecretsSecretIDRequestObject struct {
SecretID SecretID `json:"secretID"`
Body *PostSecretsSecretIDJSONRequestBody
}
type PostSecretsSecretIDResponseObject ¶ added in v0.0.10
type PostSecretsSecretIDResponseObject interface {
VisitPostSecretsSecretIDResponse(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 PostV3Templates403JSONResponse ¶ added in v0.0.7
type PostV3Templates403JSONResponse struct{ N403JSONResponse }
func (PostV3Templates403JSONResponse) VisitPostV3TemplatesResponse ¶ added in v0.0.7
func (response PostV3Templates403JSONResponse) 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 PutSandboxesSandboxIDNetwork204Response ¶ added in v0.0.7
type PutSandboxesSandboxIDNetwork204Response struct {
}
func (PutSandboxesSandboxIDNetwork204Response) VisitPutSandboxesSandboxIDNetworkResponse ¶ added in v0.0.7
func (response PutSandboxesSandboxIDNetwork204Response) VisitPutSandboxesSandboxIDNetworkResponse(w http.ResponseWriter) error
type PutSandboxesSandboxIDNetwork401JSONResponse ¶ added in v0.0.7
type PutSandboxesSandboxIDNetwork401JSONResponse struct{ N401JSONResponse }
func (PutSandboxesSandboxIDNetwork401JSONResponse) VisitPutSandboxesSandboxIDNetworkResponse ¶ added in v0.0.7
func (response PutSandboxesSandboxIDNetwork401JSONResponse) VisitPutSandboxesSandboxIDNetworkResponse(w http.ResponseWriter) error
type PutSandboxesSandboxIDNetwork404JSONResponse ¶ added in v0.0.7
type PutSandboxesSandboxIDNetwork404JSONResponse struct{ N404JSONResponse }
func (PutSandboxesSandboxIDNetwork404JSONResponse) VisitPutSandboxesSandboxIDNetworkResponse ¶ added in v0.0.7
func (response PutSandboxesSandboxIDNetwork404JSONResponse) VisitPutSandboxesSandboxIDNetworkResponse(w http.ResponseWriter) error
type PutSandboxesSandboxIDNetwork409JSONResponse ¶ added in v0.0.7
type PutSandboxesSandboxIDNetwork409JSONResponse struct{ N409JSONResponse }
func (PutSandboxesSandboxIDNetwork409JSONResponse) VisitPutSandboxesSandboxIDNetworkResponse ¶ added in v0.0.7
func (response PutSandboxesSandboxIDNetwork409JSONResponse) VisitPutSandboxesSandboxIDNetworkResponse(w http.ResponseWriter) error
type PutSandboxesSandboxIDNetwork500JSONResponse ¶ added in v0.0.7
type PutSandboxesSandboxIDNetwork500JSONResponse struct{ N500JSONResponse }
func (PutSandboxesSandboxIDNetwork500JSONResponse) VisitPutSandboxesSandboxIDNetworkResponse ¶ added in v0.0.7
func (response PutSandboxesSandboxIDNetwork500JSONResponse) VisitPutSandboxesSandboxIDNetworkResponse(w http.ResponseWriter) error
type PutSandboxesSandboxIDNetworkJSONRequestBody ¶ added in v0.0.7
type PutSandboxesSandboxIDNetworkJSONRequestBody = SandboxNetworkUpdateConfig
PutSandboxesSandboxIDNetworkJSONRequestBody defines body for PutSandboxesSandboxIDNetwork for application/json ContentType.
type PutSandboxesSandboxIDNetworkRequestObject ¶ added in v0.0.7
type PutSandboxesSandboxIDNetworkRequestObject struct {
SandboxID SandboxID `json:"sandboxID"`
Body *PutSandboxesSandboxIDNetworkJSONRequestBody
}
type PutSandboxesSandboxIDNetworkResponseObject ¶ added in v0.0.7
type PutSandboxesSandboxIDNetworkResponseObject interface {
VisitPutSandboxesSandboxIDNetworkResponse(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"`
// Memory Defaults to true. When false, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore.
Memory *bool `json:"memory,omitempty"`
// Timeout Time to live for the sandbox in seconds.
Timeout *int32 `json:"timeout,omitempty"`
}
ResumedSandbox defines model for ResumedSandbox.
type Sandbox ¶
type Sandbox struct {
// Alias Alias of the template
Alias *string `json:"alias,omitempty"`
// ClientID Identifier of the client
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ClientID string `json:"clientID"`
// Domain Base domain where the sandbox traffic is accessible
Domain *string `json:"domain,omitempty"`
// EnvdAccessToken Access token used for envd communication
EnvdAccessToken *string `json:"envdAccessToken,omitempty"`
// EnvdVersion Version of the envd running in the sandbox
EnvdVersion EnvdVersion `json:"envdVersion"`
// SandboxID Identifier of the sandbox
SandboxID string `json:"sandboxID"`
// TemplateID Identifier of the template from which is the sandbox created
TemplateID string `json:"templateID"`
// TrafficAccessToken Token required for accessing sandbox via proxy.
TrafficAccessToken *string `json:"trafficAccessToken,omitempty"`
}
Sandbox defines model for Sandbox.
type SandboxAutoResumeConfig ¶
type SandboxAutoResumeConfig struct {
// Enabled Auto-resume enabled flag for paused sandboxes. Default false.
Enabled SandboxAutoResumeEnabled `json:"enabled"`
}
SandboxAutoResumeConfig Auto-resume configuration for paused sandboxes.
type SandboxAutoResumeEnabled ¶
type SandboxAutoResumeEnabled = bool
SandboxAutoResumeEnabled Auto-resume enabled flag for paused sandboxes. Default false.
type SandboxDetail ¶
type SandboxDetail struct {
// Alias Alias of the template
Alias *string `json:"alias,omitempty"`
// AllowInternetAccess Whether internet access was explicitly enabled or disabled for the sandbox. Null means it was not explicitly set.
AllowInternetAccess *bool `json:"allowInternetAccess,omitempty"`
// ClientID Identifier of the client
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ClientID string `json:"clientID"`
// CpuCount CPU cores for the sandbox
CpuCount CPUCount `json:"cpuCount"`
// DiskSizeMB Disk size for the sandbox in MiB
DiskSizeMB DiskSizeMB `json:"diskSizeMB"`
// Domain Base domain where the sandbox traffic is accessible
Domain *string `json:"domain,omitempty"`
// EndAt Time when the sandbox will expire
EndAt time.Time `json:"endAt"`
// EnvdAccessToken Access token used for envd communication
EnvdAccessToken *string `json:"envdAccessToken,omitempty"`
// EnvdVersion Version of the envd running in the sandbox
EnvdVersion EnvdVersion `json:"envdVersion"`
// Lifecycle Sandbox lifecycle policy returned by sandbox info.
Lifecycle *SandboxLifecycle `json:"lifecycle,omitempty"`
// MemoryMB Memory for the sandbox in MiB
MemoryMB MemoryMB `json:"memoryMB"`
Metadata *SandboxMetadata `json:"metadata,omitempty"`
Network *SandboxNetworkConfig `json:"network,omitempty"`
// SandboxID Identifier of the sandbox
SandboxID string `json:"sandboxID"`
// StartedAt Time when the sandbox was started
StartedAt time.Time `json:"startedAt"`
// State State of the sandbox
State SandboxState `json:"state"`
// TemplateID Identifier of the template from which is the sandbox created
TemplateID string `json:"templateID"`
VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}
SandboxDetail defines model for SandboxDetail.
type SandboxEgressProxyConfig ¶ added in v0.0.7
type SandboxEgressProxyConfig struct {
// Address SOCKS5 proxy address in host:port format (e.g. "proxy.example.com:1080").
Address string `json:"address"`
// Password Optional SOCKS5 password (RFC 1929), max 255 bytes.
Password *string `json:"password,omitempty"`
// Username Optional SOCKS5 username (RFC 1929), max 255 bytes.
Username *string `json:"username,omitempty"`
}
SandboxEgressProxyConfig SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
type SandboxForkRequest ¶ added in v0.0.10
type SandboxForkRequest struct {
// Count Number of forked sandboxes to create. All forks boot from the same snapshot, so the snapshot is captured once regardless of count. Each fork succeeds or fails independently; the outcome of each is reported in its entry of the response list.
Count *int32 `json:"count,omitempty"`
// Timeout Time to live for the new forked sandboxes in seconds.
Timeout *int32 `json:"timeout,omitempty"`
}
SandboxForkRequest defines model for SandboxForkRequest.
type SandboxForkResult ¶ added in v0.0.10
type SandboxForkResult struct {
Error *Error `json:"error,omitempty"`
Sandbox *Sandbox `json:"sandbox,omitempty"`
}
SandboxForkResult Result of one requested fork. Exactly one of sandbox or error is set: sandbox when the fork started successfully, error when it failed to start.
type SandboxIam ¶ added in v0.0.10
type SandboxIam struct {
// Tokens Named workload-token definitions, keyed by a caller-chosen token name.
Tokens *SandboxIamTokens `json:"tokens,omitempty"`
}
SandboxIam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.
type SandboxIamToken ¶ added in v0.0.10
type SandboxIamToken struct {
// Audience Audience of the workload token, stored exactly as provided.
Audience string `json:"audience"`
// TokenType Workload token type.
TokenType string `json:"tokenType"`
}
SandboxIamToken defines model for SandboxIamToken.
type SandboxIamTokens ¶ added in v0.0.10
type SandboxIamTokens map[string]SandboxIamToken
SandboxIamTokens Named workload-token definitions, keyed by a caller-chosen token name.
type SandboxLifecycle ¶ added in v0.0.7
type SandboxLifecycle struct {
// AutoResume Whether the sandbox can auto-resume.
AutoResume bool `json:"autoResume"`
// OnTimeout Action taken when the sandbox times out.
OnTimeout SandboxOnTimeout `json:"onTimeout"`
}
SandboxLifecycle Sandbox lifecycle policy returned by sandbox info.
type SandboxLog ¶
type SandboxLog struct {
// Line Log line content
Line string `json:"line"`
// Timestamp Timestamp of the log entry
Timestamp time.Time `json:"timestamp"`
}
SandboxLog Log entry with timestamp and line
type SandboxLogEntry ¶
type SandboxLogEntry struct {
Fields map[string]string `json:"fields"`
// Level State of the sandbox
Level LogLevel `json:"level"`
// Message Log message content
Message string `json:"message"`
// Timestamp Timestamp of the log entry
Timestamp time.Time `json:"timestamp"`
}
SandboxLogEntry defines model for SandboxLogEntry.
type SandboxLogs ¶
type SandboxLogs struct {
// LogEntries Structured logs of the sandbox
LogEntries []SandboxLogEntry `json:"logEntries"`
// Logs Logs of the sandbox
Logs []SandboxLog `json:"logs"`
}
SandboxLogs defines model for SandboxLogs.
type SandboxLogsV2Response ¶
type SandboxLogsV2Response struct {
// Logs Sandbox logs structured
Logs []SandboxLogEntry `json:"logs"`
}
SandboxLogsV2Response defines model for SandboxLogsV2Response.
type SandboxMetadata ¶
SandboxMetadata defines model for SandboxMetadata.
type SandboxMetric ¶
type SandboxMetric struct {
// CpuCount Number of CPU cores
CpuCount int32 `json:"cpuCount"`
// CpuUsedPct CPU usage percentage
CpuUsedPct float32 `json:"cpuUsedPct"`
// DiskTotal Total disk space in bytes
DiskTotal int64 `json:"diskTotal"`
// DiskUsed Disk used in bytes
DiskUsed int64 `json:"diskUsed"`
// MemCache Cached memory (page cache) in bytes
MemCache int64 `json:"memCache"`
// MemTotal Total memory in bytes
MemTotal int64 `json:"memTotal"`
// MemUsed Memory used in bytes
MemUsed int64 `json:"memUsed"`
// Timestamp Timestamp of the metric entry
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Timestamp time.Time `json:"timestamp"`
// TimestampUnix Timestamp of the metric entry in Unix time (seconds since epoch)
TimestampUnix int64 `json:"timestampUnix"`
}
SandboxMetric Metric entry with timestamp and line
type SandboxNetworkConfig ¶
type SandboxNetworkConfig struct {
// AllowOut List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.
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. Domain names are not supported for deny rules.
DenyOut *[]string `json:"denyOut,omitempty"`
// EgressProxy SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
EgressProxy *SandboxEgressProxyConfig `json:"egressProxy,omitempty"`
// MaskRequestHost Specify host mask which will be used for all sandbox requests
MaskRequestHost *string `json:"maskRequestHost,omitempty"`
// Rules Per-domain transform rules applied to matching egress HTTP/HTTPS requests. Keys are domains (e.g. "api.example.com", "example.com"). A domain listed here is not automatically allowed - use allowOut to permit the traffic.
Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}
SandboxNetworkConfig defines model for SandboxNetworkConfig.
type SandboxNetworkRule ¶ added in v0.0.7
type SandboxNetworkRule struct {
// Transform Transformations applied to matching egress requests before forwarding.
Transform *SandboxNetworkTransform `json:"transform,omitempty"`
}
SandboxNetworkRule Transform rule applied to egress requests matching a domain pattern.
type SandboxNetworkTransform ¶ added in v0.0.7
type SandboxNetworkTransform struct {
// Headers HTTP headers to inject or override in matching requests. An existing header with the same name is replaced. Values are plain strings; secret resolution happens client-side before sending to the API.
Headers *map[string]string `json:"headers,omitempty"`
}
SandboxNetworkTransform Transformations applied to matching egress requests before forwarding.
type SandboxNetworkUpdateConfig ¶ added in v0.0.7
type SandboxNetworkUpdateConfig struct {
// AllowOut List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.
AllowOut *[]string `json:"allowOut,omitempty"`
// AllowInternetAccess Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
AllowInternetAccess *bool `json:"allow_internet_access,omitempty"`
// DenyOut List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
DenyOut *[]string `json:"denyOut,omitempty"`
// EgressProxy SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
EgressProxy *SandboxEgressProxyConfig `json:"egressProxy,omitempty"`
// Rules Per-domain transform rules. Replaces all existing rules when provided.
Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}
SandboxNetworkUpdateConfig Network configuration update for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting a field clears it.
type SandboxOnTimeout ¶ added in v0.0.7
type SandboxOnTimeout string
SandboxOnTimeout Action taken when the sandbox times out.
const ( Kill SandboxOnTimeout = "kill" Pause SandboxOnTimeout = "pause" )
Defines values for SandboxOnTimeout.
func (SandboxOnTimeout) Valid ¶ added in v0.0.7
func (e SandboxOnTimeout) Valid() bool
Valid indicates whether the value is a known member of the SandboxOnTimeout enum.
type SandboxPauseRequest ¶ added in v0.0.10
type SandboxPauseRequest struct {
// Memory Whether to capture a full memory snapshot. When false, only the filesystem is persisted and resuming the sandbox cold-boots (reboots) it from disk, losing in-memory state, running processes, and open connections. Resume it with an explicit request (connect or resume); auto-resume, which can be triggered by arbitrary traffic, refuses such a sandbox. Defaults to true.
Memory *bool `json:"memory,omitempty"`
}
SandboxPauseRequest defines model for SandboxPauseRequest.
type SandboxRefreshRequest ¶ added in v0.0.7
type SandboxRefreshRequest struct {
// Duration Duration for which the sandbox should be kept alive in seconds
Duration *int `json:"duration,omitempty"`
}
SandboxRefreshRequest defines model for SandboxRefreshRequest.
type SandboxSnapshotRequest ¶ added in v0.0.7
type SandboxSnapshotRequest 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"`
}
SandboxSnapshotRequest defines model for SandboxSnapshotRequest.
type SandboxState ¶
type SandboxState string
SandboxState State of the sandbox
const ( Paused SandboxState = "paused" Running SandboxState = "running" )
Defines values for SandboxState.
func (SandboxState) Valid ¶
func (e SandboxState) Valid() bool
Valid indicates whether the value is a known member of the SandboxState enum.
type SandboxTimeoutRequest ¶ added in v0.0.7
type SandboxTimeoutRequest struct {
// Timeout Timeout in seconds from the current time after which the sandbox should expire
Timeout int32 `json:"timeout"`
}
SandboxTimeoutRequest defines model for SandboxTimeoutRequest.
type SandboxVolumeMount ¶
type SandboxVolumeMount struct {
// Name Name of the volume
Name string `json:"name"`
// Path Path of the volume
Path string `json:"path"`
}
SandboxVolumeMount defines model for SandboxVolumeMount.
type SandboxesWithMetrics ¶
type SandboxesWithMetrics struct {
Sandboxes map[string]SandboxMetric `json:"sandboxes"`
}
SandboxesWithMetrics defines model for SandboxesWithMetrics.
type Secret ¶ added in v0.0.10
type Secret struct {
// CreatedAt Time when the secret was created
CreatedAt time.Time `json:"createdAt"`
// CurrentVersion Version served to readers that do not name one
CurrentVersion int64 `json:"currentVersion"`
// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
Metadata SecretMetadata `json:"metadata"`
// Name Name of the secret, unique within the project
Name string `json:"name"`
// SecretID Identifier of the secret
SecretID string `json:"secretID"`
// UpdatedAt Time when the secret was last updated
UpdatedAt time.Time `json:"updatedAt"`
}
Secret Metadata of a secret. It never carries the secret value.
type SecretID ¶ added in v0.0.10
type SecretID = string
SecretID Identifier of the secret (sec_ prefixed), or its canonical lower-case name
type SecretMetadata ¶ added in v0.0.10
SecretMetadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
type SecretUpdate ¶ added in v0.0.10
type SecretUpdate struct {
// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
Metadata *SecretMetadata `json:"metadata,omitempty"`
// Value Runtime marker stored as the secret's new version. The runtime resolves it to a value at sandbox egress.
Value string `json:"value"`
}
SecretUpdate defines model for SecretUpdate.
type ServerInterface ¶
type ServerInterface interface {
// Create access token
// (POST /access-tokens)
PostAccessTokens(c *gin.Context)
// Delete access token
// (DELETE /access-tokens/{accessTokenID})
DeleteAccessTokensAccessTokenID(c *gin.Context, accessTokenID AccessTokenID)
// Count running sandboxes by team
// (GET /admin/sandboxes/running-counts)
GetAdminSandboxesRunningCounts(c *gin.Context)
// Create team API key as admin
// (POST /admin/teams/{teamID}/api-keys)
PostAdminTeamsTeamIDApiKeys(c *gin.Context, teamID openapi_types.UUID)
// Delete team API key as admin
// (DELETE /admin/teams/{teamID}/api-keys/{apiKeyID})
DeleteAdminTeamsTeamIDApiKeysApiKeyID(c *gin.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID)
// 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)
// List team API keys
// (GET /api-keys)
GetApiKeys(c *gin.Context)
// Create team API key
// (POST /api-keys)
PostApiKeys(c *gin.Context)
// Delete team API key
// (DELETE /api-keys/{apiKeyID})
DeleteApiKeysApiKeyID(c *gin.Context, apiKeyID ApiKeyID)
// Update team API key
// (PATCH /api-keys/{apiKeyID})
PatchApiKeysApiKeyID(c *gin.Context, apiKeyID ApiKeyID)
// Health check
// (GET /health)
GetHealth(c *gin.Context)
// List nodes
// (GET /nodes)
GetNodes(c *gin.Context, params GetNodesParams)
// Node info
// (GET /nodes/{nodeID})
GetNodesNodeID(c *gin.Context, nodeID NodeID, params GetNodesNodeIDParams)
// Change node status
// (POST /nodes/{nodeID})
PostNodesNodeID(c *gin.Context, nodeID NodeID)
// List running sandboxes
// (GET /sandboxes)
GetSandboxes(c *gin.Context, params GetSandboxesParams)
// Create sandbox
// (POST /sandboxes)
PostSandboxes(c *gin.Context)
// List sandbox metrics
// (GET /sandboxes/metrics)
GetSandboxesMetrics(c *gin.Context, params GetSandboxesMetricsParams)
// Kill sandbox
// (DELETE /sandboxes/{sandboxID})
DeleteSandboxesSandboxID(c *gin.Context, sandboxID SandboxID)
// Sandbox
// (GET /sandboxes/{sandboxID})
GetSandboxesSandboxID(c *gin.Context, sandboxID SandboxID)
// Connect sandbox
// (POST /sandboxes/{sandboxID}/connect)
PostSandboxesSandboxIDConnect(c *gin.Context, sandboxID SandboxID)
// Fork sandbox
// (POST /sandboxes/{sandboxID}/fork)
PostSandboxesSandboxIDFork(c *gin.Context, sandboxID SandboxID)
// Sandbox logs
// (GET /sandboxes/{sandboxID}/logs)
GetSandboxesSandboxIDLogs(c *gin.Context, sandboxID SandboxID, params GetSandboxesSandboxIDLogsParams)
// Sandbox metrics
// (GET /sandboxes/{sandboxID}/metrics)
GetSandboxesSandboxIDMetrics(c *gin.Context, sandboxID SandboxID, params GetSandboxesSandboxIDMetricsParams)
// Update sandbox network
// (PUT /sandboxes/{sandboxID}/network)
PutSandboxesSandboxIDNetwork(c *gin.Context, sandboxID SandboxID)
// Pause sandbox
// (POST /sandboxes/{sandboxID}/pause)
PostSandboxesSandboxIDPause(c *gin.Context, sandboxID SandboxID)
// Refresh sandbox
// (POST /sandboxes/{sandboxID}/refreshes)
PostSandboxesSandboxIDRefreshes(c *gin.Context, sandboxID SandboxID)
// Resume sandbox
// (POST /sandboxes/{sandboxID}/resume)
PostSandboxesSandboxIDResume(c *gin.Context, sandboxID SandboxID)
// Create snapshot
// (POST /sandboxes/{sandboxID}/snapshots)
PostSandboxesSandboxIDSnapshots(c *gin.Context, sandboxID SandboxID)
// Set sandbox timeout
// (POST /sandboxes/{sandboxID}/timeout)
PostSandboxesSandboxIDTimeout(c *gin.Context, sandboxID SandboxID)
// List project secrets
// (GET /secrets)
GetSecrets(c *gin.Context, params GetSecretsParams)
// Create a secret
// (POST /secrets)
PostSecrets(c *gin.Context)
// Delete a secret
// (DELETE /secrets/{secretID})
DeleteSecretsSecretID(c *gin.Context, secretID SecretID)
// Get a secret
// (GET /secrets/{secretID})
GetSecretsSecretID(c *gin.Context, secretID SecretID)
// Update a secret
// (POST /secrets/{secretID})
PostSecretsSecretID(c *gin.Context, secretID SecretID)
// List snapshots
// (GET /snapshots)
GetSnapshots(c *gin.Context, params GetSnapshotsParams)
// List teams
// (GET /teams)
GetTeams(c *gin.Context)
// Team metrics
// (GET /teams/{teamID}/metrics)
GetTeamsTeamIDMetrics(c *gin.Context, teamID TeamID, params GetTeamsTeamIDMetricsParams)
// Maximum team metrics
// (GET /teams/{teamID}/metrics/max)
GetTeamsTeamIDMetricsMax(c *gin.Context, teamID TeamID, params GetTeamsTeamIDMetricsMaxParams)
// List templates
// (GET /templates)
GetTemplates(c *gin.Context, params GetTemplatesParams)
// Create template
// (POST /templates)
PostTemplates(c *gin.Context)
// Check template alias
// (GET /templates/aliases/{alias})
GetTemplatesAliasesAlias(c *gin.Context, alias string)
// Delete template tags
// (DELETE /templates/tags)
DeleteTemplatesTags(c *gin.Context)
// Assign template tags
// (POST /templates/tags)
PostTemplatesTags(c *gin.Context)
// Delete template
// (DELETE /templates/{templateID})
DeleteTemplatesTemplateID(c *gin.Context, templateID TemplateID)
// List template builds
// (GET /templates/{templateID})
GetTemplatesTemplateID(c *gin.Context, templateID TemplateID, params GetTemplatesTemplateIDParams)
// Update template
// (PATCH /templates/{templateID})
PatchTemplatesTemplateID(c *gin.Context, templateID TemplateID)
// Rebuild template
// (POST /templates/{templateID})
PostTemplatesTemplateID(c *gin.Context, templateID TemplateID)
// Start template build
// (POST /templates/{templateID}/builds/{buildID})
PostTemplatesTemplateIDBuildsBuildID(c *gin.Context, templateID TemplateID, buildID BuildID)
// Template build logs
// (GET /templates/{templateID}/builds/{buildID}/logs)
GetTemplatesTemplateIDBuildsBuildIDLogs(c *gin.Context, templateID TemplateID, buildID BuildID, params GetTemplatesTemplateIDBuildsBuildIDLogsParams)
// Template build status
// (GET /templates/{templateID}/builds/{buildID}/status)
GetTemplatesTemplateIDBuildsBuildIDStatus(c *gin.Context, templateID TemplateID, buildID BuildID, params GetTemplatesTemplateIDBuildsBuildIDStatusParams)
// Template build file upload URL
// (GET /templates/{templateID}/files/{hash})
GetTemplatesTemplateIDFilesHash(c *gin.Context, templateID TemplateID, hash string)
// List template tags
// (GET /templates/{templateID}/tags)
GetTemplatesTemplateIDTags(c *gin.Context, templateID TemplateID)
// List sandboxes (v2)
// (GET /v2/sandboxes)
GetV2Sandboxes(c *gin.Context, params GetV2SandboxesParams)
// Sandbox logs (v2)
// (GET /v2/sandboxes/{sandboxID}/logs)
GetV2SandboxesSandboxIDLogs(c *gin.Context, sandboxID SandboxID, params GetV2SandboxesSandboxIDLogsParams)
// List templates (v2)
// (GET /v2/templates)
GetV2Templates(c *gin.Context, params GetV2TemplatesParams)
// Create template (v2)
// (POST /v2/templates)
PostV2Templates(c *gin.Context)
// Update template (v2)
// (PATCH /v2/templates/{templateID})
PatchV2TemplatesTemplateID(c *gin.Context, templateID TemplateID)
// Start template build (v2)
// (POST /v2/templates/{templateID}/builds/{buildID})
PostV2TemplatesTemplateIDBuildsBuildID(c *gin.Context, templateID TemplateID, buildID BuildID)
// Create template (v3)
// (POST /v3/templates)
PostV3Templates(c *gin.Context)
// List team volumes
// (GET /volumes)
GetVolumes(c *gin.Context)
// Create team volume
// (POST /volumes)
PostVolumes(c *gin.Context)
// Delete team volume
// (DELETE /volumes/{volumeID})
DeleteVolumesVolumeID(c *gin.Context, volumeID VolumeID)
// Team volume
// (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) DeleteAdminTeamsTeamIDApiKeysApiKeyID ¶ added in v0.0.7
func (siw *ServerInterfaceWrapper) DeleteAdminTeamsTeamIDApiKeysApiKeyID(c *gin.Context)
DeleteAdminTeamsTeamIDApiKeysApiKeyID 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) DeleteSecretsSecretID ¶ added in v0.0.10
func (siw *ServerInterfaceWrapper) DeleteSecretsSecretID(c *gin.Context)
DeleteSecretsSecretID 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) GetAdminSandboxesRunningCounts ¶ added in v0.0.10
func (siw *ServerInterfaceWrapper) GetAdminSandboxesRunningCounts(c *gin.Context)
GetAdminSandboxesRunningCounts 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) GetSecrets ¶ added in v0.0.10
func (siw *ServerInterfaceWrapper) GetSecrets(c *gin.Context)
GetSecrets operation middleware
func (*ServerInterfaceWrapper) GetSecretsSecretID ¶ added in v0.0.10
func (siw *ServerInterfaceWrapper) GetSecretsSecretID(c *gin.Context)
GetSecretsSecretID 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) GetV2Templates ¶ added in v0.0.10
func (siw *ServerInterfaceWrapper) GetV2Templates(c *gin.Context)
GetV2Templates 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) PostAdminTeamsTeamIDApiKeys ¶ added in v0.0.7
func (siw *ServerInterfaceWrapper) PostAdminTeamsTeamIDApiKeys(c *gin.Context)
PostAdminTeamsTeamIDApiKeys 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) PostSandboxesSandboxIDFork ¶ added in v0.0.10
func (siw *ServerInterfaceWrapper) PostSandboxesSandboxIDFork(c *gin.Context)
PostSandboxesSandboxIDFork 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) PostSecrets ¶ added in v0.0.10
func (siw *ServerInterfaceWrapper) PostSecrets(c *gin.Context)
PostSecrets operation middleware
func (*ServerInterfaceWrapper) PostSecretsSecretID ¶ added in v0.0.10
func (siw *ServerInterfaceWrapper) PostSecretsSecretID(c *gin.Context)
PostSecretsSecretID 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
func (*ServerInterfaceWrapper) PutSandboxesSandboxIDNetwork ¶ added in v0.0.7
func (siw *ServerInterfaceWrapper) PutSandboxesSandboxIDNetwork(c *gin.Context)
PutSandboxesSandboxIDNetwork 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 {
// Create access token
// (POST /access-tokens)
PostAccessTokens(ctx context.Context, request PostAccessTokensRequestObject) (PostAccessTokensResponseObject, error)
// Delete access token
// (DELETE /access-tokens/{accessTokenID})
DeleteAccessTokensAccessTokenID(ctx context.Context, request DeleteAccessTokensAccessTokenIDRequestObject) (DeleteAccessTokensAccessTokenIDResponseObject, error)
// Count running sandboxes by team
// (GET /admin/sandboxes/running-counts)
GetAdminSandboxesRunningCounts(ctx context.Context, request GetAdminSandboxesRunningCountsRequestObject) (GetAdminSandboxesRunningCountsResponseObject, error)
// Create team API key as admin
// (POST /admin/teams/{teamID}/api-keys)
PostAdminTeamsTeamIDApiKeys(ctx context.Context, request PostAdminTeamsTeamIDApiKeysRequestObject) (PostAdminTeamsTeamIDApiKeysResponseObject, error)
// Delete team API key as admin
// (DELETE /admin/teams/{teamID}/api-keys/{apiKeyID})
DeleteAdminTeamsTeamIDApiKeysApiKeyID(ctx context.Context, request DeleteAdminTeamsTeamIDApiKeysApiKeyIDRequestObject) (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponseObject, 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)
// List team API keys
// (GET /api-keys)
GetApiKeys(ctx context.Context, request GetApiKeysRequestObject) (GetApiKeysResponseObject, error)
// Create team API key
// (POST /api-keys)
PostApiKeys(ctx context.Context, request PostApiKeysRequestObject) (PostApiKeysResponseObject, error)
// Delete team API key
// (DELETE /api-keys/{apiKeyID})
DeleteApiKeysApiKeyID(ctx context.Context, request DeleteApiKeysApiKeyIDRequestObject) (DeleteApiKeysApiKeyIDResponseObject, error)
// Update team API key
// (PATCH /api-keys/{apiKeyID})
PatchApiKeysApiKeyID(ctx context.Context, request PatchApiKeysApiKeyIDRequestObject) (PatchApiKeysApiKeyIDResponseObject, error)
// Health check
// (GET /health)
GetHealth(ctx context.Context, request GetHealthRequestObject) (GetHealthResponseObject, error)
// List nodes
// (GET /nodes)
GetNodes(ctx context.Context, request GetNodesRequestObject) (GetNodesResponseObject, error)
// Node info
// (GET /nodes/{nodeID})
GetNodesNodeID(ctx context.Context, request GetNodesNodeIDRequestObject) (GetNodesNodeIDResponseObject, error)
// Change node status
// (POST /nodes/{nodeID})
PostNodesNodeID(ctx context.Context, request PostNodesNodeIDRequestObject) (PostNodesNodeIDResponseObject, error)
// List running sandboxes
// (GET /sandboxes)
GetSandboxes(ctx context.Context, request GetSandboxesRequestObject) (GetSandboxesResponseObject, error)
// Create sandbox
// (POST /sandboxes)
PostSandboxes(ctx context.Context, request PostSandboxesRequestObject) (PostSandboxesResponseObject, error)
// List sandbox metrics
// (GET /sandboxes/metrics)
GetSandboxesMetrics(ctx context.Context, request GetSandboxesMetricsRequestObject) (GetSandboxesMetricsResponseObject, error)
// Kill sandbox
// (DELETE /sandboxes/{sandboxID})
DeleteSandboxesSandboxID(ctx context.Context, request DeleteSandboxesSandboxIDRequestObject) (DeleteSandboxesSandboxIDResponseObject, error)
// Sandbox
// (GET /sandboxes/{sandboxID})
GetSandboxesSandboxID(ctx context.Context, request GetSandboxesSandboxIDRequestObject) (GetSandboxesSandboxIDResponseObject, error)
// Connect sandbox
// (POST /sandboxes/{sandboxID}/connect)
PostSandboxesSandboxIDConnect(ctx context.Context, request PostSandboxesSandboxIDConnectRequestObject) (PostSandboxesSandboxIDConnectResponseObject, error)
// Fork sandbox
// (POST /sandboxes/{sandboxID}/fork)
PostSandboxesSandboxIDFork(ctx context.Context, request PostSandboxesSandboxIDForkRequestObject) (PostSandboxesSandboxIDForkResponseObject, error)
// Sandbox logs
// (GET /sandboxes/{sandboxID}/logs)
GetSandboxesSandboxIDLogs(ctx context.Context, request GetSandboxesSandboxIDLogsRequestObject) (GetSandboxesSandboxIDLogsResponseObject, error)
// Sandbox metrics
// (GET /sandboxes/{sandboxID}/metrics)
GetSandboxesSandboxIDMetrics(ctx context.Context, request GetSandboxesSandboxIDMetricsRequestObject) (GetSandboxesSandboxIDMetricsResponseObject, error)
// Update sandbox network
// (PUT /sandboxes/{sandboxID}/network)
PutSandboxesSandboxIDNetwork(ctx context.Context, request PutSandboxesSandboxIDNetworkRequestObject) (PutSandboxesSandboxIDNetworkResponseObject, error)
// Pause sandbox
// (POST /sandboxes/{sandboxID}/pause)
PostSandboxesSandboxIDPause(ctx context.Context, request PostSandboxesSandboxIDPauseRequestObject) (PostSandboxesSandboxIDPauseResponseObject, error)
// Refresh sandbox
// (POST /sandboxes/{sandboxID}/refreshes)
PostSandboxesSandboxIDRefreshes(ctx context.Context, request PostSandboxesSandboxIDRefreshesRequestObject) (PostSandboxesSandboxIDRefreshesResponseObject, error)
// Resume sandbox
// (POST /sandboxes/{sandboxID}/resume)
PostSandboxesSandboxIDResume(ctx context.Context, request PostSandboxesSandboxIDResumeRequestObject) (PostSandboxesSandboxIDResumeResponseObject, error)
// Create snapshot
// (POST /sandboxes/{sandboxID}/snapshots)
PostSandboxesSandboxIDSnapshots(ctx context.Context, request PostSandboxesSandboxIDSnapshotsRequestObject) (PostSandboxesSandboxIDSnapshotsResponseObject, error)
// Set sandbox timeout
// (POST /sandboxes/{sandboxID}/timeout)
PostSandboxesSandboxIDTimeout(ctx context.Context, request PostSandboxesSandboxIDTimeoutRequestObject) (PostSandboxesSandboxIDTimeoutResponseObject, error)
// List project secrets
// (GET /secrets)
GetSecrets(ctx context.Context, request GetSecretsRequestObject) (GetSecretsResponseObject, error)
// Create a secret
// (POST /secrets)
PostSecrets(ctx context.Context, request PostSecretsRequestObject) (PostSecretsResponseObject, error)
// Delete a secret
// (DELETE /secrets/{secretID})
DeleteSecretsSecretID(ctx context.Context, request DeleteSecretsSecretIDRequestObject) (DeleteSecretsSecretIDResponseObject, error)
// Get a secret
// (GET /secrets/{secretID})
GetSecretsSecretID(ctx context.Context, request GetSecretsSecretIDRequestObject) (GetSecretsSecretIDResponseObject, error)
// Update a secret
// (POST /secrets/{secretID})
PostSecretsSecretID(ctx context.Context, request PostSecretsSecretIDRequestObject) (PostSecretsSecretIDResponseObject, error)
// List snapshots
// (GET /snapshots)
GetSnapshots(ctx context.Context, request GetSnapshotsRequestObject) (GetSnapshotsResponseObject, error)
// List teams
// (GET /teams)
GetTeams(ctx context.Context, request GetTeamsRequestObject) (GetTeamsResponseObject, error)
// Team metrics
// (GET /teams/{teamID}/metrics)
GetTeamsTeamIDMetrics(ctx context.Context, request GetTeamsTeamIDMetricsRequestObject) (GetTeamsTeamIDMetricsResponseObject, error)
// Maximum team metrics
// (GET /teams/{teamID}/metrics/max)
GetTeamsTeamIDMetricsMax(ctx context.Context, request GetTeamsTeamIDMetricsMaxRequestObject) (GetTeamsTeamIDMetricsMaxResponseObject, error)
// List templates
// (GET /templates)
GetTemplates(ctx context.Context, request GetTemplatesRequestObject) (GetTemplatesResponseObject, error)
// Create template
// (POST /templates)
PostTemplates(ctx context.Context, request PostTemplatesRequestObject) (PostTemplatesResponseObject, error)
// Check template alias
// (GET /templates/aliases/{alias})
GetTemplatesAliasesAlias(ctx context.Context, request GetTemplatesAliasesAliasRequestObject) (GetTemplatesAliasesAliasResponseObject, error)
// Delete template tags
// (DELETE /templates/tags)
DeleteTemplatesTags(ctx context.Context, request DeleteTemplatesTagsRequestObject) (DeleteTemplatesTagsResponseObject, error)
// Assign template tags
// (POST /templates/tags)
PostTemplatesTags(ctx context.Context, request PostTemplatesTagsRequestObject) (PostTemplatesTagsResponseObject, error)
// Delete template
// (DELETE /templates/{templateID})
DeleteTemplatesTemplateID(ctx context.Context, request DeleteTemplatesTemplateIDRequestObject) (DeleteTemplatesTemplateIDResponseObject, error)
// List template builds
// (GET /templates/{templateID})
GetTemplatesTemplateID(ctx context.Context, request GetTemplatesTemplateIDRequestObject) (GetTemplatesTemplateIDResponseObject, error)
// Update template
// (PATCH /templates/{templateID})
PatchTemplatesTemplateID(ctx context.Context, request PatchTemplatesTemplateIDRequestObject) (PatchTemplatesTemplateIDResponseObject, error)
// Rebuild template
// (POST /templates/{templateID})
PostTemplatesTemplateID(ctx context.Context, request PostTemplatesTemplateIDRequestObject) (PostTemplatesTemplateIDResponseObject, error)
// Start template build
// (POST /templates/{templateID}/builds/{buildID})
PostTemplatesTemplateIDBuildsBuildID(ctx context.Context, request PostTemplatesTemplateIDBuildsBuildIDRequestObject) (PostTemplatesTemplateIDBuildsBuildIDResponseObject, error)
// Template build logs
// (GET /templates/{templateID}/builds/{buildID}/logs)
GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, request GetTemplatesTemplateIDBuildsBuildIDLogsRequestObject) (GetTemplatesTemplateIDBuildsBuildIDLogsResponseObject, error)
// Template build status
// (GET /templates/{templateID}/builds/{buildID}/status)
GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, request GetTemplatesTemplateIDBuildsBuildIDStatusRequestObject) (GetTemplatesTemplateIDBuildsBuildIDStatusResponseObject, error)
// Template build file upload URL
// (GET /templates/{templateID}/files/{hash})
GetTemplatesTemplateIDFilesHash(ctx context.Context, request GetTemplatesTemplateIDFilesHashRequestObject) (GetTemplatesTemplateIDFilesHashResponseObject, error)
// List template tags
// (GET /templates/{templateID}/tags)
GetTemplatesTemplateIDTags(ctx context.Context, request GetTemplatesTemplateIDTagsRequestObject) (GetTemplatesTemplateIDTagsResponseObject, error)
// List sandboxes (v2)
// (GET /v2/sandboxes)
GetV2Sandboxes(ctx context.Context, request GetV2SandboxesRequestObject) (GetV2SandboxesResponseObject, error)
// Sandbox logs (v2)
// (GET /v2/sandboxes/{sandboxID}/logs)
GetV2SandboxesSandboxIDLogs(ctx context.Context, request GetV2SandboxesSandboxIDLogsRequestObject) (GetV2SandboxesSandboxIDLogsResponseObject, error)
// List templates (v2)
// (GET /v2/templates)
GetV2Templates(ctx context.Context, request GetV2TemplatesRequestObject) (GetV2TemplatesResponseObject, error)
// Create template (v2)
// (POST /v2/templates)
PostV2Templates(ctx context.Context, request PostV2TemplatesRequestObject) (PostV2TemplatesResponseObject, error)
// Update template (v2)
// (PATCH /v2/templates/{templateID})
PatchV2TemplatesTemplateID(ctx context.Context, request PatchV2TemplatesTemplateIDRequestObject) (PatchV2TemplatesTemplateIDResponseObject, error)
// Start template build (v2)
// (POST /v2/templates/{templateID}/builds/{buildID})
PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, request PostV2TemplatesTemplateIDBuildsBuildIDRequestObject) (PostV2TemplatesTemplateIDBuildsBuildIDResponseObject, error)
// Create template (v3)
// (POST /v3/templates)
PostV3Templates(ctx context.Context, request PostV3TemplatesRequestObject) (PostV3TemplatesResponseObject, error)
// List team volumes
// (GET /volumes)
GetVolumes(ctx context.Context, request GetVolumesRequestObject) (GetVolumesResponseObject, error)
// Create team volume
// (POST /volumes)
PostVolumes(ctx context.Context, request PostVolumesRequestObject) (PostVolumesResponseObject, error)
// Delete team volume
// (DELETE /volumes/{volumeID})
DeleteVolumesVolumeID(ctx context.Context, request DeleteVolumesVolumeIDRequestObject) (DeleteVolumesVolumeIDResponseObject, error)
// Team volume
// (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 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
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Email *string `json:"email"`
// Id Identifier of the user
Id openapi_types.UUID `json:"id"`
}
TeamUser defines model for TeamUser.
type Template ¶
type Template struct {
// Aliases Aliases of the template
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Aliases []string `json:"aliases"`
// BuildCount Number of times the template was built
BuildCount int32 `json:"buildCount"`
// BuildID Identifier of the last successful build for given template
BuildID string `json:"buildID"`
// BuildStatus Status of the template build
BuildStatus TemplateBuildStatus `json:"buildStatus"`
// CpuCount CPU cores for the sandbox
CpuCount CPUCount `json:"cpuCount"`
// CreatedAt Time when the template was created
CreatedAt time.Time `json:"createdAt"`
CreatedBy *TeamUser `json:"createdBy"`
// 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 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 {
// Domain Domain to use as the destination for volume content requests,
// replacing the default `api.<E2B_DOMAIN>`. Only returned when the
// team is connected to a custom (BYOC) cluster; absent otherwise, in
// which case the default domain is used.
Domain *string `json:"domain,omitempty"`
// Name Name of the volume
Name string `json:"name"`
// Token Auth token to use for interacting with volume content
Token string `json:"token"`
// VolumeID ID of the volume
VolumeID string `json:"volumeID"`
}
VolumeAndToken defines model for VolumeAndToken.