Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewDeleteAdminTeamsTeamIDApiKeysApiKeyIDRequest(server string, teamID openapi_types.UUID, apiKeyID ApiKeyID) (*http.Request, error)
- func NewDeleteApiKeysApiKeyIDRequest(server string, apiKeyID ApiKeyID) (*http.Request, error)
- func NewDeleteSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)
- func NewDeleteSecretsSecretIDRequest(server string, secretID SecretID) (*http.Request, error)
- func NewDeleteTemplatesTagsRequest(server string, body DeleteTemplatesTagsJSONRequestBody) (*http.Request, error)
- func NewDeleteTemplatesTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteTemplatesTemplateIDRequest(server string, templateID TemplateID) (*http.Request, error)
- func NewDeleteVolumesVolumeIDRequest(server string, volumeID VolumeID) (*http.Request, error)
- func NewGetAdminSandboxesRunningCountsRequest(server string) (*http.Request, error)
- func NewGetApiKeysRequest(server string) (*http.Request, error)
- func NewGetHealthRequest(server string) (*http.Request, error)
- func NewGetNodesNodeIDRequest(server string, nodeID NodeID, params *GetNodesNodeIDParams) (*http.Request, error)
- func NewGetNodesRequest(server string, params *GetNodesParams) (*http.Request, error)
- func NewGetSandboxesMetricsRequest(server string, params *GetSandboxesMetricsParams) (*http.Request, error)
- func NewGetSandboxesRequest(server string, params *GetSandboxesParams) (*http.Request, error)
- func NewGetSandboxesSandboxIDLogsRequest(server string, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams) (*http.Request, error)
- func NewGetSandboxesSandboxIDMetricsRequest(server string, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams) (*http.Request, error)
- func NewGetSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)
- func NewGetSecretsRequest(server string, params *GetSecretsParams) (*http.Request, error)
- func NewGetSecretsSecretIDRequest(server string, secretID SecretID) (*http.Request, error)
- func NewGetSnapshotsRequest(server string, params *GetSnapshotsParams) (*http.Request, error)
- func NewGetTeamsRequest(server string) (*http.Request, error)
- func NewGetTeamsTeamIDMetricsMaxRequest(server string, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams) (*http.Request, error)
- func NewGetTeamsTeamIDMetricsRequest(server string, teamID TeamID, params *GetTeamsTeamIDMetricsParams) (*http.Request, error)
- func NewGetTemplatesAliasesAliasRequest(server string, alias string) (*http.Request, error)
- func NewGetTemplatesRequest(server string, params *GetTemplatesParams) (*http.Request, error)
- func NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest(server string, templateID TemplateID, buildID BuildID, ...) (*http.Request, error)
- func NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest(server string, templateID TemplateID, buildID BuildID, ...) (*http.Request, error)
- func NewGetTemplatesTemplateIDFilesHashRequest(server string, templateID TemplateID, hash string) (*http.Request, error)
- func NewGetTemplatesTemplateIDRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDParams) (*http.Request, error)
- func NewGetTemplatesTemplateIDTagsRequest(server string, templateID TemplateID) (*http.Request, error)
- func NewGetV2SandboxesRequest(server string, params *GetV2SandboxesParams) (*http.Request, error)
- func NewGetV2SandboxesSandboxIDLogsRequest(server string, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams) (*http.Request, error)
- func NewGetV2TemplatesRequest(server string, params *GetV2TemplatesParams) (*http.Request, error)
- func NewGetVolumesRequest(server string) (*http.Request, error)
- func NewGetVolumesVolumeIDRequest(server string, volumeID VolumeID) (*http.Request, error)
- func NewPatchApiKeysApiKeyIDRequest(server string, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody) (*http.Request, error)
- func NewPatchApiKeysApiKeyIDRequestWithBody(server string, apiKeyID ApiKeyID, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchTemplatesTemplateIDRequest(server string, templateID TemplateID, ...) (*http.Request, error)
- func NewPatchTemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchV2TemplatesTemplateIDRequest(server string, templateID TemplateID, ...) (*http.Request, error)
- func NewPatchV2TemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAdminTeamsTeamIDApiKeysRequest(server string, teamID openapi_types.UUID, ...) (*http.Request, error)
- func NewPostAdminTeamsTeamIDApiKeysRequestWithBody(server string, teamID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAdminTeamsTeamIDBuildsCancelRequest(server string, teamID openapi_types.UUID) (*http.Request, error)
- func NewPostAdminTeamsTeamIDSandboxesKillRequest(server string, teamID openapi_types.UUID) (*http.Request, error)
- func NewPostApiKeysRequest(server string, body PostApiKeysJSONRequestBody) (*http.Request, error)
- func NewPostApiKeysRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodesNodeIDRequest(server string, nodeID NodeID, body PostNodesNodeIDJSONRequestBody) (*http.Request, error)
- func NewPostNodesNodeIDRequestWithBody(server string, nodeID NodeID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSandboxesRequest(server string, body PostSandboxesJSONRequestBody) (*http.Request, error)
- func NewPostSandboxesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSandboxesSandboxIDConnectRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPostSandboxesSandboxIDConnectRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSandboxesSandboxIDForkRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPostSandboxesSandboxIDForkRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSandboxesSandboxIDPauseRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPostSandboxesSandboxIDPauseRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSandboxesSandboxIDRefreshesRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPostSandboxesSandboxIDRefreshesRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSandboxesSandboxIDResumeRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPostSandboxesSandboxIDResumeRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSandboxesSandboxIDSnapshotsRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPostSandboxesSandboxIDSnapshotsRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSandboxesSandboxIDTimeoutRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPostSandboxesSandboxIDTimeoutRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSecretsRequest(server string, body PostSecretsJSONRequestBody) (*http.Request, error)
- func NewPostSecretsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSecretsSecretIDRequest(server string, secretID SecretID, body PostSecretsSecretIDJSONRequestBody) (*http.Request, error)
- func NewPostSecretsSecretIDRequestWithBody(server string, secretID SecretID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostTemplatesRequest(server string, body PostTemplatesJSONRequestBody) (*http.Request, error)
- func NewPostTemplatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostTemplatesTagsRequest(server string, body PostTemplatesTagsJSONRequestBody) (*http.Request, error)
- func NewPostTemplatesTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostTemplatesTemplateIDBuildsBuildIDRequest(server string, templateID TemplateID, buildID BuildID) (*http.Request, error)
- func NewPostTemplatesTemplateIDRequest(server string, templateID TemplateID, ...) (*http.Request, error)
- func NewPostTemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV2TemplatesRequest(server string, body PostV2TemplatesJSONRequestBody) (*http.Request, error)
- func NewPostV2TemplatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest(server string, templateID TemplateID, buildID BuildID, ...) (*http.Request, error)
- func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody(server string, templateID TemplateID, buildID BuildID, contentType string, ...) (*http.Request, error)
- func NewPostV3TemplatesRequest(server string, body PostV3TemplatesJSONRequestBody) (*http.Request, error)
- func NewPostV3TemplatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVolumesRequest(server string, body PostVolumesJSONRequestBody) (*http.Request, error)
- func NewPostVolumesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutSandboxesSandboxIDNetworkRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPutSandboxesSandboxIDNetworkRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
- type AWSRegistry
- type AWSRegistryType
- type AdminBuildCancelResult
- type AdminSandboxKillResult
- type AdminTeamRunningSandboxCounts
- type ApiKeyID
- type AssignTemplateTagsRequest
- type AssignedTemplateTags
- type BuildID
- type BuildLogEntry
- type BuildStatusReason
- type CPUCount
- type Client
- func (c *Client) DeleteAdminTeamsTeamIDApiKeysApiKeyID(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, ...) (*http.Response, error)
- func (c *Client) DeleteApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTemplatesTags(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteTemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAdminSandboxesRunningCounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodes(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodesNodeID(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, ...) (*http.Response, error)
- func (c *Client) GetSandboxes(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSandboxesMetrics(ctx context.Context, params *GetSandboxesMetricsParams, ...) (*http.Response, error)
- func (c *Client) GetSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) GetSecrets(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSnapshots(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeamsTeamIDMetrics(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, ...) (*http.Response, error)
- func (c *Client) GetTeamsTeamIDMetricsMax(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, ...) (*http.Response, error)
- func (c *Client) GetTemplates(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTemplatesAliasesAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, ...) (*http.Response, error)
- func (c *Client) GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*http.Response, error)
- func (c *Client) GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*http.Response, error)
- func (c *Client) GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, ...) (*http.Response, error)
- func (c *Client) GetTemplatesTemplateIDTags(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2Sandboxes(ctx context.Context, params *GetV2SandboxesParams, ...) (*http.Response, error)
- func (c *Client) GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, ...) (*http.Response, error)
- func (c *Client) GetVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, ...) (*http.Response, error)
- func (c *Client) PatchApiKeysApiKeyIDWithBody(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchTemplatesTemplateID(ctx context.Context, templateID TemplateID, ...) (*http.Response, error)
- func (c *Client) PatchTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, ...) (*http.Response, error)
- func (c *Client) PatchV2TemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAdminTeamsTeamIDApiKeys(ctx context.Context, teamID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostAdminTeamsTeamIDApiKeysWithBody(ctx context.Context, teamID openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PostAdminTeamsTeamIDBuildsCancel(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostAdminTeamsTeamIDSandboxesKill(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostApiKeys(ctx context.Context, body PostApiKeysJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostApiKeysWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodesNodeID(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodesNodeIDWithBody(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSandboxes(ctx context.Context, body PostSandboxesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDFork(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDForkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDPause(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDPauseWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDRefreshes(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDRefreshesWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDResume(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDResumeWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDSnapshots(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDSnapshotsWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDTimeout(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PostSandboxesSandboxIDTimeoutWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSandboxesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSecrets(ctx context.Context, body PostSecretsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostSecretsSecretID(ctx context.Context, secretID SecretID, ...) (*http.Response, error)
- func (c *Client) PostSecretsSecretIDWithBody(ctx context.Context, secretID SecretID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSecretsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostTemplates(ctx context.Context, body PostTemplatesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostTemplatesTags(ctx context.Context, body PostTemplatesTagsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostTemplatesTemplateID(ctx context.Context, templateID TemplateID, ...) (*http.Response, error)
- func (c *Client) PostTemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*http.Response, error)
- func (c *Client) PostTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostTemplatesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV2Templates(ctx context.Context, body PostV2TemplatesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*http.Response, error)
- func (c *Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*http.Response, error)
- func (c *Client) PostV2TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV3Templates(ctx context.Context, body PostV3TemplatesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV3TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVolumes(ctx context.Context, body PostVolumesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostVolumesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutSandboxesSandboxIDNetwork(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PutSandboxesSandboxIDNetworkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, ...) (*DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse, error)
- func (c *ClientWithResponses) DeleteApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteApiKeysApiKeyIDResponse, error)
- func (c *ClientWithResponses) DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)
- func (c *ClientWithResponses) DeleteSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*DeleteSecretsSecretIDResponse, error)
- func (c *ClientWithResponses) DeleteTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteTemplatesTagsResponse, error)
- func (c *ClientWithResponses) DeleteTemplatesTagsWithResponse(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, ...) (*DeleteTemplatesTagsResponse, error)
- func (c *ClientWithResponses) DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)
- func (c *ClientWithResponses) DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)
- func (c *ClientWithResponses) GetAdminSandboxesRunningCountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminSandboxesRunningCountsResponse, error)
- func (c *ClientWithResponses) GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)
- func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
- func (c *ClientWithResponses) GetNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, ...) (*GetNodesNodeIDResponse, error)
- func (c *ClientWithResponses) GetNodesWithResponse(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*GetNodesResponse, error)
- func (c *ClientWithResponses) GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, ...) (*GetSandboxesMetricsResponse, error)
- func (c *ClientWithResponses) GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*GetSandboxesSandboxIDLogsResponse, error)deprecated
- func (c *ClientWithResponses) GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*GetSandboxesSandboxIDMetricsResponse, error)
- func (c *ClientWithResponses) GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)
- func (c *ClientWithResponses) GetSandboxesWithResponse(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*GetSandboxesResponse, error)deprecated
- func (c *ClientWithResponses) GetSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*GetSecretsSecretIDResponse, error)
- func (c *ClientWithResponses) GetSecretsWithResponse(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)
- func (c *ClientWithResponses) GetSnapshotsWithResponse(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*GetSnapshotsResponse, error)
- func (c *ClientWithResponses) GetTeamsTeamIDMetricsMaxWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, ...) (*GetTeamsTeamIDMetricsMaxResponse, error)
- func (c *ClientWithResponses) GetTeamsTeamIDMetricsWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, ...) (*GetTeamsTeamIDMetricsResponse, error)
- func (c *ClientWithResponses) GetTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
- func (c *ClientWithResponses) GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)
- func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)
- func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)
- func (c *ClientWithResponses) GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, ...) (*GetTemplatesTemplateIDFilesHashResponse, error)
- func (c *ClientWithResponses) GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)
- func (c *ClientWithResponses) GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, ...) (*GetTemplatesTemplateIDResponse, error)
- func (c *ClientWithResponses) GetTemplatesWithResponse(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)deprecated
- func (c *ClientWithResponses) GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*GetV2SandboxesSandboxIDLogsResponse, error)
- func (c *ClientWithResponses) GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, ...) (*GetV2SandboxesResponse, error)
- func (c *ClientWithResponses) GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, ...) (*GetV2TemplatesResponse, error)
- func (c *ClientWithResponses) GetVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*GetVolumesVolumeIDResponse, error)
- func (c *ClientWithResponses) GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)
- func (c *ClientWithResponses) PatchApiKeysApiKeyIDWithBodyWithResponse(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, ...) (*PatchApiKeysApiKeyIDResponse, error)
- func (c *ClientWithResponses) PatchApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, ...) (*PatchApiKeysApiKeyIDResponse, error)
- func (c *ClientWithResponses) PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, ...) (*PatchTemplatesTemplateIDResponse, error)deprecated
- func (c *ClientWithResponses) PatchTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, ...) (*PatchTemplatesTemplateIDResponse, error)
- func (c *ClientWithResponses) PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, ...) (*PatchV2TemplatesTemplateIDResponse, error)
- func (c *ClientWithResponses) PatchV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, ...) (*PatchV2TemplatesTemplateIDResponse, error)
- func (c *ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithBodyWithResponse(ctx context.Context, teamID openapi_types.UUID, contentType string, ...) (*PostAdminTeamsTeamIDApiKeysResponse, error)
- func (c *ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithResponse(ctx context.Context, teamID openapi_types.UUID, ...) (*PostAdminTeamsTeamIDApiKeysResponse, error)
- func (c *ClientWithResponses) PostAdminTeamsTeamIDBuildsCancelWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)
- func (c *ClientWithResponses) PostAdminTeamsTeamIDSandboxesKillWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)
- func (c *ClientWithResponses) PostApiKeysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiKeysResponse, error)
- func (c *ClientWithResponses) PostApiKeysWithResponse(ctx context.Context, body PostApiKeysJSONRequestBody, ...) (*PostApiKeysResponse, error)
- func (c *ClientWithResponses) PostNodesNodeIDWithBodyWithResponse(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, ...) (*PostNodesNodeIDResponse, error)
- func (c *ClientWithResponses) PostNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, ...) (*PostNodesNodeIDResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PostSandboxesSandboxIDConnectResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PostSandboxesSandboxIDConnectResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDForkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PostSandboxesSandboxIDForkResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDForkWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PostSandboxesSandboxIDForkResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDPauseWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PostSandboxesSandboxIDPauseResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDPauseWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PostSandboxesSandboxIDPauseResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDRefreshesWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PostSandboxesSandboxIDRefreshesResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDRefreshesWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PostSandboxesSandboxIDRefreshesResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDResumeWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PostSandboxesSandboxIDResumeResponse, error)deprecated
- func (c *ClientWithResponses) PostSandboxesSandboxIDResumeWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PostSandboxesSandboxIDResumeResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PostSandboxesSandboxIDSnapshotsResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PostSandboxesSandboxIDSnapshotsResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDTimeoutWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PostSandboxesSandboxIDTimeoutResponse, error)
- func (c *ClientWithResponses) PostSandboxesSandboxIDTimeoutWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PostSandboxesSandboxIDTimeoutResponse, error)
- func (c *ClientWithResponses) PostSandboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostSandboxesResponse, error)
- func (c *ClientWithResponses) PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, ...) (*PostSandboxesResponse, error)
- func (c *ClientWithResponses) PostSecretsSecretIDWithBodyWithResponse(ctx context.Context, secretID SecretID, contentType string, body io.Reader, ...) (*PostSecretsSecretIDResponse, error)
- func (c *ClientWithResponses) PostSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, ...) (*PostSecretsSecretIDResponse, error)
- func (c *ClientWithResponses) PostSecretsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostSecretsResponse, error)
- func (c *ClientWithResponses) PostSecretsWithResponse(ctx context.Context, body PostSecretsJSONRequestBody, ...) (*PostSecretsResponse, error)
- func (c *ClientWithResponses) PostTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostTemplatesTagsResponse, error)
- func (c *ClientWithResponses) PostTemplatesTagsWithResponse(ctx context.Context, body PostTemplatesTagsJSONRequestBody, ...) (*PostTemplatesTagsResponse, error)
- func (c *ClientWithResponses) PostTemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*PostTemplatesTemplateIDBuildsBuildIDResponse, error)deprecated
- func (c *ClientWithResponses) PostTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, ...) (*PostTemplatesTemplateIDResponse, error)deprecated
- func (c *ClientWithResponses) PostTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, ...) (*PostTemplatesTemplateIDResponse, error)
- func (c *ClientWithResponses) PostTemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostTemplatesResponse, error)deprecated
- func (c *ClientWithResponses) PostTemplatesWithResponse(ctx context.Context, body PostTemplatesJSONRequestBody, ...) (*PostTemplatesResponse, error)
- func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
- func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, ...) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
- func (c *ClientWithResponses) PostV2TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV2TemplatesResponse, error)deprecated
- func (c *ClientWithResponses) PostV2TemplatesWithResponse(ctx context.Context, body PostV2TemplatesJSONRequestBody, ...) (*PostV2TemplatesResponse, error)
- func (c *ClientWithResponses) PostV3TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV3TemplatesResponse, error)
- func (c *ClientWithResponses) PostV3TemplatesWithResponse(ctx context.Context, body PostV3TemplatesJSONRequestBody, ...) (*PostV3TemplatesResponse, error)
- func (c *ClientWithResponses) PostVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostVolumesResponse, error)
- func (c *ClientWithResponses) PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, ...) (*PostVolumesResponse, error)
- func (c *ClientWithResponses) PutSandboxesSandboxIDNetworkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PutSandboxesSandboxIDNetworkResponse, error)
- func (c *ClientWithResponses) PutSandboxesSandboxIDNetworkWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PutSandboxesSandboxIDNetworkResponse, error)
- type ClientWithResponsesInterface
- type ConnectSandbox
- type CreatedTeamAPIKey
- type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) ContentType() string
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetBody() []byte
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON400() *N400
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON401() *N401
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON404() *N404
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON500() *N500
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) Status() string
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) StatusCode() int
- type DeleteApiKeysApiKeyIDResponse
- func (r DeleteApiKeysApiKeyIDResponse) ContentType() string
- func (r DeleteApiKeysApiKeyIDResponse) GetBody() []byte
- func (r DeleteApiKeysApiKeyIDResponse) GetJSON401() *N401
- func (r DeleteApiKeysApiKeyIDResponse) GetJSON404() *N404
- func (r DeleteApiKeysApiKeyIDResponse) GetJSON500() *N500
- func (r DeleteApiKeysApiKeyIDResponse) Status() string
- func (r DeleteApiKeysApiKeyIDResponse) StatusCode() int
- type DeleteSandboxesSandboxIDResponse
- func (r DeleteSandboxesSandboxIDResponse) ContentType() string
- func (r DeleteSandboxesSandboxIDResponse) GetBody() []byte
- func (r DeleteSandboxesSandboxIDResponse) GetJSON401() *N401
- func (r DeleteSandboxesSandboxIDResponse) GetJSON404() *N404
- func (r DeleteSandboxesSandboxIDResponse) GetJSON500() *N500
- func (r DeleteSandboxesSandboxIDResponse) Status() string
- func (r DeleteSandboxesSandboxIDResponse) StatusCode() int
- type DeleteSecretsSecretIDResponse
- func (r DeleteSecretsSecretIDResponse) ContentType() string
- func (r DeleteSecretsSecretIDResponse) GetBody() []byte
- func (r DeleteSecretsSecretIDResponse) GetJSON400() *N400
- func (r DeleteSecretsSecretIDResponse) GetJSON401() *N401
- func (r DeleteSecretsSecretIDResponse) GetJSON403() *N403
- func (r DeleteSecretsSecretIDResponse) GetJSON404() *N404
- func (r DeleteSecretsSecretIDResponse) GetJSON409() *N409
- func (r DeleteSecretsSecretIDResponse) GetJSON429() *N429
- func (r DeleteSecretsSecretIDResponse) GetJSON500() *N500
- func (r DeleteSecretsSecretIDResponse) GetJSON502() *N502
- func (r DeleteSecretsSecretIDResponse) GetJSON504() *N504
- func (r DeleteSecretsSecretIDResponse) Status() string
- func (r DeleteSecretsSecretIDResponse) StatusCode() int
- type DeleteTemplateTagsRequest
- type DeleteTemplatesTagsJSONRequestBody
- type DeleteTemplatesTagsResponse
- func (r DeleteTemplatesTagsResponse) ContentType() string
- func (r DeleteTemplatesTagsResponse) GetBody() []byte
- func (r DeleteTemplatesTagsResponse) GetJSON400() *N400
- func (r DeleteTemplatesTagsResponse) GetJSON401() *N401
- func (r DeleteTemplatesTagsResponse) GetJSON404() *N404
- func (r DeleteTemplatesTagsResponse) GetJSON500() *N500
- func (r DeleteTemplatesTagsResponse) Status() string
- func (r DeleteTemplatesTagsResponse) StatusCode() int
- type DeleteTemplatesTemplateIDResponse
- func (r DeleteTemplatesTemplateIDResponse) ContentType() string
- func (r DeleteTemplatesTemplateIDResponse) GetBody() []byte
- func (r DeleteTemplatesTemplateIDResponse) GetJSON401() *N401
- func (r DeleteTemplatesTemplateIDResponse) GetJSON500() *N500
- func (r DeleteTemplatesTemplateIDResponse) Status() string
- func (r DeleteTemplatesTemplateIDResponse) StatusCode() int
- type DeleteVolumesVolumeIDResponse
- func (r DeleteVolumesVolumeIDResponse) ContentType() string
- func (r DeleteVolumesVolumeIDResponse) GetBody() []byte
- func (r DeleteVolumesVolumeIDResponse) GetJSON401() *N401
- func (r DeleteVolumesVolumeIDResponse) GetJSON404() *N404
- func (r DeleteVolumesVolumeIDResponse) GetJSON500() *N500
- func (r DeleteVolumesVolumeIDResponse) Status() string
- func (r DeleteVolumesVolumeIDResponse) StatusCode() int
- 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 GetAdminSandboxesRunningCountsResponse
- func (r GetAdminSandboxesRunningCountsResponse) ContentType() string
- func (r GetAdminSandboxesRunningCountsResponse) GetBody() []byte
- func (r GetAdminSandboxesRunningCountsResponse) GetJSON200() *AdminTeamRunningSandboxCounts
- func (r GetAdminSandboxesRunningCountsResponse) GetJSON401() *N401
- func (r GetAdminSandboxesRunningCountsResponse) GetJSON500() *N500
- func (r GetAdminSandboxesRunningCountsResponse) Status() string
- func (r GetAdminSandboxesRunningCountsResponse) StatusCode() int
- type GetApiKeysResponse
- func (r GetApiKeysResponse) ContentType() string
- func (r GetApiKeysResponse) GetBody() []byte
- func (r GetApiKeysResponse) GetJSON200() *[]TeamAPIKey
- func (r GetApiKeysResponse) GetJSON401() *N401
- func (r GetApiKeysResponse) GetJSON500() *N500
- func (r GetApiKeysResponse) Status() string
- func (r GetApiKeysResponse) StatusCode() int
- type GetHealthResponse
- type GetNodesNodeIDParams
- type GetNodesNodeIDResponse
- func (r GetNodesNodeIDResponse) ContentType() string
- func (r GetNodesNodeIDResponse) GetBody() []byte
- func (r GetNodesNodeIDResponse) GetJSON200() *NodeDetail
- func (r GetNodesNodeIDResponse) GetJSON401() *N401
- func (r GetNodesNodeIDResponse) GetJSON404() *N404
- func (r GetNodesNodeIDResponse) GetJSON500() *N500
- func (r GetNodesNodeIDResponse) Status() string
- func (r GetNodesNodeIDResponse) StatusCode() int
- type GetNodesParams
- type GetNodesResponse
- func (r GetNodesResponse) ContentType() string
- func (r GetNodesResponse) GetBody() []byte
- func (r GetNodesResponse) GetJSON200() *[]Node
- func (r GetNodesResponse) GetJSON401() *N401
- func (r GetNodesResponse) GetJSON500() *N500
- func (r GetNodesResponse) Status() string
- func (r GetNodesResponse) StatusCode() int
- type GetSandboxesMetricsParams
- type GetSandboxesMetricsResponse
- func (r GetSandboxesMetricsResponse) ContentType() string
- func (r GetSandboxesMetricsResponse) GetBody() []byte
- func (r GetSandboxesMetricsResponse) GetJSON200() *SandboxesWithMetrics
- func (r GetSandboxesMetricsResponse) GetJSON400() *N400
- func (r GetSandboxesMetricsResponse) GetJSON401() *N401
- func (r GetSandboxesMetricsResponse) GetJSON500() *N500
- func (r GetSandboxesMetricsResponse) Status() string
- func (r GetSandboxesMetricsResponse) StatusCode() int
- type GetSandboxesParams
- type GetSandboxesResponse
- func (r GetSandboxesResponse) ContentType() string
- func (r GetSandboxesResponse) GetBody() []byte
- func (r GetSandboxesResponse) GetJSON200() *[]ListedSandbox
- func (r GetSandboxesResponse) GetJSON400() *N400
- func (r GetSandboxesResponse) GetJSON401() *N401
- func (r GetSandboxesResponse) GetJSON500() *N500
- func (r GetSandboxesResponse) Status() string
- func (r GetSandboxesResponse) StatusCode() int
- type GetSandboxesSandboxIDLogsParams
- type GetSandboxesSandboxIDLogsResponse
- func (r GetSandboxesSandboxIDLogsResponse) ContentType() string
- func (r GetSandboxesSandboxIDLogsResponse) GetBody() []byte
- func (r GetSandboxesSandboxIDLogsResponse) GetJSON200() *SandboxLogs
- func (r GetSandboxesSandboxIDLogsResponse) GetJSON401() *N401
- func (r GetSandboxesSandboxIDLogsResponse) GetJSON404() *N404
- func (r GetSandboxesSandboxIDLogsResponse) GetJSON500() *N500
- func (r GetSandboxesSandboxIDLogsResponse) Status() string
- func (r GetSandboxesSandboxIDLogsResponse) StatusCode() int
- type GetSandboxesSandboxIDMetricsParams
- type GetSandboxesSandboxIDMetricsResponse
- func (r GetSandboxesSandboxIDMetricsResponse) ContentType() string
- func (r GetSandboxesSandboxIDMetricsResponse) GetBody() []byte
- func (r GetSandboxesSandboxIDMetricsResponse) GetJSON200() *[]SandboxMetric
- func (r GetSandboxesSandboxIDMetricsResponse) GetJSON400() *N400
- func (r GetSandboxesSandboxIDMetricsResponse) GetJSON401() *N401
- func (r GetSandboxesSandboxIDMetricsResponse) GetJSON404() *N404
- func (r GetSandboxesSandboxIDMetricsResponse) GetJSON500() *N500
- func (r GetSandboxesSandboxIDMetricsResponse) Status() string
- func (r GetSandboxesSandboxIDMetricsResponse) StatusCode() int
- type GetSandboxesSandboxIDResponse
- func (r GetSandboxesSandboxIDResponse) ContentType() string
- func (r GetSandboxesSandboxIDResponse) GetBody() []byte
- func (r GetSandboxesSandboxIDResponse) GetJSON200() *SandboxDetail
- func (r GetSandboxesSandboxIDResponse) GetJSON401() *N401
- func (r GetSandboxesSandboxIDResponse) GetJSON404() *N404
- func (r GetSandboxesSandboxIDResponse) GetJSON500() *N500
- func (r GetSandboxesSandboxIDResponse) Status() string
- func (r GetSandboxesSandboxIDResponse) StatusCode() int
- type GetSecretsParams
- type GetSecretsResponse
- func (r GetSecretsResponse) ContentType() string
- func (r GetSecretsResponse) GetBody() []byte
- func (r GetSecretsResponse) GetJSON200() *[]Secret
- func (r GetSecretsResponse) GetJSON400() *N400
- func (r GetSecretsResponse) GetJSON401() *N401
- func (r GetSecretsResponse) GetJSON403() *N403
- func (r GetSecretsResponse) GetJSON404() *N404
- func (r GetSecretsResponse) GetJSON409() *N409
- func (r GetSecretsResponse) GetJSON429() *N429
- func (r GetSecretsResponse) GetJSON500() *N500
- func (r GetSecretsResponse) GetJSON502() *N502
- func (r GetSecretsResponse) GetJSON504() *N504
- func (r GetSecretsResponse) Status() string
- func (r GetSecretsResponse) StatusCode() int
- type GetSecretsResponse200Headers
- type GetSecretsSecretIDResponse
- func (r GetSecretsSecretIDResponse) ContentType() string
- func (r GetSecretsSecretIDResponse) GetBody() []byte
- func (r GetSecretsSecretIDResponse) GetJSON200() *Secret
- func (r GetSecretsSecretIDResponse) GetJSON400() *N400
- func (r GetSecretsSecretIDResponse) GetJSON401() *N401
- func (r GetSecretsSecretIDResponse) GetJSON403() *N403
- func (r GetSecretsSecretIDResponse) GetJSON404() *N404
- func (r GetSecretsSecretIDResponse) GetJSON409() *N409
- func (r GetSecretsSecretIDResponse) GetJSON429() *N429
- func (r GetSecretsSecretIDResponse) GetJSON500() *N500
- func (r GetSecretsSecretIDResponse) GetJSON502() *N502
- func (r GetSecretsSecretIDResponse) GetJSON504() *N504
- func (r GetSecretsSecretIDResponse) Status() string
- func (r GetSecretsSecretIDResponse) StatusCode() int
- type GetSnapshotsParams
- type GetSnapshotsResponse
- func (r GetSnapshotsResponse) ContentType() string
- func (r GetSnapshotsResponse) GetBody() []byte
- func (r GetSnapshotsResponse) GetJSON200() *[]SnapshotInfo
- func (r GetSnapshotsResponse) GetJSON401() *N401
- func (r GetSnapshotsResponse) GetJSON500() *N500
- func (r GetSnapshotsResponse) Status() string
- func (r GetSnapshotsResponse) StatusCode() int
- type GetSnapshotsResponse200Headers
- type GetTeamsResponse
- func (r GetTeamsResponse) ContentType() string
- func (r GetTeamsResponse) GetBody() []byte
- func (r GetTeamsResponse) GetJSON200() *[]Team
- func (r GetTeamsResponse) GetJSON401() *N401
- func (r GetTeamsResponse) GetJSON500() *N500
- func (r GetTeamsResponse) Status() string
- func (r GetTeamsResponse) StatusCode() int
- type GetTeamsTeamIDMetricsMaxParams
- type GetTeamsTeamIDMetricsMaxParamsMetric
- type GetTeamsTeamIDMetricsMaxResponse
- func (r GetTeamsTeamIDMetricsMaxResponse) ContentType() string
- func (r GetTeamsTeamIDMetricsMaxResponse) GetBody() []byte
- func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON200() *MaxTeamMetric
- func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON400() *N400
- func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON401() *N401
- func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON403() *N403
- func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON500() *N500
- func (r GetTeamsTeamIDMetricsMaxResponse) Status() string
- func (r GetTeamsTeamIDMetricsMaxResponse) StatusCode() int
- type GetTeamsTeamIDMetricsParams
- type GetTeamsTeamIDMetricsResponse
- func (r GetTeamsTeamIDMetricsResponse) ContentType() string
- func (r GetTeamsTeamIDMetricsResponse) GetBody() []byte
- func (r GetTeamsTeamIDMetricsResponse) GetJSON200() *[]TeamMetric
- func (r GetTeamsTeamIDMetricsResponse) GetJSON400() *N400
- func (r GetTeamsTeamIDMetricsResponse) GetJSON401() *N401
- func (r GetTeamsTeamIDMetricsResponse) GetJSON403() *N403
- func (r GetTeamsTeamIDMetricsResponse) GetJSON500() *N500
- func (r GetTeamsTeamIDMetricsResponse) Status() string
- func (r GetTeamsTeamIDMetricsResponse) StatusCode() int
- type GetTemplatesAliasesAliasResponse
- func (r GetTemplatesAliasesAliasResponse) ContentType() string
- func (r GetTemplatesAliasesAliasResponse) GetBody() []byte
- func (r GetTemplatesAliasesAliasResponse) GetJSON200() *TemplateAliasResponse
- func (r GetTemplatesAliasesAliasResponse) GetJSON400() *N400
- func (r GetTemplatesAliasesAliasResponse) GetJSON403() *N403
- func (r GetTemplatesAliasesAliasResponse) GetJSON404() *N404
- func (r GetTemplatesAliasesAliasResponse) GetJSON500() *N500
- func (r GetTemplatesAliasesAliasResponse) Status() string
- func (r GetTemplatesAliasesAliasResponse) StatusCode() int
- type GetTemplatesParams
- type GetTemplatesResponse
- func (r GetTemplatesResponse) ContentType() string
- func (r GetTemplatesResponse) GetBody() []byte
- func (r GetTemplatesResponse) GetJSON200() *[]Template
- func (r GetTemplatesResponse) GetJSON401() *N401
- func (r GetTemplatesResponse) GetJSON500() *N500
- func (r GetTemplatesResponse) Status() string
- func (r GetTemplatesResponse) StatusCode() int
- type GetTemplatesTemplateIDBuildsBuildIDLogsParams
- type GetTemplatesTemplateIDBuildsBuildIDLogsResponse
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) ContentType() string
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetBody() []byte
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON200() *TemplateBuildLogsResponse
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON401() *N401
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON404() *N404
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) Status() string
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) StatusCode() int
- type GetTemplatesTemplateIDBuildsBuildIDStatusParams
- type GetTemplatesTemplateIDBuildsBuildIDStatusResponse
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) ContentType() string
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetBody() []byte
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON200() *TemplateBuildInfo
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON401() *N401
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON404() *N404
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) Status() string
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) StatusCode() int
- type GetTemplatesTemplateIDFilesHashResponse
- func (r GetTemplatesTemplateIDFilesHashResponse) ContentType() string
- func (r GetTemplatesTemplateIDFilesHashResponse) GetBody() []byte
- func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON201() *TemplateBuildFileUpload
- func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON400() *N400
- func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON401() *N401
- func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON404() *N404
- func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDFilesHashResponse) Status() string
- func (r GetTemplatesTemplateIDFilesHashResponse) StatusCode() int
- type GetTemplatesTemplateIDParams
- type GetTemplatesTemplateIDResponse
- func (r GetTemplatesTemplateIDResponse) ContentType() string
- func (r GetTemplatesTemplateIDResponse) GetBody() []byte
- func (r GetTemplatesTemplateIDResponse) GetJSON200() *TemplateWithBuilds
- func (r GetTemplatesTemplateIDResponse) GetJSON401() *N401
- func (r GetTemplatesTemplateIDResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDResponse) Status() string
- func (r GetTemplatesTemplateIDResponse) StatusCode() int
- type GetTemplatesTemplateIDResponse200Headers
- type GetTemplatesTemplateIDTagsResponse
- func (r GetTemplatesTemplateIDTagsResponse) ContentType() string
- func (r GetTemplatesTemplateIDTagsResponse) GetBody() []byte
- func (r GetTemplatesTemplateIDTagsResponse) GetJSON200() *[]TemplateTag
- func (r GetTemplatesTemplateIDTagsResponse) GetJSON401() *N401
- func (r GetTemplatesTemplateIDTagsResponse) GetJSON403() *N403
- func (r GetTemplatesTemplateIDTagsResponse) GetJSON404() *N404
- func (r GetTemplatesTemplateIDTagsResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDTagsResponse) Status() string
- func (r GetTemplatesTemplateIDTagsResponse) StatusCode() int
- type GetV2SandboxesParams
- type GetV2SandboxesResponse
- func (r GetV2SandboxesResponse) ContentType() string
- func (r GetV2SandboxesResponse) GetBody() []byte
- func (r GetV2SandboxesResponse) GetJSON200() *[]ListedSandbox
- func (r GetV2SandboxesResponse) GetJSON400() *N400
- func (r GetV2SandboxesResponse) GetJSON401() *N401
- func (r GetV2SandboxesResponse) GetJSON500() *N500
- func (r GetV2SandboxesResponse) Status() string
- func (r GetV2SandboxesResponse) StatusCode() int
- type GetV2SandboxesResponse200Headers
- type GetV2SandboxesSandboxIDLogsParams
- type GetV2SandboxesSandboxIDLogsResponse
- func (r GetV2SandboxesSandboxIDLogsResponse) ContentType() string
- func (r GetV2SandboxesSandboxIDLogsResponse) GetBody() []byte
- func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON200() *SandboxLogsV2Response
- func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON401() *N401
- func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON404() *N404
- func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON500() *N500
- func (r GetV2SandboxesSandboxIDLogsResponse) Status() string
- func (r GetV2SandboxesSandboxIDLogsResponse) StatusCode() int
- type GetV2TemplatesParams
- type GetV2TemplatesResponse
- func (r GetV2TemplatesResponse) ContentType() string
- func (r GetV2TemplatesResponse) GetBody() []byte
- func (r GetV2TemplatesResponse) GetJSON200() *[]Template
- func (r GetV2TemplatesResponse) GetJSON400() *N400
- func (r GetV2TemplatesResponse) GetJSON401() *N401
- func (r GetV2TemplatesResponse) GetJSON403() *N403
- func (r GetV2TemplatesResponse) GetJSON500() *N500
- func (r GetV2TemplatesResponse) Status() string
- func (r GetV2TemplatesResponse) StatusCode() int
- type GetV2TemplatesResponse200Headers
- type GetVolumesResponse
- func (r GetVolumesResponse) ContentType() string
- func (r GetVolumesResponse) GetBody() []byte
- func (r GetVolumesResponse) GetJSON200() *[]Volume
- func (r GetVolumesResponse) GetJSON401() *N401
- func (r GetVolumesResponse) GetJSON500() *N500
- func (r GetVolumesResponse) Status() string
- func (r GetVolumesResponse) StatusCode() int
- type GetVolumesVolumeIDResponse
- func (r GetVolumesVolumeIDResponse) ContentType() string
- func (r GetVolumesVolumeIDResponse) GetBody() []byte
- func (r GetVolumesVolumeIDResponse) GetJSON200() *VolumeAndToken
- func (r GetVolumesVolumeIDResponse) GetJSON401() *N401
- func (r GetVolumesVolumeIDResponse) GetJSON404() *N404
- func (r GetVolumesVolumeIDResponse) GetJSON500() *N500
- func (r GetVolumesVolumeIDResponse) Status() string
- func (r GetVolumesVolumeIDResponse) StatusCode() int
- type HttpRequestDoer
- type IdentifierMaskingDetails
- type ListedSandbox
- type LogLevel
- type LogsDirection
- type LogsSource
- type MachineInfo
- type MaxTeamMetric
- type Mcp
- type MemoryMB
- type N400
- type N401
- type N403
- type N404
- type N409
- type N429
- type N500
- type N502
- type N503
- type N504
- 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 PatchApiKeysApiKeyIDJSONRequestBody
- type PatchApiKeysApiKeyIDResponse
- func (r PatchApiKeysApiKeyIDResponse) ContentType() string
- func (r PatchApiKeysApiKeyIDResponse) GetBody() []byte
- func (r PatchApiKeysApiKeyIDResponse) GetJSON401() *N401
- func (r PatchApiKeysApiKeyIDResponse) GetJSON404() *N404
- func (r PatchApiKeysApiKeyIDResponse) GetJSON500() *N500
- func (r PatchApiKeysApiKeyIDResponse) Status() string
- func (r PatchApiKeysApiKeyIDResponse) StatusCode() int
- type PatchTemplatesTemplateIDJSONRequestBodydeprecated
- type PatchTemplatesTemplateIDResponse
- func (r PatchTemplatesTemplateIDResponse) ContentType() string
- func (r PatchTemplatesTemplateIDResponse) GetBody() []byte
- func (r PatchTemplatesTemplateIDResponse) GetJSON400() *N400
- func (r PatchTemplatesTemplateIDResponse) GetJSON401() *N401
- func (r PatchTemplatesTemplateIDResponse) GetJSON500() *N500
- func (r PatchTemplatesTemplateIDResponse) Status() string
- func (r PatchTemplatesTemplateIDResponse) StatusCode() int
- type PatchV2TemplatesTemplateIDJSONRequestBody
- type PatchV2TemplatesTemplateIDResponse
- func (r PatchV2TemplatesTemplateIDResponse) ContentType() string
- func (r PatchV2TemplatesTemplateIDResponse) GetBody() []byte
- func (r PatchV2TemplatesTemplateIDResponse) GetJSON200() *TemplateUpdateResponse
- func (r PatchV2TemplatesTemplateIDResponse) GetJSON400() *N400
- func (r PatchV2TemplatesTemplateIDResponse) GetJSON401() *N401
- func (r PatchV2TemplatesTemplateIDResponse) GetJSON500() *N500
- func (r PatchV2TemplatesTemplateIDResponse) Status() string
- func (r PatchV2TemplatesTemplateIDResponse) StatusCode() int
- type PostAdminTeamsTeamIDApiKeysJSONRequestBody
- type PostAdminTeamsTeamIDApiKeysResponse
- func (r PostAdminTeamsTeamIDApiKeysResponse) ContentType() string
- func (r PostAdminTeamsTeamIDApiKeysResponse) GetBody() []byte
- func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON201() *CreatedTeamAPIKey
- func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON400() *N400
- func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON401() *N401
- func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON403() *N403
- func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON404() *N404
- func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON500() *N500
- func (r PostAdminTeamsTeamIDApiKeysResponse) Status() string
- func (r PostAdminTeamsTeamIDApiKeysResponse) StatusCode() int
- type PostAdminTeamsTeamIDBuildsCancelResponse
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) ContentType() string
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetBody() []byte
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON200() *AdminBuildCancelResult
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON401() *N401
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON404() *N404
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON500() *N500
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) Status() string
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) StatusCode() int
- type PostAdminTeamsTeamIDSandboxesKillResponse
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) ContentType() string
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetBody() []byte
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON200() *AdminSandboxKillResult
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON401() *N401
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON404() *N404
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON500() *N500
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) Status() string
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) StatusCode() int
- type PostApiKeysJSONRequestBody
- type PostApiKeysResponse
- func (r PostApiKeysResponse) ContentType() string
- func (r PostApiKeysResponse) GetBody() []byte
- func (r PostApiKeysResponse) GetJSON201() *CreatedTeamAPIKey
- func (r PostApiKeysResponse) GetJSON401() *N401
- func (r PostApiKeysResponse) GetJSON500() *N500
- func (r PostApiKeysResponse) Status() string
- func (r PostApiKeysResponse) StatusCode() int
- type PostNodesNodeIDJSONRequestBody
- type PostNodesNodeIDResponse
- func (r PostNodesNodeIDResponse) ContentType() string
- func (r PostNodesNodeIDResponse) GetBody() []byte
- func (r PostNodesNodeIDResponse) GetJSON401() *N401
- func (r PostNodesNodeIDResponse) GetJSON404() *N404
- func (r PostNodesNodeIDResponse) GetJSON409() *N409
- func (r PostNodesNodeIDResponse) GetJSON500() *N500
- func (r PostNodesNodeIDResponse) Status() string
- func (r PostNodesNodeIDResponse) StatusCode() int
- type PostSandboxesJSONRequestBody
- type PostSandboxesResponse
- func (r PostSandboxesResponse) ContentType() string
- func (r PostSandboxesResponse) GetBody() []byte
- func (r PostSandboxesResponse) GetJSON201() *Sandbox
- func (r PostSandboxesResponse) GetJSON400() *N400
- func (r PostSandboxesResponse) GetJSON401() *N401
- func (r PostSandboxesResponse) GetJSON500() *N500
- func (r PostSandboxesResponse) GetJSON503() *N503
- func (r PostSandboxesResponse) GetJSON504() *N504
- func (r PostSandboxesResponse) Status() string
- func (r PostSandboxesResponse) StatusCode() int
- type PostSandboxesSandboxIDConnectJSONRequestBody
- type PostSandboxesSandboxIDConnectResponse
- func (r PostSandboxesSandboxIDConnectResponse) ContentType() string
- func (r PostSandboxesSandboxIDConnectResponse) GetBody() []byte
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON200() *Sandbox
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON201() *Sandbox
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON400() *N400
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON401() *N401
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON404() *N404
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON409() *N409
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON503() *N503
- func (r PostSandboxesSandboxIDConnectResponse) GetJSON504() *N504
- func (r PostSandboxesSandboxIDConnectResponse) Status() string
- func (r PostSandboxesSandboxIDConnectResponse) StatusCode() int
- type PostSandboxesSandboxIDForkJSONRequestBody
- type PostSandboxesSandboxIDForkResponse
- func (r PostSandboxesSandboxIDForkResponse) ContentType() string
- func (r PostSandboxesSandboxIDForkResponse) GetBody() []byte
- func (r PostSandboxesSandboxIDForkResponse) GetJSON201() *[]SandboxForkResult
- func (r PostSandboxesSandboxIDForkResponse) GetJSON401() *N401
- func (r PostSandboxesSandboxIDForkResponse) GetJSON404() *N404
- func (r PostSandboxesSandboxIDForkResponse) GetJSON409() *N409
- func (r PostSandboxesSandboxIDForkResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDForkResponse) GetJSON503() *N503
- func (r PostSandboxesSandboxIDForkResponse) Status() string
- func (r PostSandboxesSandboxIDForkResponse) StatusCode() int
- type PostSandboxesSandboxIDPauseJSONRequestBody
- type PostSandboxesSandboxIDPauseResponse
- func (r PostSandboxesSandboxIDPauseResponse) ContentType() string
- func (r PostSandboxesSandboxIDPauseResponse) GetBody() []byte
- func (r PostSandboxesSandboxIDPauseResponse) GetJSON401() *N401
- func (r PostSandboxesSandboxIDPauseResponse) GetJSON404() *N404
- func (r PostSandboxesSandboxIDPauseResponse) GetJSON409() *N409
- func (r PostSandboxesSandboxIDPauseResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDPauseResponse) Status() string
- func (r PostSandboxesSandboxIDPauseResponse) StatusCode() int
- type PostSandboxesSandboxIDRefreshesJSONRequestBody
- type PostSandboxesSandboxIDRefreshesResponse
- func (r PostSandboxesSandboxIDRefreshesResponse) ContentType() string
- func (r PostSandboxesSandboxIDRefreshesResponse) GetBody() []byte
- func (r PostSandboxesSandboxIDRefreshesResponse) GetJSON401() *N401
- func (r PostSandboxesSandboxIDRefreshesResponse) GetJSON404() *N404
- func (r PostSandboxesSandboxIDRefreshesResponse) Status() string
- func (r PostSandboxesSandboxIDRefreshesResponse) StatusCode() int
- type PostSandboxesSandboxIDResumeJSONRequestBodydeprecated
- type PostSandboxesSandboxIDResumeResponse
- func (r PostSandboxesSandboxIDResumeResponse) ContentType() string
- func (r PostSandboxesSandboxIDResumeResponse) GetBody() []byte
- func (r PostSandboxesSandboxIDResumeResponse) GetJSON201() *Sandbox
- func (r PostSandboxesSandboxIDResumeResponse) GetJSON400() *N400
- func (r PostSandboxesSandboxIDResumeResponse) GetJSON401() *N401
- func (r PostSandboxesSandboxIDResumeResponse) GetJSON404() *N404
- func (r PostSandboxesSandboxIDResumeResponse) GetJSON409() *N409
- func (r PostSandboxesSandboxIDResumeResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDResumeResponse) GetJSON503() *N503
- func (r PostSandboxesSandboxIDResumeResponse) GetJSON504() *N504
- func (r PostSandboxesSandboxIDResumeResponse) Status() string
- func (r PostSandboxesSandboxIDResumeResponse) StatusCode() int
- type PostSandboxesSandboxIDSnapshotsJSONRequestBody
- type PostSandboxesSandboxIDSnapshotsResponse
- func (r PostSandboxesSandboxIDSnapshotsResponse) ContentType() string
- func (r PostSandboxesSandboxIDSnapshotsResponse) GetBody() []byte
- func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON201() *SnapshotInfo
- func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON400() *N400
- func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON401() *N401
- func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON404() *N404
- func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDSnapshotsResponse) Status() string
- func (r PostSandboxesSandboxIDSnapshotsResponse) StatusCode() int
- type PostSandboxesSandboxIDTimeoutJSONRequestBody
- type PostSandboxesSandboxIDTimeoutResponse
- func (r PostSandboxesSandboxIDTimeoutResponse) ContentType() string
- func (r PostSandboxesSandboxIDTimeoutResponse) GetBody() []byte
- func (r PostSandboxesSandboxIDTimeoutResponse) GetJSON401() *N401
- func (r PostSandboxesSandboxIDTimeoutResponse) GetJSON404() *N404
- func (r PostSandboxesSandboxIDTimeoutResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDTimeoutResponse) Status() string
- func (r PostSandboxesSandboxIDTimeoutResponse) StatusCode() int
- type PostSecretsJSONRequestBody
- type PostSecretsResponse
- func (r PostSecretsResponse) ContentType() string
- func (r PostSecretsResponse) GetBody() []byte
- func (r PostSecretsResponse) GetJSON201() *Secret
- func (r PostSecretsResponse) GetJSON400() *N400
- func (r PostSecretsResponse) GetJSON401() *N401
- func (r PostSecretsResponse) GetJSON403() *N403
- func (r PostSecretsResponse) GetJSON404() *N404
- func (r PostSecretsResponse) GetJSON409() *N409
- func (r PostSecretsResponse) GetJSON429() *N429
- func (r PostSecretsResponse) GetJSON500() *N500
- func (r PostSecretsResponse) GetJSON502() *N502
- func (r PostSecretsResponse) GetJSON504() *N504
- func (r PostSecretsResponse) Status() string
- func (r PostSecretsResponse) StatusCode() int
- type PostSecretsSecretIDJSONRequestBody
- type PostSecretsSecretIDResponse
- func (r PostSecretsSecretIDResponse) ContentType() string
- func (r PostSecretsSecretIDResponse) GetBody() []byte
- func (r PostSecretsSecretIDResponse) GetJSON200() *Secret
- func (r PostSecretsSecretIDResponse) GetJSON400() *N400
- func (r PostSecretsSecretIDResponse) GetJSON401() *N401
- func (r PostSecretsSecretIDResponse) GetJSON403() *N403
- func (r PostSecretsSecretIDResponse) GetJSON404() *N404
- func (r PostSecretsSecretIDResponse) GetJSON409() *N409
- func (r PostSecretsSecretIDResponse) GetJSON429() *N429
- func (r PostSecretsSecretIDResponse) GetJSON500() *N500
- func (r PostSecretsSecretIDResponse) GetJSON502() *N502
- func (r PostSecretsSecretIDResponse) GetJSON504() *N504
- func (r PostSecretsSecretIDResponse) Status() string
- func (r PostSecretsSecretIDResponse) StatusCode() int
- type PostTemplatesJSONRequestBodydeprecated
- type PostTemplatesResponse
- func (r PostTemplatesResponse) ContentType() string
- func (r PostTemplatesResponse) GetBody() []byte
- func (r PostTemplatesResponse) GetJSON202() *TemplateLegacy
- func (r PostTemplatesResponse) GetJSON400() *N400
- func (r PostTemplatesResponse) GetJSON401() *N401
- func (r PostTemplatesResponse) GetJSON500() *N500
- func (r PostTemplatesResponse) Status() string
- func (r PostTemplatesResponse) StatusCode() int
- type PostTemplatesTagsJSONRequestBody
- type PostTemplatesTagsResponse
- func (r PostTemplatesTagsResponse) ContentType() string
- func (r PostTemplatesTagsResponse) GetBody() []byte
- func (r PostTemplatesTagsResponse) GetJSON201() *AssignedTemplateTags
- func (r PostTemplatesTagsResponse) GetJSON400() *N400
- func (r PostTemplatesTagsResponse) GetJSON401() *N401
- func (r PostTemplatesTagsResponse) GetJSON404() *N404
- func (r PostTemplatesTagsResponse) GetJSON500() *N500
- func (r PostTemplatesTagsResponse) Status() string
- func (r PostTemplatesTagsResponse) StatusCode() int
- type PostTemplatesTemplateIDBuildsBuildIDResponse
- func (r PostTemplatesTemplateIDBuildsBuildIDResponse) ContentType() string
- func (r PostTemplatesTemplateIDBuildsBuildIDResponse) GetBody() []byte
- func (r PostTemplatesTemplateIDBuildsBuildIDResponse) GetJSON401() *N401
- func (r PostTemplatesTemplateIDBuildsBuildIDResponse) GetJSON500() *N500
- func (r PostTemplatesTemplateIDBuildsBuildIDResponse) Status() string
- func (r PostTemplatesTemplateIDBuildsBuildIDResponse) StatusCode() int
- type PostTemplatesTemplateIDJSONRequestBodydeprecated
- type PostTemplatesTemplateIDResponse
- func (r PostTemplatesTemplateIDResponse) ContentType() string
- func (r PostTemplatesTemplateIDResponse) GetBody() []byte
- func (r PostTemplatesTemplateIDResponse) GetJSON202() *TemplateLegacy
- func (r PostTemplatesTemplateIDResponse) GetJSON401() *N401
- func (r PostTemplatesTemplateIDResponse) GetJSON500() *N500
- func (r PostTemplatesTemplateIDResponse) Status() string
- func (r PostTemplatesTemplateIDResponse) StatusCode() int
- type PostV2TemplatesJSONRequestBodydeprecated
- type PostV2TemplatesResponse
- func (r PostV2TemplatesResponse) ContentType() string
- func (r PostV2TemplatesResponse) GetBody() []byte
- func (r PostV2TemplatesResponse) GetJSON202() *TemplateLegacy
- func (r PostV2TemplatesResponse) GetJSON400() *N400
- func (r PostV2TemplatesResponse) GetJSON401() *N401
- func (r PostV2TemplatesResponse) GetJSON500() *N500
- func (r PostV2TemplatesResponse) Status() string
- func (r PostV2TemplatesResponse) StatusCode() int
- type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody
- type PostV2TemplatesTemplateIDBuildsBuildIDResponse
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) ContentType() string
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetBody() []byte
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON401() *N401
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON500() *N500
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) Status() string
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) StatusCode() int
- type PostV3TemplatesJSONRequestBody
- type PostV3TemplatesResponse
- func (r PostV3TemplatesResponse) ContentType() string
- func (r PostV3TemplatesResponse) GetBody() []byte
- func (r PostV3TemplatesResponse) GetJSON202() *TemplateRequestResponseV3
- func (r PostV3TemplatesResponse) GetJSON400() *N400
- func (r PostV3TemplatesResponse) GetJSON401() *N401
- func (r PostV3TemplatesResponse) GetJSON403() *N403
- func (r PostV3TemplatesResponse) GetJSON500() *N500
- func (r PostV3TemplatesResponse) Status() string
- func (r PostV3TemplatesResponse) StatusCode() int
- type PostVolumesJSONRequestBody
- type PostVolumesResponse
- func (r PostVolumesResponse) ContentType() string
- func (r PostVolumesResponse) GetBody() []byte
- func (r PostVolumesResponse) GetJSON201() *VolumeAndToken
- func (r PostVolumesResponse) GetJSON400() *N400
- func (r PostVolumesResponse) GetJSON401() *N401
- func (r PostVolumesResponse) GetJSON500() *N500
- func (r PostVolumesResponse) Status() string
- func (r PostVolumesResponse) StatusCode() int
- type PutSandboxesSandboxIDNetworkJSONRequestBody
- type PutSandboxesSandboxIDNetworkResponse
- func (r PutSandboxesSandboxIDNetworkResponse) ContentType() string
- func (r PutSandboxesSandboxIDNetworkResponse) GetBody() []byte
- func (r PutSandboxesSandboxIDNetworkResponse) GetJSON401() *N401
- func (r PutSandboxesSandboxIDNetworkResponse) GetJSON404() *N404
- func (r PutSandboxesSandboxIDNetworkResponse) GetJSON409() *N409
- func (r PutSandboxesSandboxIDNetworkResponse) GetJSON500() *N500
- func (r PutSandboxesSandboxIDNetworkResponse) Status() string
- func (r PutSandboxesSandboxIDNetworkResponse) StatusCode() int
- type RequestEditorFn
- 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 SnapshotInfo
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteAdminTeamsTeamIDApiKeysApiKeyIDRequest ¶
func NewDeleteAdminTeamsTeamIDApiKeysApiKeyIDRequest(server string, teamID openapi_types.UUID, apiKeyID ApiKeyID) (*http.Request, error)
NewDeleteAdminTeamsTeamIDApiKeysApiKeyIDRequest constructs an http.Request for the DeleteAdminTeamsTeamIDApiKeysApiKeyID method
func NewDeleteApiKeysApiKeyIDRequest ¶
NewDeleteApiKeysApiKeyIDRequest constructs an http.Request for the DeleteApiKeysApiKeyID method
func NewDeleteSandboxesSandboxIDRequest ¶
NewDeleteSandboxesSandboxIDRequest constructs an http.Request for the DeleteSandboxesSandboxID method
func NewDeleteSecretsSecretIDRequest ¶
NewDeleteSecretsSecretIDRequest constructs an http.Request for the DeleteSecretsSecretID method
func NewDeleteTemplatesTagsRequest ¶
func NewDeleteTemplatesTagsRequest(server string, body DeleteTemplatesTagsJSONRequestBody) (*http.Request, error)
NewDeleteTemplatesTagsRequest calls the generic DeleteTemplatesTags builder with application/json body
func NewDeleteTemplatesTagsRequestWithBody ¶
func NewDeleteTemplatesTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteTemplatesTagsRequestWithBody constructs an http.Request for the DeleteTemplatesTags method, with any body, and a specified content type
func NewDeleteTemplatesTemplateIDRequest ¶
func NewDeleteTemplatesTemplateIDRequest(server string, templateID TemplateID) (*http.Request, error)
NewDeleteTemplatesTemplateIDRequest constructs an http.Request for the DeleteTemplatesTemplateID method
func NewDeleteVolumesVolumeIDRequest ¶
NewDeleteVolumesVolumeIDRequest constructs an http.Request for the DeleteVolumesVolumeID method
func NewGetAdminSandboxesRunningCountsRequest ¶
NewGetAdminSandboxesRunningCountsRequest constructs an http.Request for the GetAdminSandboxesRunningCounts method
func NewGetApiKeysRequest ¶
NewGetApiKeysRequest constructs an http.Request for the GetApiKeys method
func NewGetHealthRequest ¶
NewGetHealthRequest constructs an http.Request for the GetHealth method
func NewGetNodesNodeIDRequest ¶
func NewGetNodesNodeIDRequest(server string, nodeID NodeID, params *GetNodesNodeIDParams) (*http.Request, error)
NewGetNodesNodeIDRequest constructs an http.Request for the GetNodesNodeID method
func NewGetNodesRequest ¶
func NewGetNodesRequest(server string, params *GetNodesParams) (*http.Request, error)
NewGetNodesRequest constructs an http.Request for the GetNodes method
func NewGetSandboxesMetricsRequest ¶
func NewGetSandboxesMetricsRequest(server string, params *GetSandboxesMetricsParams) (*http.Request, error)
NewGetSandboxesMetricsRequest constructs an http.Request for the GetSandboxesMetrics method
func NewGetSandboxesRequest ¶
func NewGetSandboxesRequest(server string, params *GetSandboxesParams) (*http.Request, error)
NewGetSandboxesRequest constructs an http.Request for the GetSandboxes method
func NewGetSandboxesSandboxIDLogsRequest ¶
func NewGetSandboxesSandboxIDLogsRequest(server string, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams) (*http.Request, error)
NewGetSandboxesSandboxIDLogsRequest constructs an http.Request for the GetSandboxesSandboxIDLogs method
func NewGetSandboxesSandboxIDMetricsRequest ¶
func NewGetSandboxesSandboxIDMetricsRequest(server string, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams) (*http.Request, error)
NewGetSandboxesSandboxIDMetricsRequest constructs an http.Request for the GetSandboxesSandboxIDMetrics method
func NewGetSandboxesSandboxIDRequest ¶
NewGetSandboxesSandboxIDRequest constructs an http.Request for the GetSandboxesSandboxID method
func NewGetSecretsRequest ¶
func NewGetSecretsRequest(server string, params *GetSecretsParams) (*http.Request, error)
NewGetSecretsRequest constructs an http.Request for the GetSecrets method
func NewGetSecretsSecretIDRequest ¶
NewGetSecretsSecretIDRequest constructs an http.Request for the GetSecretsSecretID method
func NewGetSnapshotsRequest ¶
func NewGetSnapshotsRequest(server string, params *GetSnapshotsParams) (*http.Request, error)
NewGetSnapshotsRequest constructs an http.Request for the GetSnapshots method
func NewGetTeamsRequest ¶
NewGetTeamsRequest constructs an http.Request for the GetTeams method
func NewGetTeamsTeamIDMetricsMaxRequest ¶
func NewGetTeamsTeamIDMetricsMaxRequest(server string, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams) (*http.Request, error)
NewGetTeamsTeamIDMetricsMaxRequest constructs an http.Request for the GetTeamsTeamIDMetricsMax method
func NewGetTeamsTeamIDMetricsRequest ¶
func NewGetTeamsTeamIDMetricsRequest(server string, teamID TeamID, params *GetTeamsTeamIDMetricsParams) (*http.Request, error)
NewGetTeamsTeamIDMetricsRequest constructs an http.Request for the GetTeamsTeamIDMetrics method
func NewGetTemplatesAliasesAliasRequest ¶
NewGetTemplatesAliasesAliasRequest constructs an http.Request for the GetTemplatesAliasesAlias method
func NewGetTemplatesRequest ¶
func NewGetTemplatesRequest(server string, params *GetTemplatesParams) (*http.Request, error)
NewGetTemplatesRequest constructs an http.Request for the GetTemplates method
func NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest ¶
func NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest(server string, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams) (*http.Request, error)
NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest constructs an http.Request for the GetTemplatesTemplateIDBuildsBuildIDLogs method
func NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest ¶
func NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest(server string, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams) (*http.Request, error)
NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest constructs an http.Request for the GetTemplatesTemplateIDBuildsBuildIDStatus method
func NewGetTemplatesTemplateIDFilesHashRequest ¶
func NewGetTemplatesTemplateIDFilesHashRequest(server string, templateID TemplateID, hash string) (*http.Request, error)
NewGetTemplatesTemplateIDFilesHashRequest constructs an http.Request for the GetTemplatesTemplateIDFilesHash method
func NewGetTemplatesTemplateIDRequest ¶
func NewGetTemplatesTemplateIDRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDParams) (*http.Request, error)
NewGetTemplatesTemplateIDRequest constructs an http.Request for the GetTemplatesTemplateID method
func NewGetTemplatesTemplateIDTagsRequest ¶
func NewGetTemplatesTemplateIDTagsRequest(server string, templateID TemplateID) (*http.Request, error)
NewGetTemplatesTemplateIDTagsRequest constructs an http.Request for the GetTemplatesTemplateIDTags method
func NewGetV2SandboxesRequest ¶
func NewGetV2SandboxesRequest(server string, params *GetV2SandboxesParams) (*http.Request, error)
NewGetV2SandboxesRequest constructs an http.Request for the GetV2Sandboxes method
func NewGetV2SandboxesSandboxIDLogsRequest ¶
func NewGetV2SandboxesSandboxIDLogsRequest(server string, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams) (*http.Request, error)
NewGetV2SandboxesSandboxIDLogsRequest constructs an http.Request for the GetV2SandboxesSandboxIDLogs method
func NewGetV2TemplatesRequest ¶
func NewGetV2TemplatesRequest(server string, params *GetV2TemplatesParams) (*http.Request, error)
NewGetV2TemplatesRequest constructs an http.Request for the GetV2Templates method
func NewGetVolumesRequest ¶
NewGetVolumesRequest constructs an http.Request for the GetVolumes method
func NewGetVolumesVolumeIDRequest ¶
NewGetVolumesVolumeIDRequest constructs an http.Request for the GetVolumesVolumeID method
func NewPatchApiKeysApiKeyIDRequest ¶
func NewPatchApiKeysApiKeyIDRequest(server string, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody) (*http.Request, error)
NewPatchApiKeysApiKeyIDRequest calls the generic PatchApiKeysApiKeyID builder with application/json body
func NewPatchApiKeysApiKeyIDRequestWithBody ¶
func NewPatchApiKeysApiKeyIDRequestWithBody(server string, apiKeyID ApiKeyID, contentType string, body io.Reader) (*http.Request, error)
NewPatchApiKeysApiKeyIDRequestWithBody constructs an http.Request for the PatchApiKeysApiKeyID method, with any body, and a specified content type
func NewPatchTemplatesTemplateIDRequest ¶
func NewPatchTemplatesTemplateIDRequest(server string, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody) (*http.Request, error)
NewPatchTemplatesTemplateIDRequest calls the generic PatchTemplatesTemplateID builder with application/json body
func NewPatchTemplatesTemplateIDRequestWithBody ¶
func NewPatchTemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)
NewPatchTemplatesTemplateIDRequestWithBody constructs an http.Request for the PatchTemplatesTemplateID method, with any body, and a specified content type
func NewPatchV2TemplatesTemplateIDRequest ¶
func NewPatchV2TemplatesTemplateIDRequest(server string, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody) (*http.Request, error)
NewPatchV2TemplatesTemplateIDRequest calls the generic PatchV2TemplatesTemplateID builder with application/json body
func NewPatchV2TemplatesTemplateIDRequestWithBody ¶
func NewPatchV2TemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)
NewPatchV2TemplatesTemplateIDRequestWithBody constructs an http.Request for the PatchV2TemplatesTemplateID method, with any body, and a specified content type
func NewPostAdminTeamsTeamIDApiKeysRequest ¶
func NewPostAdminTeamsTeamIDApiKeysRequest(server string, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody) (*http.Request, error)
NewPostAdminTeamsTeamIDApiKeysRequest calls the generic PostAdminTeamsTeamIDApiKeys builder with application/json body
func NewPostAdminTeamsTeamIDApiKeysRequestWithBody ¶
func NewPostAdminTeamsTeamIDApiKeysRequestWithBody(server string, teamID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPostAdminTeamsTeamIDApiKeysRequestWithBody constructs an http.Request for the PostAdminTeamsTeamIDApiKeys method, with any body, and a specified content type
func NewPostAdminTeamsTeamIDBuildsCancelRequest ¶
func NewPostAdminTeamsTeamIDBuildsCancelRequest(server string, teamID openapi_types.UUID) (*http.Request, error)
NewPostAdminTeamsTeamIDBuildsCancelRequest constructs an http.Request for the PostAdminTeamsTeamIDBuildsCancel method
func NewPostAdminTeamsTeamIDSandboxesKillRequest ¶
func NewPostAdminTeamsTeamIDSandboxesKillRequest(server string, teamID openapi_types.UUID) (*http.Request, error)
NewPostAdminTeamsTeamIDSandboxesKillRequest constructs an http.Request for the PostAdminTeamsTeamIDSandboxesKill method
func NewPostApiKeysRequest ¶
func NewPostApiKeysRequest(server string, body PostApiKeysJSONRequestBody) (*http.Request, error)
NewPostApiKeysRequest calls the generic PostApiKeys builder with application/json body
func NewPostApiKeysRequestWithBody ¶
func NewPostApiKeysRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostApiKeysRequestWithBody constructs an http.Request for the PostApiKeys method, with any body, and a specified content type
func NewPostNodesNodeIDRequest ¶
func NewPostNodesNodeIDRequest(server string, nodeID NodeID, body PostNodesNodeIDJSONRequestBody) (*http.Request, error)
NewPostNodesNodeIDRequest calls the generic PostNodesNodeID builder with application/json body
func NewPostNodesNodeIDRequestWithBody ¶
func NewPostNodesNodeIDRequestWithBody(server string, nodeID NodeID, contentType string, body io.Reader) (*http.Request, error)
NewPostNodesNodeIDRequestWithBody constructs an http.Request for the PostNodesNodeID method, with any body, and a specified content type
func NewPostSandboxesRequest ¶
func NewPostSandboxesRequest(server string, body PostSandboxesJSONRequestBody) (*http.Request, error)
NewPostSandboxesRequest calls the generic PostSandboxes builder with application/json body
func NewPostSandboxesRequestWithBody ¶
func NewPostSandboxesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostSandboxesRequestWithBody constructs an http.Request for the PostSandboxes method, with any body, and a specified content type
func NewPostSandboxesSandboxIDConnectRequest ¶
func NewPostSandboxesSandboxIDConnectRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody) (*http.Request, error)
NewPostSandboxesSandboxIDConnectRequest calls the generic PostSandboxesSandboxIDConnect builder with application/json body
func NewPostSandboxesSandboxIDConnectRequestWithBody ¶
func NewPostSandboxesSandboxIDConnectRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPostSandboxesSandboxIDConnectRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDConnect method, with any body, and a specified content type
func NewPostSandboxesSandboxIDForkRequest ¶
func NewPostSandboxesSandboxIDForkRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody) (*http.Request, error)
NewPostSandboxesSandboxIDForkRequest calls the generic PostSandboxesSandboxIDFork builder with application/json body
func NewPostSandboxesSandboxIDForkRequestWithBody ¶
func NewPostSandboxesSandboxIDForkRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPostSandboxesSandboxIDForkRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDFork method, with any body, and a specified content type
func NewPostSandboxesSandboxIDPauseRequest ¶
func NewPostSandboxesSandboxIDPauseRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody) (*http.Request, error)
NewPostSandboxesSandboxIDPauseRequest calls the generic PostSandboxesSandboxIDPause builder with application/json body
func NewPostSandboxesSandboxIDPauseRequestWithBody ¶
func NewPostSandboxesSandboxIDPauseRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPostSandboxesSandboxIDPauseRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDPause method, with any body, and a specified content type
func NewPostSandboxesSandboxIDRefreshesRequest ¶
func NewPostSandboxesSandboxIDRefreshesRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody) (*http.Request, error)
NewPostSandboxesSandboxIDRefreshesRequest calls the generic PostSandboxesSandboxIDRefreshes builder with application/json body
func NewPostSandboxesSandboxIDRefreshesRequestWithBody ¶
func NewPostSandboxesSandboxIDRefreshesRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPostSandboxesSandboxIDRefreshesRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDRefreshes method, with any body, and a specified content type
func NewPostSandboxesSandboxIDResumeRequest ¶
func NewPostSandboxesSandboxIDResumeRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody) (*http.Request, error)
NewPostSandboxesSandboxIDResumeRequest calls the generic PostSandboxesSandboxIDResume builder with application/json body
func NewPostSandboxesSandboxIDResumeRequestWithBody ¶
func NewPostSandboxesSandboxIDResumeRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPostSandboxesSandboxIDResumeRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDResume method, with any body, and a specified content type
func NewPostSandboxesSandboxIDSnapshotsRequest ¶
func NewPostSandboxesSandboxIDSnapshotsRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody) (*http.Request, error)
NewPostSandboxesSandboxIDSnapshotsRequest calls the generic PostSandboxesSandboxIDSnapshots builder with application/json body
func NewPostSandboxesSandboxIDSnapshotsRequestWithBody ¶
func NewPostSandboxesSandboxIDSnapshotsRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPostSandboxesSandboxIDSnapshotsRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDSnapshots method, with any body, and a specified content type
func NewPostSandboxesSandboxIDTimeoutRequest ¶
func NewPostSandboxesSandboxIDTimeoutRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody) (*http.Request, error)
NewPostSandboxesSandboxIDTimeoutRequest calls the generic PostSandboxesSandboxIDTimeout builder with application/json body
func NewPostSandboxesSandboxIDTimeoutRequestWithBody ¶
func NewPostSandboxesSandboxIDTimeoutRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPostSandboxesSandboxIDTimeoutRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDTimeout method, with any body, and a specified content type
func NewPostSecretsRequest ¶
func NewPostSecretsRequest(server string, body PostSecretsJSONRequestBody) (*http.Request, error)
NewPostSecretsRequest calls the generic PostSecrets builder with application/json body
func NewPostSecretsRequestWithBody ¶
func NewPostSecretsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostSecretsRequestWithBody constructs an http.Request for the PostSecrets method, with any body, and a specified content type
func NewPostSecretsSecretIDRequest ¶
func NewPostSecretsSecretIDRequest(server string, secretID SecretID, body PostSecretsSecretIDJSONRequestBody) (*http.Request, error)
NewPostSecretsSecretIDRequest calls the generic PostSecretsSecretID builder with application/json body
func NewPostSecretsSecretIDRequestWithBody ¶
func NewPostSecretsSecretIDRequestWithBody(server string, secretID SecretID, contentType string, body io.Reader) (*http.Request, error)
NewPostSecretsSecretIDRequestWithBody constructs an http.Request for the PostSecretsSecretID method, with any body, and a specified content type
func NewPostTemplatesRequest ¶
func NewPostTemplatesRequest(server string, body PostTemplatesJSONRequestBody) (*http.Request, error)
NewPostTemplatesRequest calls the generic PostTemplates builder with application/json body
func NewPostTemplatesRequestWithBody ¶
func NewPostTemplatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostTemplatesRequestWithBody constructs an http.Request for the PostTemplates method, with any body, and a specified content type
func NewPostTemplatesTagsRequest ¶
func NewPostTemplatesTagsRequest(server string, body PostTemplatesTagsJSONRequestBody) (*http.Request, error)
NewPostTemplatesTagsRequest calls the generic PostTemplatesTags builder with application/json body
func NewPostTemplatesTagsRequestWithBody ¶
func NewPostTemplatesTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostTemplatesTagsRequestWithBody constructs an http.Request for the PostTemplatesTags method, with any body, and a specified content type
func NewPostTemplatesTemplateIDBuildsBuildIDRequest ¶
func NewPostTemplatesTemplateIDBuildsBuildIDRequest(server string, templateID TemplateID, buildID BuildID) (*http.Request, error)
NewPostTemplatesTemplateIDBuildsBuildIDRequest constructs an http.Request for the PostTemplatesTemplateIDBuildsBuildID method
func NewPostTemplatesTemplateIDRequest ¶
func NewPostTemplatesTemplateIDRequest(server string, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody) (*http.Request, error)
NewPostTemplatesTemplateIDRequest calls the generic PostTemplatesTemplateID builder with application/json body
func NewPostTemplatesTemplateIDRequestWithBody ¶
func NewPostTemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)
NewPostTemplatesTemplateIDRequestWithBody constructs an http.Request for the PostTemplatesTemplateID method, with any body, and a specified content type
func NewPostV2TemplatesRequest ¶
func NewPostV2TemplatesRequest(server string, body PostV2TemplatesJSONRequestBody) (*http.Request, error)
NewPostV2TemplatesRequest calls the generic PostV2Templates builder with application/json body
func NewPostV2TemplatesRequestWithBody ¶
func NewPostV2TemplatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostV2TemplatesRequestWithBody constructs an http.Request for the PostV2Templates method, with any body, and a specified content type
func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest ¶
func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest(server string, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody) (*http.Request, error)
NewPostV2TemplatesTemplateIDBuildsBuildIDRequest calls the generic PostV2TemplatesTemplateIDBuildsBuildID builder with application/json body
func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody ¶
func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody(server string, templateID TemplateID, buildID BuildID, contentType string, body io.Reader) (*http.Request, error)
NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody constructs an http.Request for the PostV2TemplatesTemplateIDBuildsBuildID method, with any body, and a specified content type
func NewPostV3TemplatesRequest ¶
func NewPostV3TemplatesRequest(server string, body PostV3TemplatesJSONRequestBody) (*http.Request, error)
NewPostV3TemplatesRequest calls the generic PostV3Templates builder with application/json body
func NewPostV3TemplatesRequestWithBody ¶
func NewPostV3TemplatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostV3TemplatesRequestWithBody constructs an http.Request for the PostV3Templates method, with any body, and a specified content type
func NewPostVolumesRequest ¶
func NewPostVolumesRequest(server string, body PostVolumesJSONRequestBody) (*http.Request, error)
NewPostVolumesRequest calls the generic PostVolumes builder with application/json body
func NewPostVolumesRequestWithBody ¶
func NewPostVolumesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostVolumesRequestWithBody constructs an http.Request for the PostVolumes method, with any body, and a specified content type
func NewPutSandboxesSandboxIDNetworkRequest ¶
func NewPutSandboxesSandboxIDNetworkRequest(server string, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody) (*http.Request, error)
NewPutSandboxesSandboxIDNetworkRequest calls the generic PutSandboxesSandboxIDNetwork builder with application/json body
func NewPutSandboxesSandboxIDNetworkRequestWithBody ¶
func NewPutSandboxesSandboxIDNetworkRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPutSandboxesSandboxIDNetworkRequestWithBody constructs an http.Request for the PutSandboxesSandboxIDNetwork method, with any body, and a specified content type
Types ¶
type AWSRegistry ¶
type AWSRegistry struct {
// AwsAccessKeyId AWS Access Key ID for ECR authentication
AwsAccessKeyId string `json:"awsAccessKeyId"`
// AwsRegion AWS Region where the ECR registry is located
AwsRegion string `json:"awsRegion"`
// AwsSecretAccessKey AWS Secret Access Key for ECR authentication
AwsSecretAccessKey string `json:"awsSecretAccessKey"`
// Type Type of registry authentication
Type AWSRegistryType `json:"type"`
}
AWSRegistry defines model for AWSRegistry.
type AWSRegistryType ¶
type AWSRegistryType string
AWSRegistryType Type of registry authentication
const (
Aws AWSRegistryType = "aws"
)
Defines values for AWSRegistryType.
func (AWSRegistryType) Valid ¶
func (e AWSRegistryType) Valid() bool
Valid indicates whether the value is a known member of the AWSRegistryType enum.
type 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 ¶
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 Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteAdminTeamsTeamIDApiKeysApiKeyID ¶
func (c *Client) DeleteAdminTeamsTeamIDApiKeysApiKeyID(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAdminTeamsTeamIDApiKeysApiKeyID Delete team API key as admin
Deletes a team API key for internal service workflows.
Corresponds with DELETE /admin/teams/{teamID}/api-keys/{apiKeyID} (the `DeleteAdminTeamsTeamIDApiKeysApiKeyID` operationId).
func (*Client) DeleteApiKeysApiKeyID ¶
func (c *Client) DeleteApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApiKeysApiKeyID Delete team API key
Delete a team API key.
Corresponds with DELETE /api-keys/{apiKeyID} (the `DeleteApiKeysApiKeyID` operationId).
func (*Client) DeleteSandboxesSandboxID ¶
func (c *Client) DeleteSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSandboxesSandboxID Kill sandbox
Kill a sandbox.
Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
func (*Client) DeleteSecretsSecretID ¶
func (c *Client) DeleteSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSecretsSecretID Delete a secret
Revoke the secret and schedule its versions for cleanup.
Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).
func (*Client) DeleteTemplatesTags ¶
func (c *Client) DeleteTemplatesTags(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteTemplatesTags Delete template tags
Delete multiple tags from templates.
Takes a body of the `application/json` content type.
Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
func (*Client) DeleteTemplatesTagsWithBody ¶
func (c *Client) DeleteTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteTemplatesTagsWithBody Delete template tags
Delete multiple tags from templates.
Takes any type of body and a specified content type.
Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
func (*Client) DeleteTemplatesTemplateID ¶
func (c *Client) DeleteTemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteTemplatesTemplateID Delete template
Delete a template.
Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
func (*Client) DeleteVolumesVolumeID ¶
func (c *Client) DeleteVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVolumesVolumeID Delete team volume
Delete a team volume.
Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
func (*Client) GetAdminSandboxesRunningCounts ¶
func (c *Client) GetAdminSandboxesRunningCounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdminSandboxesRunningCounts Count running sandboxes by team
Returns a shared snapshot normally refreshed after five seconds. A sandbox transitioning out of running can remain counted until removal.
Corresponds with GET /admin/sandboxes/running-counts (the `GetAdminSandboxesRunningCounts` operationId).
func (*Client) GetApiKeys ¶
func (c *Client) GetApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiKeys List team API keys
List all team API keys.
Corresponds with GET /api-keys (the `GetApiKeys` operationId).
func (*Client) GetHealth ¶
func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetHealth Health check
Corresponds with GET /health (the `GetHealth` operationId).
func (*Client) GetNodes ¶
func (c *Client) GetNodes(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetNodes List nodes
List all nodes.
Corresponds with GET /nodes (the `GetNodes` operationId).
func (*Client) GetNodesNodeID ¶
func (c *Client) GetNodesNodeID(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetNodesNodeID Node info
Get node info.
Corresponds with GET /nodes/{nodeID} (the `GetNodesNodeID` operationId).
func (*Client) GetSandboxes ¶
func (c *Client) GetSandboxes(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSandboxes List running sandboxes
List all running sandboxes. Use GET /v2/sandboxes instead.
Corresponds with GET /sandboxes (the `GetSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetSandboxesMetrics ¶
func (c *Client) GetSandboxesMetrics(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSandboxesMetrics List sandbox metrics
List metrics for given sandboxes.
Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
func (*Client) GetSandboxesSandboxID ¶
func (c *Client) GetSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSandboxesSandboxID Sandbox
Get a sandbox by id.
Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
func (*Client) GetSandboxesSandboxIDLogs ¶
func (c *Client) GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSandboxesSandboxIDLogs Sandbox logs
Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetSandboxesSandboxIDMetrics ¶
func (c *Client) GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSandboxesSandboxIDMetrics Sandbox metrics
Get sandbox metrics.
Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
func (*Client) GetSecrets ¶
func (c *Client) GetSecrets(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSecrets List project secrets
List the project's secrets. No response carries a secret value.
Corresponds with GET /secrets (the `GetSecrets` operationId).
func (*Client) GetSecretsSecretID ¶
func (c *Client) GetSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSecretsSecretID Get a secret
Get one secret's metadata, selected by identifier or name.
Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).
func (*Client) GetSnapshots ¶
func (c *Client) GetSnapshots(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSnapshots List snapshots
List all snapshots for the team.
Corresponds with GET /snapshots (the `GetSnapshots` operationId).
func (*Client) GetTeams ¶
func (c *Client) GetTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeams List teams
List all teams.
Corresponds with GET /teams (the `GetTeams` operationId).
func (*Client) GetTeamsTeamIDMetrics ¶
func (c *Client) GetTeamsTeamIDMetrics(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeamsTeamIDMetrics Team metrics
Get metrics for the team.
Corresponds with GET /teams/{teamID}/metrics (the `GetTeamsTeamIDMetrics` operationId).
func (*Client) GetTeamsTeamIDMetricsMax ¶
func (c *Client) GetTeamsTeamIDMetricsMax(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeamsTeamIDMetricsMax Maximum team metrics
Get the maximum metrics for the team in the given interval.
Corresponds with GET /teams/{teamID}/metrics/max (the `GetTeamsTeamIDMetricsMax` operationId).
func (*Client) GetTemplates ¶
func (c *Client) GetTemplates(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTemplates List templates
List all templates.
Corresponds with GET /templates (the `GetTemplates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetTemplatesAliasesAlias ¶
func (c *Client) GetTemplatesAliasesAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTemplatesAliasesAlias Check template alias
Check if template with given alias exists.
Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
func (*Client) GetTemplatesTemplateID ¶
func (c *Client) GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTemplatesTemplateID List template builds
List all builds for a template.
Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
func (*Client) GetTemplatesTemplateIDBuildsBuildIDLogs ¶
func (c *Client) GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTemplatesTemplateIDBuildsBuildIDLogs Template build logs
Get template build logs.
Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
func (*Client) GetTemplatesTemplateIDBuildsBuildIDStatus ¶
func (c *Client) GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTemplatesTemplateIDBuildsBuildIDStatus Template build status
Get template build info.
Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
func (*Client) GetTemplatesTemplateIDFilesHash ¶
func (c *Client) GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTemplatesTemplateIDFilesHash Template build file upload URL
Get an upload link for a tar file containing build layer files.
Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
func (*Client) GetTemplatesTemplateIDTags ¶
func (c *Client) GetTemplatesTemplateIDTags(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTemplatesTemplateIDTags List template tags
List all tags for a template.
Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
func (*Client) GetV2Sandboxes ¶
func (c *Client) GetV2Sandboxes(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV2Sandboxes List sandboxes (v2)
List all sandboxes.
Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
func (*Client) GetV2SandboxesSandboxIDLogs ¶
func (c *Client) GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV2SandboxesSandboxIDLogs Sandbox logs (v2)
Get sandbox logs.
Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
func (*Client) GetV2Templates ¶
func (c *Client) GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV2Templates List templates (v2)
List all templates.
Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
func (*Client) GetVolumes ¶
func (c *Client) GetVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVolumes List team volumes
List all team volumes.
Corresponds with GET /volumes (the `GetVolumes` operationId).
func (*Client) GetVolumesVolumeID ¶
func (c *Client) GetVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVolumesVolumeID Team volume
Get team volume info.
Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
func (*Client) PatchApiKeysApiKeyID ¶
func (c *Client) PatchApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchApiKeysApiKeyID Update team API key
Update a team API key.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
func (*Client) PatchApiKeysApiKeyIDWithBody ¶
func (c *Client) PatchApiKeysApiKeyIDWithBody(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchApiKeysApiKeyIDWithBody Update team API key
Update a team API key.
Takes any type of body and a specified content type.
Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
func (*Client) PatchTemplatesTemplateID ¶
func (c *Client) PatchTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchTemplatesTemplateID Update template
Takes a body of the `application/json` content type.
Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PatchTemplatesTemplateIDWithBody ¶
func (c *Client) PatchTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchTemplatesTemplateIDWithBody Update template
Takes any type of body and a specified content type.
Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PatchV2TemplatesTemplateID ¶
func (c *Client) PatchV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV2TemplatesTemplateID Update template (v2)
Update template.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
func (*Client) PatchV2TemplatesTemplateIDWithBody ¶
func (c *Client) PatchV2TemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV2TemplatesTemplateIDWithBody Update template (v2)
Update template.
Takes any type of body and a specified content type.
Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
func (*Client) PostAdminTeamsTeamIDApiKeys ¶
func (c *Client) PostAdminTeamsTeamIDApiKeys(ctx context.Context, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAdminTeamsTeamIDApiKeys Create team API key as admin
Creates a team API key for internal service workflows.
Takes a body of the `application/json` content type.
Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
func (*Client) PostAdminTeamsTeamIDApiKeysWithBody ¶
func (c *Client) PostAdminTeamsTeamIDApiKeysWithBody(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAdminTeamsTeamIDApiKeysWithBody Create team API key as admin
Creates a team API key for internal service workflows.
Takes any type of body and a specified content type.
Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
func (*Client) PostAdminTeamsTeamIDBuildsCancel ¶
func (c *Client) PostAdminTeamsTeamIDBuildsCancel(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAdminTeamsTeamIDBuildsCancel Cancel all builds for a team
Cancels all in-progress and pending builds for the specified team.
Corresponds with POST /admin/teams/{teamID}/builds/cancel (the `PostAdminTeamsTeamIDBuildsCancel` operationId).
func (*Client) PostAdminTeamsTeamIDSandboxesKill ¶
func (c *Client) PostAdminTeamsTeamIDSandboxesKill(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAdminTeamsTeamIDSandboxesKill Kill all sandboxes for a team
Kills all sandboxes for the specified team.
Corresponds with POST /admin/teams/{teamID}/sandboxes/kill (the `PostAdminTeamsTeamIDSandboxesKill` operationId).
func (*Client) PostApiKeys ¶
func (c *Client) PostApiKeys(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiKeys Create team API key
Create a new team API key.
Takes a body of the `application/json` content type.
Corresponds with POST /api-keys (the `PostApiKeys` operationId).
func (*Client) PostApiKeysWithBody ¶
func (c *Client) PostApiKeysWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiKeysWithBody Create team API key
Create a new team API key.
Takes any type of body and a specified content type.
Corresponds with POST /api-keys (the `PostApiKeys` operationId).
func (*Client) PostNodesNodeID ¶
func (c *Client) PostNodesNodeID(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodesNodeID Change node status
Change status of a node.
Takes a body of the `application/json` content type.
Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
func (*Client) PostNodesNodeIDWithBody ¶
func (c *Client) PostNodesNodeIDWithBody(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodesNodeIDWithBody Change node status
Change status of a node.
Takes any type of body and a specified content type.
Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
func (*Client) PostSandboxes ¶
func (c *Client) PostSandboxes(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxes Create sandbox
Create a sandbox from the template.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
func (*Client) PostSandboxesSandboxIDConnect ¶
func (c *Client) PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDConnect Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
func (*Client) PostSandboxesSandboxIDConnectWithBody ¶
func (c *Client) PostSandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDConnectWithBody Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
func (*Client) PostSandboxesSandboxIDFork ¶
func (c *Client) PostSandboxesSandboxIDFork(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDFork Fork sandbox
Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
func (*Client) PostSandboxesSandboxIDForkWithBody ¶
func (c *Client) PostSandboxesSandboxIDForkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDForkWithBody Fork sandbox
Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
func (*Client) PostSandboxesSandboxIDPause ¶
func (c *Client) PostSandboxesSandboxIDPause(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDPause Pause sandbox
Pause the sandbox.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
func (*Client) PostSandboxesSandboxIDPauseWithBody ¶
func (c *Client) PostSandboxesSandboxIDPauseWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDPauseWithBody Pause sandbox
Pause the sandbox.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
func (*Client) PostSandboxesSandboxIDRefreshes ¶
func (c *Client) PostSandboxesSandboxIDRefreshes(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDRefreshes Refresh sandbox
Refresh the sandbox extending its time to live.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
func (*Client) PostSandboxesSandboxIDRefreshesWithBody ¶
func (c *Client) PostSandboxesSandboxIDRefreshesWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDRefreshesWithBody Refresh sandbox
Refresh the sandbox extending its time to live.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
func (*Client) PostSandboxesSandboxIDResume ¶
func (c *Client) PostSandboxesSandboxIDResume(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDResume Resume sandbox
Resume the sandbox.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostSandboxesSandboxIDResumeWithBody ¶
func (c *Client) PostSandboxesSandboxIDResumeWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDResumeWithBody Resume sandbox
Resume the sandbox.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostSandboxesSandboxIDSnapshots ¶
func (c *Client) PostSandboxesSandboxIDSnapshots(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDSnapshots Create snapshot
Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
func (*Client) PostSandboxesSandboxIDSnapshotsWithBody ¶
func (c *Client) PostSandboxesSandboxIDSnapshotsWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDSnapshotsWithBody Create snapshot
Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
func (*Client) PostSandboxesSandboxIDTimeout ¶
func (c *Client) PostSandboxesSandboxIDTimeout(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDTimeout Set sandbox timeout
Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
func (*Client) PostSandboxesSandboxIDTimeoutWithBody ¶
func (c *Client) PostSandboxesSandboxIDTimeoutWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDTimeoutWithBody Set sandbox timeout
Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
func (*Client) PostSandboxesWithBody ¶
func (c *Client) PostSandboxesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesWithBody Create sandbox
Create a sandbox from the template.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
func (*Client) PostSecrets ¶
func (c *Client) PostSecrets(ctx context.Context, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSecrets Create a secret
Create a secret by storing a runtime marker as its first version. The response carries metadata only.
Takes a body of the `application/json` content type.
Corresponds with POST /secrets (the `PostSecrets` operationId).
func (*Client) PostSecretsSecretID ¶
func (c *Client) PostSecretsSecretID(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSecretsSecretID Update a secret
Replace the secret's stored marker by appending a new version. The response carries metadata only.
Takes a body of the `application/json` content type.
Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
func (*Client) PostSecretsSecretIDWithBody ¶
func (c *Client) PostSecretsSecretIDWithBody(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSecretsSecretIDWithBody Update a secret
Replace the secret's stored marker by appending a new version. The response carries metadata only.
Takes any type of body and a specified content type.
Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
func (*Client) PostSecretsWithBody ¶
func (c *Client) PostSecretsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSecretsWithBody Create a secret
Create a secret by storing a runtime marker as its first version. The response carries metadata only.
Takes any type of body and a specified content type.
Corresponds with POST /secrets (the `PostSecrets` operationId).
func (*Client) PostTemplates ¶
func (c *Client) PostTemplates(ctx context.Context, body PostTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplates Create template
Create a new template.
Takes a body of the `application/json` content type.
Corresponds with POST /templates (the `PostTemplates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostTemplatesTags ¶
func (c *Client) PostTemplatesTags(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplatesTags Assign template tags
Assign tag(s) to a template build.
Takes a body of the `application/json` content type.
Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
func (*Client) PostTemplatesTagsWithBody ¶
func (c *Client) PostTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplatesTagsWithBody Assign template tags
Assign tag(s) to a template build.
Takes any type of body and a specified content type.
Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
func (*Client) PostTemplatesTemplateID ¶
func (c *Client) PostTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplatesTemplateID Rebuild template
Rebuild an template.
Takes a body of the `application/json` content type.
Corresponds with POST /templates/{templateID} (the `PostTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostTemplatesTemplateIDBuildsBuildID ¶
func (c *Client) PostTemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplatesTemplateIDBuildsBuildID Start template build
Start the build.
Corresponds with POST /templates/{templateID}/builds/{buildID} (the `PostTemplatesTemplateIDBuildsBuildID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostTemplatesTemplateIDWithBody ¶
func (c *Client) PostTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplatesTemplateIDWithBody Rebuild template
Rebuild an template.
Takes any type of body and a specified content type.
Corresponds with POST /templates/{templateID} (the `PostTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostTemplatesWithBody ¶
func (c *Client) PostTemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplatesWithBody Create template
Create a new template.
Takes any type of body and a specified content type.
Corresponds with POST /templates (the `PostTemplates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostV2Templates ¶
func (c *Client) PostV2Templates(ctx context.Context, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2Templates Create template (v2)
Create a new template.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/templates (the `PostV2Templates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostV2TemplatesTemplateIDBuildsBuildID ¶
func (c *Client) PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2TemplatesTemplateIDBuildsBuildID Start template build (v2)
Start the build.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
func (*Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody ¶
func (c *Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2TemplatesTemplateIDBuildsBuildIDWithBody Start template build (v2)
Start the build.
Takes any type of body and a specified content type.
Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
func (*Client) PostV2TemplatesWithBody ¶
func (c *Client) PostV2TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2TemplatesWithBody Create template (v2)
Create a new template.
Takes any type of body and a specified content type.
Corresponds with POST /v2/templates (the `PostV2Templates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostV3Templates ¶
func (c *Client) PostV3Templates(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV3Templates Create template (v3)
Create a new template.
Takes a body of the `application/json` content type.
Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
func (*Client) PostV3TemplatesWithBody ¶
func (c *Client) PostV3TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV3TemplatesWithBody Create template (v3)
Create a new template.
Takes any type of body and a specified content type.
Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
func (*Client) PostVolumes ¶
func (c *Client) PostVolumes(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostVolumes Create team volume
Create a new team volume.
Takes a body of the `application/json` content type.
Corresponds with POST /volumes (the `PostVolumes` operationId).
func (*Client) PostVolumesWithBody ¶
func (c *Client) PostVolumesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostVolumesWithBody Create team volume
Create a new team volume.
Takes any type of body and a specified content type.
Corresponds with POST /volumes (the `PostVolumes` operationId).
func (*Client) PutSandboxesSandboxIDNetwork ¶
func (c *Client) PutSandboxesSandboxIDNetwork(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutSandboxesSandboxIDNetwork Update sandbox network
Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
Takes a body of the `application/json` content type.
Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
func (*Client) PutSandboxesSandboxIDNetworkWithBody ¶
func (c *Client) PutSandboxesSandboxIDNetworkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutSandboxesSandboxIDNetworkWithBody Update sandbox network
Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
Takes any type of body and a specified content type.
Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetAdminSandboxesRunningCounts Count running sandboxes by team
//
// Returns a shared snapshot normally refreshed after five seconds. A
// sandbox transitioning out of running can remain counted until removal.
//
// Corresponds with GET /admin/sandboxes/running-counts (the `GetAdminSandboxesRunningCounts` operationId).
GetAdminSandboxesRunningCounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAdminTeamsTeamIDApiKeysWithBody Create team API key as admin
//
// Creates a team API key for internal service workflows.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
PostAdminTeamsTeamIDApiKeysWithBody(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAdminTeamsTeamIDApiKeys Create team API key as admin
//
// Creates a team API key for internal service workflows.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
PostAdminTeamsTeamIDApiKeys(ctx context.Context, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAdminTeamsTeamIDApiKeysApiKeyID Delete team API key as admin
//
// Deletes a team API key for internal service workflows.
//
// Corresponds with DELETE /admin/teams/{teamID}/api-keys/{apiKeyID} (the `DeleteAdminTeamsTeamIDApiKeysApiKeyID` operationId).
DeleteAdminTeamsTeamIDApiKeysApiKeyID(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAdminTeamsTeamIDBuildsCancel Cancel all builds for a team
//
// Cancels all in-progress and pending builds for the specified team.
//
// Corresponds with POST /admin/teams/{teamID}/builds/cancel (the `PostAdminTeamsTeamIDBuildsCancel` operationId).
PostAdminTeamsTeamIDBuildsCancel(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAdminTeamsTeamIDSandboxesKill Kill all sandboxes for a team
//
// Kills all sandboxes for the specified team.
//
// Corresponds with POST /admin/teams/{teamID}/sandboxes/kill (the `PostAdminTeamsTeamIDSandboxesKill` operationId).
PostAdminTeamsTeamIDSandboxesKill(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiKeys List team API keys
//
// List all team API keys.
//
// Corresponds with GET /api-keys (the `GetApiKeys` operationId).
GetApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiKeysWithBody Create team API key
//
// Create a new team API key.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
PostApiKeysWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiKeys Create team API key
//
// Create a new team API key.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
PostApiKeys(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiKeysApiKeyID Delete team API key
//
// Delete a team API key.
//
// Corresponds with DELETE /api-keys/{apiKeyID} (the `DeleteApiKeysApiKeyID` operationId).
DeleteApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchApiKeysApiKeyIDWithBody Update team API key
//
// Update a team API key.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
PatchApiKeysApiKeyIDWithBody(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchApiKeysApiKeyID Update team API key
//
// Update a team API key.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
PatchApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHealth Health check
//
// Corresponds with GET /health (the `GetHealth` operationId).
GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodes List nodes
//
// List all nodes.
//
// Corresponds with GET /nodes (the `GetNodes` operationId).
GetNodes(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodesNodeID Node info
//
// Get node info.
//
// Corresponds with GET /nodes/{nodeID} (the `GetNodesNodeID` operationId).
GetNodesNodeID(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodesNodeIDWithBody Change node status
//
// Change status of a node.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
PostNodesNodeIDWithBody(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodesNodeID Change node status
//
// Change status of a node.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
PostNodesNodeID(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxes List running sandboxes
//
// List all running sandboxes. Use GET /v2/sandboxes instead.
//
// Corresponds with GET /sandboxes (the `GetSandboxes` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSandboxes(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesWithBody Create sandbox
//
// Create a sandbox from the template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
PostSandboxesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxes Create sandbox
//
// Create a sandbox from the template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
PostSandboxes(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxesMetrics List sandbox metrics
//
// List metrics for given sandboxes.
//
// Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
GetSandboxesMetrics(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSandboxesSandboxID Kill sandbox
//
// Kill a sandbox.
//
// Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
DeleteSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxesSandboxID Sandbox
//
// Get a sandbox by id.
//
// Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
GetSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDConnectWithBody Connect sandbox
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
PostSandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDConnect Connect sandbox
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDForkWithBody Fork sandbox
//
// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
PostSandboxesSandboxIDForkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDFork Fork sandbox
//
// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
PostSandboxesSandboxIDFork(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxesSandboxIDLogs Sandbox logs
//
// Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
//
// Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxesSandboxIDMetrics Sandbox metrics
//
// Get sandbox metrics.
//
// Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutSandboxesSandboxIDNetworkWithBody Update sandbox network
//
// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
PutSandboxesSandboxIDNetworkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutSandboxesSandboxIDNetwork Update sandbox network
//
// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
PutSandboxesSandboxIDNetwork(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDPauseWithBody Pause sandbox
//
// Pause the sandbox.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
PostSandboxesSandboxIDPauseWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDPause Pause sandbox
//
// Pause the sandbox.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
PostSandboxesSandboxIDPause(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDRefreshesWithBody Refresh sandbox
//
// Refresh the sandbox extending its time to live.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
PostSandboxesSandboxIDRefreshesWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDRefreshes Refresh sandbox
//
// Refresh the sandbox extending its time to live.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
PostSandboxesSandboxIDRefreshes(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDResumeWithBody Resume sandbox
//
// Resume the sandbox.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesSandboxIDResumeWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDResume Resume sandbox
//
// Resume the sandbox.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesSandboxIDResume(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDSnapshotsWithBody Create snapshot
//
// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
PostSandboxesSandboxIDSnapshotsWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDSnapshots Create snapshot
//
// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
PostSandboxesSandboxIDSnapshots(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDTimeoutWithBody Set sandbox timeout
//
// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
PostSandboxesSandboxIDTimeoutWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDTimeout Set sandbox timeout
//
// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
PostSandboxesSandboxIDTimeout(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecrets List project secrets
//
// List the project's secrets. No response carries a secret value.
//
// Corresponds with GET /secrets (the `GetSecrets` operationId).
GetSecrets(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSecretsWithBody Create a secret
//
// Create a secret by storing a runtime marker as its first version. The response carries metadata only.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /secrets (the `PostSecrets` operationId).
PostSecretsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSecrets Create a secret
//
// Create a secret by storing a runtime marker as its first version. The response carries metadata only.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /secrets (the `PostSecrets` operationId).
PostSecrets(ctx context.Context, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSecretsSecretID Delete a secret
//
// Revoke the secret and schedule its versions for cleanup.
//
// Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).
DeleteSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecretsSecretID Get a secret
//
// Get one secret's metadata, selected by identifier or name.
//
// Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).
GetSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSecretsSecretIDWithBody Update a secret
//
// Replace the secret's stored marker by appending a new version. The response carries metadata only.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
PostSecretsSecretIDWithBody(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSecretsSecretID Update a secret
//
// Replace the secret's stored marker by appending a new version. The response carries metadata only.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
PostSecretsSecretID(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSnapshots List snapshots
//
// List all snapshots for the team.
//
// Corresponds with GET /snapshots (the `GetSnapshots` operationId).
GetSnapshots(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeams List teams
//
// List all teams.
//
// Corresponds with GET /teams (the `GetTeams` operationId).
GetTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamsTeamIDMetrics Team metrics
//
// Get metrics for the team.
//
// Corresponds with GET /teams/{teamID}/metrics (the `GetTeamsTeamIDMetrics` operationId).
GetTeamsTeamIDMetrics(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamsTeamIDMetricsMax Maximum team metrics
//
// Get the maximum metrics for the team in the given interval.
//
// Corresponds with GET /teams/{teamID}/metrics/max (the `GetTeamsTeamIDMetricsMax` operationId).
GetTeamsTeamIDMetricsMax(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplates List templates
//
// List all templates.
//
// Corresponds with GET /templates (the `GetTemplates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetTemplates(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplatesWithBody Create template
//
// Create a new template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /templates (the `PostTemplates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplates Create template
//
// Create a new template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /templates (the `PostTemplates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplates(ctx context.Context, body PostTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesAliasesAlias Check template alias
//
// Check if template with given alias exists.
//
// Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
GetTemplatesAliasesAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTemplatesTagsWithBody Delete template tags
//
// Delete multiple tags from templates.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
DeleteTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTemplatesTags Delete template tags
//
// Delete multiple tags from templates.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
DeleteTemplatesTags(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplatesTagsWithBody Assign template tags
//
// Assign tag(s) to a template build.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
PostTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplatesTags Assign template tags
//
// Assign tag(s) to a template build.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
PostTemplatesTags(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTemplatesTemplateID Delete template
//
// Delete a template.
//
// Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
DeleteTemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateID List template builds
//
// List all builds for a template.
//
// Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchTemplatesTemplateIDWithBody Update template
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PatchTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchTemplatesTemplateID Update template
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PatchTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplatesTemplateIDWithBody Rebuild template
//
// Rebuild an template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /templates/{templateID} (the `PostTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplatesTemplateID Rebuild template
//
// Rebuild an template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /templates/{templateID} (the `PostTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplatesTemplateIDBuildsBuildID Start template build
//
// Start the build.
//
// Corresponds with POST /templates/{templateID}/builds/{buildID} (the `PostTemplatesTemplateIDBuildsBuildID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateIDBuildsBuildIDLogs Template build logs
//
// Get template build logs.
//
// Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateIDBuildsBuildIDStatus Template build status
//
// Get template build info.
//
// Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateIDFilesHash Template build file upload URL
//
// Get an upload link for a tar file containing build layer files.
//
// Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateIDTags List template tags
//
// List all tags for a template.
//
// Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
GetTemplatesTemplateIDTags(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Sandboxes List sandboxes (v2)
//
// List all sandboxes.
//
// Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
GetV2Sandboxes(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2SandboxesSandboxIDLogs Sandbox logs (v2)
//
// Get sandbox logs.
//
// Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Templates List templates (v2)
//
// List all templates.
//
// Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2TemplatesWithBody Create template (v2)
//
// Create a new template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/templates (the `PostV2Templates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostV2TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2Templates Create template (v2)
//
// Create a new template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/templates (the `PostV2Templates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostV2Templates(ctx context.Context, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV2TemplatesTemplateIDWithBody Update template (v2)
//
// Update template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
PatchV2TemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV2TemplatesTemplateID Update template (v2)
//
// Update template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
PatchV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2TemplatesTemplateIDBuildsBuildIDWithBody Start template build (v2)
//
// Start the build.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2TemplatesTemplateIDBuildsBuildID Start template build (v2)
//
// Start the build.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV3TemplatesWithBody Create template (v3)
//
// Create a new template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
PostV3TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV3Templates Create template (v3)
//
// Create a new template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
PostV3Templates(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVolumes List team volumes
//
// List all team volumes.
//
// Corresponds with GET /volumes (the `GetVolumes` operationId).
GetVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostVolumesWithBody Create team volume
//
// Create a new team volume.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /volumes (the `PostVolumes` operationId).
PostVolumesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostVolumes Create team volume
//
// Create a new team volume.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /volumes (the `PostVolumes` operationId).
PostVolumes(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVolumesVolumeID Delete team volume
//
// Delete a team volume.
//
// Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
DeleteVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVolumesVolumeID Team volume
//
// Get team volume info.
//
// Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
GetVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse ¶
func (c *ClientWithResponses) DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse, error)
DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse Delete team API key as admin
Deletes a team API key for internal service workflows.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /admin/teams/{teamID}/api-keys/{apiKeyID} (the `DeleteAdminTeamsTeamIDApiKeysApiKeyID` operationId).
func (*ClientWithResponses) DeleteApiKeysApiKeyIDWithResponse ¶
func (c *ClientWithResponses) DeleteApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteApiKeysApiKeyIDResponse, error)
DeleteApiKeysApiKeyIDWithResponse Delete team API key
Delete a team API key.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api-keys/{apiKeyID} (the `DeleteApiKeysApiKeyID` operationId).
func (*ClientWithResponses) DeleteSandboxesSandboxIDWithResponse ¶
func (c *ClientWithResponses) DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)
DeleteSandboxesSandboxIDWithResponse Kill sandbox
Kill a sandbox.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
func (*ClientWithResponses) DeleteSecretsSecretIDWithResponse ¶
func (c *ClientWithResponses) DeleteSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*DeleteSecretsSecretIDResponse, error)
DeleteSecretsSecretIDWithResponse Delete a secret
Revoke the secret and schedule its versions for cleanup.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).
func (*ClientWithResponses) DeleteTemplatesTagsWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)
DeleteTemplatesTagsWithBodyWithResponse Delete template tags
Delete multiple tags from templates.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
func (*ClientWithResponses) DeleteTemplatesTagsWithResponse ¶
func (c *ClientWithResponses) DeleteTemplatesTagsWithResponse(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)
DeleteTemplatesTagsWithResponse Delete template tags
Delete multiple tags from templates.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
func (*ClientWithResponses) DeleteTemplatesTemplateIDWithResponse ¶
func (c *ClientWithResponses) DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)
DeleteTemplatesTemplateIDWithResponse Delete template
Delete a template.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
func (*ClientWithResponses) DeleteVolumesVolumeIDWithResponse ¶
func (c *ClientWithResponses) DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)
DeleteVolumesVolumeIDWithResponse Delete team volume
Delete a team volume.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
func (*ClientWithResponses) GetAdminSandboxesRunningCountsWithResponse ¶
func (c *ClientWithResponses) GetAdminSandboxesRunningCountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminSandboxesRunningCountsResponse, error)
GetAdminSandboxesRunningCountsWithResponse Count running sandboxes by team
Returns a shared snapshot normally refreshed after five seconds. A sandbox transitioning out of running can remain counted until removal.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /admin/sandboxes/running-counts (the `GetAdminSandboxesRunningCounts` operationId).
func (*ClientWithResponses) GetApiKeysWithResponse ¶
func (c *ClientWithResponses) GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)
GetApiKeysWithResponse List team API keys
List all team API keys.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api-keys (the `GetApiKeys` operationId).
func (*ClientWithResponses) GetHealthWithResponse ¶
func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
GetHealthWithResponse Health check
Returns a wrapper object for the known response body format(s).
Corresponds with GET /health (the `GetHealth` operationId).
func (*ClientWithResponses) GetNodesNodeIDWithResponse ¶
func (c *ClientWithResponses) GetNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*GetNodesNodeIDResponse, error)
GetNodesNodeIDWithResponse Node info
Get node info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /nodes/{nodeID} (the `GetNodesNodeID` operationId).
func (*ClientWithResponses) GetNodesWithResponse ¶
func (c *ClientWithResponses) GetNodesWithResponse(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*GetNodesResponse, error)
GetNodesWithResponse List nodes
List all nodes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /nodes (the `GetNodes` operationId).
func (*ClientWithResponses) GetSandboxesMetricsWithResponse ¶
func (c *ClientWithResponses) GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesMetricsResponse, error)
GetSandboxesMetricsWithResponse List sandbox metrics
List metrics for given sandboxes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
func (*ClientWithResponses) GetSandboxesSandboxIDLogsWithResponse
deprecated
func (c *ClientWithResponses) GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDLogsResponse, error)
GetSandboxesSandboxIDLogsWithResponse Sandbox logs
Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetSandboxesSandboxIDMetricsWithResponse ¶
func (c *ClientWithResponses) GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDMetricsResponse, error)
GetSandboxesSandboxIDMetricsWithResponse Sandbox metrics
Get sandbox metrics.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
func (*ClientWithResponses) GetSandboxesSandboxIDWithResponse ¶
func (c *ClientWithResponses) GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)
GetSandboxesSandboxIDWithResponse Sandbox
Get a sandbox by id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
func (*ClientWithResponses) GetSandboxesWithResponse
deprecated
func (c *ClientWithResponses) GetSandboxesWithResponse(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*GetSandboxesResponse, error)
GetSandboxesWithResponse List running sandboxes
List all running sandboxes. Use GET /v2/sandboxes instead.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sandboxes (the `GetSandboxes` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetSecretsSecretIDWithResponse ¶
func (c *ClientWithResponses) GetSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*GetSecretsSecretIDResponse, error)
GetSecretsSecretIDWithResponse Get a secret
Get one secret's metadata, selected by identifier or name.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).
func (*ClientWithResponses) GetSecretsWithResponse ¶
func (c *ClientWithResponses) GetSecretsWithResponse(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)
GetSecretsWithResponse List project secrets
List the project's secrets. No response carries a secret value.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /secrets (the `GetSecrets` operationId).
func (*ClientWithResponses) GetSnapshotsWithResponse ¶
func (c *ClientWithResponses) GetSnapshotsWithResponse(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*GetSnapshotsResponse, error)
GetSnapshotsWithResponse List snapshots
List all snapshots for the team.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /snapshots (the `GetSnapshots` operationId).
func (*ClientWithResponses) GetTeamsTeamIDMetricsMaxWithResponse ¶
func (c *ClientWithResponses) GetTeamsTeamIDMetricsMaxWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsMaxResponse, error)
GetTeamsTeamIDMetricsMaxWithResponse Maximum team metrics
Get the maximum metrics for the team in the given interval.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /teams/{teamID}/metrics/max (the `GetTeamsTeamIDMetricsMax` operationId).
func (*ClientWithResponses) GetTeamsTeamIDMetricsWithResponse ¶
func (c *ClientWithResponses) GetTeamsTeamIDMetricsWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsResponse, error)
GetTeamsTeamIDMetricsWithResponse Team metrics
Get metrics for the team.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /teams/{teamID}/metrics (the `GetTeamsTeamIDMetrics` operationId).
func (*ClientWithResponses) GetTeamsWithResponse ¶
func (c *ClientWithResponses) GetTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
GetTeamsWithResponse List teams
List all teams.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /teams (the `GetTeams` operationId).
func (*ClientWithResponses) GetTemplatesAliasesAliasWithResponse ¶
func (c *ClientWithResponses) GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)
GetTemplatesAliasesAliasWithResponse Check template alias
Check if template with given alias exists.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
func (*ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse ¶
func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)
GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse Template build logs
Get template build logs.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
func (*ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse ¶
func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)
GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse Template build status
Get template build info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
func (*ClientWithResponses) GetTemplatesTemplateIDFilesHashWithResponse ¶
func (c *ClientWithResponses) GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDFilesHashResponse, error)
GetTemplatesTemplateIDFilesHashWithResponse Template build file upload URL
Get an upload link for a tar file containing build layer files.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
func (*ClientWithResponses) GetTemplatesTemplateIDTagsWithResponse ¶
func (c *ClientWithResponses) GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)
GetTemplatesTemplateIDTagsWithResponse List template tags
List all tags for a template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
func (*ClientWithResponses) GetTemplatesTemplateIDWithResponse ¶
func (c *ClientWithResponses) GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDResponse, error)
GetTemplatesTemplateIDWithResponse List template builds
List all builds for a template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
func (*ClientWithResponses) GetTemplatesWithResponse
deprecated
func (c *ClientWithResponses) GetTemplatesWithResponse(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)
GetTemplatesWithResponse List templates
List all templates.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /templates (the `GetTemplates` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetV2SandboxesSandboxIDLogsWithResponse ¶
func (c *ClientWithResponses) GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesSandboxIDLogsResponse, error)
GetV2SandboxesSandboxIDLogsWithResponse Sandbox logs (v2)
Get sandbox logs.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
func (*ClientWithResponses) GetV2SandboxesWithResponse ¶
func (c *ClientWithResponses) GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesResponse, error)
GetV2SandboxesWithResponse List sandboxes (v2)
List all sandboxes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
func (*ClientWithResponses) GetV2TemplatesWithResponse ¶
func (c *ClientWithResponses) GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)
GetV2TemplatesWithResponse List templates (v2)
List all templates.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
func (*ClientWithResponses) GetVolumesVolumeIDWithResponse ¶
func (c *ClientWithResponses) GetVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*GetVolumesVolumeIDResponse, error)
GetVolumesVolumeIDWithResponse Team volume
Get team volume info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
func (*ClientWithResponses) GetVolumesWithResponse ¶
func (c *ClientWithResponses) GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)
GetVolumesWithResponse List team volumes
List all team volumes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /volumes (the `GetVolumes` operationId).
func (*ClientWithResponses) PatchApiKeysApiKeyIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchApiKeysApiKeyIDWithBodyWithResponse(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)
PatchApiKeysApiKeyIDWithBodyWithResponse Update team API key
Update a team API key.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
func (*ClientWithResponses) PatchApiKeysApiKeyIDWithResponse ¶
func (c *ClientWithResponses) PatchApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)
PatchApiKeysApiKeyIDWithResponse Update team API key
Update a team API key.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
func (*ClientWithResponses) PatchTemplatesTemplateIDWithBodyWithResponse
deprecated
func (c *ClientWithResponses) PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)
PatchTemplatesTemplateIDWithBodyWithResponse Update template
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PatchTemplatesTemplateIDWithResponse ¶
func (c *ClientWithResponses) PatchTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)
PatchTemplatesTemplateIDWithResponse Update template
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PatchV2TemplatesTemplateIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)
PatchV2TemplatesTemplateIDWithBodyWithResponse Update template (v2)
Update template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
func (*ClientWithResponses) PatchV2TemplatesTemplateIDWithResponse ¶
func (c *ClientWithResponses) PatchV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)
PatchV2TemplatesTemplateIDWithResponse Update template (v2)
Update template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
func (*ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithBodyWithResponse(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDApiKeysResponse, error)
PostAdminTeamsTeamIDApiKeysWithBodyWithResponse Create team API key as admin
Creates a team API key for internal service workflows.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
func (*ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithResponse ¶
func (c *ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithResponse(ctx context.Context, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDApiKeysResponse, error)
PostAdminTeamsTeamIDApiKeysWithResponse Create team API key as admin
Creates a team API key for internal service workflows.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
func (*ClientWithResponses) PostAdminTeamsTeamIDBuildsCancelWithResponse ¶
func (c *ClientWithResponses) PostAdminTeamsTeamIDBuildsCancelWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)
PostAdminTeamsTeamIDBuildsCancelWithResponse Cancel all builds for a team
Cancels all in-progress and pending builds for the specified team.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /admin/teams/{teamID}/builds/cancel (the `PostAdminTeamsTeamIDBuildsCancel` operationId).
func (*ClientWithResponses) PostAdminTeamsTeamIDSandboxesKillWithResponse ¶
func (c *ClientWithResponses) PostAdminTeamsTeamIDSandboxesKillWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)
PostAdminTeamsTeamIDSandboxesKillWithResponse Kill all sandboxes for a team
Kills all sandboxes for the specified team.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /admin/teams/{teamID}/sandboxes/kill (the `PostAdminTeamsTeamIDSandboxesKill` operationId).
func (*ClientWithResponses) PostApiKeysWithBodyWithResponse ¶
func (c *ClientWithResponses) PostApiKeysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)
PostApiKeysWithBodyWithResponse Create team API key
Create a new team API key.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api-keys (the `PostApiKeys` operationId).
func (*ClientWithResponses) PostApiKeysWithResponse ¶
func (c *ClientWithResponses) PostApiKeysWithResponse(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)
PostApiKeysWithResponse Create team API key
Create a new team API key.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api-keys (the `PostApiKeys` operationId).
func (*ClientWithResponses) PostNodesNodeIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodesNodeIDWithBodyWithResponse(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)
PostNodesNodeIDWithBodyWithResponse Change node status
Change status of a node.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
func (*ClientWithResponses) PostNodesNodeIDWithResponse ¶
func (c *ClientWithResponses) PostNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)
PostNodesNodeIDWithResponse Change node status
Change status of a node.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)
PostSandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)
PostSandboxesSandboxIDConnectWithResponse Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDForkWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDForkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)
PostSandboxesSandboxIDForkWithBodyWithResponse Fork sandbox
Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDForkWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDForkWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)
PostSandboxesSandboxIDForkWithResponse Fork sandbox
Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDPauseWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDPauseWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)
PostSandboxesSandboxIDPauseWithBodyWithResponse Pause sandbox
Pause the sandbox.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDPauseWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDPauseWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)
PostSandboxesSandboxIDPauseWithResponse Pause sandbox
Pause the sandbox.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDRefreshesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDRefreshesWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)
PostSandboxesSandboxIDRefreshesWithBodyWithResponse Refresh sandbox
Refresh the sandbox extending its time to live.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDRefreshesWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDRefreshesWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)
PostSandboxesSandboxIDRefreshesWithResponse Refresh sandbox
Refresh the sandbox extending its time to live.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDResumeWithBodyWithResponse
deprecated
func (c *ClientWithResponses) PostSandboxesSandboxIDResumeWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)
PostSandboxesSandboxIDResumeWithBodyWithResponse Resume sandbox
Resume the sandbox.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostSandboxesSandboxIDResumeWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDResumeWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)
PostSandboxesSandboxIDResumeWithResponse Resume sandbox
Resume the sandbox.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)
PostSandboxesSandboxIDSnapshotsWithBodyWithResponse Create snapshot
Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)
PostSandboxesSandboxIDSnapshotsWithResponse Create snapshot
Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDTimeoutWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDTimeoutWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)
PostSandboxesSandboxIDTimeoutWithBodyWithResponse Set sandbox timeout
Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
func (*ClientWithResponses) PostSandboxesSandboxIDTimeoutWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDTimeoutWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)
PostSandboxesSandboxIDTimeoutWithResponse Set sandbox timeout
Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
func (*ClientWithResponses) PostSandboxesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSandboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)
PostSandboxesWithBodyWithResponse Create sandbox
Create a sandbox from the template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
func (*ClientWithResponses) PostSandboxesWithResponse ¶
func (c *ClientWithResponses) PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)
PostSandboxesWithResponse Create sandbox
Create a sandbox from the template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
func (*ClientWithResponses) PostSecretsSecretIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSecretsSecretIDWithBodyWithResponse(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)
PostSecretsSecretIDWithBodyWithResponse Update a secret
Replace the secret's stored marker by appending a new version. The response carries metadata only.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
func (*ClientWithResponses) PostSecretsSecretIDWithResponse ¶
func (c *ClientWithResponses) PostSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)
PostSecretsSecretIDWithResponse Update a secret
Replace the secret's stored marker by appending a new version. The response carries metadata only.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
func (*ClientWithResponses) PostSecretsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSecretsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)
PostSecretsWithBodyWithResponse Create a secret
Create a secret by storing a runtime marker as its first version. The response carries metadata only.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /secrets (the `PostSecrets` operationId).
func (*ClientWithResponses) PostSecretsWithResponse ¶
func (c *ClientWithResponses) PostSecretsWithResponse(ctx context.Context, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)
PostSecretsWithResponse Create a secret
Create a secret by storing a runtime marker as its first version. The response carries metadata only.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /secrets (the `PostSecrets` operationId).
func (*ClientWithResponses) PostTemplatesTagsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)
PostTemplatesTagsWithBodyWithResponse Assign template tags
Assign tag(s) to a template build.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
func (*ClientWithResponses) PostTemplatesTagsWithResponse ¶
func (c *ClientWithResponses) PostTemplatesTagsWithResponse(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)
PostTemplatesTagsWithResponse Assign template tags
Assign tag(s) to a template build.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
func (*ClientWithResponses) PostTemplatesTemplateIDBuildsBuildIDWithResponse
deprecated
func (c *ClientWithResponses) PostTemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDBuildsBuildIDResponse, error)
PostTemplatesTemplateIDBuildsBuildIDWithResponse Start template build
Start the build.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /templates/{templateID}/builds/{buildID} (the `PostTemplatesTemplateIDBuildsBuildID` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostTemplatesTemplateIDWithBodyWithResponse
deprecated
func (c *ClientWithResponses) PostTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDResponse, error)
PostTemplatesTemplateIDWithBodyWithResponse Rebuild template
Rebuild an template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /templates/{templateID} (the `PostTemplatesTemplateID` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostTemplatesTemplateIDWithResponse ¶
func (c *ClientWithResponses) PostTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDResponse, error)
PostTemplatesTemplateIDWithResponse Rebuild template
Rebuild an template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /templates/{templateID} (the `PostTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostTemplatesWithBodyWithResponse
deprecated
func (c *ClientWithResponses) PostTemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesResponse, error)
PostTemplatesWithBodyWithResponse Create template
Create a new template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /templates (the `PostTemplates` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostTemplatesWithResponse ¶
func (c *ClientWithResponses) PostTemplatesWithResponse(ctx context.Context, body PostTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesResponse, error)
PostTemplatesWithResponse Create template
Create a new template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /templates (the `PostTemplates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse Start template build (v2)
Start the build.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse ¶
func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
PostV2TemplatesTemplateIDBuildsBuildIDWithResponse Start template build (v2)
Start the build.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
func (*ClientWithResponses) PostV2TemplatesWithBodyWithResponse
deprecated
func (c *ClientWithResponses) PostV2TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)
PostV2TemplatesWithBodyWithResponse Create template (v2)
Create a new template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/templates (the `PostV2Templates` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostV2TemplatesWithResponse ¶
func (c *ClientWithResponses) PostV2TemplatesWithResponse(ctx context.Context, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)
PostV2TemplatesWithResponse Create template (v2)
Create a new template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/templates (the `PostV2Templates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostV3TemplatesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV3TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)
PostV3TemplatesWithBodyWithResponse Create template (v3)
Create a new template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
func (*ClientWithResponses) PostV3TemplatesWithResponse ¶
func (c *ClientWithResponses) PostV3TemplatesWithResponse(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)
PostV3TemplatesWithResponse Create template (v3)
Create a new template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
func (*ClientWithResponses) PostVolumesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)
PostVolumesWithBodyWithResponse Create team volume
Create a new team volume.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /volumes (the `PostVolumes` operationId).
func (*ClientWithResponses) PostVolumesWithResponse ¶
func (c *ClientWithResponses) PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)
PostVolumesWithResponse Create team volume
Create a new team volume.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /volumes (the `PostVolumes` operationId).
func (*ClientWithResponses) PutSandboxesSandboxIDNetworkWithBodyWithResponse ¶
func (c *ClientWithResponses) PutSandboxesSandboxIDNetworkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)
PutSandboxesSandboxIDNetworkWithBodyWithResponse Update sandbox network
Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
func (*ClientWithResponses) PutSandboxesSandboxIDNetworkWithResponse ¶
func (c *ClientWithResponses) PutSandboxesSandboxIDNetworkWithResponse(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)
PutSandboxesSandboxIDNetworkWithResponse Update sandbox network
Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAdminSandboxesRunningCountsWithResponse Count running sandboxes by team
//
// Returns a shared snapshot normally refreshed after five seconds. A
// sandbox transitioning out of running can remain counted until removal.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /admin/sandboxes/running-counts (the `GetAdminSandboxesRunningCounts` operationId).
GetAdminSandboxesRunningCountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminSandboxesRunningCountsResponse, error)
// PostAdminTeamsTeamIDApiKeysWithBodyWithResponse Create team API key as admin
//
// Creates a team API key for internal service workflows.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
PostAdminTeamsTeamIDApiKeysWithBodyWithResponse(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDApiKeysResponse, error)
// PostAdminTeamsTeamIDApiKeysWithResponse Create team API key as admin
//
// Creates a team API key for internal service workflows.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
PostAdminTeamsTeamIDApiKeysWithResponse(ctx context.Context, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDApiKeysResponse, error)
// DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse Delete team API key as admin
//
// Deletes a team API key for internal service workflows.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /admin/teams/{teamID}/api-keys/{apiKeyID} (the `DeleteAdminTeamsTeamIDApiKeysApiKeyID` operationId).
DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse, error)
// PostAdminTeamsTeamIDBuildsCancelWithResponse Cancel all builds for a team
//
// Cancels all in-progress and pending builds for the specified team.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /admin/teams/{teamID}/builds/cancel (the `PostAdminTeamsTeamIDBuildsCancel` operationId).
PostAdminTeamsTeamIDBuildsCancelWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)
// PostAdminTeamsTeamIDSandboxesKillWithResponse Kill all sandboxes for a team
//
// Kills all sandboxes for the specified team.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /admin/teams/{teamID}/sandboxes/kill (the `PostAdminTeamsTeamIDSandboxesKill` operationId).
PostAdminTeamsTeamIDSandboxesKillWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)
// GetApiKeysWithResponse List team API keys
//
// List all team API keys.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api-keys (the `GetApiKeys` operationId).
GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)
// PostApiKeysWithBodyWithResponse Create team API key
//
// Create a new team API key.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
PostApiKeysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)
// PostApiKeysWithResponse Create team API key
//
// Create a new team API key.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
PostApiKeysWithResponse(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)
// DeleteApiKeysApiKeyIDWithResponse Delete team API key
//
// Delete a team API key.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api-keys/{apiKeyID} (the `DeleteApiKeysApiKeyID` operationId).
DeleteApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteApiKeysApiKeyIDResponse, error)
// PatchApiKeysApiKeyIDWithBodyWithResponse Update team API key
//
// Update a team API key.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
PatchApiKeysApiKeyIDWithBodyWithResponse(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)
// PatchApiKeysApiKeyIDWithResponse Update team API key
//
// Update a team API key.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
PatchApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)
// GetHealthWithResponse Health check
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /health (the `GetHealth` operationId).
GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
// GetNodesWithResponse List nodes
//
// List all nodes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /nodes (the `GetNodes` operationId).
GetNodesWithResponse(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*GetNodesResponse, error)
// GetNodesNodeIDWithResponse Node info
//
// Get node info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /nodes/{nodeID} (the `GetNodesNodeID` operationId).
GetNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*GetNodesNodeIDResponse, error)
// PostNodesNodeIDWithBodyWithResponse Change node status
//
// Change status of a node.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
PostNodesNodeIDWithBodyWithResponse(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)
// PostNodesNodeIDWithResponse Change node status
//
// Change status of a node.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
PostNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)
// GetSandboxesWithResponse List running sandboxes
//
// List all running sandboxes. Use GET /v2/sandboxes instead.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes (the `GetSandboxes` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSandboxesWithResponse(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*GetSandboxesResponse, error)
// PostSandboxesWithBodyWithResponse Create sandbox
//
// Create a sandbox from the template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
PostSandboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)
// PostSandboxesWithResponse Create sandbox
//
// Create a sandbox from the template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)
// GetSandboxesMetricsWithResponse List sandbox metrics
//
// List metrics for given sandboxes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesMetricsResponse, error)
// DeleteSandboxesSandboxIDWithResponse Kill sandbox
//
// Kill a sandbox.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)
// GetSandboxesSandboxIDWithResponse Sandbox
//
// Get a sandbox by id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)
// PostSandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)
// PostSandboxesSandboxIDConnectWithResponse Connect sandbox
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)
// PostSandboxesSandboxIDForkWithBodyWithResponse Fork sandbox
//
// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
PostSandboxesSandboxIDForkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)
// PostSandboxesSandboxIDForkWithResponse Fork sandbox
//
// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
PostSandboxesSandboxIDForkWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)
// GetSandboxesSandboxIDLogsWithResponse Sandbox logs
//
// Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDLogsResponse, error)
// GetSandboxesSandboxIDMetricsWithResponse Sandbox metrics
//
// Get sandbox metrics.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDMetricsResponse, error)
// PutSandboxesSandboxIDNetworkWithBodyWithResponse Update sandbox network
//
// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
PutSandboxesSandboxIDNetworkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)
// PutSandboxesSandboxIDNetworkWithResponse Update sandbox network
//
// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
PutSandboxesSandboxIDNetworkWithResponse(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)
// PostSandboxesSandboxIDPauseWithBodyWithResponse Pause sandbox
//
// Pause the sandbox.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
PostSandboxesSandboxIDPauseWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)
// PostSandboxesSandboxIDPauseWithResponse Pause sandbox
//
// Pause the sandbox.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
PostSandboxesSandboxIDPauseWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)
// PostSandboxesSandboxIDRefreshesWithBodyWithResponse Refresh sandbox
//
// Refresh the sandbox extending its time to live.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
PostSandboxesSandboxIDRefreshesWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)
// PostSandboxesSandboxIDRefreshesWithResponse Refresh sandbox
//
// Refresh the sandbox extending its time to live.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
PostSandboxesSandboxIDRefreshesWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)
// PostSandboxesSandboxIDResumeWithBodyWithResponse Resume sandbox
//
// Resume the sandbox.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesSandboxIDResumeWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)
// PostSandboxesSandboxIDResumeWithResponse Resume sandbox
//
// Resume the sandbox.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesSandboxIDResumeWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)
// PostSandboxesSandboxIDSnapshotsWithBodyWithResponse Create snapshot
//
// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
PostSandboxesSandboxIDSnapshotsWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)
// PostSandboxesSandboxIDSnapshotsWithResponse Create snapshot
//
// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
PostSandboxesSandboxIDSnapshotsWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)
// PostSandboxesSandboxIDTimeoutWithBodyWithResponse Set sandbox timeout
//
// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
PostSandboxesSandboxIDTimeoutWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)
// PostSandboxesSandboxIDTimeoutWithResponse Set sandbox timeout
//
// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
PostSandboxesSandboxIDTimeoutWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)
// GetSecretsWithResponse List project secrets
//
// List the project's secrets. No response carries a secret value.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /secrets (the `GetSecrets` operationId).
GetSecretsWithResponse(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)
// PostSecretsWithBodyWithResponse Create a secret
//
// Create a secret by storing a runtime marker as its first version. The response carries metadata only.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /secrets (the `PostSecrets` operationId).
PostSecretsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)
// PostSecretsWithResponse Create a secret
//
// Create a secret by storing a runtime marker as its first version. The response carries metadata only.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /secrets (the `PostSecrets` operationId).
PostSecretsWithResponse(ctx context.Context, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)
// DeleteSecretsSecretIDWithResponse Delete a secret
//
// Revoke the secret and schedule its versions for cleanup.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).
DeleteSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*DeleteSecretsSecretIDResponse, error)
// GetSecretsSecretIDWithResponse Get a secret
//
// Get one secret's metadata, selected by identifier or name.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).
GetSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*GetSecretsSecretIDResponse, error)
// PostSecretsSecretIDWithBodyWithResponse Update a secret
//
// Replace the secret's stored marker by appending a new version. The response carries metadata only.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
PostSecretsSecretIDWithBodyWithResponse(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)
// PostSecretsSecretIDWithResponse Update a secret
//
// Replace the secret's stored marker by appending a new version. The response carries metadata only.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
PostSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)
// GetSnapshotsWithResponse List snapshots
//
// List all snapshots for the team.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /snapshots (the `GetSnapshots` operationId).
GetSnapshotsWithResponse(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*GetSnapshotsResponse, error)
// GetTeamsWithResponse List teams
//
// List all teams.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /teams (the `GetTeams` operationId).
GetTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
// GetTeamsTeamIDMetricsWithResponse Team metrics
//
// Get metrics for the team.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /teams/{teamID}/metrics (the `GetTeamsTeamIDMetrics` operationId).
GetTeamsTeamIDMetricsWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsResponse, error)
// GetTeamsTeamIDMetricsMaxWithResponse Maximum team metrics
//
// Get the maximum metrics for the team in the given interval.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /teams/{teamID}/metrics/max (the `GetTeamsTeamIDMetricsMax` operationId).
GetTeamsTeamIDMetricsMaxWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsMaxResponse, error)
// GetTemplatesWithResponse List templates
//
// List all templates.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates (the `GetTemplates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetTemplatesWithResponse(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)
// PostTemplatesWithBodyWithResponse Create template
//
// Create a new template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates (the `PostTemplates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesResponse, error)
// PostTemplatesWithResponse Create template
//
// Create a new template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates (the `PostTemplates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesWithResponse(ctx context.Context, body PostTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesResponse, error)
// GetTemplatesAliasesAliasWithResponse Check template alias
//
// Check if template with given alias exists.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)
// DeleteTemplatesTagsWithBodyWithResponse Delete template tags
//
// Delete multiple tags from templates.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
DeleteTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)
// DeleteTemplatesTagsWithResponse Delete template tags
//
// Delete multiple tags from templates.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
DeleteTemplatesTagsWithResponse(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)
// PostTemplatesTagsWithBodyWithResponse Assign template tags
//
// Assign tag(s) to a template build.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
PostTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)
// PostTemplatesTagsWithResponse Assign template tags
//
// Assign tag(s) to a template build.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
PostTemplatesTagsWithResponse(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)
// DeleteTemplatesTemplateIDWithResponse Delete template
//
// Delete a template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)
// GetTemplatesTemplateIDWithResponse List template builds
//
// List all builds for a template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDResponse, error)
// PatchTemplatesTemplateIDWithBodyWithResponse Update template
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)
// PatchTemplatesTemplateIDWithResponse Update template
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PatchTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)
// PostTemplatesTemplateIDWithBodyWithResponse Rebuild template
//
// Rebuild an template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates/{templateID} (the `PostTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDResponse, error)
// PostTemplatesTemplateIDWithResponse Rebuild template
//
// Rebuild an template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates/{templateID} (the `PostTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PostTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDResponse, error)
// PostTemplatesTemplateIDBuildsBuildIDWithResponse Start template build
//
// Start the build.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates/{templateID}/builds/{buildID} (the `PostTemplatesTemplateIDBuildsBuildID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostTemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, reqEditors ...RequestEditorFn) (*PostTemplatesTemplateIDBuildsBuildIDResponse, error)
// GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse Template build logs
//
// Get template build logs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)
// GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse Template build status
//
// Get template build info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)
// GetTemplatesTemplateIDFilesHashWithResponse Template build file upload URL
//
// Get an upload link for a tar file containing build layer files.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDFilesHashResponse, error)
// GetTemplatesTemplateIDTagsWithResponse List template tags
//
// List all tags for a template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)
// GetV2SandboxesWithResponse List sandboxes (v2)
//
// List all sandboxes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesResponse, error)
// GetV2SandboxesSandboxIDLogsWithResponse Sandbox logs (v2)
//
// Get sandbox logs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesSandboxIDLogsResponse, error)
// GetV2TemplatesWithResponse List templates (v2)
//
// List all templates.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)
// PostV2TemplatesWithBodyWithResponse Create template (v2)
//
// Create a new template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/templates (the `PostV2Templates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostV2TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)
// PostV2TemplatesWithResponse Create template (v2)
//
// Create a new template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/templates (the `PostV2Templates` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostV2TemplatesWithResponse(ctx context.Context, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)
// PatchV2TemplatesTemplateIDWithBodyWithResponse Update template (v2)
//
// Update template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)
// PatchV2TemplatesTemplateIDWithResponse Update template (v2)
//
// Update template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
PatchV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)
// PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse Start template build (v2)
//
// Start the build.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
// PostV2TemplatesTemplateIDBuildsBuildIDWithResponse Start template build (v2)
//
// Start the build.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
PostV2TemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
// PostV3TemplatesWithBodyWithResponse Create template (v3)
//
// Create a new template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
PostV3TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)
// PostV3TemplatesWithResponse Create template (v3)
//
// Create a new template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
PostV3TemplatesWithResponse(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)
// GetVolumesWithResponse List team volumes
//
// List all team volumes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /volumes (the `GetVolumes` operationId).
GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)
// PostVolumesWithBodyWithResponse Create team volume
//
// Create a new team volume.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /volumes (the `PostVolumes` operationId).
PostVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)
// PostVolumesWithResponse Create team volume
//
// Create a new team volume.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /volumes (the `PostVolumes` operationId).
PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)
// DeleteVolumesVolumeIDWithResponse Delete team volume
//
// Delete a team volume.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)
// GetVolumesVolumeIDWithResponse Team volume
//
// Get team volume info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
GetVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*GetVolumesVolumeIDResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConnectSandbox ¶
type ConnectSandbox struct {
// Memory Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore.
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 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 DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse ¶
type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse ¶
func ParseDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse(rsp *http.Response) (*DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse, error)
ParseDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse parses an HTTP response from a DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse call
func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) ContentType ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetBody ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON400 ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON401 ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON404 ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON500 ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) Status ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) StatusCode ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiKeysApiKeyIDResponse ¶
type DeleteApiKeysApiKeyIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseDeleteApiKeysApiKeyIDResponse ¶
func ParseDeleteApiKeysApiKeyIDResponse(rsp *http.Response) (*DeleteApiKeysApiKeyIDResponse, error)
ParseDeleteApiKeysApiKeyIDResponse parses an HTTP response from a DeleteApiKeysApiKeyIDWithResponse call
func (DeleteApiKeysApiKeyIDResponse) ContentType ¶
func (r DeleteApiKeysApiKeyIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteApiKeysApiKeyIDResponse) GetBody ¶
func (r DeleteApiKeysApiKeyIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteApiKeysApiKeyIDResponse) GetJSON401 ¶
func (r DeleteApiKeysApiKeyIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteApiKeysApiKeyIDResponse) GetJSON404 ¶
func (r DeleteApiKeysApiKeyIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteApiKeysApiKeyIDResponse) GetJSON500 ¶
func (r DeleteApiKeysApiKeyIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteApiKeysApiKeyIDResponse) Status ¶
func (r DeleteApiKeysApiKeyIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiKeysApiKeyIDResponse) StatusCode ¶
func (r DeleteApiKeysApiKeyIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSandboxesSandboxIDResponse ¶
type DeleteSandboxesSandboxIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseDeleteSandboxesSandboxIDResponse ¶
func ParseDeleteSandboxesSandboxIDResponse(rsp *http.Response) (*DeleteSandboxesSandboxIDResponse, error)
ParseDeleteSandboxesSandboxIDResponse parses an HTTP response from a DeleteSandboxesSandboxIDWithResponse call
func (DeleteSandboxesSandboxIDResponse) ContentType ¶
func (r DeleteSandboxesSandboxIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSandboxesSandboxIDResponse) GetBody ¶
func (r DeleteSandboxesSandboxIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSandboxesSandboxIDResponse) GetJSON401 ¶
func (r DeleteSandboxesSandboxIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSandboxesSandboxIDResponse) GetJSON404 ¶
func (r DeleteSandboxesSandboxIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSandboxesSandboxIDResponse) GetJSON500 ¶
func (r DeleteSandboxesSandboxIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteSandboxesSandboxIDResponse) Status ¶
func (r DeleteSandboxesSandboxIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSandboxesSandboxIDResponse) StatusCode ¶
func (r DeleteSandboxesSandboxIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecretsSecretIDResponse ¶
type DeleteSecretsSecretIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *N502
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
}
func ParseDeleteSecretsSecretIDResponse ¶
func ParseDeleteSecretsSecretIDResponse(rsp *http.Response) (*DeleteSecretsSecretIDResponse, error)
ParseDeleteSecretsSecretIDResponse parses an HTTP response from a DeleteSecretsSecretIDWithResponse call
func (DeleteSecretsSecretIDResponse) ContentType ¶
func (r DeleteSecretsSecretIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSecretsSecretIDResponse) GetBody ¶
func (r DeleteSecretsSecretIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSecretsSecretIDResponse) GetJSON400 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteSecretsSecretIDResponse) GetJSON401 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSecretsSecretIDResponse) GetJSON403 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteSecretsSecretIDResponse) GetJSON404 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSecretsSecretIDResponse) GetJSON409 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteSecretsSecretIDResponse) GetJSON429 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteSecretsSecretIDResponse) GetJSON500 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteSecretsSecretIDResponse) GetJSON502 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON502() *N502
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (DeleteSecretsSecretIDResponse) GetJSON504 ¶
func (r DeleteSecretsSecretIDResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (DeleteSecretsSecretIDResponse) Status ¶
func (r DeleteSecretsSecretIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecretsSecretIDResponse) StatusCode ¶
func (r DeleteSecretsSecretIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTemplateTagsRequest ¶
type DeleteTemplateTagsRequest struct {
// Name Name of the template
Name string `json:"name"`
// Tags Tags to delete
Tags []string `json:"tags"`
}
DeleteTemplateTagsRequest defines model for DeleteTemplateTagsRequest.
type DeleteTemplatesTagsJSONRequestBody ¶
type DeleteTemplatesTagsJSONRequestBody = DeleteTemplateTagsRequest
DeleteTemplatesTagsJSONRequestBody defines body for DeleteTemplatesTags for application/json ContentType.
type DeleteTemplatesTagsResponse ¶
type DeleteTemplatesTagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseDeleteTemplatesTagsResponse ¶
func ParseDeleteTemplatesTagsResponse(rsp *http.Response) (*DeleteTemplatesTagsResponse, error)
ParseDeleteTemplatesTagsResponse parses an HTTP response from a DeleteTemplatesTagsWithResponse call
func (DeleteTemplatesTagsResponse) ContentType ¶
func (r DeleteTemplatesTagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTemplatesTagsResponse) GetBody ¶
func (r DeleteTemplatesTagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteTemplatesTagsResponse) GetJSON400 ¶
func (r DeleteTemplatesTagsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteTemplatesTagsResponse) GetJSON401 ¶
func (r DeleteTemplatesTagsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteTemplatesTagsResponse) GetJSON404 ¶
func (r DeleteTemplatesTagsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteTemplatesTagsResponse) GetJSON500 ¶
func (r DeleteTemplatesTagsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteTemplatesTagsResponse) Status ¶
func (r DeleteTemplatesTagsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTemplatesTagsResponse) StatusCode ¶
func (r DeleteTemplatesTagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTemplatesTemplateIDResponse ¶
type DeleteTemplatesTemplateIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseDeleteTemplatesTemplateIDResponse ¶
func ParseDeleteTemplatesTemplateIDResponse(rsp *http.Response) (*DeleteTemplatesTemplateIDResponse, error)
ParseDeleteTemplatesTemplateIDResponse parses an HTTP response from a DeleteTemplatesTemplateIDWithResponse call
func (DeleteTemplatesTemplateIDResponse) ContentType ¶
func (r DeleteTemplatesTemplateIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTemplatesTemplateIDResponse) GetBody ¶
func (r DeleteTemplatesTemplateIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteTemplatesTemplateIDResponse) GetJSON401 ¶
func (r DeleteTemplatesTemplateIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteTemplatesTemplateIDResponse) GetJSON500 ¶
func (r DeleteTemplatesTemplateIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteTemplatesTemplateIDResponse) Status ¶
func (r DeleteTemplatesTemplateIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTemplatesTemplateIDResponse) StatusCode ¶
func (r DeleteTemplatesTemplateIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVolumesVolumeIDResponse ¶
type DeleteVolumesVolumeIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseDeleteVolumesVolumeIDResponse ¶
func ParseDeleteVolumesVolumeIDResponse(rsp *http.Response) (*DeleteVolumesVolumeIDResponse, error)
ParseDeleteVolumesVolumeIDResponse parses an HTTP response from a DeleteVolumesVolumeIDWithResponse call
func (DeleteVolumesVolumeIDResponse) ContentType ¶
func (r DeleteVolumesVolumeIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVolumesVolumeIDResponse) GetBody ¶
func (r DeleteVolumesVolumeIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVolumesVolumeIDResponse) GetJSON401 ¶
func (r DeleteVolumesVolumeIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteVolumesVolumeIDResponse) GetJSON404 ¶
func (r DeleteVolumesVolumeIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteVolumesVolumeIDResponse) GetJSON500 ¶
func (r DeleteVolumesVolumeIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteVolumesVolumeIDResponse) Status ¶
func (r DeleteVolumesVolumeIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVolumesVolumeIDResponse) StatusCode ¶
func (r DeleteVolumesVolumeIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DiskMetrics ¶
type DiskMetrics struct {
// Device Device name
Device string `json:"device"`
// FilesystemType Filesystem type (e.g., ext4, xfs)
FilesystemType string `json:"filesystemType"`
// MountPoint Mount point of the disk
MountPoint string `json:"mountPoint"`
// TotalBytes Total space in bytes
TotalBytes uint64 `json:"totalBytes"`
// UsedBytes Used space in bytes
UsedBytes uint64 `json:"usedBytes"`
}
DiskMetrics defines model for DiskMetrics.
type 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 GetAdminSandboxesRunningCountsResponse ¶
type GetAdminSandboxesRunningCountsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminTeamRunningSandboxCounts
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetAdminSandboxesRunningCountsResponse ¶
func ParseGetAdminSandboxesRunningCountsResponse(rsp *http.Response) (*GetAdminSandboxesRunningCountsResponse, error)
ParseGetAdminSandboxesRunningCountsResponse parses an HTTP response from a GetAdminSandboxesRunningCountsWithResponse call
func (GetAdminSandboxesRunningCountsResponse) ContentType ¶
func (r GetAdminSandboxesRunningCountsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdminSandboxesRunningCountsResponse) GetBody ¶
func (r GetAdminSandboxesRunningCountsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdminSandboxesRunningCountsResponse) GetJSON200 ¶
func (r GetAdminSandboxesRunningCountsResponse) GetJSON200() *AdminTeamRunningSandboxCounts
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAdminSandboxesRunningCountsResponse) GetJSON401 ¶
func (r GetAdminSandboxesRunningCountsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAdminSandboxesRunningCountsResponse) GetJSON500 ¶
func (r GetAdminSandboxesRunningCountsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAdminSandboxesRunningCountsResponse) Status ¶
func (r GetAdminSandboxesRunningCountsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminSandboxesRunningCountsResponse) StatusCode ¶
func (r GetAdminSandboxesRunningCountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiKeysResponse ¶
type GetApiKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]TeamAPIKey
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetApiKeysResponse ¶
func ParseGetApiKeysResponse(rsp *http.Response) (*GetApiKeysResponse, error)
ParseGetApiKeysResponse parses an HTTP response from a GetApiKeysWithResponse call
func (GetApiKeysResponse) ContentType ¶
func (r GetApiKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiKeysResponse) GetBody ¶
func (r GetApiKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiKeysResponse) GetJSON200 ¶
func (r GetApiKeysResponse) GetJSON200() *[]TeamAPIKey
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiKeysResponse) GetJSON401 ¶
func (r GetApiKeysResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiKeysResponse) GetJSON500 ¶
func (r GetApiKeysResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetApiKeysResponse) Status ¶
func (r GetApiKeysResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiKeysResponse) StatusCode ¶
func (r GetApiKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthResponse ¶
type GetHealthResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
}
func ParseGetHealthResponse ¶
func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)
ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call
func (GetHealthResponse) ContentType ¶
func (r GetHealthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetHealthResponse) GetBody ¶
func (r GetHealthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetHealthResponse) GetJSON401 ¶
func (r GetHealthResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetHealthResponse) Status ¶
func (r GetHealthResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthResponse) StatusCode ¶
func (r GetHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodesNodeIDParams ¶
type GetNodesNodeIDParams struct {
// ClusterID Identifier of the cluster
ClusterID *openapi_types.UUID `form:"clusterID,omitempty" json:"clusterID,omitempty"`
}
GetNodesNodeIDParams defines parameters for GetNodesNodeID.
type GetNodesNodeIDResponse ¶
type GetNodesNodeIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NodeDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetNodesNodeIDResponse ¶
func ParseGetNodesNodeIDResponse(rsp *http.Response) (*GetNodesNodeIDResponse, error)
ParseGetNodesNodeIDResponse parses an HTTP response from a GetNodesNodeIDWithResponse call
func (GetNodesNodeIDResponse) ContentType ¶
func (r GetNodesNodeIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNodesNodeIDResponse) GetBody ¶
func (r GetNodesNodeIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetNodesNodeIDResponse) GetJSON200 ¶
func (r GetNodesNodeIDResponse) GetJSON200() *NodeDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetNodesNodeIDResponse) GetJSON401 ¶
func (r GetNodesNodeIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetNodesNodeIDResponse) GetJSON404 ¶
func (r GetNodesNodeIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetNodesNodeIDResponse) GetJSON500 ¶
func (r GetNodesNodeIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetNodesNodeIDResponse) Status ¶
func (r GetNodesNodeIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodesNodeIDResponse) StatusCode ¶
func (r GetNodesNodeIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodesParams ¶
type GetNodesParams struct {
// ClusterID Identifier of the cluster
ClusterID *openapi_types.UUID `form:"clusterID,omitempty" json:"clusterID,omitempty"`
}
GetNodesParams defines parameters for GetNodes.
type GetNodesResponse ¶
type GetNodesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Node
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetNodesResponse ¶
func ParseGetNodesResponse(rsp *http.Response) (*GetNodesResponse, error)
ParseGetNodesResponse parses an HTTP response from a GetNodesWithResponse call
func (GetNodesResponse) ContentType ¶
func (r GetNodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNodesResponse) GetBody ¶
func (r GetNodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetNodesResponse) GetJSON200 ¶
func (r GetNodesResponse) GetJSON200() *[]Node
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetNodesResponse) GetJSON401 ¶
func (r GetNodesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetNodesResponse) GetJSON500 ¶
func (r GetNodesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetNodesResponse) Status ¶
func (r GetNodesResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodesResponse) StatusCode ¶
func (r GetNodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxesMetricsParams ¶
type GetSandboxesMetricsParams struct {
// SandboxIds Comma-separated list of sandbox IDs to get metrics for
SandboxIds []string `form:"sandbox_ids" json:"sandbox_ids"`
}
GetSandboxesMetricsParams defines parameters for GetSandboxesMetrics.
type GetSandboxesMetricsResponse ¶
type GetSandboxesMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SandboxesWithMetrics
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetSandboxesMetricsResponse ¶
func ParseGetSandboxesMetricsResponse(rsp *http.Response) (*GetSandboxesMetricsResponse, error)
ParseGetSandboxesMetricsResponse parses an HTTP response from a GetSandboxesMetricsWithResponse call
func (GetSandboxesMetricsResponse) ContentType ¶
func (r GetSandboxesMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSandboxesMetricsResponse) GetBody ¶
func (r GetSandboxesMetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSandboxesMetricsResponse) GetJSON200 ¶
func (r GetSandboxesMetricsResponse) GetJSON200() *SandboxesWithMetrics
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSandboxesMetricsResponse) GetJSON400 ¶
func (r GetSandboxesMetricsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSandboxesMetricsResponse) GetJSON401 ¶
func (r GetSandboxesMetricsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSandboxesMetricsResponse) GetJSON500 ¶
func (r GetSandboxesMetricsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSandboxesMetricsResponse) Status ¶
func (r GetSandboxesMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxesMetricsResponse) StatusCode ¶
func (r GetSandboxesMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxesParams ¶
type GetSandboxesParams struct {
// Metadata Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
Metadata *string `form:"metadata,omitempty" json:"metadata,omitempty"`
}
GetSandboxesParams defines parameters for GetSandboxes.
type GetSandboxesResponse ¶
type GetSandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ListedSandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetSandboxesResponse ¶
func ParseGetSandboxesResponse(rsp *http.Response) (*GetSandboxesResponse, error)
ParseGetSandboxesResponse parses an HTTP response from a GetSandboxesWithResponse call
func (GetSandboxesResponse) ContentType ¶
func (r GetSandboxesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSandboxesResponse) GetBody ¶
func (r GetSandboxesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSandboxesResponse) GetJSON200 ¶
func (r GetSandboxesResponse) GetJSON200() *[]ListedSandbox
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSandboxesResponse) GetJSON400 ¶
func (r GetSandboxesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSandboxesResponse) GetJSON401 ¶
func (r GetSandboxesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSandboxesResponse) GetJSON500 ¶
func (r GetSandboxesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSandboxesResponse) Status ¶
func (r GetSandboxesResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxesResponse) StatusCode ¶
func (r GetSandboxesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxesSandboxIDLogsParams ¶
type GetSandboxesSandboxIDLogsParams struct {
// Start Starting timestamp of the logs that should be returned in milliseconds
Start *int64 `form:"start,omitempty" json:"start,omitempty"`
// Limit Maximum number of logs that should be returned
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
GetSandboxesSandboxIDLogsParams defines parameters for GetSandboxesSandboxIDLogs.
type GetSandboxesSandboxIDLogsResponse ¶
type GetSandboxesSandboxIDLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SandboxLogs
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetSandboxesSandboxIDLogsResponse ¶
func ParseGetSandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetSandboxesSandboxIDLogsResponse, error)
ParseGetSandboxesSandboxIDLogsResponse parses an HTTP response from a GetSandboxesSandboxIDLogsWithResponse call
func (GetSandboxesSandboxIDLogsResponse) ContentType ¶
func (r GetSandboxesSandboxIDLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSandboxesSandboxIDLogsResponse) GetBody ¶
func (r GetSandboxesSandboxIDLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSandboxesSandboxIDLogsResponse) GetJSON200 ¶
func (r GetSandboxesSandboxIDLogsResponse) GetJSON200() *SandboxLogs
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSandboxesSandboxIDLogsResponse) GetJSON401 ¶
func (r GetSandboxesSandboxIDLogsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSandboxesSandboxIDLogsResponse) GetJSON404 ¶
func (r GetSandboxesSandboxIDLogsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSandboxesSandboxIDLogsResponse) GetJSON500 ¶
func (r GetSandboxesSandboxIDLogsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSandboxesSandboxIDLogsResponse) Status ¶
func (r GetSandboxesSandboxIDLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxesSandboxIDLogsResponse) StatusCode ¶
func (r GetSandboxesSandboxIDLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxesSandboxIDMetricsParams ¶
type GetSandboxesSandboxIDMetricsParams struct {
// Start Unix timestamp for the start of the interval, in seconds, for which the metrics
Start *int64 `form:"start,omitempty" json:"start,omitempty"`
End *int64 `form:"end,omitempty" json:"end,omitempty"`
}
GetSandboxesSandboxIDMetricsParams defines parameters for GetSandboxesSandboxIDMetrics.
type GetSandboxesSandboxIDMetricsResponse ¶
type GetSandboxesSandboxIDMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]SandboxMetric
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetSandboxesSandboxIDMetricsResponse ¶
func ParseGetSandboxesSandboxIDMetricsResponse(rsp *http.Response) (*GetSandboxesSandboxIDMetricsResponse, error)
ParseGetSandboxesSandboxIDMetricsResponse parses an HTTP response from a GetSandboxesSandboxIDMetricsWithResponse call
func (GetSandboxesSandboxIDMetricsResponse) ContentType ¶
func (r GetSandboxesSandboxIDMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSandboxesSandboxIDMetricsResponse) GetBody ¶
func (r GetSandboxesSandboxIDMetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSandboxesSandboxIDMetricsResponse) GetJSON200 ¶
func (r GetSandboxesSandboxIDMetricsResponse) GetJSON200() *[]SandboxMetric
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSandboxesSandboxIDMetricsResponse) GetJSON400 ¶
func (r GetSandboxesSandboxIDMetricsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSandboxesSandboxIDMetricsResponse) GetJSON401 ¶
func (r GetSandboxesSandboxIDMetricsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSandboxesSandboxIDMetricsResponse) GetJSON404 ¶
func (r GetSandboxesSandboxIDMetricsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSandboxesSandboxIDMetricsResponse) GetJSON500 ¶
func (r GetSandboxesSandboxIDMetricsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSandboxesSandboxIDMetricsResponse) Status ¶
func (r GetSandboxesSandboxIDMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxesSandboxIDMetricsResponse) StatusCode ¶
func (r GetSandboxesSandboxIDMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxesSandboxIDResponse ¶
type GetSandboxesSandboxIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SandboxDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetSandboxesSandboxIDResponse ¶
func ParseGetSandboxesSandboxIDResponse(rsp *http.Response) (*GetSandboxesSandboxIDResponse, error)
ParseGetSandboxesSandboxIDResponse parses an HTTP response from a GetSandboxesSandboxIDWithResponse call
func (GetSandboxesSandboxIDResponse) ContentType ¶
func (r GetSandboxesSandboxIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSandboxesSandboxIDResponse) GetBody ¶
func (r GetSandboxesSandboxIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSandboxesSandboxIDResponse) GetJSON200 ¶
func (r GetSandboxesSandboxIDResponse) GetJSON200() *SandboxDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSandboxesSandboxIDResponse) GetJSON401 ¶
func (r GetSandboxesSandboxIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSandboxesSandboxIDResponse) GetJSON404 ¶
func (r GetSandboxesSandboxIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSandboxesSandboxIDResponse) GetJSON500 ¶
func (r GetSandboxesSandboxIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSandboxesSandboxIDResponse) Status ¶
func (r GetSandboxesSandboxIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxesSandboxIDResponse) StatusCode ¶
func (r GetSandboxesSandboxIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecretsParams ¶
type GetSecretsParams struct {
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetSecretsParams defines parameters for GetSecrets.
type GetSecretsResponse ¶
type GetSecretsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Secret
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *N502
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetSecretsResponse200Headers
}
func ParseGetSecretsResponse ¶
func ParseGetSecretsResponse(rsp *http.Response) (*GetSecretsResponse, error)
ParseGetSecretsResponse parses an HTTP response from a GetSecretsWithResponse call
func (GetSecretsResponse) ContentType ¶
func (r GetSecretsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSecretsResponse) GetBody ¶
func (r GetSecretsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSecretsResponse) GetJSON200 ¶
func (r GetSecretsResponse) GetJSON200() *[]Secret
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSecretsResponse) GetJSON400 ¶
func (r GetSecretsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSecretsResponse) GetJSON401 ¶
func (r GetSecretsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSecretsResponse) GetJSON403 ¶
func (r GetSecretsResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSecretsResponse) GetJSON404 ¶
func (r GetSecretsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSecretsResponse) GetJSON409 ¶
func (r GetSecretsResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetSecretsResponse) GetJSON429 ¶
func (r GetSecretsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (GetSecretsResponse) GetJSON500 ¶
func (r GetSecretsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSecretsResponse) GetJSON502 ¶
func (r GetSecretsResponse) GetJSON502() *N502
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (GetSecretsResponse) GetJSON504 ¶
func (r GetSecretsResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (GetSecretsResponse) Status ¶
func (r GetSecretsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecretsResponse) StatusCode ¶
func (r GetSecretsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecretsResponse200Headers ¶
type GetSecretsResponse200Headers struct {
XNextToken *string
}
GetSecretsResponse200Headers the declared response headers of an HTTP 200 response for GetSecrets
type GetSecretsSecretIDResponse ¶
type GetSecretsSecretIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Secret
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *N502
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
}
func ParseGetSecretsSecretIDResponse ¶
func ParseGetSecretsSecretIDResponse(rsp *http.Response) (*GetSecretsSecretIDResponse, error)
ParseGetSecretsSecretIDResponse parses an HTTP response from a GetSecretsSecretIDWithResponse call
func (GetSecretsSecretIDResponse) ContentType ¶
func (r GetSecretsSecretIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSecretsSecretIDResponse) GetBody ¶
func (r GetSecretsSecretIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSecretsSecretIDResponse) GetJSON200 ¶
func (r GetSecretsSecretIDResponse) GetJSON200() *Secret
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON400 ¶
func (r GetSecretsSecretIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON401 ¶
func (r GetSecretsSecretIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON403 ¶
func (r GetSecretsSecretIDResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON404 ¶
func (r GetSecretsSecretIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON409 ¶
func (r GetSecretsSecretIDResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON429 ¶
func (r GetSecretsSecretIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON500 ¶
func (r GetSecretsSecretIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON502 ¶
func (r GetSecretsSecretIDResponse) GetJSON502() *N502
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (GetSecretsSecretIDResponse) GetJSON504 ¶
func (r GetSecretsSecretIDResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (GetSecretsSecretIDResponse) Status ¶
func (r GetSecretsSecretIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecretsSecretIDResponse) StatusCode ¶
func (r GetSecretsSecretIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSnapshotsParams ¶
type GetSnapshotsParams struct {
SandboxID *string `form:"sandboxID,omitempty" json:"sandboxID,omitempty"`
// Name Filter snapshots by name or ID, optionally tag-qualified (e.g. "my-snapshot", "my-team/my-snapshot" or "my-snapshot:v1").
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}
GetSnapshotsParams defines parameters for GetSnapshots.
type GetSnapshotsResponse ¶
type GetSnapshotsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]SnapshotInfo
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetSnapshotsResponse200Headers
}
func ParseGetSnapshotsResponse ¶
func ParseGetSnapshotsResponse(rsp *http.Response) (*GetSnapshotsResponse, error)
ParseGetSnapshotsResponse parses an HTTP response from a GetSnapshotsWithResponse call
func (GetSnapshotsResponse) ContentType ¶
func (r GetSnapshotsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSnapshotsResponse) GetBody ¶
func (r GetSnapshotsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSnapshotsResponse) GetJSON200 ¶
func (r GetSnapshotsResponse) GetJSON200() *[]SnapshotInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSnapshotsResponse) GetJSON401 ¶
func (r GetSnapshotsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSnapshotsResponse) GetJSON500 ¶
func (r GetSnapshotsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSnapshotsResponse) Status ¶
func (r GetSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSnapshotsResponse) StatusCode ¶
func (r GetSnapshotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSnapshotsResponse200Headers ¶
type GetSnapshotsResponse200Headers struct {
XNextToken *string
}
GetSnapshotsResponse200Headers the declared response headers of an HTTP 200 response for GetSnapshots
type GetTeamsResponse ¶
type GetTeamsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Team
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTeamsResponse ¶
func ParseGetTeamsResponse(rsp *http.Response) (*GetTeamsResponse, error)
ParseGetTeamsResponse parses an HTTP response from a GetTeamsWithResponse call
func (GetTeamsResponse) ContentType ¶
func (r GetTeamsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeamsResponse) GetBody ¶
func (r GetTeamsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeamsResponse) GetJSON200 ¶
func (r GetTeamsResponse) GetJSON200() *[]Team
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeamsResponse) GetJSON401 ¶
func (r GetTeamsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTeamsResponse) GetJSON500 ¶
func (r GetTeamsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTeamsResponse) Status ¶
func (r GetTeamsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamsResponse) StatusCode ¶
func (r GetTeamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamsTeamIDMetricsMaxParams ¶
type GetTeamsTeamIDMetricsMaxParams struct {
// Start Unix timestamp for the start of the interval, in seconds, for which the metrics
Start *int64 `form:"start,omitempty" json:"start,omitempty"`
End *int64 `form:"end,omitempty" json:"end,omitempty"`
// Metric Metric to retrieve the maximum value for
Metric GetTeamsTeamIDMetricsMaxParamsMetric `form:"metric" json:"metric"`
}
GetTeamsTeamIDMetricsMaxParams defines parameters for GetTeamsTeamIDMetricsMax.
type GetTeamsTeamIDMetricsMaxParamsMetric ¶
type GetTeamsTeamIDMetricsMaxParamsMetric string
GetTeamsTeamIDMetricsMaxParamsMetric defines parameters for GetTeamsTeamIDMetricsMax.
const ( ConcurrentSandboxes GetTeamsTeamIDMetricsMaxParamsMetric = "concurrent_sandboxes" SandboxStartRate GetTeamsTeamIDMetricsMaxParamsMetric = "sandbox_start_rate" )
Defines values for GetTeamsTeamIDMetricsMaxParamsMetric.
func (GetTeamsTeamIDMetricsMaxParamsMetric) Valid ¶
func (e GetTeamsTeamIDMetricsMaxParamsMetric) Valid() bool
Valid indicates whether the value is a known member of the GetTeamsTeamIDMetricsMaxParamsMetric enum.
type GetTeamsTeamIDMetricsMaxResponse ¶
type GetTeamsTeamIDMetricsMaxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MaxTeamMetric
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTeamsTeamIDMetricsMaxResponse ¶
func ParseGetTeamsTeamIDMetricsMaxResponse(rsp *http.Response) (*GetTeamsTeamIDMetricsMaxResponse, error)
ParseGetTeamsTeamIDMetricsMaxResponse parses an HTTP response from a GetTeamsTeamIDMetricsMaxWithResponse call
func (GetTeamsTeamIDMetricsMaxResponse) ContentType ¶
func (r GetTeamsTeamIDMetricsMaxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeamsTeamIDMetricsMaxResponse) GetBody ¶
func (r GetTeamsTeamIDMetricsMaxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeamsTeamIDMetricsMaxResponse) GetJSON200 ¶
func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON200() *MaxTeamMetric
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeamsTeamIDMetricsMaxResponse) GetJSON400 ¶
func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetTeamsTeamIDMetricsMaxResponse) GetJSON401 ¶
func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTeamsTeamIDMetricsMaxResponse) GetJSON403 ¶
func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetTeamsTeamIDMetricsMaxResponse) GetJSON500 ¶
func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTeamsTeamIDMetricsMaxResponse) Status ¶
func (r GetTeamsTeamIDMetricsMaxResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamsTeamIDMetricsMaxResponse) StatusCode ¶
func (r GetTeamsTeamIDMetricsMaxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamsTeamIDMetricsParams ¶
type GetTeamsTeamIDMetricsParams struct {
// Start Unix timestamp for the start of the interval, in seconds, for which the metrics
Start *int64 `form:"start,omitempty" json:"start,omitempty"`
End *int64 `form:"end,omitempty" json:"end,omitempty"`
}
GetTeamsTeamIDMetricsParams defines parameters for GetTeamsTeamIDMetrics.
type GetTeamsTeamIDMetricsResponse ¶
type GetTeamsTeamIDMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]TeamMetric
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTeamsTeamIDMetricsResponse ¶
func ParseGetTeamsTeamIDMetricsResponse(rsp *http.Response) (*GetTeamsTeamIDMetricsResponse, error)
ParseGetTeamsTeamIDMetricsResponse parses an HTTP response from a GetTeamsTeamIDMetricsWithResponse call
func (GetTeamsTeamIDMetricsResponse) ContentType ¶
func (r GetTeamsTeamIDMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeamsTeamIDMetricsResponse) GetBody ¶
func (r GetTeamsTeamIDMetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeamsTeamIDMetricsResponse) GetJSON200 ¶
func (r GetTeamsTeamIDMetricsResponse) GetJSON200() *[]TeamMetric
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeamsTeamIDMetricsResponse) GetJSON400 ¶
func (r GetTeamsTeamIDMetricsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetTeamsTeamIDMetricsResponse) GetJSON401 ¶
func (r GetTeamsTeamIDMetricsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTeamsTeamIDMetricsResponse) GetJSON403 ¶
func (r GetTeamsTeamIDMetricsResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetTeamsTeamIDMetricsResponse) GetJSON500 ¶
func (r GetTeamsTeamIDMetricsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTeamsTeamIDMetricsResponse) Status ¶
func (r GetTeamsTeamIDMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamsTeamIDMetricsResponse) StatusCode ¶
func (r GetTeamsTeamIDMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplatesAliasesAliasResponse ¶
type GetTemplatesAliasesAliasResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateAliasResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTemplatesAliasesAliasResponse ¶
func ParseGetTemplatesAliasesAliasResponse(rsp *http.Response) (*GetTemplatesAliasesAliasResponse, error)
ParseGetTemplatesAliasesAliasResponse parses an HTTP response from a GetTemplatesAliasesAliasWithResponse call
func (GetTemplatesAliasesAliasResponse) ContentType ¶
func (r GetTemplatesAliasesAliasResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplatesAliasesAliasResponse) GetBody ¶
func (r GetTemplatesAliasesAliasResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTemplatesAliasesAliasResponse) GetJSON200 ¶
func (r GetTemplatesAliasesAliasResponse) GetJSON200() *TemplateAliasResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTemplatesAliasesAliasResponse) GetJSON400 ¶
func (r GetTemplatesAliasesAliasResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetTemplatesAliasesAliasResponse) GetJSON403 ¶
func (r GetTemplatesAliasesAliasResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetTemplatesAliasesAliasResponse) GetJSON404 ¶
func (r GetTemplatesAliasesAliasResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTemplatesAliasesAliasResponse) GetJSON500 ¶
func (r GetTemplatesAliasesAliasResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTemplatesAliasesAliasResponse) Status ¶
func (r GetTemplatesAliasesAliasResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplatesAliasesAliasResponse) StatusCode ¶
func (r GetTemplatesAliasesAliasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplatesParams ¶
type GetTemplatesParams struct {
TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`
}
GetTemplatesParams defines parameters for GetTemplates.
type GetTemplatesResponse ¶
type GetTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Template
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTemplatesResponse ¶
func ParseGetTemplatesResponse(rsp *http.Response) (*GetTemplatesResponse, error)
ParseGetTemplatesResponse parses an HTTP response from a GetTemplatesWithResponse call
func (GetTemplatesResponse) ContentType ¶
func (r GetTemplatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplatesResponse) GetBody ¶
func (r GetTemplatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTemplatesResponse) GetJSON200 ¶
func (r GetTemplatesResponse) GetJSON200() *[]Template
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTemplatesResponse) GetJSON401 ¶
func (r GetTemplatesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTemplatesResponse) GetJSON500 ¶
func (r GetTemplatesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTemplatesResponse) Status ¶
func (r GetTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplatesResponse) StatusCode ¶
func (r GetTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplatesTemplateIDBuildsBuildIDLogsParams ¶
type GetTemplatesTemplateIDBuildsBuildIDLogsParams struct {
// Cursor Starting timestamp of the logs that should be returned in milliseconds
Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of logs that should be returned
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`
Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`
// Source Source of the logs that should be returned from
Source *LogsSource `form:"source,omitempty" json:"source,omitempty"`
}
GetTemplatesTemplateIDBuildsBuildIDLogsParams defines parameters for GetTemplatesTemplateIDBuildsBuildIDLogs.
type GetTemplatesTemplateIDBuildsBuildIDLogsResponse ¶
type GetTemplatesTemplateIDBuildsBuildIDLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateBuildLogsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse ¶
func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)
ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse call
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) ContentType ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetBody ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON200 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON200() *TemplateBuildLogsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON401 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON404 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON500 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) Status ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) StatusCode ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplatesTemplateIDBuildsBuildIDStatusParams ¶
type GetTemplatesTemplateIDBuildsBuildIDStatusParams struct {
// LogsOffset Index of the starting build log that should be returned with the template
LogsOffset *int32 `form:"logsOffset,omitempty" json:"logsOffset,omitempty"`
// Limit Maximum number of logs that should be returned
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`
}
GetTemplatesTemplateIDBuildsBuildIDStatusParams defines parameters for GetTemplatesTemplateIDBuildsBuildIDStatus.
type GetTemplatesTemplateIDBuildsBuildIDStatusResponse ¶
type GetTemplatesTemplateIDBuildsBuildIDStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateBuildInfo
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse ¶
func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)
ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse call
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) ContentType ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetBody ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON200 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON200() *TemplateBuildInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON401 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON404 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON500 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) Status ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) StatusCode ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplatesTemplateIDFilesHashResponse ¶
type GetTemplatesTemplateIDFilesHashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TemplateBuildFileUpload
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTemplatesTemplateIDFilesHashResponse ¶
func ParseGetTemplatesTemplateIDFilesHashResponse(rsp *http.Response) (*GetTemplatesTemplateIDFilesHashResponse, error)
ParseGetTemplatesTemplateIDFilesHashResponse parses an HTTP response from a GetTemplatesTemplateIDFilesHashWithResponse call
func (GetTemplatesTemplateIDFilesHashResponse) ContentType ¶
func (r GetTemplatesTemplateIDFilesHashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplatesTemplateIDFilesHashResponse) GetBody ¶
func (r GetTemplatesTemplateIDFilesHashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTemplatesTemplateIDFilesHashResponse) GetJSON201 ¶
func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON201() *TemplateBuildFileUpload
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (GetTemplatesTemplateIDFilesHashResponse) GetJSON400 ¶
func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetTemplatesTemplateIDFilesHashResponse) GetJSON401 ¶
func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTemplatesTemplateIDFilesHashResponse) GetJSON404 ¶
func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTemplatesTemplateIDFilesHashResponse) GetJSON500 ¶
func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTemplatesTemplateIDFilesHashResponse) Status ¶
func (r GetTemplatesTemplateIDFilesHashResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplatesTemplateIDFilesHashResponse) StatusCode ¶
func (r GetTemplatesTemplateIDFilesHashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplatesTemplateIDParams ¶
type GetTemplatesTemplateIDParams struct {
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetTemplatesTemplateIDParams defines parameters for GetTemplatesTemplateID.
type GetTemplatesTemplateIDResponse ¶
type GetTemplatesTemplateIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateWithBuilds
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetTemplatesTemplateIDResponse200Headers
}
func ParseGetTemplatesTemplateIDResponse ¶
func ParseGetTemplatesTemplateIDResponse(rsp *http.Response) (*GetTemplatesTemplateIDResponse, error)
ParseGetTemplatesTemplateIDResponse parses an HTTP response from a GetTemplatesTemplateIDWithResponse call
func (GetTemplatesTemplateIDResponse) ContentType ¶
func (r GetTemplatesTemplateIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplatesTemplateIDResponse) GetBody ¶
func (r GetTemplatesTemplateIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTemplatesTemplateIDResponse) GetJSON200 ¶
func (r GetTemplatesTemplateIDResponse) GetJSON200() *TemplateWithBuilds
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTemplatesTemplateIDResponse) GetJSON401 ¶
func (r GetTemplatesTemplateIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTemplatesTemplateIDResponse) GetJSON500 ¶
func (r GetTemplatesTemplateIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTemplatesTemplateIDResponse) Status ¶
func (r GetTemplatesTemplateIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplatesTemplateIDResponse) StatusCode ¶
func (r GetTemplatesTemplateIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplatesTemplateIDResponse200Headers ¶
type GetTemplatesTemplateIDResponse200Headers struct {
XNextToken *string
}
GetTemplatesTemplateIDResponse200Headers the declared response headers of an HTTP 200 response for GetTemplatesTemplateID
type GetTemplatesTemplateIDTagsResponse ¶
type GetTemplatesTemplateIDTagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]TemplateTag
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetTemplatesTemplateIDTagsResponse ¶
func ParseGetTemplatesTemplateIDTagsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsResponse, error)
ParseGetTemplatesTemplateIDTagsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsWithResponse call
func (GetTemplatesTemplateIDTagsResponse) ContentType ¶
func (r GetTemplatesTemplateIDTagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplatesTemplateIDTagsResponse) GetBody ¶
func (r GetTemplatesTemplateIDTagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTemplatesTemplateIDTagsResponse) GetJSON200 ¶
func (r GetTemplatesTemplateIDTagsResponse) GetJSON200() *[]TemplateTag
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTemplatesTemplateIDTagsResponse) GetJSON401 ¶
func (r GetTemplatesTemplateIDTagsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTemplatesTemplateIDTagsResponse) GetJSON403 ¶
func (r GetTemplatesTemplateIDTagsResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetTemplatesTemplateIDTagsResponse) GetJSON404 ¶
func (r GetTemplatesTemplateIDTagsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTemplatesTemplateIDTagsResponse) GetJSON500 ¶
func (r GetTemplatesTemplateIDTagsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTemplatesTemplateIDTagsResponse) Status ¶
func (r GetTemplatesTemplateIDTagsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplatesTemplateIDTagsResponse) StatusCode ¶
func (r GetTemplatesTemplateIDTagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2SandboxesParams ¶
type GetV2SandboxesParams struct {
// Metadata Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
Metadata *string `form:"metadata,omitempty" json:"metadata,omitempty"`
// State Filter sandboxes by one or more states
State *[]SandboxState `form:"state,omitempty" json:"state,omitempty"`
// Order Sort direction by sandbox start time. Defaults to desc (newest first).
Order *OrderDirection `form:"order,omitempty" json:"order,omitempty"`
// StartedAfter Return sandboxes started at or after this timestamp.
StartedAfter *time.Time `form:"startedAfter,omitempty" json:"startedAfter,omitempty"`
// Template Filter sandboxes by a template ID or alias.
Template *string `form:"template,omitempty" json:"template,omitempty"`
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetV2SandboxesParams defines parameters for GetV2Sandboxes.
type GetV2SandboxesResponse ¶
type GetV2SandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ListedSandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetV2SandboxesResponse200Headers
}
func ParseGetV2SandboxesResponse ¶
func ParseGetV2SandboxesResponse(rsp *http.Response) (*GetV2SandboxesResponse, error)
ParseGetV2SandboxesResponse parses an HTTP response from a GetV2SandboxesWithResponse call
func (GetV2SandboxesResponse) ContentType ¶
func (r GetV2SandboxesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV2SandboxesResponse) GetBody ¶
func (r GetV2SandboxesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV2SandboxesResponse) GetJSON200 ¶
func (r GetV2SandboxesResponse) GetJSON200() *[]ListedSandbox
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV2SandboxesResponse) GetJSON400 ¶
func (r GetV2SandboxesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV2SandboxesResponse) GetJSON401 ¶
func (r GetV2SandboxesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV2SandboxesResponse) GetJSON500 ¶
func (r GetV2SandboxesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV2SandboxesResponse) Status ¶
func (r GetV2SandboxesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2SandboxesResponse) StatusCode ¶
func (r GetV2SandboxesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2SandboxesResponse200Headers ¶
GetV2SandboxesResponse200Headers the declared response headers of an HTTP 200 response for GetV2Sandboxes
type GetV2SandboxesSandboxIDLogsParams ¶
type GetV2SandboxesSandboxIDLogsParams struct {
// Cursor Starting timestamp of the logs that should be returned in milliseconds
Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of logs that should be returned
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Direction Direction of the logs that should be returned
Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// Level Minimum log level to return. Logs below this level are excluded
Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`
// Search Case-sensitive substring match on log message content
Search *string `form:"search,omitempty" json:"search,omitempty"`
}
GetV2SandboxesSandboxIDLogsParams defines parameters for GetV2SandboxesSandboxIDLogs.
type GetV2SandboxesSandboxIDLogsResponse ¶
type GetV2SandboxesSandboxIDLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SandboxLogsV2Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetV2SandboxesSandboxIDLogsResponse ¶
func ParseGetV2SandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetV2SandboxesSandboxIDLogsResponse, error)
ParseGetV2SandboxesSandboxIDLogsResponse parses an HTTP response from a GetV2SandboxesSandboxIDLogsWithResponse call
func (GetV2SandboxesSandboxIDLogsResponse) ContentType ¶
func (r GetV2SandboxesSandboxIDLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV2SandboxesSandboxIDLogsResponse) GetBody ¶
func (r GetV2SandboxesSandboxIDLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV2SandboxesSandboxIDLogsResponse) GetJSON200 ¶
func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON200() *SandboxLogsV2Response
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV2SandboxesSandboxIDLogsResponse) GetJSON401 ¶
func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV2SandboxesSandboxIDLogsResponse) GetJSON404 ¶
func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV2SandboxesSandboxIDLogsResponse) GetJSON500 ¶
func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV2SandboxesSandboxIDLogsResponse) Status ¶
func (r GetV2SandboxesSandboxIDLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2SandboxesSandboxIDLogsResponse) StatusCode ¶
func (r GetV2SandboxesSandboxIDLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2TemplatesParams ¶
type GetV2TemplatesParams struct {
TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetV2TemplatesParams defines parameters for GetV2Templates.
type GetV2TemplatesResponse ¶
type GetV2TemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Template
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetV2TemplatesResponse200Headers
}
func ParseGetV2TemplatesResponse ¶
func ParseGetV2TemplatesResponse(rsp *http.Response) (*GetV2TemplatesResponse, error)
ParseGetV2TemplatesResponse parses an HTTP response from a GetV2TemplatesWithResponse call
func (GetV2TemplatesResponse) ContentType ¶
func (r GetV2TemplatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV2TemplatesResponse) GetBody ¶
func (r GetV2TemplatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV2TemplatesResponse) GetJSON200 ¶
func (r GetV2TemplatesResponse) GetJSON200() *[]Template
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV2TemplatesResponse) GetJSON400 ¶
func (r GetV2TemplatesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV2TemplatesResponse) GetJSON401 ¶
func (r GetV2TemplatesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV2TemplatesResponse) GetJSON403 ¶
func (r GetV2TemplatesResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV2TemplatesResponse) GetJSON500 ¶
func (r GetV2TemplatesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV2TemplatesResponse) Status ¶
func (r GetV2TemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2TemplatesResponse) StatusCode ¶
func (r GetV2TemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2TemplatesResponse200Headers ¶
type GetV2TemplatesResponse200Headers struct {
XNextToken *string
}
GetV2TemplatesResponse200Headers the declared response headers of an HTTP 200 response for GetV2Templates
type GetVolumesResponse ¶
type GetVolumesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Volume
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetVolumesResponse ¶
func ParseGetVolumesResponse(rsp *http.Response) (*GetVolumesResponse, error)
ParseGetVolumesResponse parses an HTTP response from a GetVolumesWithResponse call
func (GetVolumesResponse) ContentType ¶
func (r GetVolumesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVolumesResponse) GetBody ¶
func (r GetVolumesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVolumesResponse) GetJSON200 ¶
func (r GetVolumesResponse) GetJSON200() *[]Volume
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVolumesResponse) GetJSON401 ¶
func (r GetVolumesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetVolumesResponse) GetJSON500 ¶
func (r GetVolumesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVolumesResponse) Status ¶
func (r GetVolumesResponse) Status() string
Status returns HTTPResponse.Status
func (GetVolumesResponse) StatusCode ¶
func (r GetVolumesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVolumesVolumeIDResponse ¶
type GetVolumesVolumeIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VolumeAndToken
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetVolumesVolumeIDResponse ¶
func ParseGetVolumesVolumeIDResponse(rsp *http.Response) (*GetVolumesVolumeIDResponse, error)
ParseGetVolumesVolumeIDResponse parses an HTTP response from a GetVolumesVolumeIDWithResponse call
func (GetVolumesVolumeIDResponse) ContentType ¶
func (r GetVolumesVolumeIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVolumesVolumeIDResponse) GetBody ¶
func (r GetVolumesVolumeIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVolumesVolumeIDResponse) GetJSON200 ¶
func (r GetVolumesVolumeIDResponse) GetJSON200() *VolumeAndToken
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVolumesVolumeIDResponse) GetJSON401 ¶
func (r GetVolumesVolumeIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetVolumesVolumeIDResponse) GetJSON404 ¶
func (r GetVolumesVolumeIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetVolumesVolumeIDResponse) GetJSON500 ¶
func (r GetVolumesVolumeIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVolumesVolumeIDResponse) Status ¶
func (r GetVolumesVolumeIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetVolumesVolumeIDResponse) StatusCode ¶
func (r GetVolumesVolumeIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IdentifierMaskingDetails ¶
type IdentifierMaskingDetails struct {
// MaskedValuePrefix Prefix used in masked version of the token or key
MaskedValuePrefix string `json:"maskedValuePrefix"`
// MaskedValueSuffix Suffix used in masked version of the token or key
MaskedValueSuffix string `json:"maskedValueSuffix"`
// Prefix Prefix that identifies the token or key type
Prefix string `json:"prefix"`
// ValueLength Length of the token or key
ValueLength int `json:"valueLength"`
}
IdentifierMaskingDetails defines model for IdentifierMaskingDetails.
type ListedSandbox ¶
type ListedSandbox struct {
// Alias Alias of the template
Alias *string `json:"alias,omitempty"`
// ClientID Identifier of the client
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ClientID string `json:"clientID"`
// CpuCount CPU cores for the sandbox
CpuCount CPUCount `json:"cpuCount"`
// DiskSizeMB Disk size for the sandbox in MiB
DiskSizeMB DiskSizeMB `json:"diskSizeMB"`
// EndAt Time when the sandbox will expire
EndAt time.Time `json:"endAt"`
// EnvdVersion Version of the envd running in the sandbox
EnvdVersion EnvdVersion `json:"envdVersion"`
// MemoryMB Memory for the sandbox in MiB
MemoryMB MemoryMB `json:"memoryMB"`
Metadata *SandboxMetadata `json:"metadata,omitempty"`
// SandboxID Identifier of the sandbox
SandboxID string `json:"sandboxID"`
// StartedAt Time when the sandbox was started
StartedAt time.Time `json:"startedAt"`
// State State of the sandbox
State SandboxState `json:"state"`
// TemplateID Identifier of the template from which is the sandbox created
TemplateID string `json:"templateID"`
VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,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 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 ¶
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 ¶
type OrderDirection string
OrderDirection Sort direction
const ( Asc OrderDirection = "asc" Desc OrderDirection = "desc" )
Defines values for OrderDirection.
func (OrderDirection) Valid ¶
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 PatchApiKeysApiKeyIDJSONRequestBody ¶
type PatchApiKeysApiKeyIDJSONRequestBody = UpdateTeamAPIKey
PatchApiKeysApiKeyIDJSONRequestBody defines body for PatchApiKeysApiKeyID for application/json ContentType.
type PatchApiKeysApiKeyIDResponse ¶
type PatchApiKeysApiKeyIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePatchApiKeysApiKeyIDResponse ¶
func ParsePatchApiKeysApiKeyIDResponse(rsp *http.Response) (*PatchApiKeysApiKeyIDResponse, error)
ParsePatchApiKeysApiKeyIDResponse parses an HTTP response from a PatchApiKeysApiKeyIDWithResponse call
func (PatchApiKeysApiKeyIDResponse) ContentType ¶
func (r PatchApiKeysApiKeyIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchApiKeysApiKeyIDResponse) GetBody ¶
func (r PatchApiKeysApiKeyIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchApiKeysApiKeyIDResponse) GetJSON401 ¶
func (r PatchApiKeysApiKeyIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchApiKeysApiKeyIDResponse) GetJSON404 ¶
func (r PatchApiKeysApiKeyIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchApiKeysApiKeyIDResponse) GetJSON500 ¶
func (r PatchApiKeysApiKeyIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchApiKeysApiKeyIDResponse) Status ¶
func (r PatchApiKeysApiKeyIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchApiKeysApiKeyIDResponse) StatusCode ¶
func (r PatchApiKeysApiKeyIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchTemplatesTemplateIDJSONRequestBody
deprecated
type PatchTemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest
PatchTemplatesTemplateIDJSONRequestBody defines body for PatchTemplatesTemplateID for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type PatchTemplatesTemplateIDResponse ¶
type PatchTemplatesTemplateIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePatchTemplatesTemplateIDResponse ¶
func ParsePatchTemplatesTemplateIDResponse(rsp *http.Response) (*PatchTemplatesTemplateIDResponse, error)
ParsePatchTemplatesTemplateIDResponse parses an HTTP response from a PatchTemplatesTemplateIDWithResponse call
func (PatchTemplatesTemplateIDResponse) ContentType ¶
func (r PatchTemplatesTemplateIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchTemplatesTemplateIDResponse) GetBody ¶
func (r PatchTemplatesTemplateIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchTemplatesTemplateIDResponse) GetJSON400 ¶
func (r PatchTemplatesTemplateIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchTemplatesTemplateIDResponse) GetJSON401 ¶
func (r PatchTemplatesTemplateIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchTemplatesTemplateIDResponse) GetJSON500 ¶
func (r PatchTemplatesTemplateIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchTemplatesTemplateIDResponse) Status ¶
func (r PatchTemplatesTemplateIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchTemplatesTemplateIDResponse) StatusCode ¶
func (r PatchTemplatesTemplateIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchV2TemplatesTemplateIDJSONRequestBody ¶
type PatchV2TemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest
PatchV2TemplatesTemplateIDJSONRequestBody defines body for PatchV2TemplatesTemplateID for application/json ContentType.
type PatchV2TemplatesTemplateIDResponse ¶
type PatchV2TemplatesTemplateIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateUpdateResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePatchV2TemplatesTemplateIDResponse ¶
func ParsePatchV2TemplatesTemplateIDResponse(rsp *http.Response) (*PatchV2TemplatesTemplateIDResponse, error)
ParsePatchV2TemplatesTemplateIDResponse parses an HTTP response from a PatchV2TemplatesTemplateIDWithResponse call
func (PatchV2TemplatesTemplateIDResponse) ContentType ¶
func (r PatchV2TemplatesTemplateIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchV2TemplatesTemplateIDResponse) GetBody ¶
func (r PatchV2TemplatesTemplateIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchV2TemplatesTemplateIDResponse) GetJSON200 ¶
func (r PatchV2TemplatesTemplateIDResponse) GetJSON200() *TemplateUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchV2TemplatesTemplateIDResponse) GetJSON400 ¶
func (r PatchV2TemplatesTemplateIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchV2TemplatesTemplateIDResponse) GetJSON401 ¶
func (r PatchV2TemplatesTemplateIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchV2TemplatesTemplateIDResponse) GetJSON500 ¶
func (r PatchV2TemplatesTemplateIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchV2TemplatesTemplateIDResponse) Status ¶
func (r PatchV2TemplatesTemplateIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV2TemplatesTemplateIDResponse) StatusCode ¶
func (r PatchV2TemplatesTemplateIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAdminTeamsTeamIDApiKeysJSONRequestBody ¶
type PostAdminTeamsTeamIDApiKeysJSONRequestBody = NewTeamAPIKey
PostAdminTeamsTeamIDApiKeysJSONRequestBody defines body for PostAdminTeamsTeamIDApiKeys for application/json ContentType.
type PostAdminTeamsTeamIDApiKeysResponse ¶
type PostAdminTeamsTeamIDApiKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreatedTeamAPIKey
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostAdminTeamsTeamIDApiKeysResponse ¶
func ParsePostAdminTeamsTeamIDApiKeysResponse(rsp *http.Response) (*PostAdminTeamsTeamIDApiKeysResponse, error)
ParsePostAdminTeamsTeamIDApiKeysResponse parses an HTTP response from a PostAdminTeamsTeamIDApiKeysWithResponse call
func (PostAdminTeamsTeamIDApiKeysResponse) ContentType ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAdminTeamsTeamIDApiKeysResponse) GetBody ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON201 ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON201() *CreatedTeamAPIKey
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON400 ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON401 ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON403 ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON404 ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON500 ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAdminTeamsTeamIDApiKeysResponse) Status ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) Status() string
Status returns HTTPResponse.Status
func (PostAdminTeamsTeamIDApiKeysResponse) StatusCode ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAdminTeamsTeamIDBuildsCancelResponse ¶
type PostAdminTeamsTeamIDBuildsCancelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminBuildCancelResult
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostAdminTeamsTeamIDBuildsCancelResponse ¶
func ParsePostAdminTeamsTeamIDBuildsCancelResponse(rsp *http.Response) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)
ParsePostAdminTeamsTeamIDBuildsCancelResponse parses an HTTP response from a PostAdminTeamsTeamIDBuildsCancelWithResponse call
func (PostAdminTeamsTeamIDBuildsCancelResponse) ContentType ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAdminTeamsTeamIDBuildsCancelResponse) GetBody ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON200 ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON200() *AdminBuildCancelResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON401 ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON404 ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON500 ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAdminTeamsTeamIDBuildsCancelResponse) Status ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) Status() string
Status returns HTTPResponse.Status
func (PostAdminTeamsTeamIDBuildsCancelResponse) StatusCode ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAdminTeamsTeamIDSandboxesKillResponse ¶
type PostAdminTeamsTeamIDSandboxesKillResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminSandboxKillResult
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostAdminTeamsTeamIDSandboxesKillResponse ¶
func ParsePostAdminTeamsTeamIDSandboxesKillResponse(rsp *http.Response) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)
ParsePostAdminTeamsTeamIDSandboxesKillResponse parses an HTTP response from a PostAdminTeamsTeamIDSandboxesKillWithResponse call
func (PostAdminTeamsTeamIDSandboxesKillResponse) ContentType ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAdminTeamsTeamIDSandboxesKillResponse) GetBody ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON200 ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON200() *AdminSandboxKillResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON401 ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON404 ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON500 ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAdminTeamsTeamIDSandboxesKillResponse) Status ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) Status() string
Status returns HTTPResponse.Status
func (PostAdminTeamsTeamIDSandboxesKillResponse) StatusCode ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiKeysJSONRequestBody ¶
type PostApiKeysJSONRequestBody = NewTeamAPIKey
PostApiKeysJSONRequestBody defines body for PostApiKeys for application/json ContentType.
type PostApiKeysResponse ¶
type PostApiKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreatedTeamAPIKey
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostApiKeysResponse ¶
func ParsePostApiKeysResponse(rsp *http.Response) (*PostApiKeysResponse, error)
ParsePostApiKeysResponse parses an HTTP response from a PostApiKeysWithResponse call
func (PostApiKeysResponse) ContentType ¶
func (r PostApiKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostApiKeysResponse) GetBody ¶
func (r PostApiKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostApiKeysResponse) GetJSON201 ¶
func (r PostApiKeysResponse) GetJSON201() *CreatedTeamAPIKey
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostApiKeysResponse) GetJSON401 ¶
func (r PostApiKeysResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostApiKeysResponse) GetJSON500 ¶
func (r PostApiKeysResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostApiKeysResponse) Status ¶
func (r PostApiKeysResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiKeysResponse) StatusCode ¶
func (r PostApiKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodesNodeIDJSONRequestBody ¶
type PostNodesNodeIDJSONRequestBody = NodeStatusChange
PostNodesNodeIDJSONRequestBody defines body for PostNodesNodeID for application/json ContentType.
type PostNodesNodeIDResponse ¶
type PostNodesNodeIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostNodesNodeIDResponse ¶
func ParsePostNodesNodeIDResponse(rsp *http.Response) (*PostNodesNodeIDResponse, error)
ParsePostNodesNodeIDResponse parses an HTTP response from a PostNodesNodeIDWithResponse call
func (PostNodesNodeIDResponse) ContentType ¶
func (r PostNodesNodeIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostNodesNodeIDResponse) GetBody ¶
func (r PostNodesNodeIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostNodesNodeIDResponse) GetJSON401 ¶
func (r PostNodesNodeIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostNodesNodeIDResponse) GetJSON404 ¶
func (r PostNodesNodeIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostNodesNodeIDResponse) GetJSON409 ¶
func (r PostNodesNodeIDResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostNodesNodeIDResponse) GetJSON500 ¶
func (r PostNodesNodeIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostNodesNodeIDResponse) Status ¶
func (r PostNodesNodeIDResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodesNodeIDResponse) StatusCode ¶
func (r PostNodesNodeIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSandboxesJSONRequestBody ¶
type PostSandboxesJSONRequestBody = NewSandbox
PostSandboxesJSONRequestBody defines body for PostSandboxes for application/json ContentType.
type PostSandboxesResponse ¶
type PostSandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Sandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
}
func ParsePostSandboxesResponse ¶
func ParsePostSandboxesResponse(rsp *http.Response) (*PostSandboxesResponse, error)
ParsePostSandboxesResponse parses an HTTP response from a PostSandboxesWithResponse call
func (PostSandboxesResponse) ContentType ¶
func (r PostSandboxesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSandboxesResponse) GetBody ¶
func (r PostSandboxesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSandboxesResponse) GetJSON201 ¶
func (r PostSandboxesResponse) GetJSON201() *Sandbox
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostSandboxesResponse) GetJSON400 ¶
func (r PostSandboxesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostSandboxesResponse) GetJSON401 ¶
func (r PostSandboxesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSandboxesResponse) GetJSON500 ¶
func (r PostSandboxesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSandboxesResponse) GetJSON503 ¶
func (r PostSandboxesResponse) GetJSON503() *N503
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostSandboxesResponse) GetJSON504 ¶
func (r PostSandboxesResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PostSandboxesResponse) Status ¶
func (r PostSandboxesResponse) Status() string
Status returns HTTPResponse.Status
func (PostSandboxesResponse) StatusCode ¶
func (r PostSandboxesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSandboxesSandboxIDConnectJSONRequestBody ¶
type PostSandboxesSandboxIDConnectJSONRequestBody = ConnectSandbox
PostSandboxesSandboxIDConnectJSONRequestBody defines body for PostSandboxesSandboxIDConnect for application/json ContentType.
type PostSandboxesSandboxIDConnectResponse ¶
type PostSandboxesSandboxIDConnectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Sandbox
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Sandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
}
func ParsePostSandboxesSandboxIDConnectResponse ¶
func ParsePostSandboxesSandboxIDConnectResponse(rsp *http.Response) (*PostSandboxesSandboxIDConnectResponse, error)
ParsePostSandboxesSandboxIDConnectResponse parses an HTTP response from a PostSandboxesSandboxIDConnectWithResponse call
func (PostSandboxesSandboxIDConnectResponse) ContentType ¶
func (r PostSandboxesSandboxIDConnectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSandboxesSandboxIDConnectResponse) GetBody ¶
func (r PostSandboxesSandboxIDConnectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSandboxesSandboxIDConnectResponse) GetJSON200 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON200() *Sandbox
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) GetJSON201 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON201() *Sandbox
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) GetJSON400 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) GetJSON401 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) GetJSON404 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) GetJSON409 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) GetJSON500 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) GetJSON503 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON503() *N503
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) GetJSON504 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PostSandboxesSandboxIDConnectResponse) Status ¶
func (r PostSandboxesSandboxIDConnectResponse) Status() string
Status returns HTTPResponse.Status
func (PostSandboxesSandboxIDConnectResponse) StatusCode ¶
func (r PostSandboxesSandboxIDConnectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSandboxesSandboxIDForkJSONRequestBody ¶
type PostSandboxesSandboxIDForkJSONRequestBody = SandboxForkRequest
PostSandboxesSandboxIDForkJSONRequestBody defines body for PostSandboxesSandboxIDFork for application/json ContentType.
type PostSandboxesSandboxIDForkResponse ¶
type PostSandboxesSandboxIDForkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *[]SandboxForkResult
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
}
func ParsePostSandboxesSandboxIDForkResponse ¶
func ParsePostSandboxesSandboxIDForkResponse(rsp *http.Response) (*PostSandboxesSandboxIDForkResponse, error)
ParsePostSandboxesSandboxIDForkResponse parses an HTTP response from a PostSandboxesSandboxIDForkWithResponse call
func (PostSandboxesSandboxIDForkResponse) ContentType ¶
func (r PostSandboxesSandboxIDForkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSandboxesSandboxIDForkResponse) GetBody ¶
func (r PostSandboxesSandboxIDForkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSandboxesSandboxIDForkResponse) GetJSON201 ¶
func (r PostSandboxesSandboxIDForkResponse) GetJSON201() *[]SandboxForkResult
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostSandboxesSandboxIDForkResponse) GetJSON401 ¶
func (r PostSandboxesSandboxIDForkResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSandboxesSandboxIDForkResponse) GetJSON404 ¶
func (r PostSandboxesSandboxIDForkResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSandboxesSandboxIDForkResponse) GetJSON409 ¶
func (r PostSandboxesSandboxIDForkResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostSandboxesSandboxIDForkResponse) GetJSON500 ¶
func (r PostSandboxesSandboxIDForkResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSandboxesSandboxIDForkResponse) GetJSON503 ¶
func (r PostSandboxesSandboxIDForkResponse) GetJSON503() *N503
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostSandboxesSandboxIDForkResponse) Status ¶
func (r PostSandboxesSandboxIDForkResponse) Status() string
Status returns HTTPResponse.Status
func (PostSandboxesSandboxIDForkResponse) StatusCode ¶
func (r PostSandboxesSandboxIDForkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSandboxesSandboxIDPauseJSONRequestBody ¶
type PostSandboxesSandboxIDPauseJSONRequestBody = SandboxPauseRequest
PostSandboxesSandboxIDPauseJSONRequestBody defines body for PostSandboxesSandboxIDPause for application/json ContentType.
type PostSandboxesSandboxIDPauseResponse ¶
type PostSandboxesSandboxIDPauseResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostSandboxesSandboxIDPauseResponse ¶
func ParsePostSandboxesSandboxIDPauseResponse(rsp *http.Response) (*PostSandboxesSandboxIDPauseResponse, error)
ParsePostSandboxesSandboxIDPauseResponse parses an HTTP response from a PostSandboxesSandboxIDPauseWithResponse call
func (PostSandboxesSandboxIDPauseResponse) ContentType ¶
func (r PostSandboxesSandboxIDPauseResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSandboxesSandboxIDPauseResponse) GetBody ¶
func (r PostSandboxesSandboxIDPauseResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSandboxesSandboxIDPauseResponse) GetJSON401 ¶
func (r PostSandboxesSandboxIDPauseResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSandboxesSandboxIDPauseResponse) GetJSON404 ¶
func (r PostSandboxesSandboxIDPauseResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSandboxesSandboxIDPauseResponse) GetJSON409 ¶
func (r PostSandboxesSandboxIDPauseResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostSandboxesSandboxIDPauseResponse) GetJSON500 ¶
func (r PostSandboxesSandboxIDPauseResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSandboxesSandboxIDPauseResponse) Status ¶
func (r PostSandboxesSandboxIDPauseResponse) Status() string
Status returns HTTPResponse.Status
func (PostSandboxesSandboxIDPauseResponse) StatusCode ¶
func (r PostSandboxesSandboxIDPauseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSandboxesSandboxIDRefreshesJSONRequestBody ¶
type PostSandboxesSandboxIDRefreshesJSONRequestBody = SandboxRefreshRequest
PostSandboxesSandboxIDRefreshesJSONRequestBody defines body for PostSandboxesSandboxIDRefreshes for application/json ContentType.
type PostSandboxesSandboxIDRefreshesResponse ¶
type PostSandboxesSandboxIDRefreshesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
}
func ParsePostSandboxesSandboxIDRefreshesResponse ¶
func ParsePostSandboxesSandboxIDRefreshesResponse(rsp *http.Response) (*PostSandboxesSandboxIDRefreshesResponse, error)
ParsePostSandboxesSandboxIDRefreshesResponse parses an HTTP response from a PostSandboxesSandboxIDRefreshesWithResponse call
func (PostSandboxesSandboxIDRefreshesResponse) ContentType ¶
func (r PostSandboxesSandboxIDRefreshesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSandboxesSandboxIDRefreshesResponse) GetBody ¶
func (r PostSandboxesSandboxIDRefreshesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSandboxesSandboxIDRefreshesResponse) GetJSON401 ¶
func (r PostSandboxesSandboxIDRefreshesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSandboxesSandboxIDRefreshesResponse) GetJSON404 ¶
func (r PostSandboxesSandboxIDRefreshesResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSandboxesSandboxIDRefreshesResponse) Status ¶
func (r PostSandboxesSandboxIDRefreshesResponse) Status() string
Status returns HTTPResponse.Status
func (PostSandboxesSandboxIDRefreshesResponse) StatusCode ¶
func (r PostSandboxesSandboxIDRefreshesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSandboxesSandboxIDResumeJSONRequestBody
deprecated
type PostSandboxesSandboxIDResumeJSONRequestBody = ResumedSandbox
PostSandboxesSandboxIDResumeJSONRequestBody defines body for PostSandboxesSandboxIDResume for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type PostSandboxesSandboxIDResumeResponse ¶
type PostSandboxesSandboxIDResumeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Sandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
}
func ParsePostSandboxesSandboxIDResumeResponse ¶
func ParsePostSandboxesSandboxIDResumeResponse(rsp *http.Response) (*PostSandboxesSandboxIDResumeResponse, error)
ParsePostSandboxesSandboxIDResumeResponse parses an HTTP response from a PostSandboxesSandboxIDResumeWithResponse call
func (PostSandboxesSandboxIDResumeResponse) ContentType ¶
func (r PostSandboxesSandboxIDResumeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSandboxesSandboxIDResumeResponse) GetBody ¶
func (r PostSandboxesSandboxIDResumeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSandboxesSandboxIDResumeResponse) GetJSON201 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON201() *Sandbox
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostSandboxesSandboxIDResumeResponse) GetJSON400 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostSandboxesSandboxIDResumeResponse) GetJSON401 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSandboxesSandboxIDResumeResponse) GetJSON404 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSandboxesSandboxIDResumeResponse) GetJSON409 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostSandboxesSandboxIDResumeResponse) GetJSON500 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSandboxesSandboxIDResumeResponse) GetJSON503 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON503() *N503
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostSandboxesSandboxIDResumeResponse) GetJSON504 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PostSandboxesSandboxIDResumeResponse) Status ¶
func (r PostSandboxesSandboxIDResumeResponse) Status() string
Status returns HTTPResponse.Status
func (PostSandboxesSandboxIDResumeResponse) StatusCode ¶
func (r PostSandboxesSandboxIDResumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSandboxesSandboxIDSnapshotsJSONRequestBody ¶
type PostSandboxesSandboxIDSnapshotsJSONRequestBody = SandboxSnapshotRequest
PostSandboxesSandboxIDSnapshotsJSONRequestBody defines body for PostSandboxesSandboxIDSnapshots for application/json ContentType.
type PostSandboxesSandboxIDSnapshotsResponse ¶
type PostSandboxesSandboxIDSnapshotsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *SnapshotInfo
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostSandboxesSandboxIDSnapshotsResponse ¶
func ParsePostSandboxesSandboxIDSnapshotsResponse(rsp *http.Response) (*PostSandboxesSandboxIDSnapshotsResponse, error)
ParsePostSandboxesSandboxIDSnapshotsResponse parses an HTTP response from a PostSandboxesSandboxIDSnapshotsWithResponse call
func (PostSandboxesSandboxIDSnapshotsResponse) ContentType ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSandboxesSandboxIDSnapshotsResponse) GetBody ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON201 ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON201() *SnapshotInfo
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON400 ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON401 ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON404 ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON500 ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSandboxesSandboxIDSnapshotsResponse) Status ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (PostSandboxesSandboxIDSnapshotsResponse) StatusCode ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSandboxesSandboxIDTimeoutJSONRequestBody ¶
type PostSandboxesSandboxIDTimeoutJSONRequestBody = SandboxTimeoutRequest
PostSandboxesSandboxIDTimeoutJSONRequestBody defines body for PostSandboxesSandboxIDTimeout for application/json ContentType.
type PostSandboxesSandboxIDTimeoutResponse ¶
type PostSandboxesSandboxIDTimeoutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostSandboxesSandboxIDTimeoutResponse ¶
func ParsePostSandboxesSandboxIDTimeoutResponse(rsp *http.Response) (*PostSandboxesSandboxIDTimeoutResponse, error)
ParsePostSandboxesSandboxIDTimeoutResponse parses an HTTP response from a PostSandboxesSandboxIDTimeoutWithResponse call
func (PostSandboxesSandboxIDTimeoutResponse) ContentType ¶
func (r PostSandboxesSandboxIDTimeoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSandboxesSandboxIDTimeoutResponse) GetBody ¶
func (r PostSandboxesSandboxIDTimeoutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSandboxesSandboxIDTimeoutResponse) GetJSON401 ¶
func (r PostSandboxesSandboxIDTimeoutResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSandboxesSandboxIDTimeoutResponse) GetJSON404 ¶
func (r PostSandboxesSandboxIDTimeoutResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSandboxesSandboxIDTimeoutResponse) GetJSON500 ¶
func (r PostSandboxesSandboxIDTimeoutResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSandboxesSandboxIDTimeoutResponse) Status ¶
func (r PostSandboxesSandboxIDTimeoutResponse) Status() string
Status returns HTTPResponse.Status
func (PostSandboxesSandboxIDTimeoutResponse) StatusCode ¶
func (r PostSandboxesSandboxIDTimeoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSecretsJSONRequestBody ¶
type PostSecretsJSONRequestBody = NewSecret
PostSecretsJSONRequestBody defines body for PostSecrets for application/json ContentType.
type PostSecretsResponse ¶
type PostSecretsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Secret
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *N502
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
}
func ParsePostSecretsResponse ¶
func ParsePostSecretsResponse(rsp *http.Response) (*PostSecretsResponse, error)
ParsePostSecretsResponse parses an HTTP response from a PostSecretsWithResponse call
func (PostSecretsResponse) ContentType ¶
func (r PostSecretsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSecretsResponse) GetBody ¶
func (r PostSecretsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSecretsResponse) GetJSON201 ¶
func (r PostSecretsResponse) GetJSON201() *Secret
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostSecretsResponse) GetJSON400 ¶
func (r PostSecretsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostSecretsResponse) GetJSON401 ¶
func (r PostSecretsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSecretsResponse) GetJSON403 ¶
func (r PostSecretsResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostSecretsResponse) GetJSON404 ¶
func (r PostSecretsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSecretsResponse) GetJSON409 ¶
func (r PostSecretsResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostSecretsResponse) GetJSON429 ¶
func (r PostSecretsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostSecretsResponse) GetJSON500 ¶
func (r PostSecretsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSecretsResponse) GetJSON502 ¶
func (r PostSecretsResponse) GetJSON502() *N502
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (PostSecretsResponse) GetJSON504 ¶
func (r PostSecretsResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PostSecretsResponse) Status ¶
func (r PostSecretsResponse) Status() string
Status returns HTTPResponse.Status
func (PostSecretsResponse) StatusCode ¶
func (r PostSecretsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSecretsSecretIDJSONRequestBody ¶
type PostSecretsSecretIDJSONRequestBody = SecretUpdate
PostSecretsSecretIDJSONRequestBody defines body for PostSecretsSecretID for application/json ContentType.
type PostSecretsSecretIDResponse ¶
type PostSecretsSecretIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Secret
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *N502
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
}
func ParsePostSecretsSecretIDResponse ¶
func ParsePostSecretsSecretIDResponse(rsp *http.Response) (*PostSecretsSecretIDResponse, error)
ParsePostSecretsSecretIDResponse parses an HTTP response from a PostSecretsSecretIDWithResponse call
func (PostSecretsSecretIDResponse) ContentType ¶
func (r PostSecretsSecretIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostSecretsSecretIDResponse) GetBody ¶
func (r PostSecretsSecretIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostSecretsSecretIDResponse) GetJSON200 ¶
func (r PostSecretsSecretIDResponse) GetJSON200() *Secret
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON400 ¶
func (r PostSecretsSecretIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON401 ¶
func (r PostSecretsSecretIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON403 ¶
func (r PostSecretsSecretIDResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON404 ¶
func (r PostSecretsSecretIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON409 ¶
func (r PostSecretsSecretIDResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON429 ¶
func (r PostSecretsSecretIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON500 ¶
func (r PostSecretsSecretIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON502 ¶
func (r PostSecretsSecretIDResponse) GetJSON502() *N502
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (PostSecretsSecretIDResponse) GetJSON504 ¶
func (r PostSecretsSecretIDResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PostSecretsSecretIDResponse) Status ¶
func (r PostSecretsSecretIDResponse) Status() string
Status returns HTTPResponse.Status
func (PostSecretsSecretIDResponse) StatusCode ¶
func (r PostSecretsSecretIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostTemplatesJSONRequestBody
deprecated
type PostTemplatesJSONRequestBody = TemplateBuildRequest
PostTemplatesJSONRequestBody defines body for PostTemplates for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type PostTemplatesResponse ¶
type PostTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *TemplateLegacy
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostTemplatesResponse ¶
func ParsePostTemplatesResponse(rsp *http.Response) (*PostTemplatesResponse, error)
ParsePostTemplatesResponse parses an HTTP response from a PostTemplatesWithResponse call
func (PostTemplatesResponse) ContentType ¶
func (r PostTemplatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostTemplatesResponse) GetBody ¶
func (r PostTemplatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostTemplatesResponse) GetJSON202 ¶
func (r PostTemplatesResponse) GetJSON202() *TemplateLegacy
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostTemplatesResponse) GetJSON400 ¶
func (r PostTemplatesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostTemplatesResponse) GetJSON401 ¶
func (r PostTemplatesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostTemplatesResponse) GetJSON500 ¶
func (r PostTemplatesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostTemplatesResponse) Status ¶
func (r PostTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (PostTemplatesResponse) StatusCode ¶
func (r PostTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostTemplatesTagsJSONRequestBody ¶
type PostTemplatesTagsJSONRequestBody = AssignTemplateTagsRequest
PostTemplatesTagsJSONRequestBody defines body for PostTemplatesTags for application/json ContentType.
type PostTemplatesTagsResponse ¶
type PostTemplatesTagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AssignedTemplateTags
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostTemplatesTagsResponse ¶
func ParsePostTemplatesTagsResponse(rsp *http.Response) (*PostTemplatesTagsResponse, error)
ParsePostTemplatesTagsResponse parses an HTTP response from a PostTemplatesTagsWithResponse call
func (PostTemplatesTagsResponse) ContentType ¶
func (r PostTemplatesTagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostTemplatesTagsResponse) GetBody ¶
func (r PostTemplatesTagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostTemplatesTagsResponse) GetJSON201 ¶
func (r PostTemplatesTagsResponse) GetJSON201() *AssignedTemplateTags
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostTemplatesTagsResponse) GetJSON400 ¶
func (r PostTemplatesTagsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostTemplatesTagsResponse) GetJSON401 ¶
func (r PostTemplatesTagsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostTemplatesTagsResponse) GetJSON404 ¶
func (r PostTemplatesTagsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostTemplatesTagsResponse) GetJSON500 ¶
func (r PostTemplatesTagsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostTemplatesTagsResponse) Status ¶
func (r PostTemplatesTagsResponse) Status() string
Status returns HTTPResponse.Status
func (PostTemplatesTagsResponse) StatusCode ¶
func (r PostTemplatesTagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostTemplatesTemplateIDBuildsBuildIDResponse ¶
type PostTemplatesTemplateIDBuildsBuildIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostTemplatesTemplateIDBuildsBuildIDResponse ¶
func ParsePostTemplatesTemplateIDBuildsBuildIDResponse(rsp *http.Response) (*PostTemplatesTemplateIDBuildsBuildIDResponse, error)
ParsePostTemplatesTemplateIDBuildsBuildIDResponse parses an HTTP response from a PostTemplatesTemplateIDBuildsBuildIDWithResponse call
func (PostTemplatesTemplateIDBuildsBuildIDResponse) ContentType ¶
func (r PostTemplatesTemplateIDBuildsBuildIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostTemplatesTemplateIDBuildsBuildIDResponse) GetBody ¶
func (r PostTemplatesTemplateIDBuildsBuildIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostTemplatesTemplateIDBuildsBuildIDResponse) GetJSON401 ¶
func (r PostTemplatesTemplateIDBuildsBuildIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostTemplatesTemplateIDBuildsBuildIDResponse) GetJSON500 ¶
func (r PostTemplatesTemplateIDBuildsBuildIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostTemplatesTemplateIDBuildsBuildIDResponse) Status ¶
func (r PostTemplatesTemplateIDBuildsBuildIDResponse) Status() string
Status returns HTTPResponse.Status
func (PostTemplatesTemplateIDBuildsBuildIDResponse) StatusCode ¶
func (r PostTemplatesTemplateIDBuildsBuildIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostTemplatesTemplateIDJSONRequestBody
deprecated
type PostTemplatesTemplateIDJSONRequestBody = TemplateBuildRequest
PostTemplatesTemplateIDJSONRequestBody defines body for PostTemplatesTemplateID for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type PostTemplatesTemplateIDResponse ¶
type PostTemplatesTemplateIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *TemplateLegacy
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostTemplatesTemplateIDResponse ¶
func ParsePostTemplatesTemplateIDResponse(rsp *http.Response) (*PostTemplatesTemplateIDResponse, error)
ParsePostTemplatesTemplateIDResponse parses an HTTP response from a PostTemplatesTemplateIDWithResponse call
func (PostTemplatesTemplateIDResponse) ContentType ¶
func (r PostTemplatesTemplateIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostTemplatesTemplateIDResponse) GetBody ¶
func (r PostTemplatesTemplateIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostTemplatesTemplateIDResponse) GetJSON202 ¶
func (r PostTemplatesTemplateIDResponse) GetJSON202() *TemplateLegacy
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostTemplatesTemplateIDResponse) GetJSON401 ¶
func (r PostTemplatesTemplateIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostTemplatesTemplateIDResponse) GetJSON500 ¶
func (r PostTemplatesTemplateIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostTemplatesTemplateIDResponse) Status ¶
func (r PostTemplatesTemplateIDResponse) Status() string
Status returns HTTPResponse.Status
func (PostTemplatesTemplateIDResponse) StatusCode ¶
func (r PostTemplatesTemplateIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV2TemplatesJSONRequestBody
deprecated
type PostV2TemplatesJSONRequestBody = TemplateBuildRequestV2
PostV2TemplatesJSONRequestBody defines body for PostV2Templates for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type PostV2TemplatesResponse ¶
type PostV2TemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *TemplateLegacy
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostV2TemplatesResponse ¶
func ParsePostV2TemplatesResponse(rsp *http.Response) (*PostV2TemplatesResponse, error)
ParsePostV2TemplatesResponse parses an HTTP response from a PostV2TemplatesWithResponse call
func (PostV2TemplatesResponse) ContentType ¶
func (r PostV2TemplatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV2TemplatesResponse) GetBody ¶
func (r PostV2TemplatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV2TemplatesResponse) GetJSON202 ¶
func (r PostV2TemplatesResponse) GetJSON202() *TemplateLegacy
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostV2TemplatesResponse) GetJSON400 ¶
func (r PostV2TemplatesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV2TemplatesResponse) GetJSON401 ¶
func (r PostV2TemplatesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV2TemplatesResponse) GetJSON500 ¶
func (r PostV2TemplatesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV2TemplatesResponse) Status ¶
func (r PostV2TemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV2TemplatesResponse) StatusCode ¶
func (r PostV2TemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody ¶
type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody = TemplateBuildStartV2
PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody defines body for PostV2TemplatesTemplateIDBuildsBuildID for application/json ContentType.
type PostV2TemplatesTemplateIDBuildsBuildIDResponse ¶
type PostV2TemplatesTemplateIDBuildsBuildIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse ¶
func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse(rsp *http.Response) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse parses an HTTP response from a PostV2TemplatesTemplateIDBuildsBuildIDWithResponse call
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) ContentType ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetBody ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON401 ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON500 ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) Status ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) Status() string
Status returns HTTPResponse.Status
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) StatusCode ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV3TemplatesJSONRequestBody ¶
type PostV3TemplatesJSONRequestBody = TemplateBuildRequestV3
PostV3TemplatesJSONRequestBody defines body for PostV3Templates for application/json ContentType.
type PostV3TemplatesResponse ¶
type PostV3TemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *TemplateRequestResponseV3
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostV3TemplatesResponse ¶
func ParsePostV3TemplatesResponse(rsp *http.Response) (*PostV3TemplatesResponse, error)
ParsePostV3TemplatesResponse parses an HTTP response from a PostV3TemplatesWithResponse call
func (PostV3TemplatesResponse) ContentType ¶
func (r PostV3TemplatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV3TemplatesResponse) GetBody ¶
func (r PostV3TemplatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV3TemplatesResponse) GetJSON202 ¶
func (r PostV3TemplatesResponse) GetJSON202() *TemplateRequestResponseV3
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostV3TemplatesResponse) GetJSON400 ¶
func (r PostV3TemplatesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV3TemplatesResponse) GetJSON401 ¶
func (r PostV3TemplatesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV3TemplatesResponse) GetJSON403 ¶
func (r PostV3TemplatesResponse) GetJSON403() *N403
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostV3TemplatesResponse) GetJSON500 ¶
func (r PostV3TemplatesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV3TemplatesResponse) Status ¶
func (r PostV3TemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV3TemplatesResponse) StatusCode ¶
func (r PostV3TemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostVolumesJSONRequestBody ¶
type PostVolumesJSONRequestBody = NewVolume
PostVolumesJSONRequestBody defines body for PostVolumes for application/json ContentType.
type PostVolumesResponse ¶
type PostVolumesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *VolumeAndToken
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePostVolumesResponse ¶
func ParsePostVolumesResponse(rsp *http.Response) (*PostVolumesResponse, error)
ParsePostVolumesResponse parses an HTTP response from a PostVolumesWithResponse call
func (PostVolumesResponse) ContentType ¶
func (r PostVolumesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostVolumesResponse) GetBody ¶
func (r PostVolumesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostVolumesResponse) GetJSON201 ¶
func (r PostVolumesResponse) GetJSON201() *VolumeAndToken
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostVolumesResponse) GetJSON400 ¶
func (r PostVolumesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostVolumesResponse) GetJSON401 ¶
func (r PostVolumesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostVolumesResponse) GetJSON500 ¶
func (r PostVolumesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostVolumesResponse) Status ¶
func (r PostVolumesResponse) Status() string
Status returns HTTPResponse.Status
func (PostVolumesResponse) StatusCode ¶
func (r PostVolumesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutSandboxesSandboxIDNetworkJSONRequestBody ¶
type PutSandboxesSandboxIDNetworkJSONRequestBody = SandboxNetworkUpdateConfig
PutSandboxesSandboxIDNetworkJSONRequestBody defines body for PutSandboxesSandboxIDNetwork for application/json ContentType.
type PutSandboxesSandboxIDNetworkResponse ¶
type PutSandboxesSandboxIDNetworkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParsePutSandboxesSandboxIDNetworkResponse ¶
func ParsePutSandboxesSandboxIDNetworkResponse(rsp *http.Response) (*PutSandboxesSandboxIDNetworkResponse, error)
ParsePutSandboxesSandboxIDNetworkResponse parses an HTTP response from a PutSandboxesSandboxIDNetworkWithResponse call
func (PutSandboxesSandboxIDNetworkResponse) ContentType ¶
func (r PutSandboxesSandboxIDNetworkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutSandboxesSandboxIDNetworkResponse) GetBody ¶
func (r PutSandboxesSandboxIDNetworkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutSandboxesSandboxIDNetworkResponse) GetJSON401 ¶
func (r PutSandboxesSandboxIDNetworkResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutSandboxesSandboxIDNetworkResponse) GetJSON404 ¶
func (r PutSandboxesSandboxIDNetworkResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutSandboxesSandboxIDNetworkResponse) GetJSON409 ¶
func (r PutSandboxesSandboxIDNetworkResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PutSandboxesSandboxIDNetworkResponse) GetJSON500 ¶
func (r PutSandboxesSandboxIDNetworkResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutSandboxesSandboxIDNetworkResponse) Status ¶
func (r PutSandboxesSandboxIDNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (PutSandboxesSandboxIDNetworkResponse) StatusCode ¶
func (r PutSandboxesSandboxIDNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResumedSandbox ¶
type ResumedSandbox struct {
// AutoPause Automatically pauses the sandbox after the timeout
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AutoPause *bool `json:"autoPause,omitempty"`
// 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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type SandboxIamTokens map[string]SandboxIamToken
SandboxIamTokens Named workload-token definitions, keyed by a caller-chosen token name.
type SandboxLifecycle ¶
type SandboxLifecycle struct {
// AutoResume Whether the sandbox can auto-resume.
AutoResume bool `json:"autoResume"`
// OnTimeout Action taken when the sandbox times out.
OnTimeout SandboxOnTimeout `json:"onTimeout"`
}
SandboxLifecycle Sandbox lifecycle policy returned by sandbox info.
type SandboxLog ¶
type SandboxLog struct {
// Line Log line content
Line string `json:"line"`
// Timestamp Timestamp of the log entry
Timestamp time.Time `json:"timestamp"`
}
SandboxLog Log entry with timestamp and line
type SandboxLogEntry ¶
type SandboxLogEntry struct {
Fields map[string]string `json:"fields"`
// Level State of the sandbox
Level LogLevel `json:"level"`
// Message Log message content
Message string `json:"message"`
// Timestamp Timestamp of the log entry
Timestamp time.Time `json:"timestamp"`
}
SandboxLogEntry defines model for SandboxLogEntry.
type SandboxLogs ¶
type SandboxLogs struct {
// LogEntries Structured logs of the sandbox
LogEntries []SandboxLogEntry `json:"logEntries"`
// Logs Logs of the sandbox
Logs []SandboxLog `json:"logs"`
}
SandboxLogs defines model for SandboxLogs.
type SandboxLogsV2Response ¶
type SandboxLogsV2Response struct {
// Logs Sandbox logs structured
Logs []SandboxLogEntry `json:"logs"`
}
SandboxLogsV2Response defines model for SandboxLogsV2Response.
type SandboxMetadata ¶
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 outbound HTTPS requests. Keys may be exact DNS names (for example, "api.example.com") or a leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}
SandboxNetworkConfig defines model for SandboxNetworkConfig.
type SandboxNetworkRule ¶
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 ¶
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 ¶
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 applied to matching outbound HTTPS requests. Replaces all existing rules when provided. Keys may be exact DNS names or a single leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}
SandboxNetworkUpdateConfig Network configuration update for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting a field clears it.
type SandboxOnTimeout ¶
type SandboxOnTimeout string
SandboxOnTimeout Action taken when the sandbox times out.
const ( Kill SandboxOnTimeout = "kill" Pause SandboxOnTimeout = "pause" )
Defines values for SandboxOnTimeout.
func (SandboxOnTimeout) Valid ¶
func (e SandboxOnTimeout) Valid() bool
Valid indicates whether the value is a known member of the SandboxOnTimeout enum.
type SandboxPauseRequest ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type SecretID = string
SecretID Identifier of the secret (sec_ prefixed), or its canonical lower-case name
type SecretMetadata ¶
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 ¶
type SecretUpdate struct {
// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
Metadata *SecretMetadata `json:"metadata,omitempty"`
// Value Runtime marker stored as the secret's new version. The runtime resolves it to a value at sandbox egress.
Value string `json:"value"`
}
SecretUpdate defines model for SecretUpdate.
type SnapshotInfo ¶
type SnapshotInfo struct {
// Names Full names of the snapshot template including team namespace and tag (e.g. team-slug/my-snapshot:v2)
Names []string `json:"names"`
// SnapshotID Identifier of the snapshot template including the tag. Uses namespace/alias when a name was provided (e.g. team-slug/my-snapshot:default), otherwise falls back to the raw template ID (e.g. abc123:default).
SnapshotID string `json:"snapshotID"`
}
SnapshotInfo defines model for SnapshotInfo.
type 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.