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 NewDeleteClustersClusterIDRigsInstancesInstanceIDRequest(server string, clusterID ClusterID, instanceID string, ...) (*http.Request, error)
- func NewDeleteEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID) (*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 NewGetAdminSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)
- func NewGetApiKeysRequest(server string) (*http.Request, error)
- func NewGetClustersClusterIDRigsRequest(server string, clusterID ClusterID) (*http.Request, error)
- func NewGetClustersClusterIDRigsRigIDErrorsRequest(server string, clusterID ClusterID, rigID RigID, ...) (*http.Request, error)
- func NewGetClustersClusterIDRigsRigIDInstancesRequest(server string, clusterID ClusterID, rigID RigID) (*http.Request, error)
- func NewGetEventsSandboxesRequest(server string, params *GetEventsSandboxesParams) (*http.Request, error)
- func NewGetEventsSandboxesSandboxIDRequest(server string, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams) (*http.Request, error)
- func NewGetEventsWebhooksRequest(server string) (*http.Request, error)
- func NewGetEventsWebhooksWebhookIDDeliveriesRequest(server string, webhookID WebhookID, ...) (*http.Request, error)
- func NewGetEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID) (*http.Request, error)
- func NewGetEventsWebhooksWebhookIDStatsRequest(server string, webhookID WebhookID, ...) (*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 NewPatchEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID, ...) (*http.Request, error)
- func NewPatchEventsWebhooksWebhookIDRequestWithBody(server string, webhookID WebhookID, 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 NewPostEventsWebhooksRequest(server string, body PostEventsWebhooksJSONRequestBody) (*http.Request, error)
- func NewPostEventsWebhooksRequestWithBody(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 NewPostTemplatesTagsRequest(server string, body PostTemplatesTagsJSONRequestBody) (*http.Request, error)
- func NewPostTemplatesTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV2SandboxesRequest(server string, params *PostV2SandboxesParams, ...) (*http.Request, error)
- func NewPostV2SandboxesRequestWithBody(server string, params *PostV2SandboxesParams, contentType string, ...) (*http.Request, error)
- func NewPostV2SandboxesSandboxIDConnectRequest(server string, sandboxID SandboxID, ...) (*http.Request, error)
- func NewPostV2SandboxesSandboxIDConnectRequestWithBody(server string, sandboxID SandboxID, 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 NewPutClustersClusterIDRigsRigIDCapacityRequest(server string, clusterID ClusterID, rigID RigID, ...) (*http.Request, error)
- func NewPutClustersClusterIDRigsRigIDCapacityRequestWithBody(server string, clusterID ClusterID, rigID RigID, contentType string, ...) (*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 AdminSandbox
- type AdminSandboxKillResult
- type AdminSandboxState
- 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) DeleteClustersClusterIDRigsInstancesInstanceID(ctx context.Context, clusterID ClusterID, instanceID string, ...) (*http.Response, error)
- func (c *Client) DeleteEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, 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) GetAdminSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClustersClusterIDRigs(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClustersClusterIDRigsRigIDErrors(ctx context.Context, clusterID ClusterID, rigID RigID, ...) (*http.Response, error)
- func (c *Client) GetClustersClusterIDRigsRigIDInstances(ctx context.Context, clusterID ClusterID, rigID RigID, ...) (*http.Response, error)
- func (c *Client) GetEventsSandboxes(ctx context.Context, params *GetEventsSandboxesParams, ...) (*http.Response, error)
- func (c *Client) GetEventsSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) GetEventsWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEventsWebhooksWebhookIDDeliveries(ctx context.Context, webhookID WebhookID, ...) (*http.Response, error)
- func (c *Client) GetEventsWebhooksWebhookIDStats(ctx context.Context, webhookID WebhookID, ...) (*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) PatchEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, ...) (*http.Response, error)
- func (c *Client) PatchEventsWebhooksWebhookIDWithBody(ctx context.Context, webhookID WebhookID, 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) PostEventsWebhooks(ctx context.Context, body PostEventsWebhooksJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostEventsWebhooksWithBody(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) 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) PostV2Sandboxes(ctx context.Context, params *PostV2SandboxesParams, ...) (*http.Response, error)
- func (c *Client) PostV2SandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, ...) (*http.Response, error)
- func (c *Client) PostV2SandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV2SandboxesWithBody(ctx context.Context, params *PostV2SandboxesParams, contentType string, ...) (*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) 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) PutClustersClusterIDRigsRigIDCapacity(ctx context.Context, clusterID ClusterID, rigID RigID, ...) (*http.Response, error)
- func (c *Client) PutClustersClusterIDRigsRigIDCapacityWithBody(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, ...) (*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) DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse(ctx context.Context, clusterID ClusterID, instanceID string, ...) (*DeleteClustersClusterIDRigsInstancesInstanceIDResponse, error)
- func (c *ClientWithResponses) DeleteEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*DeleteEventsWebhooksWebhookIDResponse, 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) GetAdminSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetAdminSandboxesSandboxIDResponse, error)
- func (c *ClientWithResponses) GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)
- func (c *ClientWithResponses) GetClustersClusterIDRigsRigIDErrorsWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, ...) (*GetClustersClusterIDRigsRigIDErrorsResponse, error)
- func (c *ClientWithResponses) GetClustersClusterIDRigsRigIDInstancesWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, ...) (*GetClustersClusterIDRigsRigIDInstancesResponse, error)
- func (c *ClientWithResponses) GetClustersClusterIDRigsWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsResponse, error)
- func (c *ClientWithResponses) GetEventsSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*GetEventsSandboxesSandboxIDResponse, error)
- func (c *ClientWithResponses) GetEventsSandboxesWithResponse(ctx context.Context, params *GetEventsSandboxesParams, ...) (*GetEventsSandboxesResponse, error)
- func (c *ClientWithResponses) GetEventsWebhooksWebhookIDDeliveriesWithResponse(ctx context.Context, webhookID WebhookID, ...) (*GetEventsWebhooksWebhookIDDeliveriesResponse, error)
- func (c *ClientWithResponses) GetEventsWebhooksWebhookIDStatsWithResponse(ctx context.Context, webhookID WebhookID, ...) (*GetEventsWebhooksWebhookIDStatsResponse, error)
- func (c *ClientWithResponses) GetEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDResponse, error)
- func (c *ClientWithResponses) GetEventsWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEventsWebhooksResponse, 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) PatchEventsWebhooksWebhookIDWithBodyWithResponse(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, ...) (*PatchEventsWebhooksWebhookIDResponse, error)
- func (c *ClientWithResponses) PatchEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, ...) (*PatchEventsWebhooksWebhookIDResponse, 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) PostEventsWebhooksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostEventsWebhooksResponse, error)
- func (c *ClientWithResponses) PostEventsWebhooksWithResponse(ctx context.Context, body PostEventsWebhooksJSONRequestBody, ...) (*PostEventsWebhooksResponse, 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)deprecated
- 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)deprecated
- 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) PostV2SandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, ...) (*PostV2SandboxesSandboxIDConnectResponse, error)
- func (c *ClientWithResponses) PostV2SandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, ...) (*PostV2SandboxesSandboxIDConnectResponse, error)
- func (c *ClientWithResponses) PostV2SandboxesWithBodyWithResponse(ctx context.Context, params *PostV2SandboxesParams, contentType string, ...) (*PostV2SandboxesResponse, error)
- func (c *ClientWithResponses) PostV2SandboxesWithResponse(ctx context.Context, params *PostV2SandboxesParams, ...) (*PostV2SandboxesResponse, 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) 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) PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, ...) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)
- func (c *ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, ...) (*PutClustersClusterIDRigsRigIDCapacityResponse, 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 ClusterID
- type ConnectSandbox
- type ConnectSandboxV2
- 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) GetJSON429() *N429
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON500() *N500
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) Status() string
- func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) StatusCode() int
- type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers
- 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) GetJSON429() *N429
- func (r DeleteApiKeysApiKeyIDResponse) GetJSON500() *N500
- func (r DeleteApiKeysApiKeyIDResponse) Status() string
- func (r DeleteApiKeysApiKeyIDResponse) StatusCode() int
- type DeleteApiKeysApiKeyIDResponse429Headers
- type DeleteClustersClusterIDRigsInstancesInstanceIDParams
- type DeleteClustersClusterIDRigsInstancesInstanceIDResponse
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) ContentType() string
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetBody() []byte
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON400() *N400
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON401() *N401
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON404() *N404
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON409() *N409
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON429() *N429
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON500() *N500
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON501() *N501
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) Status() string
- func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) StatusCode() int
- type DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers
- type DeleteEventsWebhooksWebhookIDResponse
- func (r DeleteEventsWebhooksWebhookIDResponse) ContentType() string
- func (r DeleteEventsWebhooksWebhookIDResponse) GetBody() []byte
- func (r DeleteEventsWebhooksWebhookIDResponse) GetJSON401() *N401
- func (r DeleteEventsWebhooksWebhookIDResponse) GetJSON404() *N404
- func (r DeleteEventsWebhooksWebhookIDResponse) GetJSON500() *N500
- func (r DeleteEventsWebhooksWebhookIDResponse) Status() string
- func (r DeleteEventsWebhooksWebhookIDResponse) 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) GetJSON429() *N429
- func (r DeleteSandboxesSandboxIDResponse) GetJSON500() *N500
- func (r DeleteSandboxesSandboxIDResponse) Status() string
- func (r DeleteSandboxesSandboxIDResponse) StatusCode() int
- type DeleteSandboxesSandboxIDResponse429Headers
- 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 DeleteSecretsSecretIDResponse429Headers
- 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) GetJSON429() *N429
- func (r DeleteTemplatesTagsResponse) GetJSON500() *N500
- func (r DeleteTemplatesTagsResponse) Status() string
- func (r DeleteTemplatesTagsResponse) StatusCode() int
- type DeleteTemplatesTagsResponse429Headers
- type DeleteTemplatesTemplateIDResponse
- func (r DeleteTemplatesTemplateIDResponse) ContentType() string
- func (r DeleteTemplatesTemplateIDResponse) GetBody() []byte
- func (r DeleteTemplatesTemplateIDResponse) GetJSON401() *N401
- func (r DeleteTemplatesTemplateIDResponse) GetJSON429() *N429
- func (r DeleteTemplatesTemplateIDResponse) GetJSON500() *N500
- func (r DeleteTemplatesTemplateIDResponse) Status() string
- func (r DeleteTemplatesTemplateIDResponse) StatusCode() int
- type DeleteTemplatesTemplateIDResponse429Headers
- 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) GetJSON429() *N429
- func (r DeleteVolumesVolumeIDResponse) GetJSON500() *N500
- func (r DeleteVolumesVolumeIDResponse) Status() string
- func (r DeleteVolumesVolumeIDResponse) StatusCode() int
- type DeleteVolumesVolumeIDResponse429Headers
- 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) GetJSON429() *N429
- func (r GetAdminSandboxesRunningCountsResponse) GetJSON500() *N500
- func (r GetAdminSandboxesRunningCountsResponse) Status() string
- func (r GetAdminSandboxesRunningCountsResponse) StatusCode() int
- type GetAdminSandboxesRunningCountsResponse429Headers
- type GetAdminSandboxesSandboxIDResponse
- func (r GetAdminSandboxesSandboxIDResponse) ContentType() string
- func (r GetAdminSandboxesSandboxIDResponse) GetBody() []byte
- func (r GetAdminSandboxesSandboxIDResponse) GetJSON200() *AdminSandbox
- func (r GetAdminSandboxesSandboxIDResponse) GetJSON400() *N400
- func (r GetAdminSandboxesSandboxIDResponse) GetJSON401() *N401
- func (r GetAdminSandboxesSandboxIDResponse) GetJSON404() *N404
- func (r GetAdminSandboxesSandboxIDResponse) GetJSON429() *N429
- func (r GetAdminSandboxesSandboxIDResponse) GetJSON500() *N500
- func (r GetAdminSandboxesSandboxIDResponse) Status() string
- func (r GetAdminSandboxesSandboxIDResponse) StatusCode() int
- type GetAdminSandboxesSandboxIDResponse429Headers
- 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) GetJSON429() *N429
- func (r GetApiKeysResponse) GetJSON500() *N500
- func (r GetApiKeysResponse) Status() string
- func (r GetApiKeysResponse) StatusCode() int
- type GetApiKeysResponse429Headers
- type GetClustersClusterIDRigsResponse
- func (r GetClustersClusterIDRigsResponse) ContentType() string
- func (r GetClustersClusterIDRigsResponse) GetBody() []byte
- func (r GetClustersClusterIDRigsResponse) GetJSON200() *[]Rig
- func (r GetClustersClusterIDRigsResponse) GetJSON401() *N401
- func (r GetClustersClusterIDRigsResponse) GetJSON404() *N404
- func (r GetClustersClusterIDRigsResponse) GetJSON429() *N429
- func (r GetClustersClusterIDRigsResponse) GetJSON500() *N500
- func (r GetClustersClusterIDRigsResponse) GetJSON501() *N501
- func (r GetClustersClusterIDRigsResponse) Status() string
- func (r GetClustersClusterIDRigsResponse) StatusCode() int
- type GetClustersClusterIDRigsResponse429Headers
- type GetClustersClusterIDRigsRigIDErrorsParams
- type GetClustersClusterIDRigsRigIDErrorsResponse
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) ContentType() string
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetBody() []byte
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON200() *[]RigError
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON400() *N400
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON401() *N401
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON404() *N404
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON429() *N429
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON500() *N500
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON501() *N501
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) Status() string
- func (r GetClustersClusterIDRigsRigIDErrorsResponse) StatusCode() int
- type GetClustersClusterIDRigsRigIDErrorsResponse429Headers
- type GetClustersClusterIDRigsRigIDInstancesResponse
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) ContentType() string
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetBody() []byte
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON200() *[]RigInstance
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON400() *N400
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON401() *N401
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON404() *N404
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON429() *N429
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON500() *N500
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON501() *N501
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) Status() string
- func (r GetClustersClusterIDRigsRigIDInstancesResponse) StatusCode() int
- type GetClustersClusterIDRigsRigIDInstancesResponse429Headers
- type GetEventsSandboxesParams
- type GetEventsSandboxesResponse
- func (r GetEventsSandboxesResponse) ContentType() string
- func (r GetEventsSandboxesResponse) GetBody() []byte
- func (r GetEventsSandboxesResponse) GetJSON200() *[]SandboxEvent
- func (r GetEventsSandboxesResponse) GetJSON400() *N400
- func (r GetEventsSandboxesResponse) GetJSON401() *N401
- func (r GetEventsSandboxesResponse) GetJSON404() *N404
- func (r GetEventsSandboxesResponse) GetJSON500() *N500
- func (r GetEventsSandboxesResponse) Status() string
- func (r GetEventsSandboxesResponse) StatusCode() int
- type GetEventsSandboxesSandboxIDParams
- type GetEventsSandboxesSandboxIDResponse
- func (r GetEventsSandboxesSandboxIDResponse) ContentType() string
- func (r GetEventsSandboxesSandboxIDResponse) GetBody() []byte
- func (r GetEventsSandboxesSandboxIDResponse) GetJSON200() *[]SandboxEvent
- func (r GetEventsSandboxesSandboxIDResponse) GetJSON400() *N400
- func (r GetEventsSandboxesSandboxIDResponse) GetJSON401() *N401
- func (r GetEventsSandboxesSandboxIDResponse) GetJSON404() *N404
- func (r GetEventsSandboxesSandboxIDResponse) GetJSON500() *N500
- func (r GetEventsSandboxesSandboxIDResponse) Status() string
- func (r GetEventsSandboxesSandboxIDResponse) StatusCode() int
- type GetEventsWebhooksResponse
- func (r GetEventsWebhooksResponse) ContentType() string
- func (r GetEventsWebhooksResponse) GetBody() []byte
- func (r GetEventsWebhooksResponse) GetJSON200() *[]WebhookDetail
- func (r GetEventsWebhooksResponse) GetJSON401() *N401
- func (r GetEventsWebhooksResponse) GetJSON404() *N404
- func (r GetEventsWebhooksResponse) GetJSON500() *N500
- func (r GetEventsWebhooksResponse) Status() string
- func (r GetEventsWebhooksResponse) StatusCode() int
- type GetEventsWebhooksWebhookIDDeliveriesParams
- type GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus
- type GetEventsWebhooksWebhookIDDeliveriesResponse
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) ContentType() string
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetBody() []byte
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON200() *WebhookDeliveriesListPayload
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON400() *N400
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON401() *N401
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON404() *N404
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON500() *N500
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) Status() string
- func (r GetEventsWebhooksWebhookIDDeliveriesResponse) StatusCode() int
- type GetEventsWebhooksWebhookIDResponse
- func (r GetEventsWebhooksWebhookIDResponse) ContentType() string
- func (r GetEventsWebhooksWebhookIDResponse) GetBody() []byte
- func (r GetEventsWebhooksWebhookIDResponse) GetJSON200() *WebhookDetail
- func (r GetEventsWebhooksWebhookIDResponse) GetJSON401() *N401
- func (r GetEventsWebhooksWebhookIDResponse) GetJSON404() *N404
- func (r GetEventsWebhooksWebhookIDResponse) GetJSON500() *N500
- func (r GetEventsWebhooksWebhookIDResponse) Status() string
- func (r GetEventsWebhooksWebhookIDResponse) StatusCode() int
- type GetEventsWebhooksWebhookIDStatsParams
- type GetEventsWebhooksWebhookIDStatsResponse
- func (r GetEventsWebhooksWebhookIDStatsResponse) ContentType() string
- func (r GetEventsWebhooksWebhookIDStatsResponse) GetBody() []byte
- func (r GetEventsWebhooksWebhookIDStatsResponse) GetJSON200() *WebhookDeliveryStats
- func (r GetEventsWebhooksWebhookIDStatsResponse) GetJSON401() *N401
- func (r GetEventsWebhooksWebhookIDStatsResponse) GetJSON404() *N404
- func (r GetEventsWebhooksWebhookIDStatsResponse) GetJSON500() *N500
- func (r GetEventsWebhooksWebhookIDStatsResponse) Status() string
- func (r GetEventsWebhooksWebhookIDStatsResponse) StatusCode() int
- type GetHealthResponse
- type GetHealthResponse429Headers
- 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) GetJSON429() *N429
- func (r GetNodesNodeIDResponse) GetJSON500() *N500
- func (r GetNodesNodeIDResponse) Status() string
- func (r GetNodesNodeIDResponse) StatusCode() int
- type GetNodesNodeIDResponse429Headers
- 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) GetJSON429() *N429
- func (r GetNodesResponse) GetJSON500() *N500
- func (r GetNodesResponse) Status() string
- func (r GetNodesResponse) StatusCode() int
- type GetNodesResponse429Headers
- 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) GetJSON429() *N429
- func (r GetSandboxesMetricsResponse) GetJSON500() *N500
- func (r GetSandboxesMetricsResponse) Status() string
- func (r GetSandboxesMetricsResponse) StatusCode() int
- type GetSandboxesMetricsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetSandboxesResponse) GetJSON500() *N500
- func (r GetSandboxesResponse) Status() string
- func (r GetSandboxesResponse) StatusCode() int
- type GetSandboxesResponse429Headers
- 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) GetJSON429() *N429
- func (r GetSandboxesSandboxIDLogsResponse) GetJSON500() *N500
- func (r GetSandboxesSandboxIDLogsResponse) Status() string
- func (r GetSandboxesSandboxIDLogsResponse) StatusCode() int
- type GetSandboxesSandboxIDLogsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetSandboxesSandboxIDMetricsResponse) GetJSON500() *N500
- func (r GetSandboxesSandboxIDMetricsResponse) Status() string
- func (r GetSandboxesSandboxIDMetricsResponse) StatusCode() int
- type GetSandboxesSandboxIDMetricsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetSandboxesSandboxIDResponse) GetJSON500() *N500
- func (r GetSandboxesSandboxIDResponse) Status() string
- func (r GetSandboxesSandboxIDResponse) StatusCode() int
- type GetSandboxesSandboxIDResponse429Headers
- 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 GetSecretsResponse429Headers
- 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 GetSecretsSecretIDResponse429Headers
- 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) GetJSON429() *N429
- func (r GetSnapshotsResponse) GetJSON500() *N500
- func (r GetSnapshotsResponse) Status() string
- func (r GetSnapshotsResponse) StatusCode() int
- type GetSnapshotsResponse200Headers
- type GetSnapshotsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTeamsResponse) GetJSON500() *N500
- func (r GetTeamsResponse) Status() string
- func (r GetTeamsResponse) StatusCode() int
- type GetTeamsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON500() *N500
- func (r GetTeamsTeamIDMetricsMaxResponse) Status() string
- func (r GetTeamsTeamIDMetricsMaxResponse) StatusCode() int
- type GetTeamsTeamIDMetricsMaxResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTeamsTeamIDMetricsResponse) GetJSON500() *N500
- func (r GetTeamsTeamIDMetricsResponse) Status() string
- func (r GetTeamsTeamIDMetricsResponse) StatusCode() int
- type GetTeamsTeamIDMetricsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTemplatesAliasesAliasResponse) GetJSON500() *N500
- func (r GetTemplatesAliasesAliasResponse) Status() string
- func (r GetTemplatesAliasesAliasResponse) StatusCode() int
- type GetTemplatesAliasesAliasResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTemplatesResponse) GetJSON500() *N500
- func (r GetTemplatesResponse) Status() string
- func (r GetTemplatesResponse) StatusCode() int
- type GetTemplatesResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) Status() string
- func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) StatusCode() int
- type GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) Status() string
- func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) StatusCode() int
- type GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDFilesHashResponse) Status() string
- func (r GetTemplatesTemplateIDFilesHashResponse) StatusCode() int
- type GetTemplatesTemplateIDFilesHashResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTemplatesTemplateIDResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDResponse) Status() string
- func (r GetTemplatesTemplateIDResponse) StatusCode() int
- type GetTemplatesTemplateIDResponse200Headers
- type GetTemplatesTemplateIDResponse429Headers
- 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) GetJSON429() *N429
- func (r GetTemplatesTemplateIDTagsResponse) GetJSON500() *N500
- func (r GetTemplatesTemplateIDTagsResponse) Status() string
- func (r GetTemplatesTemplateIDTagsResponse) StatusCode() int
- type GetTemplatesTemplateIDTagsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetV2SandboxesResponse) GetJSON500() *N500
- func (r GetV2SandboxesResponse) Status() string
- func (r GetV2SandboxesResponse) StatusCode() int
- type GetV2SandboxesResponse200Headers
- type GetV2SandboxesResponse429Headers
- 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) GetJSON429() *N429
- func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON500() *N500
- func (r GetV2SandboxesSandboxIDLogsResponse) Status() string
- func (r GetV2SandboxesSandboxIDLogsResponse) StatusCode() int
- type GetV2SandboxesSandboxIDLogsResponse429Headers
- 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) GetJSON429() *N429
- func (r GetV2TemplatesResponse) GetJSON500() *N500
- func (r GetV2TemplatesResponse) Status() string
- func (r GetV2TemplatesResponse) StatusCode() int
- type GetV2TemplatesResponse200Headers
- type GetV2TemplatesResponse429Headers
- 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) GetJSON429() *N429
- func (r GetVolumesResponse) GetJSON500() *N500
- func (r GetVolumesResponse) Status() string
- func (r GetVolumesResponse) StatusCode() int
- type GetVolumesResponse429Headers
- 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) GetJSON429() *N429
- func (r GetVolumesVolumeIDResponse) GetJSON500() *N500
- func (r GetVolumesVolumeIDResponse) Status() string
- func (r GetVolumesVolumeIDResponse) StatusCode() int
- type GetVolumesVolumeIDResponse429Headers
- type HttpRequestDoer
- type IdentifierMaskingDetails
- type ListedSandbox
- type LogLevel
- type LogsDirection
- type LogsSource
- type MachineInfo
- type MaxTeamMetric
- type Mcp
- type MemoryMB
- type MinFreeDiskMb
- type N400
- type N401
- type N403
- type N404
- type N409
- type N429
- type N500
- type N501
- type N502
- type N503
- type N504
- type NewSandbox
- type NewSandboxV2
- 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) GetJSON429() *N429
- func (r PatchApiKeysApiKeyIDResponse) GetJSON500() *N500
- func (r PatchApiKeysApiKeyIDResponse) Status() string
- func (r PatchApiKeysApiKeyIDResponse) StatusCode() int
- type PatchApiKeysApiKeyIDResponse429Headers
- type PatchEventsWebhooksWebhookIDJSONRequestBody
- type PatchEventsWebhooksWebhookIDResponse
- func (r PatchEventsWebhooksWebhookIDResponse) ContentType() string
- func (r PatchEventsWebhooksWebhookIDResponse) GetBody() []byte
- func (r PatchEventsWebhooksWebhookIDResponse) GetJSON200() *WebhookDetail
- func (r PatchEventsWebhooksWebhookIDResponse) GetJSON400() *N400
- func (r PatchEventsWebhooksWebhookIDResponse) GetJSON401() *N401
- func (r PatchEventsWebhooksWebhookIDResponse) GetJSON404() *N404
- func (r PatchEventsWebhooksWebhookIDResponse) GetJSON500() *N500
- func (r PatchEventsWebhooksWebhookIDResponse) Status() string
- func (r PatchEventsWebhooksWebhookIDResponse) 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) GetJSON429() *N429
- func (r PatchTemplatesTemplateIDResponse) GetJSON500() *N500
- func (r PatchTemplatesTemplateIDResponse) Status() string
- func (r PatchTemplatesTemplateIDResponse) StatusCode() int
- type PatchTemplatesTemplateIDResponse429Headers
- 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) GetJSON429() *N429
- func (r PatchV2TemplatesTemplateIDResponse) GetJSON500() *N500
- func (r PatchV2TemplatesTemplateIDResponse) Status() string
- func (r PatchV2TemplatesTemplateIDResponse) StatusCode() int
- type PatchV2TemplatesTemplateIDResponse429Headers
- 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) GetJSON429() *N429
- func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON500() *N500
- func (r PostAdminTeamsTeamIDApiKeysResponse) Status() string
- func (r PostAdminTeamsTeamIDApiKeysResponse) StatusCode() int
- type PostAdminTeamsTeamIDApiKeysResponse429Headers
- 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) GetJSON429() *N429
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON500() *N500
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) Status() string
- func (r PostAdminTeamsTeamIDBuildsCancelResponse) StatusCode() int
- type PostAdminTeamsTeamIDBuildsCancelResponse429Headers
- 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) GetJSON429() *N429
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON500() *N500
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) Status() string
- func (r PostAdminTeamsTeamIDSandboxesKillResponse) StatusCode() int
- type PostAdminTeamsTeamIDSandboxesKillResponse429Headers
- 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) GetJSON429() *N429
- func (r PostApiKeysResponse) GetJSON500() *N500
- func (r PostApiKeysResponse) Status() string
- func (r PostApiKeysResponse) StatusCode() int
- type PostApiKeysResponse429Headers
- type PostEventsWebhooksJSONRequestBody
- type PostEventsWebhooksResponse
- func (r PostEventsWebhooksResponse) ContentType() string
- func (r PostEventsWebhooksResponse) GetBody() []byte
- func (r PostEventsWebhooksResponse) GetJSON201() *WebhookCreation
- func (r PostEventsWebhooksResponse) GetJSON400() *N400
- func (r PostEventsWebhooksResponse) GetJSON401() *N401
- func (r PostEventsWebhooksResponse) GetJSON404() *N404
- func (r PostEventsWebhooksResponse) GetJSON500() *N500
- func (r PostEventsWebhooksResponse) Status() string
- func (r PostEventsWebhooksResponse) 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) GetJSON429() *N429
- func (r PostNodesNodeIDResponse) GetJSON500() *N500
- func (r PostNodesNodeIDResponse) Status() string
- func (r PostNodesNodeIDResponse) StatusCode() int
- type PostNodesNodeIDResponse429Headers
- type PostSandboxesJSONRequestBodydeprecated
- 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) GetJSON429() *N429
- 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 PostSandboxesResponse429Headers
- type PostSandboxesSandboxIDConnectJSONRequestBodydeprecated
- 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) GetJSON429() *N429
- 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 PostSandboxesSandboxIDConnectResponse429Headers
- 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) GetJSON429() *N429
- func (r PostSandboxesSandboxIDForkResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDForkResponse) GetJSON503() *N503
- func (r PostSandboxesSandboxIDForkResponse) Status() string
- func (r PostSandboxesSandboxIDForkResponse) StatusCode() int
- type PostSandboxesSandboxIDForkResponse429Headers
- 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) GetJSON429() *N429
- func (r PostSandboxesSandboxIDPauseResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDPauseResponse) GetJSON503() *N503
- func (r PostSandboxesSandboxIDPauseResponse) Status() string
- func (r PostSandboxesSandboxIDPauseResponse) StatusCode() int
- type PostSandboxesSandboxIDPauseResponse429Headers
- 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) GetJSON429() *N429
- func (r PostSandboxesSandboxIDRefreshesResponse) Status() string
- func (r PostSandboxesSandboxIDRefreshesResponse) StatusCode() int
- type PostSandboxesSandboxIDRefreshesResponse429Headers
- 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) GetJSON429() *N429
- 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 PostSandboxesSandboxIDResumeResponse429Headers
- 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) GetJSON429() *N429
- func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDSnapshotsResponse) Status() string
- func (r PostSandboxesSandboxIDSnapshotsResponse) StatusCode() int
- type PostSandboxesSandboxIDSnapshotsResponse429Headers
- 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) GetJSON429() *N429
- func (r PostSandboxesSandboxIDTimeoutResponse) GetJSON500() *N500
- func (r PostSandboxesSandboxIDTimeoutResponse) Status() string
- func (r PostSandboxesSandboxIDTimeoutResponse) StatusCode() int
- type PostSandboxesSandboxIDTimeoutResponse429Headers
- 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() *Error
- 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 PostSecretsResponse429Headers
- 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 PostSecretsSecretIDResponse429Headers
- 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) GetJSON429() *N429
- func (r PostTemplatesTagsResponse) GetJSON500() *N500
- func (r PostTemplatesTagsResponse) Status() string
- func (r PostTemplatesTagsResponse) StatusCode() int
- type PostTemplatesTagsResponse429Headers
- type PostV2SandboxesJSONRequestBody
- type PostV2SandboxesParams
- type PostV2SandboxesResponse
- func (r PostV2SandboxesResponse) ContentType() string
- func (r PostV2SandboxesResponse) GetBody() []byte
- func (r PostV2SandboxesResponse) GetJSON201() *Sandbox
- func (r PostV2SandboxesResponse) GetJSON400() *N400
- func (r PostV2SandboxesResponse) GetJSON401() *N401
- func (r PostV2SandboxesResponse) GetJSON409() *Error
- func (r PostV2SandboxesResponse) GetJSON422() *Error
- func (r PostV2SandboxesResponse) GetJSON429() *N429
- func (r PostV2SandboxesResponse) GetJSON500() *N500
- func (r PostV2SandboxesResponse) GetJSON503() *N503
- func (r PostV2SandboxesResponse) GetJSON504() *N504
- func (r PostV2SandboxesResponse) Status() string
- func (r PostV2SandboxesResponse) StatusCode() int
- type PostV2SandboxesResponse429Headers
- type PostV2SandboxesSandboxIDConnectJSONRequestBody
- type PostV2SandboxesSandboxIDConnectResponse
- func (r PostV2SandboxesSandboxIDConnectResponse) ContentType() string
- func (r PostV2SandboxesSandboxIDConnectResponse) GetBody() []byte
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON200() *Sandbox
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON201() *Sandbox
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON400() *N400
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON401() *N401
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON404() *N404
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON409() *N409
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON429() *N429
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON500() *N500
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON503() *N503
- func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON504() *N504
- func (r PostV2SandboxesSandboxIDConnectResponse) Status() string
- func (r PostV2SandboxesSandboxIDConnectResponse) StatusCode() int
- type PostV2SandboxesSandboxIDConnectResponse429Headers
- type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody
- type PostV2TemplatesTemplateIDBuildsBuildIDResponse
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) ContentType() string
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetBody() []byte
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON400() *N400
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON401() *N401
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON429() *N429
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON500() *N500
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) Status() string
- func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) StatusCode() int
- type PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers
- 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) GetJSON409() *N409
- func (r PostV3TemplatesResponse) GetJSON429() *N429
- func (r PostV3TemplatesResponse) GetJSON500() *N500
- func (r PostV3TemplatesResponse) Status() string
- func (r PostV3TemplatesResponse) StatusCode() int
- type PostV3TemplatesResponse429Headers
- 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) GetJSON429() *N429
- func (r PostVolumesResponse) GetJSON500() *N500
- func (r PostVolumesResponse) Status() string
- func (r PostVolumesResponse) StatusCode() int
- type PostVolumesResponse429Headers
- type PutClustersClusterIDRigsRigIDCapacityJSONRequestBody
- type PutClustersClusterIDRigsRigIDCapacityResponse
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) ContentType() string
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetBody() []byte
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON400() *N400
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON401() *N401
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON404() *N404
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON409() *N409
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON429() *N429
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON500() *N500
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON501() *N501
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) Status() string
- func (r PutClustersClusterIDRigsRigIDCapacityResponse) StatusCode() int
- type PutClustersClusterIDRigsRigIDCapacityResponse429Headers
- 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) GetJSON429() *N429
- func (r PutSandboxesSandboxIDNetworkResponse) GetJSON500() *N500
- func (r PutSandboxesSandboxIDNetworkResponse) Status() string
- func (r PutSandboxesSandboxIDNetworkResponse) StatusCode() int
- type PutSandboxesSandboxIDNetworkResponse429Headers
- type RequestEditorFn
- type ResumedSandbox
- type Rig
- type RigCapacityChange
- type RigError
- type RigID
- type RigInstance
- type Sandbox
- type SandboxAutoResumeConfig
- type SandboxAutoResumeEnabled
- type SandboxDetail
- type SandboxEgressProxyConfig
- type SandboxEgressProxyTLSConfig
- type SandboxEvent
- 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 TemplateBuildRequestV3
- type TemplateBuildStartV2
- type TemplateBuildStatus
- type TemplateID
- type TemplateRequestResponseV3
- type TemplateStep
- type TemplateTag
- type TemplateUpdateRequest
- type TemplateUpdateResponse
- type TemplateWithBuilds
- type UpdateTeamAPIKey
- type Volume
- type VolumeAndToken
- type VolumeID
- type WebhookConfiguration
- type WebhookCreate
- type WebhookCreation
- type WebhookDeliveriesListPayload
- type WebhookDelivery
- type WebhookDeliveryDurationStats
- type WebhookDeliveryErrorClass
- type WebhookDeliveryGroup
- type WebhookDeliveryStats
- type WebhookDeliveryStatsBucket
- type WebhookDeliveryStatus
- type WebhookDetail
- type WebhookID
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 NewDeleteClustersClusterIDRigsInstancesInstanceIDRequest ¶
func NewDeleteClustersClusterIDRigsInstancesInstanceIDRequest(server string, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams) (*http.Request, error)
NewDeleteClustersClusterIDRigsInstancesInstanceIDRequest constructs an http.Request for the DeleteClustersClusterIDRigsInstancesInstanceID method
func NewDeleteEventsWebhooksWebhookIDRequest ¶
func NewDeleteEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID) (*http.Request, error)
NewDeleteEventsWebhooksWebhookIDRequest constructs an http.Request for the DeleteEventsWebhooksWebhookID 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 NewGetAdminSandboxesSandboxIDRequest ¶
func NewGetAdminSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)
NewGetAdminSandboxesSandboxIDRequest constructs an http.Request for the GetAdminSandboxesSandboxID method
func NewGetApiKeysRequest ¶
NewGetApiKeysRequest constructs an http.Request for the GetApiKeys method
func NewGetClustersClusterIDRigsRequest ¶
NewGetClustersClusterIDRigsRequest constructs an http.Request for the GetClustersClusterIDRigs method
func NewGetClustersClusterIDRigsRigIDErrorsRequest ¶
func NewGetClustersClusterIDRigsRigIDErrorsRequest(server string, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams) (*http.Request, error)
NewGetClustersClusterIDRigsRigIDErrorsRequest constructs an http.Request for the GetClustersClusterIDRigsRigIDErrors method
func NewGetClustersClusterIDRigsRigIDInstancesRequest ¶
func NewGetClustersClusterIDRigsRigIDInstancesRequest(server string, clusterID ClusterID, rigID RigID) (*http.Request, error)
NewGetClustersClusterIDRigsRigIDInstancesRequest constructs an http.Request for the GetClustersClusterIDRigsRigIDInstances method
func NewGetEventsSandboxesRequest ¶
func NewGetEventsSandboxesRequest(server string, params *GetEventsSandboxesParams) (*http.Request, error)
NewGetEventsSandboxesRequest constructs an http.Request for the GetEventsSandboxes method
func NewGetEventsSandboxesSandboxIDRequest ¶
func NewGetEventsSandboxesSandboxIDRequest(server string, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams) (*http.Request, error)
NewGetEventsSandboxesSandboxIDRequest constructs an http.Request for the GetEventsSandboxesSandboxID method
func NewGetEventsWebhooksRequest ¶
NewGetEventsWebhooksRequest constructs an http.Request for the GetEventsWebhooks method
func NewGetEventsWebhooksWebhookIDDeliveriesRequest ¶
func NewGetEventsWebhooksWebhookIDDeliveriesRequest(server string, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams) (*http.Request, error)
NewGetEventsWebhooksWebhookIDDeliveriesRequest constructs an http.Request for the GetEventsWebhooksWebhookIDDeliveries method
func NewGetEventsWebhooksWebhookIDRequest ¶
func NewGetEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID) (*http.Request, error)
NewGetEventsWebhooksWebhookIDRequest constructs an http.Request for the GetEventsWebhooksWebhookID method
func NewGetEventsWebhooksWebhookIDStatsRequest ¶
func NewGetEventsWebhooksWebhookIDStatsRequest(server string, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams) (*http.Request, error)
NewGetEventsWebhooksWebhookIDStatsRequest constructs an http.Request for the GetEventsWebhooksWebhookIDStats 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 NewPatchEventsWebhooksWebhookIDRequest ¶
func NewPatchEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody) (*http.Request, error)
NewPatchEventsWebhooksWebhookIDRequest calls the generic PatchEventsWebhooksWebhookID builder with application/json body
func NewPatchEventsWebhooksWebhookIDRequestWithBody ¶
func NewPatchEventsWebhooksWebhookIDRequestWithBody(server string, webhookID WebhookID, contentType string, body io.Reader) (*http.Request, error)
NewPatchEventsWebhooksWebhookIDRequestWithBody constructs an http.Request for the PatchEventsWebhooksWebhookID 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 NewPostEventsWebhooksRequest ¶
func NewPostEventsWebhooksRequest(server string, body PostEventsWebhooksJSONRequestBody) (*http.Request, error)
NewPostEventsWebhooksRequest calls the generic PostEventsWebhooks builder with application/json body
func NewPostEventsWebhooksRequestWithBody ¶
func NewPostEventsWebhooksRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostEventsWebhooksRequestWithBody constructs an http.Request for the PostEventsWebhooks 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 NewPostTemplatesTagsRequest ¶
func NewPostTemplatesTagsRequest(server string, body PostTemplatesTagsJSONRequestBody) (*http.Request, error)
NewPostTemplatesTagsRequest calls the generic PostTemplatesTags builder with application/json body
func NewPostTemplatesTagsRequestWithBody ¶
func NewPostTemplatesTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostTemplatesTagsRequestWithBody constructs an http.Request for the PostTemplatesTags method, with any body, and a specified content type
func NewPostV2SandboxesRequest ¶
func NewPostV2SandboxesRequest(server string, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody) (*http.Request, error)
NewPostV2SandboxesRequest calls the generic PostV2Sandboxes builder with application/json body
func NewPostV2SandboxesRequestWithBody ¶
func NewPostV2SandboxesRequestWithBody(server string, params *PostV2SandboxesParams, contentType string, body io.Reader) (*http.Request, error)
NewPostV2SandboxesRequestWithBody constructs an http.Request for the PostV2Sandboxes method, with any body, and a specified content type
func NewPostV2SandboxesSandboxIDConnectRequest ¶
func NewPostV2SandboxesSandboxIDConnectRequest(server string, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody) (*http.Request, error)
NewPostV2SandboxesSandboxIDConnectRequest calls the generic PostV2SandboxesSandboxIDConnect builder with application/json body
func NewPostV2SandboxesSandboxIDConnectRequestWithBody ¶
func NewPostV2SandboxesSandboxIDConnectRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)
NewPostV2SandboxesSandboxIDConnectRequestWithBody constructs an http.Request for the PostV2SandboxesSandboxIDConnect method, with any body, and a specified content type
func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest ¶
func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest(server string, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody) (*http.Request, error)
NewPostV2TemplatesTemplateIDBuildsBuildIDRequest calls the generic PostV2TemplatesTemplateIDBuildsBuildID builder with application/json body
func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody ¶
func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody(server string, templateID TemplateID, buildID BuildID, contentType string, body io.Reader) (*http.Request, error)
NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody constructs an http.Request for the PostV2TemplatesTemplateIDBuildsBuildID method, with any body, and a specified content type
func NewPostV3TemplatesRequest ¶
func NewPostV3TemplatesRequest(server string, body PostV3TemplatesJSONRequestBody) (*http.Request, error)
NewPostV3TemplatesRequest calls the generic PostV3Templates builder with application/json body
func NewPostV3TemplatesRequestWithBody ¶
func NewPostV3TemplatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostV3TemplatesRequestWithBody constructs an http.Request for the PostV3Templates method, with any body, and a specified content type
func NewPostVolumesRequest ¶
func NewPostVolumesRequest(server string, body PostVolumesJSONRequestBody) (*http.Request, error)
NewPostVolumesRequest calls the generic PostVolumes builder with application/json body
func NewPostVolumesRequestWithBody ¶
func NewPostVolumesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostVolumesRequestWithBody constructs an http.Request for the PostVolumes method, with any body, and a specified content type
func NewPutClustersClusterIDRigsRigIDCapacityRequest ¶
func NewPutClustersClusterIDRigsRigIDCapacityRequest(server string, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody) (*http.Request, error)
NewPutClustersClusterIDRigsRigIDCapacityRequest calls the generic PutClustersClusterIDRigsRigIDCapacity builder with application/json body
func NewPutClustersClusterIDRigsRigIDCapacityRequestWithBody ¶
func NewPutClustersClusterIDRigsRigIDCapacityRequestWithBody(server string, clusterID ClusterID, rigID RigID, contentType string, body io.Reader) (*http.Request, error)
NewPutClustersClusterIDRigsRigIDCapacityRequestWithBody constructs an http.Request for the PutClustersClusterIDRigsRigIDCapacity 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 AdminSandbox ¶
type AdminSandbox struct {
// SandboxID Identifier of the sandbox
SandboxID string `json:"sandboxID"`
// State State after the sandbox's latest create, resume, pause or kill event
State AdminSandboxState `json:"state"`
// TeamID Identifier of the team that owns the sandbox
TeamID openapi_types.UUID `json:"teamID"`
}
AdminSandbox defines model for AdminSandbox.
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 AdminSandboxState ¶
type AdminSandboxState string
AdminSandboxState State after the sandbox's latest create, resume, pause or kill event
const ( AdminSandboxStateKilled AdminSandboxState = "killed" AdminSandboxStatePaused AdminSandboxState = "paused" AdminSandboxStateRunning AdminSandboxState = "running" )
Defines values for AdminSandboxState.
func (AdminSandboxState) Valid ¶
func (e AdminSandboxState) Valid() bool
Valid indicates whether the value is a known member of the AdminSandboxState enum.
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) DeleteClustersClusterIDRigsInstancesInstanceID ¶
func (c *Client) DeleteClustersClusterIDRigsInstancesInstanceID(ctx context.Context, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteClustersClusterIDRigsInstancesInstanceID Terminate an instance of a rig
Terminate an instance in whichever rig's scaling group it belongs to. The caller chooses whether the rig shrinks or the instance is replaced.
Corresponds with DELETE /clusters/{clusterID}/rigs/instances/{instanceID} (the `DeleteClustersClusterIDRigsInstancesInstanceID` operationId).
func (*Client) DeleteEventsWebhooksWebhookID ¶
func (c *Client) DeleteEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEventsWebhooksWebhookID performs a DELETE /events/webhooks/{webhookID} (the `DeleteEventsWebhooksWebhookID` operationId) request.
Delete a registered webhook.
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) GetAdminSandboxesSandboxID ¶
func (c *Client) GetAdminSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdminSandboxesSandboxID Get a sandbox's team and state
Reads the team and state of a sandbox from its latest lifecycle event. The state lags the sandbox while that event is in flight. A sandbox whose events have expired is not found.
Corresponds with GET /admin/sandboxes/{sandboxID} (the `GetAdminSandboxesSandboxID` 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) GetClustersClusterIDRigs ¶
func (c *Client) GetClustersClusterIDRigs(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetClustersClusterIDRigs List rigs of a cluster
List the orchestrator node pools ("rigs") of a cluster with a snapshot of their scaling groups. Forwarded to the cluster's edge service; a cluster with no rig management configured returns an empty list, and the local cluster answers 501.
Corresponds with GET /clusters/{clusterID}/rigs (the `GetClustersClusterIDRigs` operationId).
func (*Client) GetClustersClusterIDRigsRigIDErrors ¶
func (c *Client) GetClustersClusterIDRigsRigIDErrors(ctx context.Context, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetClustersClusterIDRigsRigIDErrors List recent scaling errors of a rig
List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.
Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/errors (the `GetClustersClusterIDRigsRigIDErrors` operationId).
func (*Client) GetClustersClusterIDRigsRigIDInstances ¶
func (c *Client) GetClustersClusterIDRigsRigIDInstances(ctx context.Context, clusterID ClusterID, rigID RigID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetClustersClusterIDRigsRigIDInstances List the instances attached to a rig
List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.
Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/instances (the `GetClustersClusterIDRigsRigIDInstances` operationId).
func (*Client) GetEventsSandboxes ¶
func (c *Client) GetEventsSandboxes(ctx context.Context, params *GetEventsSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventsSandboxes performs a GET /events/sandboxes (the `GetEventsSandboxes` operationId) request.
Get all sandbox events for the team associated with the API key.
func (*Client) GetEventsSandboxesSandboxID ¶
func (c *Client) GetEventsSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventsSandboxesSandboxID performs a GET /events/sandboxes/{sandboxID} (the `GetEventsSandboxesSandboxID` operationId) request.
Get sandbox events.
func (*Client) GetEventsWebhooks ¶
func (c *Client) GetEventsWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventsWebhooks performs a GET /events/webhooks (the `GetEventsWebhooks` operationId) request.
List registered webhooks.
func (*Client) GetEventsWebhooksWebhookID ¶
func (c *Client) GetEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventsWebhooksWebhookID performs a GET /events/webhooks/{webhookID} (the `GetEventsWebhooksWebhookID` operationId) request.
Get a registered webhook.
func (*Client) GetEventsWebhooksWebhookIDDeliveries ¶
func (c *Client) GetEventsWebhooksWebhookIDDeliveries(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventsWebhooksWebhookIDDeliveries performs a GET /events/webhooks/{webhookID}/deliveries (the `GetEventsWebhooksWebhookIDDeliveries` operationId) request.
List webhook delivery attempts.
func (*Client) GetEventsWebhooksWebhookIDStats ¶
func (c *Client) GetEventsWebhooksWebhookIDStats(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventsWebhooksWebhookIDStats performs a GET /events/webhooks/{webhookID}/stats (the `GetEventsWebhooksWebhookIDStats` operationId) request.
Get webhook delivery aggregate stats.
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) PatchEventsWebhooksWebhookID ¶
func (c *Client) PatchEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchEventsWebhooksWebhookID performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request. Takes a body of the `application/json` content type.
Update a registered webhook configuration.
func (*Client) PatchEventsWebhooksWebhookIDWithBody ¶
func (c *Client) PatchEventsWebhooksWebhookIDWithBody(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchEventsWebhooksWebhookIDWithBody performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request, with any type of body and a specified content type.
Update a registered webhook configuration.
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) PostEventsWebhooks ¶
func (c *Client) PostEventsWebhooks(ctx context.Context, body PostEventsWebhooksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostEventsWebhooks performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request. Takes a body of the `application/json` content type.
Register events webhook.
func (*Client) PostEventsWebhooksWithBody ¶
func (c *Client) PostEventsWebhooksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostEventsWebhooksWithBody performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request, with any type of body and a specified content type.
Register events webhook.
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. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostSandboxesSandboxIDConnect ¶
func (c *Client) PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDConnect Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
Takes a body of the `application/json` content type.
Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostSandboxesSandboxIDConnectWithBody ¶
func (c *Client) PostSandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostSandboxesSandboxIDConnectWithBody Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostSandboxesSandboxIDFork ¶
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. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
Takes any type of body and a specified content type.
Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) PostSecrets ¶
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) PostTemplatesTags ¶
func (c *Client) PostTemplatesTags(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplatesTags Assign template tags
Assign tag(s) to a template build.
Takes a body of the `application/json` content type.
Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
func (*Client) PostTemplatesTagsWithBody ¶
func (c *Client) PostTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostTemplatesTagsWithBody Assign template tags
Assign tag(s) to a template build.
Takes any type of body and a specified content type.
Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
func (*Client) PostV2Sandboxes ¶
func (c *Client) PostV2Sandboxes(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2Sandboxes Create sandbox (v2)
Create a sandbox from the template. All system communication with the sandbox is secured.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
func (*Client) PostV2SandboxesSandboxIDConnect ¶
func (c *Client) PostV2SandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2SandboxesSandboxIDConnect Connect sandbox (v2)
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
func (*Client) PostV2SandboxesSandboxIDConnectWithBody ¶
func (c *Client) PostV2SandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2SandboxesSandboxIDConnectWithBody Connect sandbox (v2)
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
Takes any type of body and a specified content type.
Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
func (*Client) PostV2SandboxesWithBody ¶
func (c *Client) PostV2SandboxesWithBody(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2SandboxesWithBody Create sandbox (v2)
Create a sandbox from the template. All system communication with the sandbox is secured.
Takes any type of body and a specified content type.
Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
func (*Client) PostV2TemplatesTemplateIDBuildsBuildID ¶
func (c *Client) PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2TemplatesTemplateIDBuildsBuildID Start template build (v2)
Start the build.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
func (*Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody ¶
func (c *Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2TemplatesTemplateIDBuildsBuildIDWithBody Start template build (v2)
Start the build.
Takes any type of body and a specified content type.
Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
func (*Client) PostV3Templates ¶
func (c *Client) PostV3Templates(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV3Templates Create template (v3)
Create a new template.
Takes a body of the `application/json` content type.
Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
func (*Client) PostV3TemplatesWithBody ¶
func (c *Client) PostV3TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV3TemplatesWithBody Create template (v3)
Create a new template.
Takes any type of body and a specified content type.
Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
func (*Client) PostVolumes ¶
func (c *Client) PostVolumes(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostVolumes Create team volume
Create a new team volume.
Takes a body of the `application/json` content type.
Corresponds with POST /volumes (the `PostVolumes` operationId).
func (*Client) PostVolumesWithBody ¶
func (c *Client) PostVolumesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostVolumesWithBody Create team volume
Create a new team volume.
Takes any type of body and a specified content type.
Corresponds with POST /volumes (the `PostVolumes` operationId).
func (*Client) PutClustersClusterIDRigsRigIDCapacity ¶
func (c *Client) PutClustersClusterIDRigsRigIDCapacity(ctx context.Context, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutClustersClusterIDRigsRigIDCapacity Set the capacity of a rig
Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
Takes a body of the `application/json` content type.
Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
func (*Client) PutClustersClusterIDRigsRigIDCapacityWithBody ¶
func (c *Client) PutClustersClusterIDRigsRigIDCapacityWithBody(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutClustersClusterIDRigsRigIDCapacityWithBody Set the capacity of a rig
Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
Takes any type of body and a specified content type.
Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` 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)
// GetAdminSandboxesSandboxID Get a sandbox's team and state
//
// Reads the team and state of a sandbox from its latest lifecycle event.
// The state lags the sandbox while that event is in flight. A sandbox
// whose events have expired is not found.
//
// Corresponds with GET /admin/sandboxes/{sandboxID} (the `GetAdminSandboxesSandboxID` operationId).
GetAdminSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, 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)
// GetClustersClusterIDRigs List rigs of a cluster
//
// List the orchestrator node pools ("rigs") of a cluster with a snapshot of their scaling groups. Forwarded to the cluster's edge service; a cluster with no rig management configured returns an empty list, and the local cluster answers 501.
//
// Corresponds with GET /clusters/{clusterID}/rigs (the `GetClustersClusterIDRigs` operationId).
GetClustersClusterIDRigs(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteClustersClusterIDRigsInstancesInstanceID Terminate an instance of a rig
//
// Terminate an instance in whichever rig's scaling group it belongs to. The caller chooses whether the rig shrinks or the instance is replaced.
//
// Corresponds with DELETE /clusters/{clusterID}/rigs/instances/{instanceID} (the `DeleteClustersClusterIDRigsInstancesInstanceID` operationId).
DeleteClustersClusterIDRigsInstancesInstanceID(ctx context.Context, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutClustersClusterIDRigsRigIDCapacityWithBody Set the capacity of a rig
//
// Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
PutClustersClusterIDRigsRigIDCapacityWithBody(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutClustersClusterIDRigsRigIDCapacity Set the capacity of a rig
//
// Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
PutClustersClusterIDRigsRigIDCapacity(ctx context.Context, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClustersClusterIDRigsRigIDErrors List recent scaling errors of a rig
//
// List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.
//
// Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/errors (the `GetClustersClusterIDRigsRigIDErrors` operationId).
GetClustersClusterIDRigsRigIDErrors(ctx context.Context, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClustersClusterIDRigsRigIDInstances List the instances attached to a rig
//
// List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.
//
// Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/instances (the `GetClustersClusterIDRigsRigIDInstances` operationId).
GetClustersClusterIDRigsRigIDInstances(ctx context.Context, clusterID ClusterID, rigID RigID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventsSandboxes performs a GET /events/sandboxes (the `GetEventsSandboxes` operationId) request.
//
// Get all sandbox events for the team associated with the API key.
GetEventsSandboxes(ctx context.Context, params *GetEventsSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventsSandboxesSandboxID performs a GET /events/sandboxes/{sandboxID} (the `GetEventsSandboxesSandboxID` operationId) request.
//
// Get sandbox events.
GetEventsSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventsWebhooks performs a GET /events/webhooks (the `GetEventsWebhooks` operationId) request.
//
// List registered webhooks.
GetEventsWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostEventsWebhooksWithBody performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request,
// with any type of body and a specified content type.
//
// Register events webhook.
PostEventsWebhooksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostEventsWebhooks performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request.
// Takes a body of the `application/json` content type.
//
// Register events webhook.
PostEventsWebhooks(ctx context.Context, body PostEventsWebhooksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEventsWebhooksWebhookID performs a DELETE /events/webhooks/{webhookID} (the `DeleteEventsWebhooksWebhookID` operationId) request.
//
// Delete a registered webhook.
DeleteEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventsWebhooksWebhookID performs a GET /events/webhooks/{webhookID} (the `GetEventsWebhooksWebhookID` operationId) request.
//
// Get a registered webhook.
GetEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchEventsWebhooksWebhookIDWithBody performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request,
// with any type of body and a specified content type.
//
// Update a registered webhook configuration.
PatchEventsWebhooksWebhookIDWithBody(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchEventsWebhooksWebhookID performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request.
// Takes a body of the `application/json` content type.
//
// Update a registered webhook configuration.
PatchEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventsWebhooksWebhookIDDeliveries performs a GET /events/webhooks/{webhookID}/deliveries (the `GetEventsWebhooksWebhookIDDeliveries` operationId) request.
//
// List webhook delivery attempts.
GetEventsWebhooksWebhookIDDeliveries(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventsWebhooksWebhookIDStats performs a GET /events/webhooks/{webhookID}/stats (the `GetEventsWebhooksWebhookIDStats` operationId) request.
//
// Get webhook delivery aggregate stats.
GetEventsWebhooksWebhookIDStats(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams, 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. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxes Create sandbox
//
// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxes(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxesMetrics List sandbox metrics
//
// List metrics for given sandboxes.
//
// Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
GetSandboxesMetrics(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSandboxesSandboxID Kill sandbox
//
// Kill a sandbox.
//
// Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
DeleteSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxesSandboxID Sandbox
//
// Get a sandbox by id.
//
// Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
GetSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDConnectWithBody Connect sandbox
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDConnect Connect sandbox
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDForkWithBody Fork sandbox
//
// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
PostSandboxesSandboxIDForkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDFork Fork sandbox
//
// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
PostSandboxesSandboxIDFork(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxesSandboxIDLogs Sandbox logs
//
// Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
//
// Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxesSandboxIDMetrics Sandbox metrics
//
// Get sandbox metrics.
//
// Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutSandboxesSandboxIDNetworkWithBody Update sandbox network
//
// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
PutSandboxesSandboxIDNetworkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutSandboxesSandboxIDNetwork Update sandbox network
//
// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
PutSandboxesSandboxIDNetwork(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostSandboxesSandboxIDPauseWithBody Pause sandbox
//
// Pause the sandbox.
//
// 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)
// GetTemplatesAliasesAlias Check template alias
//
// Check if template with given alias exists.
//
// Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
GetTemplatesAliasesAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTemplatesTagsWithBody Delete template tags
//
// Delete multiple tags from templates.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
DeleteTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTemplatesTags Delete template tags
//
// Delete multiple tags from templates.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
DeleteTemplatesTags(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplatesTagsWithBody Assign template tags
//
// Assign tag(s) to a template build.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
PostTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostTemplatesTags Assign template tags
//
// Assign tag(s) to a template build.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
PostTemplatesTags(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTemplatesTemplateID Delete template
//
// Delete a template.
//
// Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
DeleteTemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateID List template builds
//
// List all builds for a template.
//
// Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchTemplatesTemplateIDWithBody Update template
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PatchTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchTemplatesTemplateID Update template
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PatchTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateIDBuildsBuildIDLogs Template build logs
//
// Get template build logs.
//
// Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateIDBuildsBuildIDStatus Template build status
//
// Get template build info.
//
// Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateIDFilesHash Template build file upload URL
//
// Get an upload link for a tar file containing build layer files.
//
// Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplatesTemplateIDTags List template tags
//
// List all tags for a template.
//
// Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
GetTemplatesTemplateIDTags(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Sandboxes List sandboxes (v2)
//
// List all sandboxes.
//
// Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
GetV2Sandboxes(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2SandboxesWithBody Create sandbox (v2)
//
// Create a sandbox from the template. All system communication with the sandbox is secured.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
PostV2SandboxesWithBody(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2Sandboxes Create sandbox (v2)
//
// Create a sandbox from the template. All system communication with the sandbox is secured.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
PostV2Sandboxes(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2SandboxesSandboxIDConnectWithBody Connect sandbox (v2)
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
PostV2SandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2SandboxesSandboxIDConnect Connect sandbox (v2)
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
PostV2SandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2SandboxesSandboxIDLogs Sandbox logs (v2)
//
// Get sandbox logs.
//
// Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Templates List templates (v2)
//
// List all templates.
//
// Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV2TemplatesTemplateIDWithBody Update template (v2)
//
// Update template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
PatchV2TemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV2TemplatesTemplateID Update template (v2)
//
// Update template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
PatchV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2TemplatesTemplateIDBuildsBuildIDWithBody Start template build (v2)
//
// Start the build.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2TemplatesTemplateIDBuildsBuildID Start template build (v2)
//
// Start the build.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV3TemplatesWithBody Create template (v3)
//
// Create a new template.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
PostV3TemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV3Templates Create template (v3)
//
// Create a new template.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
PostV3Templates(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVolumes List team volumes
//
// List all team volumes.
//
// Corresponds with GET /volumes (the `GetVolumes` operationId).
GetVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostVolumesWithBody Create team volume
//
// Create a new team volume.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /volumes (the `PostVolumes` operationId).
PostVolumesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostVolumes Create team volume
//
// Create a new team volume.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /volumes (the `PostVolumes` operationId).
PostVolumes(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVolumesVolumeID Delete team volume
//
// Delete a team volume.
//
// Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
DeleteVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVolumesVolumeID Team volume
//
// Get team volume info.
//
// Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
GetVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
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) DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse ¶
func (c *ClientWithResponses) DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse(ctx context.Context, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams, reqEditors ...RequestEditorFn) (*DeleteClustersClusterIDRigsInstancesInstanceIDResponse, error)
DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse Terminate an instance of a rig
Terminate an instance in whichever rig's scaling group it belongs to. The caller chooses whether the rig shrinks or the instance is replaced.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /clusters/{clusterID}/rigs/instances/{instanceID} (the `DeleteClustersClusterIDRigsInstancesInstanceID` operationId).
func (*ClientWithResponses) DeleteEventsWebhooksWebhookIDWithResponse ¶
func (c *ClientWithResponses) DeleteEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*DeleteEventsWebhooksWebhookIDResponse, error)
DeleteEventsWebhooksWebhookIDWithResponse performs a DELETE /events/webhooks/{webhookID} (the `DeleteEventsWebhooksWebhookID` operationId) request.
Delete a registered webhook.
Returns a wrapper object for the known response body format(s).
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) GetAdminSandboxesSandboxIDWithResponse ¶
func (c *ClientWithResponses) GetAdminSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetAdminSandboxesSandboxIDResponse, error)
GetAdminSandboxesSandboxIDWithResponse Get a sandbox's team and state
Reads the team and state of a sandbox from its latest lifecycle event. The state lags the sandbox while that event is in flight. A sandbox whose events have expired is not found.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /admin/sandboxes/{sandboxID} (the `GetAdminSandboxesSandboxID` 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) GetClustersClusterIDRigsRigIDErrorsWithResponse ¶
func (c *ClientWithResponses) GetClustersClusterIDRigsRigIDErrorsWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsRigIDErrorsResponse, error)
GetClustersClusterIDRigsRigIDErrorsWithResponse List recent scaling errors of a rig
List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/errors (the `GetClustersClusterIDRigsRigIDErrors` operationId).
func (*ClientWithResponses) GetClustersClusterIDRigsRigIDInstancesWithResponse ¶
func (c *ClientWithResponses) GetClustersClusterIDRigsRigIDInstancesWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsRigIDInstancesResponse, error)
GetClustersClusterIDRigsRigIDInstancesWithResponse List the instances attached to a rig
List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/instances (the `GetClustersClusterIDRigsRigIDInstances` operationId).
func (*ClientWithResponses) GetClustersClusterIDRigsWithResponse ¶
func (c *ClientWithResponses) GetClustersClusterIDRigsWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsResponse, error)
GetClustersClusterIDRigsWithResponse List rigs of a cluster
List the orchestrator node pools ("rigs") of a cluster with a snapshot of their scaling groups. Forwarded to the cluster's edge service; a cluster with no rig management configured returns an empty list, and the local cluster answers 501.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /clusters/{clusterID}/rigs (the `GetClustersClusterIDRigs` operationId).
func (*ClientWithResponses) GetEventsSandboxesSandboxIDWithResponse ¶
func (c *ClientWithResponses) GetEventsSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams, reqEditors ...RequestEditorFn) (*GetEventsSandboxesSandboxIDResponse, error)
GetEventsSandboxesSandboxIDWithResponse performs a GET /events/sandboxes/{sandboxID} (the `GetEventsSandboxesSandboxID` operationId) request.
Get sandbox events.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetEventsSandboxesWithResponse ¶
func (c *ClientWithResponses) GetEventsSandboxesWithResponse(ctx context.Context, params *GetEventsSandboxesParams, reqEditors ...RequestEditorFn) (*GetEventsSandboxesResponse, error)
GetEventsSandboxesWithResponse performs a GET /events/sandboxes (the `GetEventsSandboxes` operationId) request.
Get all sandbox events for the team associated with the API key.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetEventsWebhooksWebhookIDDeliveriesWithResponse ¶
func (c *ClientWithResponses) GetEventsWebhooksWebhookIDDeliveriesWithResponse(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDDeliveriesResponse, error)
GetEventsWebhooksWebhookIDDeliveriesWithResponse performs a GET /events/webhooks/{webhookID}/deliveries (the `GetEventsWebhooksWebhookIDDeliveries` operationId) request.
List webhook delivery attempts.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetEventsWebhooksWebhookIDStatsWithResponse ¶
func (c *ClientWithResponses) GetEventsWebhooksWebhookIDStatsWithResponse(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDStatsResponse, error)
GetEventsWebhooksWebhookIDStatsWithResponse performs a GET /events/webhooks/{webhookID}/stats (the `GetEventsWebhooksWebhookIDStats` operationId) request.
Get webhook delivery aggregate stats.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetEventsWebhooksWebhookIDWithResponse ¶
func (c *ClientWithResponses) GetEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDResponse, error)
GetEventsWebhooksWebhookIDWithResponse performs a GET /events/webhooks/{webhookID} (the `GetEventsWebhooksWebhookID` operationId) request.
Get a registered webhook.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetEventsWebhooksWithResponse ¶
func (c *ClientWithResponses) GetEventsWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEventsWebhooksResponse, error)
GetEventsWebhooksWithResponse performs a GET /events/webhooks (the `GetEventsWebhooks` operationId) request.
List registered webhooks.
Returns a wrapper object for the known response body format(s).
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) PatchEventsWebhooksWebhookIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchEventsWebhooksWebhookIDWithBodyWithResponse(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchEventsWebhooksWebhookIDResponse, error)
PatchEventsWebhooksWebhookIDWithBodyWithResponse performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request, with any type of body and a specified content type.
Update a registered webhook configuration.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) PatchEventsWebhooksWebhookIDWithResponse ¶
func (c *ClientWithResponses) PatchEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEventsWebhooksWebhookIDResponse, error)
PatchEventsWebhooksWebhookIDWithResponse performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Update a registered webhook configuration.
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) PostEventsWebhooksWithBodyWithResponse ¶
func (c *ClientWithResponses) PostEventsWebhooksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsWebhooksResponse, error)
PostEventsWebhooksWithBodyWithResponse performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request, with any type of body and a specified content type.
Register events webhook.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) PostEventsWebhooksWithResponse ¶
func (c *ClientWithResponses) PostEventsWebhooksWithResponse(ctx context.Context, body PostEventsWebhooksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsWebhooksResponse, error)
PostEventsWebhooksWithResponse performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Register events webhook.
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
deprecated
func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)
PostSandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse ¶
func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)
PostSandboxesSandboxIDConnectWithResponse Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostSandboxesSandboxIDForkWithBodyWithResponse ¶
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
deprecated
func (c *ClientWithResponses) PostSandboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)
PostSandboxesWithBodyWithResponse Create sandbox
Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostSandboxesWithResponse ¶
func (c *ClientWithResponses) PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)
PostSandboxesWithResponse Create sandbox
Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) PostSecretsSecretIDWithBodyWithResponse ¶
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) PostV2SandboxesSandboxIDConnectWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV2SandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)
PostV2SandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox (v2)
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
func (*ClientWithResponses) PostV2SandboxesSandboxIDConnectWithResponse ¶
func (c *ClientWithResponses) PostV2SandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)
PostV2SandboxesSandboxIDConnectWithResponse Connect sandbox (v2)
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
func (*ClientWithResponses) PostV2SandboxesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV2SandboxesWithBodyWithResponse(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)
PostV2SandboxesWithBodyWithResponse Create sandbox (v2)
Create a sandbox from the template. All system communication with the sandbox is secured.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
func (*ClientWithResponses) PostV2SandboxesWithResponse ¶
func (c *ClientWithResponses) PostV2SandboxesWithResponse(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)
PostV2SandboxesWithResponse Create sandbox (v2)
Create a sandbox from the template. All system communication with the sandbox is secured.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse Start template build (v2)
Start the build.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse ¶
func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
PostV2TemplatesTemplateIDBuildsBuildIDWithResponse Start template build (v2)
Start the build.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
func (*ClientWithResponses) PostV3TemplatesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV3TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)
PostV3TemplatesWithBodyWithResponse Create template (v3)
Create a new template.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
func (*ClientWithResponses) PostV3TemplatesWithResponse ¶
func (c *ClientWithResponses) PostV3TemplatesWithResponse(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)
PostV3TemplatesWithResponse Create template (v3)
Create a new template.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
func (*ClientWithResponses) PostVolumesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)
PostVolumesWithBodyWithResponse Create team volume
Create a new team volume.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /volumes (the `PostVolumes` operationId).
func (*ClientWithResponses) PostVolumesWithResponse ¶
func (c *ClientWithResponses) PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)
PostVolumesWithResponse Create team volume
Create a new team volume.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /volumes (the `PostVolumes` operationId).
func (*ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse ¶
func (c *ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)
PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse Set the capacity of a rig
Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
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 /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
func (*ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithResponse ¶
func (c *ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody, reqEditors ...RequestEditorFn) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)
PutClustersClusterIDRigsRigIDCapacityWithResponse Set the capacity of a rig
Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` 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)
// GetAdminSandboxesSandboxIDWithResponse Get a sandbox's team and state
//
// Reads the team and state of a sandbox from its latest lifecycle event.
// The state lags the sandbox while that event is in flight. A sandbox
// whose events have expired is not found.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /admin/sandboxes/{sandboxID} (the `GetAdminSandboxesSandboxID` operationId).
GetAdminSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetAdminSandboxesSandboxIDResponse, 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)
// GetClustersClusterIDRigsWithResponse List rigs of a cluster
//
// List the orchestrator node pools ("rigs") of a cluster with a snapshot of their scaling groups. Forwarded to the cluster's edge service; a cluster with no rig management configured returns an empty list, and the local cluster answers 501.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /clusters/{clusterID}/rigs (the `GetClustersClusterIDRigs` operationId).
GetClustersClusterIDRigsWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsResponse, error)
// DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse Terminate an instance of a rig
//
// Terminate an instance in whichever rig's scaling group it belongs to. The caller chooses whether the rig shrinks or the instance is replaced.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /clusters/{clusterID}/rigs/instances/{instanceID} (the `DeleteClustersClusterIDRigsInstancesInstanceID` operationId).
DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse(ctx context.Context, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams, reqEditors ...RequestEditorFn) (*DeleteClustersClusterIDRigsInstancesInstanceIDResponse, error)
// PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse Set the capacity of a rig
//
// Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
//
// 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 /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)
// PutClustersClusterIDRigsRigIDCapacityWithResponse Set the capacity of a rig
//
// Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
PutClustersClusterIDRigsRigIDCapacityWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody, reqEditors ...RequestEditorFn) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)
// GetClustersClusterIDRigsRigIDErrorsWithResponse List recent scaling errors of a rig
//
// List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/errors (the `GetClustersClusterIDRigsRigIDErrors` operationId).
GetClustersClusterIDRigsRigIDErrorsWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsRigIDErrorsResponse, error)
// GetClustersClusterIDRigsRigIDInstancesWithResponse List the instances attached to a rig
//
// List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/instances (the `GetClustersClusterIDRigsRigIDInstances` operationId).
GetClustersClusterIDRigsRigIDInstancesWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsRigIDInstancesResponse, error)
// GetEventsSandboxesWithResponse performs a GET /events/sandboxes (the `GetEventsSandboxes` operationId) request.
//
// Get all sandbox events for the team associated with the API key.
//
// Returns a wrapper object for the known response body format(s).
GetEventsSandboxesWithResponse(ctx context.Context, params *GetEventsSandboxesParams, reqEditors ...RequestEditorFn) (*GetEventsSandboxesResponse, error)
// GetEventsSandboxesSandboxIDWithResponse performs a GET /events/sandboxes/{sandboxID} (the `GetEventsSandboxesSandboxID` operationId) request.
//
// Get sandbox events.
//
// Returns a wrapper object for the known response body format(s).
GetEventsSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams, reqEditors ...RequestEditorFn) (*GetEventsSandboxesSandboxIDResponse, error)
// GetEventsWebhooksWithResponse performs a GET /events/webhooks (the `GetEventsWebhooks` operationId) request.
//
// List registered webhooks.
//
// Returns a wrapper object for the known response body format(s).
GetEventsWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEventsWebhooksResponse, error)
// PostEventsWebhooksWithBodyWithResponse performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request,
// with any type of body and a specified content type.
//
// Register events webhook.
//
// Returns a wrapper object for the known response body format(s).
PostEventsWebhooksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsWebhooksResponse, error)
// PostEventsWebhooksWithResponse performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Register events webhook.
PostEventsWebhooksWithResponse(ctx context.Context, body PostEventsWebhooksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsWebhooksResponse, error)
// DeleteEventsWebhooksWebhookIDWithResponse performs a DELETE /events/webhooks/{webhookID} (the `DeleteEventsWebhooksWebhookID` operationId) request.
//
// Delete a registered webhook.
//
// Returns a wrapper object for the known response body format(s).
DeleteEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*DeleteEventsWebhooksWebhookIDResponse, error)
// GetEventsWebhooksWebhookIDWithResponse performs a GET /events/webhooks/{webhookID} (the `GetEventsWebhooksWebhookID` operationId) request.
//
// Get a registered webhook.
//
// Returns a wrapper object for the known response body format(s).
GetEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDResponse, error)
// PatchEventsWebhooksWebhookIDWithBodyWithResponse performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request,
// with any type of body and a specified content type.
//
// Update a registered webhook configuration.
//
// Returns a wrapper object for the known response body format(s).
PatchEventsWebhooksWebhookIDWithBodyWithResponse(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchEventsWebhooksWebhookIDResponse, error)
// PatchEventsWebhooksWebhookIDWithResponse performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Update a registered webhook configuration.
PatchEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEventsWebhooksWebhookIDResponse, error)
// GetEventsWebhooksWebhookIDDeliveriesWithResponse performs a GET /events/webhooks/{webhookID}/deliveries (the `GetEventsWebhooksWebhookIDDeliveries` operationId) request.
//
// List webhook delivery attempts.
//
// Returns a wrapper object for the known response body format(s).
GetEventsWebhooksWebhookIDDeliveriesWithResponse(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDDeliveriesResponse, error)
// GetEventsWebhooksWebhookIDStatsWithResponse performs a GET /events/webhooks/{webhookID}/stats (the `GetEventsWebhooksWebhookIDStats` operationId) request.
//
// Get webhook delivery aggregate stats.
//
// Returns a wrapper object for the known response body format(s).
GetEventsWebhooksWebhookIDStatsWithResponse(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDStatsResponse, 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. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)
// PostSandboxesWithResponse Create sandbox
//
// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)
// GetSandboxesMetricsWithResponse List sandbox metrics
//
// List metrics for given sandboxes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesMetricsResponse, error)
// DeleteSandboxesSandboxIDWithResponse Kill sandbox
//
// Kill a sandbox.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)
// GetSandboxesSandboxIDWithResponse Sandbox
//
// Get a sandbox by id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)
// PostSandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)
// PostSandboxesSandboxIDConnectWithResponse Connect sandbox
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)
// PostSandboxesSandboxIDForkWithBodyWithResponse Fork sandbox
//
// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
PostSandboxesSandboxIDForkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)
// PostSandboxesSandboxIDForkWithResponse Fork sandbox
//
// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
PostSandboxesSandboxIDForkWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)
// GetSandboxesSandboxIDLogsWithResponse Sandbox logs
//
// Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDLogsResponse, error)
// GetSandboxesSandboxIDMetricsWithResponse Sandbox metrics
//
// Get sandbox metrics.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDMetricsResponse, error)
// PutSandboxesSandboxIDNetworkWithBodyWithResponse Update sandbox network
//
// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
PutSandboxesSandboxIDNetworkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)
// PutSandboxesSandboxIDNetworkWithResponse Update sandbox network
//
// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
PutSandboxesSandboxIDNetworkWithResponse(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)
// PostSandboxesSandboxIDPauseWithBodyWithResponse Pause sandbox
//
// Pause the sandbox.
//
// 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)
// GetTemplatesAliasesAliasWithResponse Check template alias
//
// Check if template with given alias exists.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)
// DeleteTemplatesTagsWithBodyWithResponse Delete template tags
//
// Delete multiple tags from templates.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
DeleteTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)
// DeleteTemplatesTagsWithResponse Delete template tags
//
// Delete multiple tags from templates.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
DeleteTemplatesTagsWithResponse(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)
// PostTemplatesTagsWithBodyWithResponse Assign template tags
//
// Assign tag(s) to a template build.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
PostTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)
// PostTemplatesTagsWithResponse Assign template tags
//
// Assign tag(s) to a template build.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
PostTemplatesTagsWithResponse(ctx context.Context, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)
// DeleteTemplatesTemplateIDWithResponse Delete template
//
// Delete a template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)
// GetTemplatesTemplateIDWithResponse List template builds
//
// List all builds for a template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDResponse, error)
// PatchTemplatesTemplateIDWithBodyWithResponse Update template
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)
// PatchTemplatesTemplateIDWithResponse Update template
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PatchTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)
// GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse Template build logs
//
// Get template build logs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)
// GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse Template build status
//
// Get template build info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)
// GetTemplatesTemplateIDFilesHashWithResponse Template build file upload URL
//
// Get an upload link for a tar file containing build layer files.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDFilesHashResponse, error)
// GetTemplatesTemplateIDTagsWithResponse List template tags
//
// List all tags for a template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)
// GetV2SandboxesWithResponse List sandboxes (v2)
//
// List all sandboxes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesResponse, error)
// PostV2SandboxesWithBodyWithResponse Create sandbox (v2)
//
// Create a sandbox from the template. All system communication with the sandbox is secured.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
PostV2SandboxesWithBodyWithResponse(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)
// PostV2SandboxesWithResponse Create sandbox (v2)
//
// Create a sandbox from the template. All system communication with the sandbox is secured.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
PostV2SandboxesWithResponse(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)
// PostV2SandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox (v2)
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
PostV2SandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)
// PostV2SandboxesSandboxIDConnectWithResponse Connect sandbox (v2)
//
// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
PostV2SandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)
// GetV2SandboxesSandboxIDLogsWithResponse Sandbox logs (v2)
//
// Get sandbox logs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesSandboxIDLogsResponse, error)
// GetV2TemplatesWithResponse List templates (v2)
//
// List all templates.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)
// PatchV2TemplatesTemplateIDWithBodyWithResponse Update template (v2)
//
// Update template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)
// PatchV2TemplatesTemplateIDWithResponse Update template (v2)
//
// Update template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
PatchV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)
// PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse Start template build (v2)
//
// Start the build.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
// PostV2TemplatesTemplateIDBuildsBuildIDWithResponse Start template build (v2)
//
// Start the build.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
PostV2TemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
// PostV3TemplatesWithBodyWithResponse Create template (v3)
//
// Create a new template.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
PostV3TemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)
// PostV3TemplatesWithResponse Create template (v3)
//
// Create a new template.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
PostV3TemplatesWithResponse(ctx context.Context, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)
// GetVolumesWithResponse List team volumes
//
// List all team volumes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /volumes (the `GetVolumes` operationId).
GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)
// PostVolumesWithBodyWithResponse Create team volume
//
// Create a new team volume.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /volumes (the `PostVolumes` operationId).
PostVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)
// PostVolumesWithResponse Create team volume
//
// Create a new team volume.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /volumes (the `PostVolumes` operationId).
PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)
// DeleteVolumesVolumeIDWithResponse Delete team volume
//
// Delete a team volume.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)
// GetVolumesVolumeIDWithResponse Team volume
//
// Get team volume info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
GetVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*GetVolumesVolumeIDResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConnectSandbox ¶
type ConnectSandbox struct {
// Memory Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore.
Memory *bool `json:"memory,omitempty"`
// Timeout Timeout in seconds from the current time after which the sandbox should expire
Timeout int32 `json:"timeout"`
}
ConnectSandbox defines model for ConnectSandbox.
type ConnectSandboxV2 ¶
type ConnectSandboxV2 struct {
// Memory Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore.
Memory *bool `json:"memory,omitempty"`
// Timeout Timeout in seconds from the current time after which the sandbox should expire
Timeout *int32 `json:"timeout,omitempty"`
}
ConnectSandboxV2 defines model for ConnectSandboxV2.
type 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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers
}
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) GetJSON429 ¶
func (r DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers ¶
type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers struct {
RetryAfter *int
}
DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteAdminTeamsTeamIDApiKeysApiKeyID
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteApiKeysApiKeyIDResponse429Headers
}
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) GetJSON429 ¶
func (r DeleteApiKeysApiKeyIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 DeleteApiKeysApiKeyIDResponse429Headers ¶
type DeleteApiKeysApiKeyIDResponse429Headers struct {
RetryAfter *int
}
DeleteApiKeysApiKeyIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteApiKeysApiKeyID
type DeleteClustersClusterIDRigsInstancesInstanceIDParams ¶
type DeleteClustersClusterIDRigsInstancesInstanceIDParams struct {
// DecrementDesired When true, desired capacity is decremented (rig shrinks); when false, the scaling group launches a replacement instance
DecrementDesired bool `form:"decrementDesired" json:"decrementDesired"`
}
DeleteClustersClusterIDRigsInstancesInstanceIDParams defines parameters for DeleteClustersClusterIDRigsInstancesInstanceID.
type DeleteClustersClusterIDRigsInstancesInstanceIDResponse ¶
type DeleteClustersClusterIDRigsInstancesInstanceIDResponse 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
// 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
// JSON501 the response for an HTTP 501 `application/json` response
JSON501 *N501
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers
}
func ParseDeleteClustersClusterIDRigsInstancesInstanceIDResponse ¶
func ParseDeleteClustersClusterIDRigsInstancesInstanceIDResponse(rsp *http.Response) (*DeleteClustersClusterIDRigsInstancesInstanceIDResponse, error)
ParseDeleteClustersClusterIDRigsInstancesInstanceIDResponse parses an HTTP response from a DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse call
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) ContentType ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetBody ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON400 ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON401 ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON404 ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON409 ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON429 ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON500 ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON501 ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON501() *N501
GetJSON501 returns the response for an HTTP 501 `application/json` response
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) Status ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) StatusCode ¶
func (r DeleteClustersClusterIDRigsInstancesInstanceIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers ¶
type DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers struct {
RetryAfter *int
}
DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteClustersClusterIDRigsInstancesInstanceID
type DeleteEventsWebhooksWebhookIDResponse ¶
type DeleteEventsWebhooksWebhookIDResponse 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 ParseDeleteEventsWebhooksWebhookIDResponse ¶
func ParseDeleteEventsWebhooksWebhookIDResponse(rsp *http.Response) (*DeleteEventsWebhooksWebhookIDResponse, error)
ParseDeleteEventsWebhooksWebhookIDResponse parses an HTTP response from a DeleteEventsWebhooksWebhookIDWithResponse call
func (DeleteEventsWebhooksWebhookIDResponse) ContentType ¶
func (r DeleteEventsWebhooksWebhookIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEventsWebhooksWebhookIDResponse) GetBody ¶
func (r DeleteEventsWebhooksWebhookIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEventsWebhooksWebhookIDResponse) GetJSON401 ¶
func (r DeleteEventsWebhooksWebhookIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteEventsWebhooksWebhookIDResponse) GetJSON404 ¶
func (r DeleteEventsWebhooksWebhookIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteEventsWebhooksWebhookIDResponse) GetJSON500 ¶
func (r DeleteEventsWebhooksWebhookIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteEventsWebhooksWebhookIDResponse) Status ¶
func (r DeleteEventsWebhooksWebhookIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEventsWebhooksWebhookIDResponse) StatusCode ¶
func (r DeleteEventsWebhooksWebhookIDResponse) 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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteSandboxesSandboxIDResponse429Headers
}
func ParseDeleteSandboxesSandboxIDResponse ¶
func ParseDeleteSandboxesSandboxIDResponse(rsp *http.Response) (*DeleteSandboxesSandboxIDResponse, error)
ParseDeleteSandboxesSandboxIDResponse parses an HTTP response from a DeleteSandboxesSandboxIDWithResponse call
func (DeleteSandboxesSandboxIDResponse) ContentType ¶
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) GetJSON429 ¶
func (r DeleteSandboxesSandboxIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 DeleteSandboxesSandboxIDResponse429Headers ¶
type DeleteSandboxesSandboxIDResponse429Headers struct {
RetryAfter *int
}
DeleteSandboxesSandboxIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteSandboxesSandboxID
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
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteSecretsSecretIDResponse429Headers
}
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 DeleteSecretsSecretIDResponse429Headers ¶
type DeleteSecretsSecretIDResponse429Headers struct {
RetryAfter *int
}
DeleteSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteSecretsSecretID
type DeleteTemplateTagsRequest ¶
type DeleteTemplateTagsRequest struct {
// Name Name of the template
Name string `json:"name"`
// Tags Tags to delete
Tags []string `json:"tags"`
}
DeleteTemplateTagsRequest defines model for DeleteTemplateTagsRequest.
type DeleteTemplatesTagsJSONRequestBody ¶
type DeleteTemplatesTagsJSONRequestBody = DeleteTemplateTagsRequest
DeleteTemplatesTagsJSONRequestBody defines body for DeleteTemplatesTags for application/json ContentType.
type DeleteTemplatesTagsResponse ¶
type DeleteTemplatesTagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteTemplatesTagsResponse429Headers
}
func ParseDeleteTemplatesTagsResponse ¶
func ParseDeleteTemplatesTagsResponse(rsp *http.Response) (*DeleteTemplatesTagsResponse, error)
ParseDeleteTemplatesTagsResponse parses an HTTP response from a DeleteTemplatesTagsWithResponse call
func (DeleteTemplatesTagsResponse) ContentType ¶
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) GetJSON429 ¶
func (r DeleteTemplatesTagsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 DeleteTemplatesTagsResponse429Headers ¶
type DeleteTemplatesTagsResponse429Headers struct {
RetryAfter *int
}
DeleteTemplatesTagsResponse429Headers the declared response headers of an HTTP 429 response for DeleteTemplatesTags
type DeleteTemplatesTemplateIDResponse ¶
type DeleteTemplatesTemplateIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteTemplatesTemplateIDResponse429Headers
}
func ParseDeleteTemplatesTemplateIDResponse ¶
func ParseDeleteTemplatesTemplateIDResponse(rsp *http.Response) (*DeleteTemplatesTemplateIDResponse, error)
ParseDeleteTemplatesTemplateIDResponse parses an HTTP response from a DeleteTemplatesTemplateIDWithResponse call
func (DeleteTemplatesTemplateIDResponse) ContentType ¶
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) GetJSON429 ¶
func (r DeleteTemplatesTemplateIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 DeleteTemplatesTemplateIDResponse429Headers ¶
type DeleteTemplatesTemplateIDResponse429Headers struct {
RetryAfter *int
}
DeleteTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteTemplatesTemplateID
type DeleteVolumesVolumeIDResponse ¶
type DeleteVolumesVolumeIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteVolumesVolumeIDResponse429Headers
}
func ParseDeleteVolumesVolumeIDResponse ¶
func ParseDeleteVolumesVolumeIDResponse(rsp *http.Response) (*DeleteVolumesVolumeIDResponse, error)
ParseDeleteVolumesVolumeIDResponse parses an HTTP response from a DeleteVolumesVolumeIDWithResponse call
func (DeleteVolumesVolumeIDResponse) ContentType ¶
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) GetJSON429 ¶
func (r DeleteVolumesVolumeIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 DeleteVolumesVolumeIDResponse429Headers ¶
type DeleteVolumesVolumeIDResponse429Headers struct {
RetryAfter *int
}
DeleteVolumesVolumeIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteVolumesVolumeID
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, secret_limit_reached, idempotency_request_mismatch, idempotency_in_progress, idempotency_outcome_unknown.
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetAdminSandboxesRunningCountsResponse429Headers
}
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) GetJSON429 ¶
func (r GetAdminSandboxesRunningCountsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetAdminSandboxesRunningCountsResponse429Headers ¶
type GetAdminSandboxesRunningCountsResponse429Headers struct {
RetryAfter *int
}
GetAdminSandboxesRunningCountsResponse429Headers the declared response headers of an HTTP 429 response for GetAdminSandboxesRunningCounts
type GetAdminSandboxesSandboxIDResponse ¶
type GetAdminSandboxesSandboxIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminSandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetAdminSandboxesSandboxIDResponse429Headers
}
func ParseGetAdminSandboxesSandboxIDResponse ¶
func ParseGetAdminSandboxesSandboxIDResponse(rsp *http.Response) (*GetAdminSandboxesSandboxIDResponse, error)
ParseGetAdminSandboxesSandboxIDResponse parses an HTTP response from a GetAdminSandboxesSandboxIDWithResponse call
func (GetAdminSandboxesSandboxIDResponse) ContentType ¶
func (r GetAdminSandboxesSandboxIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdminSandboxesSandboxIDResponse) GetBody ¶
func (r GetAdminSandboxesSandboxIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdminSandboxesSandboxIDResponse) GetJSON200 ¶
func (r GetAdminSandboxesSandboxIDResponse) GetJSON200() *AdminSandbox
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAdminSandboxesSandboxIDResponse) GetJSON400 ¶
func (r GetAdminSandboxesSandboxIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetAdminSandboxesSandboxIDResponse) GetJSON401 ¶
func (r GetAdminSandboxesSandboxIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAdminSandboxesSandboxIDResponse) GetJSON404 ¶
func (r GetAdminSandboxesSandboxIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetAdminSandboxesSandboxIDResponse) GetJSON429 ¶
func (r GetAdminSandboxesSandboxIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (GetAdminSandboxesSandboxIDResponse) GetJSON500 ¶
func (r GetAdminSandboxesSandboxIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAdminSandboxesSandboxIDResponse) Status ¶
func (r GetAdminSandboxesSandboxIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminSandboxesSandboxIDResponse) StatusCode ¶
func (r GetAdminSandboxesSandboxIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminSandboxesSandboxIDResponse429Headers ¶
type GetAdminSandboxesSandboxIDResponse429Headers struct {
RetryAfter *int
}
GetAdminSandboxesSandboxIDResponse429Headers the declared response headers of an HTTP 429 response for GetAdminSandboxesSandboxID
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetApiKeysResponse429Headers
}
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) GetJSON429 ¶
func (r GetApiKeysResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetApiKeysResponse429Headers ¶
type GetApiKeysResponse429Headers struct {
RetryAfter *int
}
GetApiKeysResponse429Headers the declared response headers of an HTTP 429 response for GetApiKeys
type GetClustersClusterIDRigsResponse ¶
type GetClustersClusterIDRigsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Rig
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON501 the response for an HTTP 501 `application/json` response
JSON501 *N501
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetClustersClusterIDRigsResponse429Headers
}
func ParseGetClustersClusterIDRigsResponse ¶
func ParseGetClustersClusterIDRigsResponse(rsp *http.Response) (*GetClustersClusterIDRigsResponse, error)
ParseGetClustersClusterIDRigsResponse parses an HTTP response from a GetClustersClusterIDRigsWithResponse call
func (GetClustersClusterIDRigsResponse) ContentType ¶
func (r GetClustersClusterIDRigsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClustersClusterIDRigsResponse) GetBody ¶
func (r GetClustersClusterIDRigsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClustersClusterIDRigsResponse) GetJSON200 ¶
func (r GetClustersClusterIDRigsResponse) GetJSON200() *[]Rig
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetClustersClusterIDRigsResponse) GetJSON401 ¶
func (r GetClustersClusterIDRigsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetClustersClusterIDRigsResponse) GetJSON404 ¶
func (r GetClustersClusterIDRigsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetClustersClusterIDRigsResponse) GetJSON429 ¶
func (r GetClustersClusterIDRigsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (GetClustersClusterIDRigsResponse) GetJSON500 ¶
func (r GetClustersClusterIDRigsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetClustersClusterIDRigsResponse) GetJSON501 ¶
func (r GetClustersClusterIDRigsResponse) GetJSON501() *N501
GetJSON501 returns the response for an HTTP 501 `application/json` response
func (GetClustersClusterIDRigsResponse) Status ¶
func (r GetClustersClusterIDRigsResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersClusterIDRigsResponse) StatusCode ¶
func (r GetClustersClusterIDRigsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersClusterIDRigsResponse429Headers ¶
type GetClustersClusterIDRigsResponse429Headers struct {
RetryAfter *int
}
GetClustersClusterIDRigsResponse429Headers the declared response headers of an HTTP 429 response for GetClustersClusterIDRigs
type GetClustersClusterIDRigsRigIDErrorsParams ¶
type GetClustersClusterIDRigsRigIDErrorsParams struct {
// Limit Maximum number of errors to return
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
GetClustersClusterIDRigsRigIDErrorsParams defines parameters for GetClustersClusterIDRigsRigIDErrors.
type GetClustersClusterIDRigsRigIDErrorsResponse ¶
type GetClustersClusterIDRigsRigIDErrorsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]RigError
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON501 the response for an HTTP 501 `application/json` response
JSON501 *N501
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetClustersClusterIDRigsRigIDErrorsResponse429Headers
}
func ParseGetClustersClusterIDRigsRigIDErrorsResponse ¶
func ParseGetClustersClusterIDRigsRigIDErrorsResponse(rsp *http.Response) (*GetClustersClusterIDRigsRigIDErrorsResponse, error)
ParseGetClustersClusterIDRigsRigIDErrorsResponse parses an HTTP response from a GetClustersClusterIDRigsRigIDErrorsWithResponse call
func (GetClustersClusterIDRigsRigIDErrorsResponse) ContentType ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClustersClusterIDRigsRigIDErrorsResponse) GetBody ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON200 ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON200() *[]RigError
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON400 ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON401 ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON404 ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON429 ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON500 ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON501 ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON501() *N501
GetJSON501 returns the response for an HTTP 501 `application/json` response
func (GetClustersClusterIDRigsRigIDErrorsResponse) Status ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersClusterIDRigsRigIDErrorsResponse) StatusCode ¶
func (r GetClustersClusterIDRigsRigIDErrorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersClusterIDRigsRigIDErrorsResponse429Headers ¶
type GetClustersClusterIDRigsRigIDErrorsResponse429Headers struct {
RetryAfter *int
}
GetClustersClusterIDRigsRigIDErrorsResponse429Headers the declared response headers of an HTTP 429 response for GetClustersClusterIDRigsRigIDErrors
type GetClustersClusterIDRigsRigIDInstancesResponse ¶
type GetClustersClusterIDRigsRigIDInstancesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]RigInstance
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON501 the response for an HTTP 501 `application/json` response
JSON501 *N501
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetClustersClusterIDRigsRigIDInstancesResponse429Headers
}
func ParseGetClustersClusterIDRigsRigIDInstancesResponse ¶
func ParseGetClustersClusterIDRigsRigIDInstancesResponse(rsp *http.Response) (*GetClustersClusterIDRigsRigIDInstancesResponse, error)
ParseGetClustersClusterIDRigsRigIDInstancesResponse parses an HTTP response from a GetClustersClusterIDRigsRigIDInstancesWithResponse call
func (GetClustersClusterIDRigsRigIDInstancesResponse) ContentType ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClustersClusterIDRigsRigIDInstancesResponse) GetBody ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON200 ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON200() *[]RigInstance
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON400 ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON401 ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON404 ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON429 ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON500 ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON501 ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON501() *N501
GetJSON501 returns the response for an HTTP 501 `application/json` response
func (GetClustersClusterIDRigsRigIDInstancesResponse) Status ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersClusterIDRigsRigIDInstancesResponse) StatusCode ¶
func (r GetClustersClusterIDRigsRigIDInstancesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersClusterIDRigsRigIDInstancesResponse429Headers ¶
type GetClustersClusterIDRigsRigIDInstancesResponse429Headers struct {
RetryAfter *int
}
GetClustersClusterIDRigsRigIDInstancesResponse429Headers the declared response headers of an HTTP 429 response for GetClustersClusterIDRigsRigIDInstances
type GetEventsSandboxesParams ¶
type GetEventsSandboxesParams struct {
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
OrderAsc *bool `form:"orderAsc,omitempty" json:"orderAsc,omitempty"`
// Types Filter events to the provided event types
Types *[]string `form:"types,omitempty" json:"types,omitempty"`
}
GetEventsSandboxesParams defines parameters for GetEventsSandboxes.
type GetEventsSandboxesResponse ¶
type GetEventsSandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]SandboxEvent
// 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 ParseGetEventsSandboxesResponse ¶
func ParseGetEventsSandboxesResponse(rsp *http.Response) (*GetEventsSandboxesResponse, error)
ParseGetEventsSandboxesResponse parses an HTTP response from a GetEventsSandboxesWithResponse call
func (GetEventsSandboxesResponse) ContentType ¶
func (r GetEventsSandboxesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventsSandboxesResponse) GetBody ¶
func (r GetEventsSandboxesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventsSandboxesResponse) GetJSON200 ¶
func (r GetEventsSandboxesResponse) GetJSON200() *[]SandboxEvent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventsSandboxesResponse) GetJSON400 ¶
func (r GetEventsSandboxesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEventsSandboxesResponse) GetJSON401 ¶
func (r GetEventsSandboxesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventsSandboxesResponse) GetJSON404 ¶
func (r GetEventsSandboxesResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventsSandboxesResponse) GetJSON500 ¶
func (r GetEventsSandboxesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetEventsSandboxesResponse) Status ¶
func (r GetEventsSandboxesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventsSandboxesResponse) StatusCode ¶
func (r GetEventsSandboxesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventsSandboxesSandboxIDParams ¶
type GetEventsSandboxesSandboxIDParams struct {
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
OrderAsc *bool `form:"orderAsc,omitempty" json:"orderAsc,omitempty"`
// Types Filter events to the provided event types
Types *[]string `form:"types,omitempty" json:"types,omitempty"`
}
GetEventsSandboxesSandboxIDParams defines parameters for GetEventsSandboxesSandboxID.
type GetEventsSandboxesSandboxIDResponse ¶
type GetEventsSandboxesSandboxIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]SandboxEvent
// 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 ParseGetEventsSandboxesSandboxIDResponse ¶
func ParseGetEventsSandboxesSandboxIDResponse(rsp *http.Response) (*GetEventsSandboxesSandboxIDResponse, error)
ParseGetEventsSandboxesSandboxIDResponse parses an HTTP response from a GetEventsSandboxesSandboxIDWithResponse call
func (GetEventsSandboxesSandboxIDResponse) ContentType ¶
func (r GetEventsSandboxesSandboxIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventsSandboxesSandboxIDResponse) GetBody ¶
func (r GetEventsSandboxesSandboxIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventsSandboxesSandboxIDResponse) GetJSON200 ¶
func (r GetEventsSandboxesSandboxIDResponse) GetJSON200() *[]SandboxEvent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventsSandboxesSandboxIDResponse) GetJSON400 ¶
func (r GetEventsSandboxesSandboxIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEventsSandboxesSandboxIDResponse) GetJSON401 ¶
func (r GetEventsSandboxesSandboxIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventsSandboxesSandboxIDResponse) GetJSON404 ¶
func (r GetEventsSandboxesSandboxIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventsSandboxesSandboxIDResponse) GetJSON500 ¶
func (r GetEventsSandboxesSandboxIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetEventsSandboxesSandboxIDResponse) Status ¶
func (r GetEventsSandboxesSandboxIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventsSandboxesSandboxIDResponse) StatusCode ¶
func (r GetEventsSandboxesSandboxIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventsWebhooksResponse ¶
type GetEventsWebhooksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]WebhookDetail
// 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 ParseGetEventsWebhooksResponse ¶
func ParseGetEventsWebhooksResponse(rsp *http.Response) (*GetEventsWebhooksResponse, error)
ParseGetEventsWebhooksResponse parses an HTTP response from a GetEventsWebhooksWithResponse call
func (GetEventsWebhooksResponse) ContentType ¶
func (r GetEventsWebhooksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventsWebhooksResponse) GetBody ¶
func (r GetEventsWebhooksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventsWebhooksResponse) GetJSON200 ¶
func (r GetEventsWebhooksResponse) GetJSON200() *[]WebhookDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventsWebhooksResponse) GetJSON401 ¶
func (r GetEventsWebhooksResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventsWebhooksResponse) GetJSON404 ¶
func (r GetEventsWebhooksResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventsWebhooksResponse) GetJSON500 ¶
func (r GetEventsWebhooksResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetEventsWebhooksResponse) Status ¶
func (r GetEventsWebhooksResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventsWebhooksResponse) StatusCode ¶
func (r GetEventsWebhooksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventsWebhooksWebhookIDDeliveriesParams ¶
type GetEventsWebhooksWebhookIDDeliveriesParams struct {
// Cursor Opaque cursor from the previous response's nextCursor field.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
OrderAsc *bool `form:"orderAsc,omitempty" json:"orderAsc,omitempty"`
// Start Include deliveries at or after this timestamp.
Start *time.Time `form:"start,omitempty" json:"start,omitempty"`
// End Include deliveries before this timestamp.
End *time.Time `form:"end,omitempty" json:"end,omitempty"`
// DeliveryStatus Filter deliveries by delivery status
DeliveryStatus *[]GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus `form:"deliveryStatus,omitempty" json:"deliveryStatus,omitempty"`
// EventType Filter deliveries by event type
EventType *[]string `form:"eventType,omitempty" json:"eventType,omitempty"`
}
GetEventsWebhooksWebhookIDDeliveriesParams defines parameters for GetEventsWebhooksWebhookIDDeliveries.
type GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus ¶
type GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus string
GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus defines parameters for GetEventsWebhooksWebhookIDDeliveries.
const ( GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatusFailed GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus = "failed" GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatusSuccess GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus = "success" )
Defines values for GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus.
func (GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus) Valid ¶
func (e GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus enum.
type GetEventsWebhooksWebhookIDDeliveriesResponse ¶
type GetEventsWebhooksWebhookIDDeliveriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookDeliveriesListPayload
// 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 ParseGetEventsWebhooksWebhookIDDeliveriesResponse ¶
func ParseGetEventsWebhooksWebhookIDDeliveriesResponse(rsp *http.Response) (*GetEventsWebhooksWebhookIDDeliveriesResponse, error)
ParseGetEventsWebhooksWebhookIDDeliveriesResponse parses an HTTP response from a GetEventsWebhooksWebhookIDDeliveriesWithResponse call
func (GetEventsWebhooksWebhookIDDeliveriesResponse) ContentType ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetBody ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON200 ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON200() *WebhookDeliveriesListPayload
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON400 ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON401 ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON404 ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON500 ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetEventsWebhooksWebhookIDDeliveriesResponse) Status ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventsWebhooksWebhookIDDeliveriesResponse) StatusCode ¶
func (r GetEventsWebhooksWebhookIDDeliveriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventsWebhooksWebhookIDResponse ¶
type GetEventsWebhooksWebhookIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookDetail
// 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 ParseGetEventsWebhooksWebhookIDResponse ¶
func ParseGetEventsWebhooksWebhookIDResponse(rsp *http.Response) (*GetEventsWebhooksWebhookIDResponse, error)
ParseGetEventsWebhooksWebhookIDResponse parses an HTTP response from a GetEventsWebhooksWebhookIDWithResponse call
func (GetEventsWebhooksWebhookIDResponse) ContentType ¶
func (r GetEventsWebhooksWebhookIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventsWebhooksWebhookIDResponse) GetBody ¶
func (r GetEventsWebhooksWebhookIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventsWebhooksWebhookIDResponse) GetJSON200 ¶
func (r GetEventsWebhooksWebhookIDResponse) GetJSON200() *WebhookDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventsWebhooksWebhookIDResponse) GetJSON401 ¶
func (r GetEventsWebhooksWebhookIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventsWebhooksWebhookIDResponse) GetJSON404 ¶
func (r GetEventsWebhooksWebhookIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventsWebhooksWebhookIDResponse) GetJSON500 ¶
func (r GetEventsWebhooksWebhookIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetEventsWebhooksWebhookIDResponse) Status ¶
func (r GetEventsWebhooksWebhookIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventsWebhooksWebhookIDResponse) StatusCode ¶
func (r GetEventsWebhooksWebhookIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventsWebhooksWebhookIDStatsParams ¶
type GetEventsWebhooksWebhookIDStatsParams struct {
// Start Inclusive stats range start. Defaults to 24 hours ago.
Start *time.Time `form:"start,omitempty" json:"start,omitempty"`
// End Exclusive stats range end. Defaults to now.
End *time.Time `form:"end,omitempty" json:"end,omitempty"`
}
GetEventsWebhooksWebhookIDStatsParams defines parameters for GetEventsWebhooksWebhookIDStats.
type GetEventsWebhooksWebhookIDStatsResponse ¶
type GetEventsWebhooksWebhookIDStatsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookDeliveryStats
// 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 ParseGetEventsWebhooksWebhookIDStatsResponse ¶
func ParseGetEventsWebhooksWebhookIDStatsResponse(rsp *http.Response) (*GetEventsWebhooksWebhookIDStatsResponse, error)
ParseGetEventsWebhooksWebhookIDStatsResponse parses an HTTP response from a GetEventsWebhooksWebhookIDStatsWithResponse call
func (GetEventsWebhooksWebhookIDStatsResponse) ContentType ¶
func (r GetEventsWebhooksWebhookIDStatsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventsWebhooksWebhookIDStatsResponse) GetBody ¶
func (r GetEventsWebhooksWebhookIDStatsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventsWebhooksWebhookIDStatsResponse) GetJSON200 ¶
func (r GetEventsWebhooksWebhookIDStatsResponse) GetJSON200() *WebhookDeliveryStats
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventsWebhooksWebhookIDStatsResponse) GetJSON401 ¶
func (r GetEventsWebhooksWebhookIDStatsResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventsWebhooksWebhookIDStatsResponse) GetJSON404 ¶
func (r GetEventsWebhooksWebhookIDStatsResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventsWebhooksWebhookIDStatsResponse) GetJSON500 ¶
func (r GetEventsWebhooksWebhookIDStatsResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetEventsWebhooksWebhookIDStatsResponse) Status ¶
func (r GetEventsWebhooksWebhookIDStatsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventsWebhooksWebhookIDStatsResponse) StatusCode ¶
func (r GetEventsWebhooksWebhookIDStatsResponse) 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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetHealthResponse429Headers
}
func ParseGetHealthResponse ¶
func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)
ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call
func (GetHealthResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetHealthResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (GetHealthResponse) Status ¶
func (r GetHealthResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthResponse) StatusCode ¶
func (r GetHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthResponse429Headers ¶
type GetHealthResponse429Headers struct {
RetryAfter *int
}
GetHealthResponse429Headers the declared response headers of an HTTP 429 response for GetHealth
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetNodesNodeIDResponse429Headers
}
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) GetJSON429 ¶
func (r GetNodesNodeIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetNodesNodeIDResponse429Headers ¶
type GetNodesNodeIDResponse429Headers struct {
RetryAfter *int
}
GetNodesNodeIDResponse429Headers the declared response headers of an HTTP 429 response for GetNodesNodeID
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetNodesResponse429Headers
}
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) GetJSON429 ¶
func (r GetNodesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetNodesResponse429Headers ¶
type GetNodesResponse429Headers struct {
RetryAfter *int
}
GetNodesResponse429Headers the declared response headers of an HTTP 429 response for GetNodes
type GetSandboxesMetricsParams ¶
type GetSandboxesMetricsParams struct {
// SandboxIds Comma-separated list of sandbox IDs to get metrics for
SandboxIds []string `form:"sandbox_ids" json:"sandbox_ids"`
}
GetSandboxesMetricsParams defines parameters for GetSandboxesMetrics.
type GetSandboxesMetricsResponse ¶
type GetSandboxesMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SandboxesWithMetrics
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetSandboxesMetricsResponse429Headers
}
func ParseGetSandboxesMetricsResponse ¶
func ParseGetSandboxesMetricsResponse(rsp *http.Response) (*GetSandboxesMetricsResponse, error)
ParseGetSandboxesMetricsResponse parses an HTTP response from a GetSandboxesMetricsWithResponse call
func (GetSandboxesMetricsResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetSandboxesMetricsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetSandboxesMetricsResponse429Headers ¶
type GetSandboxesMetricsResponse429Headers struct {
RetryAfter *int
}
GetSandboxesMetricsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesMetrics
type GetSandboxesParams ¶
type GetSandboxesParams struct {
// Metadata Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
Metadata *string `form:"metadata,omitempty" json:"metadata,omitempty"`
}
GetSandboxesParams defines parameters for GetSandboxes.
type GetSandboxesResponse ¶
type GetSandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ListedSandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetSandboxesResponse429Headers
}
func ParseGetSandboxesResponse ¶
func ParseGetSandboxesResponse(rsp *http.Response) (*GetSandboxesResponse, error)
ParseGetSandboxesResponse parses an HTTP response from a GetSandboxesWithResponse call
func (GetSandboxesResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetSandboxesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetSandboxesResponse429Headers ¶
type GetSandboxesResponse429Headers struct {
RetryAfter *int
}
GetSandboxesResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxes
type GetSandboxesSandboxIDLogsParams ¶
type GetSandboxesSandboxIDLogsParams struct {
// Start Starting timestamp of the logs that should be returned in milliseconds
Start *int64 `form:"start,omitempty" json:"start,omitempty"`
// Limit Maximum number of logs that should be returned
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
GetSandboxesSandboxIDLogsParams defines parameters for GetSandboxesSandboxIDLogs.
type GetSandboxesSandboxIDLogsResponse ¶
type GetSandboxesSandboxIDLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SandboxLogs
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetSandboxesSandboxIDLogsResponse429Headers
}
func ParseGetSandboxesSandboxIDLogsResponse ¶
func ParseGetSandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetSandboxesSandboxIDLogsResponse, error)
ParseGetSandboxesSandboxIDLogsResponse parses an HTTP response from a GetSandboxesSandboxIDLogsWithResponse call
func (GetSandboxesSandboxIDLogsResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetSandboxesSandboxIDLogsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetSandboxesSandboxIDLogsResponse429Headers ¶
type GetSandboxesSandboxIDLogsResponse429Headers struct {
RetryAfter *int
}
GetSandboxesSandboxIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxIDLogs
type GetSandboxesSandboxIDMetricsParams ¶
type GetSandboxesSandboxIDMetricsParams struct {
// Start Unix timestamp for the start of the interval, in seconds, for which the metrics
Start *int64 `form:"start,omitempty" json:"start,omitempty"`
End *int64 `form:"end,omitempty" json:"end,omitempty"`
}
GetSandboxesSandboxIDMetricsParams defines parameters for GetSandboxesSandboxIDMetrics.
type GetSandboxesSandboxIDMetricsResponse ¶
type GetSandboxesSandboxIDMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]SandboxMetric
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetSandboxesSandboxIDMetricsResponse429Headers
}
func ParseGetSandboxesSandboxIDMetricsResponse ¶
func ParseGetSandboxesSandboxIDMetricsResponse(rsp *http.Response) (*GetSandboxesSandboxIDMetricsResponse, error)
ParseGetSandboxesSandboxIDMetricsResponse parses an HTTP response from a GetSandboxesSandboxIDMetricsWithResponse call
func (GetSandboxesSandboxIDMetricsResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetSandboxesSandboxIDMetricsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetSandboxesSandboxIDMetricsResponse429Headers ¶
type GetSandboxesSandboxIDMetricsResponse429Headers struct {
RetryAfter *int
}
GetSandboxesSandboxIDMetricsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxIDMetrics
type GetSandboxesSandboxIDResponse ¶
type GetSandboxesSandboxIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SandboxDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetSandboxesSandboxIDResponse429Headers
}
func ParseGetSandboxesSandboxIDResponse ¶
func ParseGetSandboxesSandboxIDResponse(rsp *http.Response) (*GetSandboxesSandboxIDResponse, error)
ParseGetSandboxesSandboxIDResponse parses an HTTP response from a GetSandboxesSandboxIDWithResponse call
func (GetSandboxesSandboxIDResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetSandboxesSandboxIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetSandboxesSandboxIDResponse429Headers ¶
type GetSandboxesSandboxIDResponse429Headers struct {
RetryAfter *int
}
GetSandboxesSandboxIDResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxID
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
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetSecretsResponse429Headers
}
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 GetSecretsResponse429Headers ¶
type GetSecretsResponse429Headers struct {
RetryAfter *int
}
GetSecretsResponse429Headers the declared response headers of an HTTP 429 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
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetSecretsSecretIDResponse429Headers
}
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 GetSecretsSecretIDResponse429Headers ¶
type GetSecretsSecretIDResponse429Headers struct {
RetryAfter *int
}
GetSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for GetSecretsSecretID
type GetSnapshotsParams ¶
type GetSnapshotsParams struct {
SandboxID *string `form:"sandboxID,omitempty" json:"sandboxID,omitempty"`
// Name Filter snapshots by name or ID, optionally tag-qualified (e.g. "my-snapshot", "my-team/my-snapshot" or "my-snapshot:v1").
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}
GetSnapshotsParams defines parameters for GetSnapshots.
type GetSnapshotsResponse ¶
type GetSnapshotsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]SnapshotInfo
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetSnapshotsResponse200Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetSnapshotsResponse429Headers
}
func ParseGetSnapshotsResponse ¶
func ParseGetSnapshotsResponse(rsp *http.Response) (*GetSnapshotsResponse, error)
ParseGetSnapshotsResponse parses an HTTP response from a GetSnapshotsWithResponse call
func (GetSnapshotsResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetSnapshotsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetSnapshotsResponse429Headers ¶
type GetSnapshotsResponse429Headers struct {
RetryAfter *int
}
GetSnapshotsResponse429Headers the declared response headers of an HTTP 429 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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTeamsResponse429Headers
}
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) GetJSON429 ¶
func (r GetTeamsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTeamsResponse429Headers ¶
type GetTeamsResponse429Headers struct {
RetryAfter *int
}
GetTeamsResponse429Headers the declared response headers of an HTTP 429 response for GetTeams
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTeamsTeamIDMetricsMaxResponse429Headers
}
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) GetJSON429 ¶
func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTeamsTeamIDMetricsMaxResponse429Headers ¶
type GetTeamsTeamIDMetricsMaxResponse429Headers struct {
RetryAfter *int
}
GetTeamsTeamIDMetricsMaxResponse429Headers the declared response headers of an HTTP 429 response for GetTeamsTeamIDMetricsMax
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTeamsTeamIDMetricsResponse429Headers
}
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) GetJSON429 ¶
func (r GetTeamsTeamIDMetricsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTeamsTeamIDMetricsResponse429Headers ¶
type GetTeamsTeamIDMetricsResponse429Headers struct {
RetryAfter *int
}
GetTeamsTeamIDMetricsResponse429Headers the declared response headers of an HTTP 429 response for GetTeamsTeamIDMetrics
type GetTemplatesAliasesAliasResponse ¶
type GetTemplatesAliasesAliasResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateAliasResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTemplatesAliasesAliasResponse429Headers
}
func ParseGetTemplatesAliasesAliasResponse ¶
func ParseGetTemplatesAliasesAliasResponse(rsp *http.Response) (*GetTemplatesAliasesAliasResponse, error)
ParseGetTemplatesAliasesAliasResponse parses an HTTP response from a GetTemplatesAliasesAliasWithResponse call
func (GetTemplatesAliasesAliasResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetTemplatesAliasesAliasResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTemplatesAliasesAliasResponse429Headers ¶
type GetTemplatesAliasesAliasResponse429Headers struct {
RetryAfter *int
}
GetTemplatesAliasesAliasResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesAliasesAlias
type GetTemplatesParams ¶
type GetTemplatesParams struct {
TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`
}
GetTemplatesParams defines parameters for GetTemplates.
type GetTemplatesResponse ¶
type GetTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Template
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTemplatesResponse429Headers
}
func ParseGetTemplatesResponse ¶
func ParseGetTemplatesResponse(rsp *http.Response) (*GetTemplatesResponse, error)
ParseGetTemplatesResponse parses an HTTP response from a GetTemplatesWithResponse call
func (GetTemplatesResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetTemplatesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTemplatesResponse429Headers ¶
type GetTemplatesResponse429Headers struct {
RetryAfter *int
}
GetTemplatesResponse429Headers the declared response headers of an HTTP 429 response for GetTemplates
type GetTemplatesTemplateIDBuildsBuildIDLogsParams ¶
type GetTemplatesTemplateIDBuildsBuildIDLogsParams struct {
// Cursor Starting timestamp of the logs that should be returned in milliseconds
Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of logs that should be returned
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`
Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`
// Source Source of the logs that should be returned from
Source *LogsSource `form:"source,omitempty" json:"source,omitempty"`
}
GetTemplatesTemplateIDBuildsBuildIDLogsParams defines parameters for GetTemplatesTemplateIDBuildsBuildIDLogs.
type GetTemplatesTemplateIDBuildsBuildIDLogsResponse ¶
type GetTemplatesTemplateIDBuildsBuildIDLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateBuildLogsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers
}
func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse ¶
func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)
ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse call
func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers ¶
type GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers struct {
RetryAfter *int
}
GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDBuildsBuildIDLogs
type GetTemplatesTemplateIDBuildsBuildIDStatusParams ¶
type GetTemplatesTemplateIDBuildsBuildIDStatusParams struct {
// LogsOffset Index of the starting build log that should be returned with the template
LogsOffset *int32 `form:"logsOffset,omitempty" json:"logsOffset,omitempty"`
// Limit Maximum number of logs that should be returned
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`
}
GetTemplatesTemplateIDBuildsBuildIDStatusParams defines parameters for GetTemplatesTemplateIDBuildsBuildIDStatus.
type GetTemplatesTemplateIDBuildsBuildIDStatusResponse ¶
type GetTemplatesTemplateIDBuildsBuildIDStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateBuildInfo
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers
}
func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse ¶
func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)
ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse call
func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers ¶
type GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers struct {
RetryAfter *int
}
GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDBuildsBuildIDStatus
type GetTemplatesTemplateIDFilesHashResponse ¶
type GetTemplatesTemplateIDFilesHashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TemplateBuildFileUpload
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTemplatesTemplateIDFilesHashResponse429Headers
}
func ParseGetTemplatesTemplateIDFilesHashResponse ¶
func ParseGetTemplatesTemplateIDFilesHashResponse(rsp *http.Response) (*GetTemplatesTemplateIDFilesHashResponse, error)
ParseGetTemplatesTemplateIDFilesHashResponse parses an HTTP response from a GetTemplatesTemplateIDFilesHashWithResponse call
func (GetTemplatesTemplateIDFilesHashResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetTemplatesTemplateIDFilesHashResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTemplatesTemplateIDFilesHashResponse429Headers ¶
type GetTemplatesTemplateIDFilesHashResponse429Headers struct {
RetryAfter *int
}
GetTemplatesTemplateIDFilesHashResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDFilesHash
type GetTemplatesTemplateIDParams ¶
type GetTemplatesTemplateIDParams struct {
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetTemplatesTemplateIDParams defines parameters for GetTemplatesTemplateID.
type GetTemplatesTemplateIDResponse ¶
type GetTemplatesTemplateIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateWithBuilds
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetTemplatesTemplateIDResponse200Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTemplatesTemplateIDResponse429Headers
}
func ParseGetTemplatesTemplateIDResponse ¶
func ParseGetTemplatesTemplateIDResponse(rsp *http.Response) (*GetTemplatesTemplateIDResponse, error)
ParseGetTemplatesTemplateIDResponse parses an HTTP response from a GetTemplatesTemplateIDWithResponse call
func (GetTemplatesTemplateIDResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetTemplatesTemplateIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTemplatesTemplateIDResponse429Headers ¶
type GetTemplatesTemplateIDResponse429Headers struct {
RetryAfter *int
}
GetTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetTemplatesTemplateIDTagsResponse429Headers
}
func ParseGetTemplatesTemplateIDTagsResponse ¶
func ParseGetTemplatesTemplateIDTagsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsResponse, error)
ParseGetTemplatesTemplateIDTagsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsWithResponse call
func (GetTemplatesTemplateIDTagsResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetTemplatesTemplateIDTagsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetTemplatesTemplateIDTagsResponse429Headers ¶
type GetTemplatesTemplateIDTagsResponse429Headers struct {
RetryAfter *int
}
GetTemplatesTemplateIDTagsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTags
type GetV2SandboxesParams ¶
type GetV2SandboxesParams struct {
// Metadata Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
Metadata *string `form:"metadata,omitempty" json:"metadata,omitempty"`
// State Filter sandboxes by one or more states
State *[]SandboxState `form:"state,omitempty" json:"state,omitempty"`
// Order Sort direction by sandbox start time. Defaults to desc (newest first).
Order *OrderDirection `form:"order,omitempty" json:"order,omitempty"`
// StartedAfter Return sandboxes started at or after this timestamp.
StartedAfter *time.Time `form:"startedAfter,omitempty" json:"startedAfter,omitempty"`
// Template Filter sandboxes by a template ID or alias.
Template *string `form:"template,omitempty" json:"template,omitempty"`
// NextToken Cursor to start the list from
NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// Limit Maximum number of items to return per page
Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
GetV2SandboxesParams defines parameters for GetV2Sandboxes.
type GetV2SandboxesResponse ¶
type GetV2SandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ListedSandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetV2SandboxesResponse200Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetV2SandboxesResponse429Headers
}
func ParseGetV2SandboxesResponse ¶
func ParseGetV2SandboxesResponse(rsp *http.Response) (*GetV2SandboxesResponse, error)
ParseGetV2SandboxesResponse parses an HTTP response from a GetV2SandboxesWithResponse call
func (GetV2SandboxesResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetV2SandboxesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetV2SandboxesResponse429Headers ¶
type GetV2SandboxesResponse429Headers struct {
RetryAfter *int
}
GetV2SandboxesResponse429Headers the declared response headers of an HTTP 429 response for GetV2Sandboxes
type GetV2SandboxesSandboxIDLogsParams ¶
type GetV2SandboxesSandboxIDLogsParams struct {
// Cursor Starting timestamp of the logs that should be returned in milliseconds
Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of logs that should be returned
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Direction Direction of the logs that should be returned
Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// Level Minimum log level to return. Logs below this level are excluded
Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`
// Search Case-sensitive substring match on log message content
Search *string `form:"search,omitempty" json:"search,omitempty"`
}
GetV2SandboxesSandboxIDLogsParams defines parameters for GetV2SandboxesSandboxIDLogs.
type GetV2SandboxesSandboxIDLogsResponse ¶
type GetV2SandboxesSandboxIDLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SandboxLogsV2Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetV2SandboxesSandboxIDLogsResponse429Headers
}
func ParseGetV2SandboxesSandboxIDLogsResponse ¶
func ParseGetV2SandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetV2SandboxesSandboxIDLogsResponse, error)
ParseGetV2SandboxesSandboxIDLogsResponse parses an HTTP response from a GetV2SandboxesSandboxIDLogsWithResponse call
func (GetV2SandboxesSandboxIDLogsResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetV2SandboxesSandboxIDLogsResponse429Headers ¶
type GetV2SandboxesSandboxIDLogsResponse429Headers struct {
RetryAfter *int
}
GetV2SandboxesSandboxIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetV2SandboxesSandboxIDLogs
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetV2TemplatesResponse200Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetV2TemplatesResponse429Headers
}
func ParseGetV2TemplatesResponse ¶
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) GetJSON429 ¶
func (r GetV2TemplatesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetV2TemplatesResponse429Headers ¶
type GetV2TemplatesResponse429Headers struct {
RetryAfter *int
}
GetV2TemplatesResponse429Headers the declared response headers of an HTTP 429 response for GetV2Templates
type GetVolumesResponse ¶
type GetVolumesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Volume
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetVolumesResponse429Headers
}
func ParseGetVolumesResponse ¶
func ParseGetVolumesResponse(rsp *http.Response) (*GetVolumesResponse, error)
ParseGetVolumesResponse parses an HTTP response from a GetVolumesWithResponse call
func (GetVolumesResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetVolumesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetVolumesResponse429Headers ¶
type GetVolumesResponse429Headers struct {
RetryAfter *int
}
GetVolumesResponse429Headers the declared response headers of an HTTP 429 response for GetVolumes
type GetVolumesVolumeIDResponse ¶
type GetVolumesVolumeIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VolumeAndToken
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetVolumesVolumeIDResponse429Headers
}
func ParseGetVolumesVolumeIDResponse ¶
func ParseGetVolumesVolumeIDResponse(rsp *http.Response) (*GetVolumesVolumeIDResponse, error)
ParseGetVolumesVolumeIDResponse parses an HTTP response from a GetVolumesVolumeIDWithResponse call
func (GetVolumesVolumeIDResponse) ContentType ¶
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) GetJSON429 ¶
func (r GetVolumesVolumeIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 GetVolumesVolumeIDResponse429Headers ¶
type GetVolumesVolumeIDResponse429Headers struct {
RetryAfter *int
}
GetVolumesVolumeIDResponse429Headers the declared response headers of an HTTP 429 response for GetVolumesVolumeID
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 MinFreeDiskMb ¶
type MinFreeDiskMb = int32
MinFreeDiskMb Requested minimum free space after the template's build steps, in MiB. Omit to use the team's default. Set to 0 to request no minimum free-disk growth. The filesystem is never shrunk, including inherited or already-larger filesystems. Growth is best effort, so filesystem metadata can leave the available space slightly below the requested minimum.
type 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 Ignored. All system communication with the sandbox is always secured; the template's envd version must support secured access.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Secure *bool `json:"secure,omitempty"`
// TemplateID Identifier of the required template
TemplateID string `json:"templateID"`
// Timeout Time to live for the sandbox in seconds.
Timeout *int32 `json:"timeout,omitempty"`
VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}
NewSandbox defines model for NewSandbox.
type NewSandboxV2 ¶
type NewSandboxV2 struct {
// AllowInternetAccess Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
AllowInternetAccess *bool `json:"allow_internet_access,omitempty"`
// AutoPause Automatically pauses the sandbox after the timeout
AutoPause *bool `json:"autoPause,omitempty"`
// AutoPauseMemory Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
AutoPauseMemory *bool `json:"autoPauseMemory,omitempty"`
// AutoResume Auto-resume configuration for paused sandboxes.
AutoResume *SandboxAutoResumeConfig `json:"autoResume,omitempty"`
EnvVars *EnvVars `json:"envVars,omitempty"`
// Iam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.
Iam *SandboxIam `json:"iam,omitempty"`
// Mcp MCP configuration for the sandbox
Mcp *Mcp `json:"mcp,omitempty"`
Metadata *SandboxMetadata `json:"metadata,omitempty"`
Network *SandboxNetworkConfig `json:"network,omitempty"`
// TemplateID Identifier of the required template
TemplateID string `json:"templateID"`
// Timeout Time to live for the sandbox in seconds.
Timeout *int32 `json:"timeout,omitempty"`
VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}
NewSandboxV2 Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
type NewSecret ¶
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"`
// MaxSandboxes Cached node-scoped sandbox admission limit. Nonpositive values reject creation.
MaxSandboxes int64 `json:"maxSandboxes"`
// Metrics Node metrics
Metrics NodeMetrics `json:"metrics"`
// OutstandingWork Cached count of work holds on the node. Zero means idle or not yet reported; it does not by itself authorize deletion.
OutstandingWork uint64 `json:"outstandingWork"`
// 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.
// - 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"`
// MaxSandboxes Cached node-scoped sandbox admission limit. Nonpositive values reject creation.
MaxSandboxes int64 `json:"maxSandboxes"`
// Metrics Node metrics
Metrics NodeMetrics `json:"metrics"`
// OutstandingWork Cached count of work holds on the node. Zero means idle or not yet reported; it does not by itself authorize deletion.
OutstandingWork uint64 `json:"outstandingWork"`
// 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.
// - 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. - 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" NodeStatusShuttingDown NodeStatus = "shutting_down" 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.
// - 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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PatchApiKeysApiKeyIDResponse429Headers
}
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) GetJSON429 ¶
func (r PatchApiKeysApiKeyIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PatchApiKeysApiKeyIDResponse429Headers ¶
type PatchApiKeysApiKeyIDResponse429Headers struct {
RetryAfter *int
}
PatchApiKeysApiKeyIDResponse429Headers the declared response headers of an HTTP 429 response for PatchApiKeysApiKeyID
type PatchEventsWebhooksWebhookIDJSONRequestBody ¶
type PatchEventsWebhooksWebhookIDJSONRequestBody = WebhookConfiguration
PatchEventsWebhooksWebhookIDJSONRequestBody defines body for PatchEventsWebhooksWebhookID for application/json ContentType.
type PatchEventsWebhooksWebhookIDResponse ¶
type PatchEventsWebhooksWebhookIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookDetail
// 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 ParsePatchEventsWebhooksWebhookIDResponse ¶
func ParsePatchEventsWebhooksWebhookIDResponse(rsp *http.Response) (*PatchEventsWebhooksWebhookIDResponse, error)
ParsePatchEventsWebhooksWebhookIDResponse parses an HTTP response from a PatchEventsWebhooksWebhookIDWithResponse call
func (PatchEventsWebhooksWebhookIDResponse) ContentType ¶
func (r PatchEventsWebhooksWebhookIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchEventsWebhooksWebhookIDResponse) GetBody ¶
func (r PatchEventsWebhooksWebhookIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchEventsWebhooksWebhookIDResponse) GetJSON200 ¶
func (r PatchEventsWebhooksWebhookIDResponse) GetJSON200() *WebhookDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchEventsWebhooksWebhookIDResponse) GetJSON400 ¶
func (r PatchEventsWebhooksWebhookIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchEventsWebhooksWebhookIDResponse) GetJSON401 ¶
func (r PatchEventsWebhooksWebhookIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchEventsWebhooksWebhookIDResponse) GetJSON404 ¶
func (r PatchEventsWebhooksWebhookIDResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchEventsWebhooksWebhookIDResponse) GetJSON500 ¶
func (r PatchEventsWebhooksWebhookIDResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchEventsWebhooksWebhookIDResponse) Status ¶
func (r PatchEventsWebhooksWebhookIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchEventsWebhooksWebhookIDResponse) StatusCode ¶
func (r PatchEventsWebhooksWebhookIDResponse) 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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PatchTemplatesTemplateIDResponse429Headers
}
func ParsePatchTemplatesTemplateIDResponse ¶
func ParsePatchTemplatesTemplateIDResponse(rsp *http.Response) (*PatchTemplatesTemplateIDResponse, error)
ParsePatchTemplatesTemplateIDResponse parses an HTTP response from a PatchTemplatesTemplateIDWithResponse call
func (PatchTemplatesTemplateIDResponse) ContentType ¶
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) GetJSON429 ¶
func (r PatchTemplatesTemplateIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PatchTemplatesTemplateIDResponse429Headers ¶
type PatchTemplatesTemplateIDResponse429Headers struct {
RetryAfter *int
}
PatchTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for PatchTemplatesTemplateID
type PatchV2TemplatesTemplateIDJSONRequestBody ¶
type PatchV2TemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest
PatchV2TemplatesTemplateIDJSONRequestBody defines body for PatchV2TemplatesTemplateID for application/json ContentType.
type PatchV2TemplatesTemplateIDResponse ¶
type PatchV2TemplatesTemplateIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateUpdateResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PatchV2TemplatesTemplateIDResponse429Headers
}
func ParsePatchV2TemplatesTemplateIDResponse ¶
func ParsePatchV2TemplatesTemplateIDResponse(rsp *http.Response) (*PatchV2TemplatesTemplateIDResponse, error)
ParsePatchV2TemplatesTemplateIDResponse parses an HTTP response from a PatchV2TemplatesTemplateIDWithResponse call
func (PatchV2TemplatesTemplateIDResponse) ContentType ¶
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) GetJSON429 ¶
func (r PatchV2TemplatesTemplateIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PatchV2TemplatesTemplateIDResponse429Headers ¶
type PatchV2TemplatesTemplateIDResponse429Headers struct {
RetryAfter *int
}
PatchV2TemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for PatchV2TemplatesTemplateID
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostAdminTeamsTeamIDApiKeysResponse429Headers
}
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) GetJSON429 ¶
func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostAdminTeamsTeamIDApiKeysResponse429Headers ¶
type PostAdminTeamsTeamIDApiKeysResponse429Headers struct {
RetryAfter *int
}
PostAdminTeamsTeamIDApiKeysResponse429Headers the declared response headers of an HTTP 429 response for PostAdminTeamsTeamIDApiKeys
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostAdminTeamsTeamIDBuildsCancelResponse429Headers
}
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) GetJSON429 ¶
func (r PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostAdminTeamsTeamIDBuildsCancelResponse429Headers ¶
type PostAdminTeamsTeamIDBuildsCancelResponse429Headers struct {
RetryAfter *int
}
PostAdminTeamsTeamIDBuildsCancelResponse429Headers the declared response headers of an HTTP 429 response for PostAdminTeamsTeamIDBuildsCancel
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostAdminTeamsTeamIDSandboxesKillResponse429Headers
}
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) GetJSON429 ¶
func (r PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostAdminTeamsTeamIDSandboxesKillResponse429Headers ¶
type PostAdminTeamsTeamIDSandboxesKillResponse429Headers struct {
RetryAfter *int
}
PostAdminTeamsTeamIDSandboxesKillResponse429Headers the declared response headers of an HTTP 429 response for PostAdminTeamsTeamIDSandboxesKill
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostApiKeysResponse429Headers
}
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) GetJSON429 ¶
func (r PostApiKeysResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostApiKeysResponse429Headers ¶
type PostApiKeysResponse429Headers struct {
RetryAfter *int
}
PostApiKeysResponse429Headers the declared response headers of an HTTP 429 response for PostApiKeys
type PostEventsWebhooksJSONRequestBody ¶
type PostEventsWebhooksJSONRequestBody = WebhookCreate
PostEventsWebhooksJSONRequestBody defines body for PostEventsWebhooks for application/json ContentType.
type PostEventsWebhooksResponse ¶
type PostEventsWebhooksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *WebhookCreation
// 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 ParsePostEventsWebhooksResponse ¶
func ParsePostEventsWebhooksResponse(rsp *http.Response) (*PostEventsWebhooksResponse, error)
ParsePostEventsWebhooksResponse parses an HTTP response from a PostEventsWebhooksWithResponse call
func (PostEventsWebhooksResponse) ContentType ¶
func (r PostEventsWebhooksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostEventsWebhooksResponse) GetBody ¶
func (r PostEventsWebhooksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostEventsWebhooksResponse) GetJSON201 ¶
func (r PostEventsWebhooksResponse) GetJSON201() *WebhookCreation
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostEventsWebhooksResponse) GetJSON400 ¶
func (r PostEventsWebhooksResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostEventsWebhooksResponse) GetJSON401 ¶
func (r PostEventsWebhooksResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostEventsWebhooksResponse) GetJSON404 ¶
func (r PostEventsWebhooksResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostEventsWebhooksResponse) GetJSON500 ¶
func (r PostEventsWebhooksResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostEventsWebhooksResponse) Status ¶
func (r PostEventsWebhooksResponse) Status() string
Status returns HTTPResponse.Status
func (PostEventsWebhooksResponse) StatusCode ¶
func (r PostEventsWebhooksResponse) 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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostNodesNodeIDResponse429Headers
}
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) GetJSON429 ¶
func (r PostNodesNodeIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostNodesNodeIDResponse429Headers ¶
type PostNodesNodeIDResponse429Headers struct {
RetryAfter *int
}
PostNodesNodeIDResponse429Headers the declared response headers of an HTTP 429 response for PostNodesNodeID
type PostSandboxesJSONRequestBody
deprecated
type PostSandboxesJSONRequestBody = NewSandbox
PostSandboxesJSONRequestBody defines body for PostSandboxes for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type PostSandboxesResponse ¶
type PostSandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Sandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSandboxesResponse429Headers
}
func ParsePostSandboxesResponse ¶
func ParsePostSandboxesResponse(rsp *http.Response) (*PostSandboxesResponse, error)
ParsePostSandboxesResponse parses an HTTP response from a PostSandboxesWithResponse call
func (PostSandboxesResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostSandboxesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostSandboxesResponse429Headers ¶
type PostSandboxesResponse429Headers struct {
RetryAfter *int
}
PostSandboxesResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxes
type PostSandboxesSandboxIDConnectJSONRequestBody
deprecated
type PostSandboxesSandboxIDConnectJSONRequestBody = ConnectSandbox
PostSandboxesSandboxIDConnectJSONRequestBody defines body for PostSandboxesSandboxIDConnect for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type PostSandboxesSandboxIDConnectResponse ¶
type PostSandboxesSandboxIDConnectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Sandbox
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Sandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSandboxesSandboxIDConnectResponse429Headers
}
func ParsePostSandboxesSandboxIDConnectResponse ¶
func ParsePostSandboxesSandboxIDConnectResponse(rsp *http.Response) (*PostSandboxesSandboxIDConnectResponse, error)
ParsePostSandboxesSandboxIDConnectResponse parses an HTTP response from a PostSandboxesSandboxIDConnectWithResponse call
func (PostSandboxesSandboxIDConnectResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostSandboxesSandboxIDConnectResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostSandboxesSandboxIDConnectResponse429Headers ¶
type PostSandboxesSandboxIDConnectResponse429Headers struct {
RetryAfter *int
}
PostSandboxesSandboxIDConnectResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDConnect
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSandboxesSandboxIDForkResponse429Headers
}
func ParsePostSandboxesSandboxIDForkResponse ¶
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) GetJSON429 ¶
func (r PostSandboxesSandboxIDForkResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostSandboxesSandboxIDForkResponse429Headers ¶
type PostSandboxesSandboxIDForkResponse429Headers struct {
RetryAfter *int
}
PostSandboxesSandboxIDForkResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDFork
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSandboxesSandboxIDPauseResponse429Headers
}
func ParsePostSandboxesSandboxIDPauseResponse ¶
func ParsePostSandboxesSandboxIDPauseResponse(rsp *http.Response) (*PostSandboxesSandboxIDPauseResponse, error)
ParsePostSandboxesSandboxIDPauseResponse parses an HTTP response from a PostSandboxesSandboxIDPauseWithResponse call
func (PostSandboxesSandboxIDPauseResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostSandboxesSandboxIDPauseResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostSandboxesSandboxIDPauseResponse) GetJSON500 ¶
func (r PostSandboxesSandboxIDPauseResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostSandboxesSandboxIDPauseResponse) GetJSON503 ¶
func (r PostSandboxesSandboxIDPauseResponse) GetJSON503() *N503
GetJSON503 returns the response for an HTTP 503 `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 PostSandboxesSandboxIDPauseResponse429Headers ¶
type PostSandboxesSandboxIDPauseResponse429Headers struct {
RetryAfter *int
}
PostSandboxesSandboxIDPauseResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDPause
type PostSandboxesSandboxIDRefreshesJSONRequestBody ¶
type PostSandboxesSandboxIDRefreshesJSONRequestBody = SandboxRefreshRequest
PostSandboxesSandboxIDRefreshesJSONRequestBody defines body for PostSandboxesSandboxIDRefreshes for application/json ContentType.
type PostSandboxesSandboxIDRefreshesResponse ¶
type PostSandboxesSandboxIDRefreshesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSandboxesSandboxIDRefreshesResponse429Headers
}
func ParsePostSandboxesSandboxIDRefreshesResponse ¶
func ParsePostSandboxesSandboxIDRefreshesResponse(rsp *http.Response) (*PostSandboxesSandboxIDRefreshesResponse, error)
ParsePostSandboxesSandboxIDRefreshesResponse parses an HTTP response from a PostSandboxesSandboxIDRefreshesWithResponse call
func (PostSandboxesSandboxIDRefreshesResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostSandboxesSandboxIDRefreshesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostSandboxesSandboxIDRefreshesResponse429Headers ¶
type PostSandboxesSandboxIDRefreshesResponse429Headers struct {
RetryAfter *int
}
PostSandboxesSandboxIDRefreshesResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDRefreshes
type PostSandboxesSandboxIDResumeJSONRequestBody
deprecated
type PostSandboxesSandboxIDResumeJSONRequestBody = ResumedSandbox
PostSandboxesSandboxIDResumeJSONRequestBody defines body for PostSandboxesSandboxIDResume for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type PostSandboxesSandboxIDResumeResponse ¶
type PostSandboxesSandboxIDResumeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Sandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSandboxesSandboxIDResumeResponse429Headers
}
func ParsePostSandboxesSandboxIDResumeResponse ¶
func ParsePostSandboxesSandboxIDResumeResponse(rsp *http.Response) (*PostSandboxesSandboxIDResumeResponse, error)
ParsePostSandboxesSandboxIDResumeResponse parses an HTTP response from a PostSandboxesSandboxIDResumeWithResponse call
func (PostSandboxesSandboxIDResumeResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostSandboxesSandboxIDResumeResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostSandboxesSandboxIDResumeResponse429Headers ¶
type PostSandboxesSandboxIDResumeResponse429Headers struct {
RetryAfter *int
}
PostSandboxesSandboxIDResumeResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDResume
type PostSandboxesSandboxIDSnapshotsJSONRequestBody ¶
type PostSandboxesSandboxIDSnapshotsJSONRequestBody = SandboxSnapshotRequest
PostSandboxesSandboxIDSnapshotsJSONRequestBody defines body for PostSandboxesSandboxIDSnapshots for application/json ContentType.
type PostSandboxesSandboxIDSnapshotsResponse ¶
type PostSandboxesSandboxIDSnapshotsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *SnapshotInfo
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSandboxesSandboxIDSnapshotsResponse429Headers
}
func ParsePostSandboxesSandboxIDSnapshotsResponse ¶
func ParsePostSandboxesSandboxIDSnapshotsResponse(rsp *http.Response) (*PostSandboxesSandboxIDSnapshotsResponse, error)
ParsePostSandboxesSandboxIDSnapshotsResponse parses an HTTP response from a PostSandboxesSandboxIDSnapshotsWithResponse call
func (PostSandboxesSandboxIDSnapshotsResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostSandboxesSandboxIDSnapshotsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostSandboxesSandboxIDSnapshotsResponse429Headers ¶
type PostSandboxesSandboxIDSnapshotsResponse429Headers struct {
RetryAfter *int
}
PostSandboxesSandboxIDSnapshotsResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDSnapshots
type PostSandboxesSandboxIDTimeoutJSONRequestBody ¶
type PostSandboxesSandboxIDTimeoutJSONRequestBody = SandboxTimeoutRequest
PostSandboxesSandboxIDTimeoutJSONRequestBody defines body for PostSandboxesSandboxIDTimeout for application/json ContentType.
type PostSandboxesSandboxIDTimeoutResponse ¶
type PostSandboxesSandboxIDTimeoutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSandboxesSandboxIDTimeoutResponse429Headers
}
func ParsePostSandboxesSandboxIDTimeoutResponse ¶
func ParsePostSandboxesSandboxIDTimeoutResponse(rsp *http.Response) (*PostSandboxesSandboxIDTimeoutResponse, error)
ParsePostSandboxesSandboxIDTimeoutResponse parses an HTTP response from a PostSandboxesSandboxIDTimeoutWithResponse call
func (PostSandboxesSandboxIDTimeoutResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostSandboxesSandboxIDTimeoutResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostSandboxesSandboxIDTimeoutResponse429Headers ¶
type PostSandboxesSandboxIDTimeoutResponse429Headers struct {
RetryAfter *int
}
PostSandboxesSandboxIDTimeoutResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDTimeout
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 *Error
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *N502
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSecretsResponse429Headers
}
func ParsePostSecretsResponse ¶
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() *Error
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 PostSecretsResponse429Headers ¶
type PostSecretsResponse429Headers struct {
RetryAfter *int
}
PostSecretsResponse429Headers the declared response headers of an HTTP 429 response for PostSecrets
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
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostSecretsSecretIDResponse429Headers
}
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 PostSecretsSecretIDResponse429Headers ¶
type PostSecretsSecretIDResponse429Headers struct {
RetryAfter *int
}
PostSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for PostSecretsSecretID
type PostTemplatesTagsJSONRequestBody ¶
type PostTemplatesTagsJSONRequestBody = AssignTemplateTagsRequest
PostTemplatesTagsJSONRequestBody defines body for PostTemplatesTags for application/json ContentType.
type PostTemplatesTagsResponse ¶
type PostTemplatesTagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AssignedTemplateTags
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostTemplatesTagsResponse429Headers
}
func ParsePostTemplatesTagsResponse ¶
func ParsePostTemplatesTagsResponse(rsp *http.Response) (*PostTemplatesTagsResponse, error)
ParsePostTemplatesTagsResponse parses an HTTP response from a PostTemplatesTagsWithResponse call
func (PostTemplatesTagsResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostTemplatesTagsResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostTemplatesTagsResponse429Headers ¶
type PostTemplatesTagsResponse429Headers struct {
RetryAfter *int
}
PostTemplatesTagsResponse429Headers the declared response headers of an HTTP 429 response for PostTemplatesTags
type PostV2SandboxesJSONRequestBody ¶
type PostV2SandboxesJSONRequestBody = NewSandboxV2
PostV2SandboxesJSONRequestBody defines body for PostV2Sandboxes for application/json ContentType.
type PostV2SandboxesParams ¶
type PostV2SandboxesParams struct {
// IdempotencyKey Optional team-scoped key for retrying sandbox creation. Use 1 to 255 lowercase ASCII
// letters or digits (a-z, 0-9). When idempotency is enabled, matching retries replay the original
// status and body, including errors, for the retention period.
// Different request parameters return 409 with error_code idempotency_request_mismatch.
// An in-progress request returns 409 with error_code idempotency_in_progress; an unknown
// outcome returns 422 with error_code idempotency_outcome_unknown. These retries do not execute the request again.
// Retries do not extend retention. After the key expires, it can start a new creation.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
PostV2SandboxesParams defines parameters for PostV2Sandboxes.
type PostV2SandboxesResponse ¶
type PostV2SandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Sandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *Error
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostV2SandboxesResponse429Headers
}
func ParsePostV2SandboxesResponse ¶
func ParsePostV2SandboxesResponse(rsp *http.Response) (*PostV2SandboxesResponse, error)
ParsePostV2SandboxesResponse parses an HTTP response from a PostV2SandboxesWithResponse call
func (PostV2SandboxesResponse) ContentType ¶
func (r PostV2SandboxesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV2SandboxesResponse) GetBody ¶
func (r PostV2SandboxesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV2SandboxesResponse) GetJSON201 ¶
func (r PostV2SandboxesResponse) GetJSON201() *Sandbox
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostV2SandboxesResponse) GetJSON400 ¶
func (r PostV2SandboxesResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV2SandboxesResponse) GetJSON401 ¶
func (r PostV2SandboxesResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV2SandboxesResponse) GetJSON409 ¶
func (r PostV2SandboxesResponse) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostV2SandboxesResponse) GetJSON422 ¶
func (r PostV2SandboxesResponse) GetJSON422() *Error
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (PostV2SandboxesResponse) GetJSON429 ¶
func (r PostV2SandboxesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostV2SandboxesResponse) GetJSON500 ¶
func (r PostV2SandboxesResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV2SandboxesResponse) GetJSON503 ¶
func (r PostV2SandboxesResponse) GetJSON503() *N503
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostV2SandboxesResponse) GetJSON504 ¶
func (r PostV2SandboxesResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PostV2SandboxesResponse) Status ¶
func (r PostV2SandboxesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV2SandboxesResponse) StatusCode ¶
func (r PostV2SandboxesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV2SandboxesResponse429Headers ¶
type PostV2SandboxesResponse429Headers struct {
RetryAfter *int
}
PostV2SandboxesResponse429Headers the declared response headers of an HTTP 429 response for PostV2Sandboxes
type PostV2SandboxesSandboxIDConnectJSONRequestBody ¶
type PostV2SandboxesSandboxIDConnectJSONRequestBody = ConnectSandboxV2
PostV2SandboxesSandboxIDConnectJSONRequestBody defines body for PostV2SandboxesSandboxIDConnect for application/json ContentType.
type PostV2SandboxesSandboxIDConnectResponse ¶
type PostV2SandboxesSandboxIDConnectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Sandbox
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Sandbox
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *N503
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *N504
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostV2SandboxesSandboxIDConnectResponse429Headers
}
func ParsePostV2SandboxesSandboxIDConnectResponse ¶
func ParsePostV2SandboxesSandboxIDConnectResponse(rsp *http.Response) (*PostV2SandboxesSandboxIDConnectResponse, error)
ParsePostV2SandboxesSandboxIDConnectResponse parses an HTTP response from a PostV2SandboxesSandboxIDConnectWithResponse call
func (PostV2SandboxesSandboxIDConnectResponse) ContentType ¶
func (r PostV2SandboxesSandboxIDConnectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV2SandboxesSandboxIDConnectResponse) GetBody ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON200 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON200() *Sandbox
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON201 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON201() *Sandbox
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON400 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON401 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON404 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON409 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON429 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON500 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON503 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON503() *N503
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) GetJSON504 ¶
func (r PostV2SandboxesSandboxIDConnectResponse) GetJSON504() *N504
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PostV2SandboxesSandboxIDConnectResponse) Status ¶
func (r PostV2SandboxesSandboxIDConnectResponse) Status() string
Status returns HTTPResponse.Status
func (PostV2SandboxesSandboxIDConnectResponse) StatusCode ¶
func (r PostV2SandboxesSandboxIDConnectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV2SandboxesSandboxIDConnectResponse429Headers ¶
type PostV2SandboxesSandboxIDConnectResponse429Headers struct {
RetryAfter *int
}
PostV2SandboxesSandboxIDConnectResponse429Headers the declared response headers of an HTTP 429 response for PostV2SandboxesSandboxIDConnect
type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody ¶
type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody = TemplateBuildStartV2
PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody defines body for PostV2TemplatesTemplateIDBuildsBuildID for application/json ContentType.
type PostV2TemplatesTemplateIDBuildsBuildIDResponse ¶
type PostV2TemplatesTemplateIDBuildsBuildIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers
}
func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse ¶
func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse(rsp *http.Response) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)
ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse parses an HTTP response from a PostV2TemplatesTemplateIDBuildsBuildIDWithResponse call
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) ContentType ¶
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) GetJSON400 ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON401 ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON429 ¶
func (r PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers ¶
type PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers struct {
RetryAfter *int
}
PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers the declared response headers of an HTTP 429 response for PostV2TemplatesTemplateIDBuildsBuildID
type PostV3TemplatesJSONRequestBody ¶
type PostV3TemplatesJSONRequestBody = TemplateBuildRequestV3
PostV3TemplatesJSONRequestBody defines body for PostV3Templates for application/json ContentType.
type PostV3TemplatesResponse ¶
type PostV3TemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *TemplateRequestResponseV3
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *N403
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *N409
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostV3TemplatesResponse429Headers
}
func ParsePostV3TemplatesResponse ¶
func ParsePostV3TemplatesResponse(rsp *http.Response) (*PostV3TemplatesResponse, error)
ParsePostV3TemplatesResponse parses an HTTP response from a PostV3TemplatesWithResponse call
func (PostV3TemplatesResponse) ContentType ¶
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) GetJSON409 ¶
func (r PostV3TemplatesResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostV3TemplatesResponse) GetJSON429 ¶
func (r PostV3TemplatesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostV3TemplatesResponse429Headers ¶
type PostV3TemplatesResponse429Headers struct {
RetryAfter *int
}
PostV3TemplatesResponse429Headers the declared response headers of an HTTP 429 response for PostV3Templates
type PostVolumesJSONRequestBody ¶
type PostVolumesJSONRequestBody = NewVolume
PostVolumesJSONRequestBody defines body for PostVolumes for application/json ContentType.
type PostVolumesResponse ¶
type PostVolumesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *VolumeAndToken
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *N401
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostVolumesResponse429Headers
}
func ParsePostVolumesResponse ¶
func ParsePostVolumesResponse(rsp *http.Response) (*PostVolumesResponse, error)
ParsePostVolumesResponse parses an HTTP response from a PostVolumesWithResponse call
func (PostVolumesResponse) ContentType ¶
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) GetJSON429 ¶
func (r PostVolumesResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PostVolumesResponse429Headers ¶
type PostVolumesResponse429Headers struct {
RetryAfter *int
}
PostVolumesResponse429Headers the declared response headers of an HTTP 429 response for PostVolumes
type PutClustersClusterIDRigsRigIDCapacityJSONRequestBody ¶
type PutClustersClusterIDRigsRigIDCapacityJSONRequestBody = RigCapacityChange
PutClustersClusterIDRigsRigIDCapacityJSONRequestBody defines body for PutClustersClusterIDRigsRigIDCapacity for application/json ContentType.
type PutClustersClusterIDRigsRigIDCapacityResponse ¶
type PutClustersClusterIDRigsRigIDCapacityResponse 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
// 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
// JSON501 the response for an HTTP 501 `application/json` response
JSON501 *N501
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PutClustersClusterIDRigsRigIDCapacityResponse429Headers
}
func ParsePutClustersClusterIDRigsRigIDCapacityResponse ¶
func ParsePutClustersClusterIDRigsRigIDCapacityResponse(rsp *http.Response) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)
ParsePutClustersClusterIDRigsRigIDCapacityResponse parses an HTTP response from a PutClustersClusterIDRigsRigIDCapacityWithResponse call
func (PutClustersClusterIDRigsRigIDCapacityResponse) ContentType ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutClustersClusterIDRigsRigIDCapacityResponse) GetBody ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON400 ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON401 ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON401() *N401
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON404 ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON409 ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON409() *N409
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON429 ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON500 ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON501 ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON501() *N501
GetJSON501 returns the response for an HTTP 501 `application/json` response
func (PutClustersClusterIDRigsRigIDCapacityResponse) Status ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) Status() string
Status returns HTTPResponse.Status
func (PutClustersClusterIDRigsRigIDCapacityResponse) StatusCode ¶
func (r PutClustersClusterIDRigsRigIDCapacityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutClustersClusterIDRigsRigIDCapacityResponse429Headers ¶
type PutClustersClusterIDRigsRigIDCapacityResponse429Headers struct {
RetryAfter *int
}
PutClustersClusterIDRigsRigIDCapacityResponse429Headers the declared response headers of an HTTP 429 response for PutClustersClusterIDRigsRigIDCapacity
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
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *N429
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PutSandboxesSandboxIDNetworkResponse429Headers
}
func ParsePutSandboxesSandboxIDNetworkResponse ¶
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) GetJSON429 ¶
func (r PutSandboxesSandboxIDNetworkResponse) GetJSON429() *N429
GetJSON429 returns the response for an HTTP 429 `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 PutSandboxesSandboxIDNetworkResponse429Headers ¶
type PutSandboxesSandboxIDNetworkResponse429Headers struct {
RetryAfter *int
}
PutSandboxesSandboxIDNetworkResponse429Headers the declared response headers of an HTTP 429 response for PutSandboxesSandboxIDNetwork
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 Rig ¶
type Rig struct {
// CapacityCurrent Number of instances currently attached to the rig
CapacityCurrent int32 `json:"capacityCurrent"`
// CapacityDesired Desired number of instances in the rig
CapacityDesired int32 `json:"capacityDesired"`
// CapacityMax Maximum capacity enforced on the rig's scaling group. Omitted when nothing enforces bounds (GCP MIG without an active autoscaler).
CapacityMax *int32 `json:"capacityMax,omitempty"`
// CapacityMin Minimum capacity enforced on the rig's scaling group. Omitted when nothing enforces bounds (GCP MIG without an active autoscaler).
CapacityMin *int32 `json:"capacityMin,omitempty"`
// Id Rig identifier (e.g. "default")
Id string `json:"id"`
// Provider Cloud provider backing the rig ("aws" or "gcp")
Provider string `json:"provider"`
// ResourceID Canonical cloud resource ID of the scaling group backing the rig (ARN on AWS, self-link on GCP)
ResourceID string `json:"resourceID"`
}
Rig An orchestrator node pool backed by one cloud scaling group
type RigCapacityChange ¶
type RigCapacityChange struct {
// Desired Absolute desired number of instances in the rig
Desired int32 `json:"desired"`
}
RigCapacityChange Desired capacity to set on the rig's scaling group
type RigError ¶
type RigError struct {
// Action Action being performed when the error occurred (e.g. CREATING)
Action *string `json:"action,omitempty"`
// Code Provider-specific error code (e.g. ZONE_RESOURCE_POOL_EXHAUSTED, Failed)
Code string `json:"code"`
// Instance Instance the error relates to, if any
Instance *string `json:"instance,omitempty"`
// Message Human-readable error message
Message string `json:"message"`
// Timestamp When the error occurred
Timestamp time.Time `json:"timestamp"`
}
RigError Scaling error on the rig's scaling group, e.g. a failed instance creation due to resource exhaustion
type RigInstance ¶
type RigInstance struct {
// CreatedAt When the provider created the instance. Omitted while the instance is transitioning.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Id Provider instance ID (EC2 instance ID on AWS, instance name on GCP), also the node ID the orchestrator reports
Id string `json:"id"`
// Terminating The instance is on its way out of the group and can never become healthy again
Terminating bool `json:"terminating"`
// Transitioning The provider is creating, deleting, recreating or otherwise mutating the instance
Transitioning bool `json:"transitioning"`
}
RigInstance An instance attached to a rig's scaling group
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"`
// Tls TLS for the connection to the SOCKS5 proxy. The SOCKS5 negotiation and the tunneled traffic both run inside the TLS session, so the proxy credentials are not sent in the clear. This secures only the hop to the proxy; what the proxy does onward is its own concern. A half-close from the sandbox reaches the proxy as a TLS close_notify, not a TCP FIN, and a proxy that treats close_notify as a full close cuts the reply short.
Tls *SandboxEgressProxyTLSConfig `json:"tls,omitempty"`
// Username Optional SOCKS5 username (RFC 1929), max 255 bytes.
Username *string `json:"username,omitempty"`
}
SandboxEgressProxyConfig SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
type SandboxEgressProxyTLSConfig ¶
type SandboxEgressProxyTLSConfig struct {
// CaCert One or more PEM-encoded certificates to verify the proxy against, for a proxy fronted by a private CA. These replace the system trust store, which is what is used when this is omitted. The system trust store depends on the host the orchestrator runs on, so set this to get the same verification everywhere.
CaCert *string `json:"caCert,omitempty"`
// Enabled Connect to the proxy over TLS. When false, no other field in this object may be set.
Enabled bool `json:"enabled"`
// ServerName Name to verify the proxy certificate against, and to send as SNI. Defaults to the host part of address. Set this only when the certificate does not match the address the proxy is reached at.
ServerName *string `json:"serverName,omitempty"`
}
SandboxEgressProxyTLSConfig TLS for the connection to the SOCKS5 proxy. The SOCKS5 negotiation and the tunneled traffic both run inside the TLS session, so the proxy credentials are not sent in the clear. This secures only the hop to the proxy; what the proxy does onward is its own concern. A half-close from the sandbox reaches the proxy as a TLS close_notify, not a TCP FIN, and a proxy that treats close_notify as a full close cuts the reply short.
type SandboxEvent ¶
type SandboxEvent struct {
// EventCategory Category of the event (e.g., 'lifecycle', 'process', etc.)
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
EventCategory *string `json:"eventCategory,omitempty"`
// EventData Optional JSON data associated with the event
EventData *map[string]interface{} `json:"eventData,omitempty"`
// EventLabel Label for the specific event type (e.g., 'sandbox_started', 'process_oom', etc.)
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
EventLabel *string `json:"eventLabel,omitempty"`
// Id Event unique identifier
Id openapi_types.UUID `json:"id"`
// SandboxBuildId Unique identifier for the sandbox build
SandboxBuildId string `json:"sandboxBuildId"`
// SandboxExecutionId Unique identifier for the sandbox execution
SandboxExecutionId string `json:"sandboxExecutionId"`
// SandboxId Unique identifier for the sandbox
SandboxId string `json:"sandboxId"`
// SandboxTeamId Team identifier associated with the sandbox
SandboxTeamId openapi_types.UUID `json:"sandboxTeamId"`
// SandboxTemplateId Unique identifier for the sandbox template
SandboxTemplateId string `json:"sandboxTemplateId"`
// Timestamp Timestamp of the event
Timestamp time.Time `json:"timestamp"`
// Type Event name
Type string `json:"type"`
// Version Event structure version
Version string `json:"version"`
}
SandboxEvent Sandbox event
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"`
// HttpsPorts Sandbox ports that serve HTTPS rather than plaintext HTTP. Affects how the proxy reaches the service inside the sandbox; the public URL is HTTPS either way. Certificates are not verified, so self-signed ones work. The envd port (49983) cannot be listed.
HttpsPorts *[]uint32 `json:"httpsPorts,omitempty"`
// MaskRequestHost Specify host mask which will be used for all sandbox requests
MaskRequestHost *string `json:"maskRequestHost,omitempty"`
// Rules Per-domain transform rules applied to matching outbound HTTPS requests. Keys may be exact DNS names (for example, "api.example.com") or a leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}
SandboxNetworkConfig defines model for SandboxNetworkConfig.
type SandboxNetworkRule ¶
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 {
// Memory Whether to capture a full memory snapshot. When false, only the filesystem is persisted: the snapshot is smaller and faster to take, and sandboxes created from it cold-boot (start fresh from disk) instead of restoring memory, so they begin without the source sandbox's running processes, in-memory state, and open connections. The source sandbox keeps running in both cases. Defaults to true.
Memory *bool `json:"memory,omitempty"`
// Name Optional name for the snapshot template. If a snapshot template with this name already exists, a new build will be assigned to the existing template instead of creating a new one.
Name *string `json:"name,omitempty"`
}
SandboxSnapshotRequest defines model for SandboxSnapshotRequest.
type SandboxState ¶
type SandboxState string
SandboxState State of the sandbox
const ( Paused SandboxState = "paused" Running SandboxState = "running" )
Defines values for SandboxState.
func (SandboxState) Valid ¶
func (e SandboxState) Valid() bool
Valid indicates whether the value is a known member of the SandboxState enum.
type SandboxTimeoutRequest ¶
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 {
// Headers Request headers that must be sent with the upload request
Headers *map[string]string `json:"headers,omitempty"`
// Present Whether the file is already present in the cache
Present bool `json:"present"`
// Url Url where the file should be uploaded to
Url *string `json:"url,omitempty"`
}
TemplateBuildFileUpload defines model for TemplateBuildFileUpload.
type TemplateBuildInfo ¶
type TemplateBuildInfo struct {
// BuildID Identifier of the build
BuildID string `json:"buildID"`
// LogEntries Build logs structured
LogEntries []BuildLogEntry `json:"logEntries"`
// Logs Build logs (always empty since the V1 build path was removed, use logEntries)
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Logs []string `json:"logs"`
Reason *BuildStatusReason `json:"reason,omitempty"`
// Status Status of the template build
Status TemplateBuildStatus `json:"status"`
// TemplateID Identifier of the template
TemplateID string `json:"templateID"`
}
TemplateBuildInfo defines model for TemplateBuildInfo.
type TemplateBuildLogsResponse ¶
type TemplateBuildLogsResponse struct {
// Logs Build logs structured
Logs []BuildLogEntry `json:"logs"`
}
TemplateBuildLogsResponse defines model for TemplateBuildLogsResponse.
type TemplateBuildRequestV3 ¶
type TemplateBuildRequestV3 struct {
// Alias Alias of the template. Deprecated, use name instead.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Alias *string `json:"alias,omitempty"`
// CpuCount CPU cores for the sandbox
CpuCount *CPUCount `json:"cpuCount,omitempty"`
// MemoryMB Memory for the sandbox in MiB
MemoryMB *MemoryMB `json:"memoryMB,omitempty"`
// MinFreeDiskMb Requested minimum free space after the template's build steps, in MiB. Omit to use the team's default. Set to 0 to request no minimum free-disk growth. The filesystem is never shrunk, including inherited or already-larger filesystems. Growth is best effort, so filesystem metadata can leave the available space slightly below the requested minimum.
MinFreeDiskMb *MinFreeDiskMb `json:"minFreeDiskMb,omitempty"`
// Name Name of the template. Can include a tag with colon separator (e.g. "my-template" or "my-template:v1"). If tag is included, it will be treated as if the tag was provided in the tags array.
Name *string `json:"name,omitempty"`
// Tags Tags to assign to the template build
Tags *[]string `json:"tags,omitempty"`
// TeamID Identifier of the team, as its UUID or its public project ID (prj_)
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
TeamID *string `json:"teamID,omitempty"`
}
TemplateBuildRequestV3 defines model for TemplateBuildRequestV3.
type TemplateBuildStartV2 ¶
type TemplateBuildStartV2 struct {
// Force Whether the whole build should be forced to run regardless of the cache
Force *bool `json:"force,omitempty"`
// FromImage Image to use as a base for the template build
FromImage *string `json:"fromImage,omitempty"`
FromImageRegistry *FromImageRegistry `json:"fromImageRegistry,omitempty"`
// FromTemplate Template to use as a base for the template build
FromTemplate *string `json:"fromTemplate,omitempty"`
// ReadyCmd Ready check command to execute in the template after the build
ReadyCmd *string `json:"readyCmd,omitempty"`
// StartCmd Start command to execute in the template after the build
StartCmd *string `json:"startCmd,omitempty"`
// Steps List of steps to execute in the template build
Steps *[]TemplateStep `json:"steps,omitempty"`
}
TemplateBuildStartV2 Exactly one of fromImage or fromTemplate must be given and non-empty.
type TemplateBuildStatus ¶
type TemplateBuildStatus string
TemplateBuildStatus Status of the template build
const ( TemplateBuildStatusBuilding TemplateBuildStatus = "building" TemplateBuildStatusError TemplateBuildStatus = "error" TemplateBuildStatusReady TemplateBuildStatus = "ready" TemplateBuildStatusWaiting TemplateBuildStatus = "waiting" )
Defines values for TemplateBuildStatus.
func (TemplateBuildStatus) Valid ¶
func (e TemplateBuildStatus) Valid() bool
Valid indicates whether the value is a known member of the TemplateBuildStatus enum.
type TemplateRequestResponseV3 ¶
type TemplateRequestResponseV3 struct {
// Aliases Aliases of the template
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Aliases []string `json:"aliases"`
// BuildID Identifier of the last successful build for given template
BuildID string `json:"buildID"`
// Names Names of the template
Names []string `json:"names"`
// Public Whether the template is public or only accessible by the team
Public bool `json:"public"`
// Tags Tags assigned to the template build
Tags []string `json:"tags"`
// TemplateID Identifier of the template
TemplateID string `json:"templateID"`
}
TemplateRequestResponseV3 defines model for TemplateRequestResponseV3.
type TemplateStep ¶
type TemplateStep struct {
// Args Arguments for the step
Args *[]string `json:"args,omitempty"`
// FilesHash Hash of the files used in the step (lowercase hex SHA-256)
FilesHash *string `json:"filesHash,omitempty"`
// Force Whether the step should be forced to run regardless of the cache
Force *bool `json:"force,omitempty"`
// Type Type of the step
Type string `json:"type"`
}
TemplateStep Step in the template build process
type TemplateTag ¶
type TemplateTag struct {
// BuildID Identifier of the build associated with this tag
BuildID openapi_types.UUID `json:"buildID"`
// CreatedAt Time when the tag was assigned
CreatedAt time.Time `json:"createdAt"`
// Tag The tag name
Tag string `json:"tag"`
}
TemplateTag defines model for TemplateTag.
type 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.
type WebhookConfiguration ¶
type WebhookConfiguration struct {
Enabled *bool `json:"enabled,omitempty"`
Events *[]string `json:"events,omitempty"`
// Name Webhook user friendly name
Name *string `json:"name,omitempty"`
// SignatureSecret Secret used to sign the webhook payloads
SignatureSecret *string `json:"signatureSecret,omitempty"`
Url *string `json:"url,omitempty"`
}
WebhookConfiguration Configuration for updating existing webhooks
type WebhookCreate ¶
type WebhookCreate struct {
Enabled *bool `json:"enabled,omitempty"`
Events []string `json:"events"`
Name string `json:"name"`
// SignatureSecret Secret used to sign the webhook payloads
SignatureSecret string `json:"signatureSecret"`
Url string `json:"url"`
}
WebhookCreate Configuration for registering new webhooks
type WebhookCreation ¶
type WebhookCreation struct {
// CreatedAt Time when the template was created
CreatedAt time.Time `json:"createdAt"`
Enabled bool `json:"enabled"`
Events []string `json:"events"`
// Id Webhook unique identifier
Id string `json:"id"`
// Name Webhook user friendly name
Name string `json:"name"`
// TeamId Unique identifier for the team
TeamId string `json:"teamId"`
Url string `json:"url"`
}
WebhookCreation Webhook creation response
type WebhookDeliveriesListPayload ¶
type WebhookDeliveriesListPayload struct {
Data []WebhookDeliveryGroup `json:"data"`
// NextCursor Cursor to pass to the next list request, or null when there is no next page.
NextCursor *string `json:"nextCursor"`
}
WebhookDeliveriesListPayload Paginated webhook delivery attempts grouped by event
type WebhookDelivery ¶
type WebhookDelivery struct {
// DurationMs Delivery request duration in milliseconds
DurationMs int32 `json:"durationMs"`
// ErrorClass Machine-readable non-HTTP or HTTP failure class
ErrorClass *WebhookDeliveryErrorClass `json:"errorClass"`
// ErrorMessage Error message for failures without a useful response body
ErrorMessage *string `json:"errorMessage,omitempty"`
// EventId Sandbox event identifier
EventId openapi_types.UUID `json:"eventId"`
// EventType Sandbox event type
EventType string `json:"eventType"`
// Id Delivery attempt identifier
Id openapi_types.UUID `json:"id"`
// RequestBody Serialized webhook request body
RequestBody string `json:"requestBody"`
// RequestHeaders JSON-encoded request headers with sensitive values redacted
RequestHeaders string `json:"requestHeaders"`
// RequestUrl URL attempted for this delivery
RequestUrl string `json:"requestUrl"`
// ResponseBody Truncated response body, if a response was received
ResponseBody *string `json:"responseBody,omitempty"`
// ResponseHeaders JSON-encoded response headers, if a response was received
ResponseHeaders *string `json:"responseHeaders,omitempty"`
// ResponseHttpStatusCode HTTP response status code, if a response was received
ResponseHttpStatusCode *int32 `json:"responseHttpStatusCode,omitempty"`
// SandboxId Sandbox identifier
SandboxId string `json:"sandboxId"`
// Status Delivery attempt status
Status WebhookDeliveryStatus `json:"status"`
// TeamId Team identifier
TeamId openapi_types.UUID `json:"teamId"`
// Timestamp Time when the delivery attempt started
Timestamp time.Time `json:"timestamp"`
// WebhookId Webhook configuration identifier
WebhookId openapi_types.UUID `json:"webhookId"`
}
WebhookDelivery Webhook delivery attempt
type WebhookDeliveryDurationStats ¶
type WebhookDeliveryDurationStats struct {
Average float64 `json:"average"`
Maximum float64 `json:"maximum"`
Minimum float64 `json:"minimum"`
}
WebhookDeliveryDurationStats Webhook delivery duration statistics in milliseconds
type WebhookDeliveryErrorClass ¶
type WebhookDeliveryErrorClass string
WebhookDeliveryErrorClass Machine-readable non-HTTP or HTTP failure class
const ( Canceled WebhookDeliveryErrorClass = "canceled" DnsError WebhookDeliveryErrorClass = "dns_error" HttpError WebhookDeliveryErrorClass = "http_error" RequestError WebhookDeliveryErrorClass = "request_error" SignatureError WebhookDeliveryErrorClass = "signature_error" Timeout WebhookDeliveryErrorClass = "timeout" TransportError WebhookDeliveryErrorClass = "transport_error" )
Defines values for WebhookDeliveryErrorClass.
func (WebhookDeliveryErrorClass) Valid ¶
func (e WebhookDeliveryErrorClass) Valid() bool
Valid indicates whether the value is a known member of the WebhookDeliveryErrorClass enum.
type WebhookDeliveryGroup ¶
type WebhookDeliveryGroup struct {
Attempts []WebhookDelivery `json:"attempts"`
EventId openapi_types.UUID `json:"eventId"`
EventType string `json:"eventType"`
SandboxId string `json:"sandboxId"`
}
WebhookDeliveryGroup Webhook delivery attempts grouped by sandbox event
type WebhookDeliveryStats ¶
type WebhookDeliveryStats struct {
Buckets []WebhookDeliveryStatsBucket `json:"buckets"`
// DurationMs Webhook delivery duration statistics in milliseconds
DurationMs WebhookDeliveryDurationStats `json:"durationMs"`
Failed int64 `json:"failed"`
Total int64 `json:"total"`
}
WebhookDeliveryStats Webhook delivery aggregate stats
type WebhookDeliveryStatsBucket ¶
type WebhookDeliveryStatsBucket struct {
// DurationMs Webhook delivery duration statistics in milliseconds
DurationMs WebhookDeliveryDurationStats `json:"durationMs"`
Failed int64 `json:"failed"`
Timestamp time.Time `json:"timestamp"`
Total int64 `json:"total"`
}
WebhookDeliveryStatsBucket Webhook delivery stats for a time bucket
type WebhookDeliveryStatus ¶
type WebhookDeliveryStatus string
WebhookDeliveryStatus Delivery attempt status
const ( WebhookDeliveryStatusFailed WebhookDeliveryStatus = "failed" WebhookDeliveryStatusSuccess WebhookDeliveryStatus = "success" )
Defines values for WebhookDeliveryStatus.
func (WebhookDeliveryStatus) Valid ¶
func (e WebhookDeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the WebhookDeliveryStatus enum.
type WebhookDetail ¶
type WebhookDetail struct {
// CreatedAt Time when the template was created
CreatedAt time.Time `json:"createdAt"`
Enabled bool `json:"enabled"`
Events []string `json:"events"`
// Id Webhook unique identifier
Id string `json:"id"`
// Name Webhook user friendly name
Name string `json:"name"`
// TeamId Unique identifier for the team
TeamId string `json:"teamId"`
Url string `json:"url"`
}
WebhookDetail Webhook detail response