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.2 DO NOT EDIT.
Package api is the Dekka API client, generated by oapi-codegen from the public OpenAPI document vendored at openapi/openapi.json.
Index ¶
- func NewAcceptInvitationRequest(server string, body AcceptInvitationJSONRequestBody) (*http.Request, error)
- func NewAcceptInvitationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAcceptTermsRequest(server string, body AcceptTermsJSONRequestBody) (*http.Request, error)
- func NewAcceptTermsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewApplyForEarlyAccessRequest(server string, body ApplyForEarlyAccessJSONRequestBody) (*http.Request, error)
- func NewApplyForEarlyAccessRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewApproveCliLoginRequest(server string, userCode string, body ApproveCliLoginJSONRequestBody) (*http.Request, error)
- func NewApproveCliLoginRequestWithBody(server string, userCode string, contentType string, body io.Reader) (*http.Request, error)
- func NewCancelDeploymentRequest(server string, deploymentId openapi_types.UUID) (*http.Request, error)
- func NewCancelSubscriptionRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewCloseSupportTicketRequest(server string, ticketId openapi_types.UUID) (*http.Request, error)
- func NewCollectCliLoginRequest(server string, body CollectCliLoginJSONRequestBody) (*http.Request, error)
- func NewCollectCliLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewConsumeMagicLinkRequest(server string, body ConsumeMagicLinkJSONRequestBody) (*http.Request, error)
- func NewConsumeMagicLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateApiKeyRequest(server string, orgId openapi_types.UUID, body CreateApiKeyJSONRequestBody) (*http.Request, error)
- func NewCreateApiKeyRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateChatCompletionRequest(server string, body CreateChatCompletionJSONRequestBody) (*http.Request, error)
- func NewCreateChatCompletionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateConnectionRequest(server string, projectId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateConnectionRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateDatabaseBackupRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewCreateDeploymentRequest(server string, resourceId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateDeploymentRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateDomainRequest(server string, resourceId openapi_types.UUID, body CreateDomainJSONRequestBody) (*http.Request, error)
- func NewCreateDomainRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateEnvironmentRequest(server string, projectId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateEnvironmentRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateGpuRequestRequest(server string, orgId openapi_types.UUID, body CreateGpuRequestJSONRequestBody) (*http.Request, error)
- func NewCreateGpuRequestRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateImageRequest(server string, body CreateImageJSONRequestBody) (*http.Request, error)
- func NewCreateImageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInferenceEndpointRequest(server string, orgId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateInferenceEndpointRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateJobRunRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewCreateOrgInvitationRequest(server string, orgId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateOrgInvitationRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectRequest(server string, orgId openapi_types.UUID, body CreateProjectJSONRequestBody) (*http.Request, error)
- func NewCreateProjectRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectTokenRequest(server string, projectId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateProjectTokenRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateProjectWebhookRequest(server string, projectId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateProjectWebhookRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateProviderKeyRequest(server string, orgId openapi_types.UUID, body CreateProviderKeyJSONRequestBody) (*http.Request, error)
- func NewCreateProviderKeyRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRegistryCredentialRequest(server string, orgId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateRegistryCredentialRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateResourceRequest(server string, projectId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateResourceRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateServerRequest(server string, projectId openapi_types.UUID, body CreateServerJSONRequestBody) (*http.Request, error)
- func NewCreateServerRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateServerSnapshotRequest(server string, serverId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateServerSnapshotRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSpeechRequest(server string, body CreateSpeechJSONRequestBody) (*http.Request, error)
- func NewCreateSpeechRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSshKeyRequest(server string, orgId openapi_types.UUID, body CreateSshKeyJSONRequestBody) (*http.Request, error)
- func NewCreateSshKeyRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTranscriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVolumeBackupRequest(server string, volumeId openapi_types.UUID) (*http.Request, error)
- func NewCreateVolumeRequest(server string, resourceId openapi_types.UUID, body CreateVolumeJSONRequestBody) (*http.Request, error)
- func NewCreateVolumeRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewDeclaredServicesRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewDeleteChangesetChangeRequest(server string, changeId openapi_types.UUID) (*http.Request, error)
- func NewDeleteConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error)
- func NewDeleteDomainRequest(server string, domainId openapi_types.UUID) (*http.Request, error)
- func NewDeleteEnvVarRequest(server string, resourceId openapi_types.UUID, key string) (*http.Request, error)
- func NewDeleteEnvironmentRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
- func NewDeleteInferenceEndpointRequest(server string, endpointId openapi_types.UUID) (*http.Request, error)
- func NewDeleteMyPasskeyRequest(server string, passkeyId openapi_types.UUID) (*http.Request, error)
- func NewDeletePreviewRequest(server string, previewId openapi_types.UUID) (*http.Request, error)
- func NewDeleteProjectRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewDeleteRegistryCredentialRequest(server string, orgId openapi_types.UUID, credentialId openapi_types.UUID) (*http.Request, error)
- func NewDeleteResourceRequest(server string, resourceId openapi_types.UUID, params *DeleteResourceParams) (*http.Request, error)
- func NewDeleteServerRequest(server string, serverId openapi_types.UUID, params *DeleteServerParams) (*http.Request, error)
- func NewDeleteServerSnapshotRequest(server string, serverId openapi_types.UUID, snapshotId int) (*http.Request, error)
- func NewDeleteSharedVariableRequest(server string, environmentId openapi_types.UUID, key string) (*http.Request, error)
- func NewDeleteSshKeyRequest(server string, keyId openapi_types.UUID) (*http.Request, error)
- func NewDeleteVolumeRequest(server string, volumeId openapi_types.UUID) (*http.Request, error)
- func NewDeleteWebhookRequest(server string, webhookId openapi_types.UUID) (*http.Request, error)
- func NewDenyCliLoginRequest(server string, userCode string) (*http.Request, error)
- func NewDeployChangesetRequest(server string, changesetId openapi_types.UUID, ...) (*http.Request, error)
- func NewDeployChangesetRequestWithBody(server string, changesetId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewDetectGithubSettingsRequest(server string, installationId int, repoId int, ...) (*http.Request, error)
- func NewDiscardChangesetRequest(server string, changesetId openapi_types.UUID) (*http.Request, error)
- func NewDowngradeSubscriptionRequest(server string, orgId openapi_types.UUID, ...) (*http.Request, error)
- func NewDowngradeSubscriptionRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewDownloadInvoiceRequest(server string, orgId openapi_types.UUID, invoiceId openapi_types.UUID) (*http.Request, error)
- func NewEnvironmentReferenceTargetsRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
- func NewEstimateRequest(server string, body EstimateJSONRequestBody) (*http.Request, error)
- func NewEstimateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAiMetricsRequest(server string, orgId openapi_types.UUID, params *GetAiMetricsParams) (*http.Request, error)
- func NewGetAiPolicyRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewGetAiPrivacyRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewGetAnalyticsSummaryRequest(server string, params *GetAnalyticsSummaryParams) (*http.Request, error)
- func NewGetAnnouncementRequest(server string) (*http.Request, error)
- func NewGetBackupRequest(server string, backupId openapi_types.UUID) (*http.Request, error)
- func NewGetBillingCheckoutRequest(server string, orgId openapi_types.UUID, reference string) (*http.Request, error)
- func NewGetBillingDetailsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewGetCanvasRequest(server string, projectId openapi_types.UUID, params *GetCanvasParams) (*http.Request, error)
- func NewGetChangesetRequest(server string, changesetId openapi_types.UUID) (*http.Request, error)
- func NewGetCliLoginRequest(server string, userCode string) (*http.Request, error)
- func NewGetCsrfTokenRequest(server string) (*http.Request, error)
- func NewGetDeploymentLogsRequest(server string, deploymentId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetDeploymentRequest(server string, deploymentId openapi_types.UUID) (*http.Request, error)
- func NewGetEnvironmentChangesetRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
- func NewGetEnvironmentFirewallRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
- func NewGetEnvironmentRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
- func NewGetGithubInstallUrlRequest(server string, orgId openapi_types.UUID, params *GetGithubInstallUrlParams) (*http.Request, error)
- func NewGetInferenceEndpointRequest(server string, endpointId openapi_types.UUID) (*http.Request, error)
- func NewGetInvoiceRequest(server string, orgId openapi_types.UUID, invoiceId openapi_types.UUID) (*http.Request, error)
- func NewGetJobRunLogsRequest(server string, runId openapi_types.UUID, params *GetJobRunLogsParams) (*http.Request, error)
- func NewGetJobRunRequest(server string, runId openapi_types.UUID) (*http.Request, error)
- func NewGetMeRequest(server string) (*http.Request, error)
- func NewGetNotificationPreferencesRequest(server string) (*http.Request, error)
- func NewGetOperationRequest(server string, operationId openapi_types.UUID) (*http.Request, error)
- func NewGetOrgOverviewRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewGetOrgRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewGetOrgSubscriptionRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewGetPreviewRequest(server string, previewId openapi_types.UUID) (*http.Request, error)
- func NewGetProjectRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewGetRawEnvRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewGetRawSharedVariablesRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
- func NewGetResourceHttpLogsRequest(server string, resourceId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetResourceLogsRequest(server string, resourceId openapi_types.UUID, params *GetResourceLogsParams) (*http.Request, error)
- func NewGetResourceMetricsRequest(server string, resourceId openapi_types.UUID, params *GetResourceMetricsParams) (*http.Request, error)
- func NewGetResourceRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewGetServerRequest(server string, serverId openapi_types.UUID) (*http.Request, error)
- func NewGetSpendLimitRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewGetSupportTicketRequest(server string, ticketId openapi_types.UUID) (*http.Request, error)
- func NewGetTemplateRequest(server string, templateId string) (*http.Request, error)
- func NewGetUpcomingInvoiceRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewGetUsageSummaryRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewGetVolumeRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewGithubLoginCallbackRequest(server string, params *GithubLoginCallbackParams) (*http.Request, error)
- func NewGithubLoginStartRequest(server string, params *GithubLoginStartParams) (*http.Request, error)
- func NewGithubSetupAuthorizedRequest(server string, params *GithubSetupAuthorizedParams) (*http.Request, error)
- func NewGithubSetupCallbackRequest(server string, params *GithubSetupCallbackParams) (*http.Request, error)
- func NewGoogleLoginCallbackRequest(server string, params *GoogleLoginCallbackParams) (*http.Request, error)
- func NewGoogleLoginStartRequest(server string, params *GoogleLoginStartParams) (*http.Request, error)
- func NewGpuCatalogRequest(server string) (*http.Request, error)
- func NewHealthzRequest(server string) (*http.Request, error)
- func NewLeaveAMessageRequest(server string, body LeaveAMessageJSONRequestBody) (*http.Request, error)
- func NewLeaveAMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewListAiModelsRequest(server string) (*http.Request, error)
- func NewListAiRequestsRequest(server string, orgId openapi_types.UUID, params *ListAiRequestsParams) (*http.Request, error)
- func NewListApiKeysRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListConnectionStringsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewListConnectionsRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewListDataLocationsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewListDatabaseBackupsRequest(server string, resourceId openapi_types.UUID, ...) (*http.Request, error)
- func NewListDatabaseTablesRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewListDomainsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewListEnvRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewListEnvironmentChangesetsRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewListEnvironmentsRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewListGatewayModelsRequest(server string) (*http.Request, error)
- func NewListGithubBranchesRequest(server string, installationId int, repoId int) (*http.Request, error)
- func NewListGithubInstallationsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListGithubReposRequest(server string, installationId int) (*http.Request, error)
- func NewListGpuRequestsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListInferenceEndpointsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListInvoicesRequest(server string, orgId openapi_types.UUID, params *ListInvoicesParams) (*http.Request, error)
- func NewListJobRunsRequest(server string, resourceId openapi_types.UUID, params *ListJobRunsParams) (*http.Request, error)
- func NewListMembersRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListMyPasskeysRequest(server string) (*http.Request, error)
- func NewListMySessionsRequest(server string) (*http.Request, error)
- func NewListOrgActivityRequest(server string, orgId openapi_types.UUID, params *ListOrgActivityParams) (*http.Request, error)
- func NewListOrgInvitationsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListPaymentMethodsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListPlansRequest(server string) (*http.Request, error)
- func NewListPreviewsRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewListPricesRequest(server string) (*http.Request, error)
- func NewListProjectDeploymentsRequest(server string, projectId openapi_types.UUID, ...) (*http.Request, error)
- func NewListProjectOperationsRequest(server string, projectId openapi_types.UUID, ...) (*http.Request, error)
- func NewListProjectTokensRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewListProjectWebhooksRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewListProjectsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListProviderKeysRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListRedisKeysRequest(server string, resourceId openapi_types.UUID, params *ListRedisKeysParams) (*http.Request, error)
- func NewListRegionsRequest(server string) (*http.Request, error)
- func NewListRegistryCredentialsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListResourceDeploymentsRequest(server string, resourceId openapi_types.UUID, ...) (*http.Request, error)
- func NewListResourcesRequest(server string, projectId openapi_types.UUID, params *ListResourcesParams) (*http.Request, error)
- func NewListServerSnapshotsRequest(server string, serverId openapi_types.UUID) (*http.Request, error)
- func NewListServersRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewListSharedVariablesRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
- func NewListSshKeysRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewListSupportTicketsRequest(server string) (*http.Request, error)
- func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)
- func NewListUsageRecordsRequest(server string, orgId openapi_types.UUID, params *ListUsageRecordsParams) (*http.Request, error)
- func NewListVolumeBackupsRequest(server string, volumeId openapi_types.UUID, params *ListVolumeBackupsParams) (*http.Request, error)
- func NewListWebhookDeliveriesRequest(server string, webhookId openapi_types.UUID, ...) (*http.Request, error)
- func NewLogoutRequest(server string) (*http.Request, error)
- func NewOpenSupportTicketRequest(server string, body OpenSupportTicketJSONRequestBody) (*http.Request, error)
- func NewOpenSupportTicketRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPasskeyRegistrationOptionsRequest(server string) (*http.Request, error)
- func NewPasskeySignInOptionsRequest(server string, body PasskeySignInOptionsJSONRequestBody) (*http.Request, error)
- func NewPasskeySignInOptionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPasskeySignInRequest(server string, body PasskeySignInJSONRequestBody) (*http.Request, error)
- func NewPasskeySignInRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPaystackCheckoutCallbackRequest(server string, params *PaystackCheckoutCallbackParams) (*http.Request, error)
- func NewPlanBlueprintRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewPlanBlueprintRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPlanComposeRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewPlanComposeRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPlanDeclaredServicesRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewPlanTemplateRequest(server string, environmentId openapi_types.UUID, templateId string, ...) (*http.Request, error)
- func NewPlanTemplateRequestWithBody(server string, environmentId openapi_types.UUID, templateId string, ...) (*http.Request, error)
- func NewPreviewAiPrivacyRequest(server string, projectId openapi_types.UUID, ...) (*http.Request, error)
- func NewPreviewAiPrivacyRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPreviewInvitationRequest(server string, token string) (*http.Request, error)
- func NewPutAiPolicyRequest(server string, projectId openapi_types.UUID, body PutAiPolicyJSONRequestBody) (*http.Request, error)
- func NewPutAiPolicyRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPutAiPrivacyRequest(server string, projectId openapi_types.UUID, body PutAiPrivacyJSONRequestBody) (*http.Request, error)
- func NewPutAiPrivacyRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPutBillingDetailsRequest(server string, orgId openapi_types.UUID, body PutBillingDetailsJSONRequestBody) (*http.Request, error)
- func NewPutBillingDetailsRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewPutCanvasRequest(server string, projectId openapi_types.UUID, params *PutCanvasParams, ...) (*http.Request, error)
- func NewPutCanvasRequestWithBody(server string, projectId openapi_types.UUID, params *PutCanvasParams, ...) (*http.Request, error)
- func NewPutEnvRequest(server string, resourceId openapi_types.UUID, body PutEnvJSONRequestBody) (*http.Request, error)
- func NewPutEnvRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPutNotificationPreferencesRequest(server string, body PutNotificationPreferencesJSONRequestBody) (*http.Request, error)
- func NewPutNotificationPreferencesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutRawEnvRequest(server string, resourceId openapi_types.UUID, body PutRawEnvJSONRequestBody) (*http.Request, error)
- func NewPutRawEnvRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPutRawSharedVariablesRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutRawSharedVariablesRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPutSharedVariablesRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutSharedVariablesRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPutSpendLimitRequest(server string, orgId openapi_types.UUID, body PutSpendLimitJSONRequestBody) (*http.Request, error)
- func NewPutSpendLimitRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewReadComposeRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewReadComposeRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewReadyzRequest(server string) (*http.Request, error)
- func NewRebuildServerRequest(server string, serverId openapi_types.UUID, body RebuildServerJSONRequestBody) (*http.Request, error)
- func NewRebuildServerRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewReceiveGithubWebhookRequest(server string) (*http.Request, error)
- func NewReceivePaystackWebhookRequest(server string) (*http.Request, error)
- func NewRecordAnalyticsEventRequest(server string, body RecordAnalyticsEventJSONRequestBody) (*http.Request, error)
- func NewRecordAnalyticsEventRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRedeliverWebhookDeliveryRequest(server string, deliveryId openapi_types.UUID) (*http.Request, error)
- func NewRegisterPasskeyRequest(server string, body RegisterPasskeyJSONRequestBody) (*http.Request, error)
- func NewRegisterPasskeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveDeploymentRequest(server string, deploymentId openapi_types.UUID) (*http.Request, error)
- func NewRemoveOrgMemberRequest(server string, orgId openapi_types.UUID, userId openapi_types.UUID) (*http.Request, error)
- func NewRemovePaymentMethodRequest(server string, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID) (*http.Request, error)
- func NewReplaceEnvironmentFirewallRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewReplaceEnvironmentFirewallRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewReplySupportTicketRequest(server string, ticketId openapi_types.UUID, ...) (*http.Request, error)
- func NewReplySupportTicketRequestWithBody(server string, ticketId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewRequestMagicLinkRequest(server string, body RequestMagicLinkJSONRequestBody) (*http.Request, error)
- func NewRequestMagicLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewResizeServerRequest(server string, serverId openapi_types.UUID, body ResizeServerJSONRequestBody) (*http.Request, error)
- func NewResizeServerRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewResizeVolumeRequest(server string, volumeId openapi_types.UUID, body ResizeVolumeJSONRequestBody) (*http.Request, error)
- func NewResizeVolumeRequestWithBody(server string, volumeId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewResourceReferenceTargetsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewRestoreBackupRequest(server string, backupId openapi_types.UUID, body RestoreBackupJSONRequestBody) (*http.Request, error)
- func NewRestoreBackupRequestWithBody(server string, backupId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewRestoreDatabaseRequest(server string, resourceId openapi_types.UUID, ...) (*http.Request, error)
- func NewRestoreDatabaseRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewResumeSubscriptionRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewRetryConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error)
- func NewRevealEnvVarRequest(server string, resourceId openapi_types.UUID, key string) (*http.Request, error)
- func NewRevealSharedVariableRequest(server string, environmentId openapi_types.UUID, key string) (*http.Request, error)
- func NewRevertServerSnapshotRequest(server string, serverId openapi_types.UUID, snapshotId int, ...) (*http.Request, error)
- func NewRevertServerSnapshotRequestWithBody(server string, serverId openapi_types.UUID, snapshotId int, contentType string, ...) (*http.Request, error)
- func NewRevokeApiKeyRequest(server string, apiKeyId openapi_types.UUID) (*http.Request, error)
- func NewRevokeInvitationRequest(server string, invitationId openapi_types.UUID) (*http.Request, error)
- func NewRevokeMySessionRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewRevokeProjectTokenRequest(server string, tokenId openapi_types.UUID) (*http.Request, error)
- func NewRevokeProviderKeyRequest(server string, keyId openapi_types.UUID) (*http.Request, error)
- func NewRollbackDeploymentRequest(server string, deploymentId openapi_types.UUID, ...) (*http.Request, error)
- func NewRollbackDeploymentRequestWithBody(server string, deploymentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewRotateDatabaseCredentialsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
- func NewRotateWebhookSecretRequest(server string, webhookId openapi_types.UUID) (*http.Request, error)
- func NewRunDatabaseQueryRequest(server string, resourceId openapi_types.UUID, ...) (*http.Request, error)
- func NewRunDatabaseQueryRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewRunResourceActionRequest(server string, resourceId openapi_types.UUID, ...) (*http.Request, error)
- func NewRunServerActionRequest(server string, serverId openapi_types.UUID, action RunServerActionParamsAction) (*http.Request, error)
- func NewSearchLogsRequest(server string, projectId openapi_types.UUID, params *SearchLogsParams) (*http.Request, error)
- func NewServerCatalogRequest(server string) (*http.Request, error)
- func NewSetDefaultPaymentMethodRequest(server string, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID) (*http.Request, error)
- func NewSetServerRootPasswordRequest(server string, serverId openapi_types.UUID, ...) (*http.Request, error)
- func NewSetServerRootPasswordRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetServerSnapshotScheduleRequest(server string, serverId openapi_types.UUID, ...) (*http.Request, error)
- func NewSetServerSnapshotScheduleRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewSimulateGithubPullRequestRequest(server string, body SimulateGithubPullRequestJSONRequestBody) (*http.Request, error)
- func NewSimulateGithubPullRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSimulateGithubPushRequest(server string, body SimulateGithubPushJSONRequestBody) (*http.Request, error)
- func NewSimulateGithubPushRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStageChangeRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewStageChangeRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewStartBillingCheckoutRequest(server string, orgId openapi_types.UUID, ...) (*http.Request, error)
- func NewStartBillingCheckoutRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewStartCliLoginRequest(server string, body StartCliLoginJSONRequestBody) (*http.Request, error)
- func NewStartCliLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStartEmailSignInRequest(server string, body StartEmailSignInJSONRequestBody) (*http.Request, error)
- func NewStartEmailSignInRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStreamDeploymentLogsRequest(server string, deploymentId openapi_types.UUID, ...) (*http.Request, error)
- func NewStreamProjectEventsRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
- func NewSubdomainAvailabilityRequest(server string, params *SubdomainAvailabilityParams) (*http.Request, error)
- func NewSwitchServerShellOffRequest(server string, serverId openapi_types.UUID) (*http.Request, error)
- func NewSwitchServerShellOnRequest(server string, serverId openapi_types.UUID) (*http.Request, error)
- func NewTestWebhookRequest(server string, webhookId openapi_types.UUID) (*http.Request, error)
- func NewTranslateComposeRequest(server string, body TranslateComposeJSONRequestBody) (*http.Request, error)
- func NewTranslateComposeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEnvironmentRequest(server string, environmentId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateEnvironmentRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateInferenceEndpointRequest(server string, endpointId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateInferenceEndpointRequestWithBody(server string, endpointId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateMeRequest(server string, body UpdateMeJSONRequestBody) (*http.Request, error)
- func NewUpdateMeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateOrgMemberRequest(server string, orgId openapi_types.UUID, userId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateOrgMemberRequestWithBody(server string, orgId openapi_types.UUID, userId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateOrgRequest(server string, orgId openapi_types.UUID, body UpdateOrgJSONRequestBody) (*http.Request, error)
- func NewUpdateOrgRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateProjectRequest(server string, projectId openapi_types.UUID, body UpdateProjectJSONRequestBody) (*http.Request, error)
- func NewUpdateProjectRequestWithBody(server string, projectId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateResourceRequest(server string, resourceId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateResourceRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateWebhookRequest(server string, webhookId openapi_types.UUID, body UpdateWebhookJSONRequestBody) (*http.Request, error)
- func NewUpdateWebhookRequestWithBody(server string, webhookId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewValidateBlueprintRequest(server string, body ValidateBlueprintJSONRequestBody) (*http.Request, error)
- func NewValidateBlueprintRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewVerifyBillingCheckoutRequest(server string, orgId openapi_types.UUID, reference string) (*http.Request, error)
- func NewVerifyDomainRequest(server string, domainId openapi_types.UUID) (*http.Request, error)
- func NewWithdrawGpuRequestRequest(server string, requestId openapi_types.UUID) (*http.Request, error)
- type AcceptInvitationJSONRequestBody
- type AcceptInvitationOut
- type AcceptInvitationRequest
- type AcceptInvitationResponse
- func (r AcceptInvitationResponse) ContentType() string
- func (r AcceptInvitationResponse) GetBody() []byte
- func (r AcceptInvitationResponse) GetJSON4XX() *ErrorEnvelope
- func (r AcceptInvitationResponse) GetJSON5XX() *ErrorEnvelope
- func (r AcceptInvitationResponse) GetJSON200() *AcceptInvitationOut
- func (r AcceptInvitationResponse) Status() string
- func (r AcceptInvitationResponse) StatusCode() int
- type AcceptTermsJSONRequestBody
- type AcceptTermsRequest
- type AcceptTermsResponse
- func (r AcceptTermsResponse) ContentType() string
- func (r AcceptTermsResponse) GetBody() []byte
- func (r AcceptTermsResponse) GetJSON4XX() *ErrorEnvelope
- func (r AcceptTermsResponse) GetJSON5XX() *ErrorEnvelope
- func (r AcceptTermsResponse) GetJSON200() *TermsStatus
- func (r AcceptTermsResponse) Status() string
- func (r AcceptTermsResponse) StatusCode() int
- type Accepted
- type AcceptedOrganization
- type ActiveOperation
- type ActivityItem
- type ActivityPage
- type Actor
- type AiGatewayBindingSpec
- type AiMetricsOut
- type AiModelKind
- type AiModelOut
- type AiPricingUnit
- type AiProvider
- type AiRequestOut
- type AiRequestPage
- type AiRequestStatus
- type AiRoute
- type AnalyticsSummary
- type AnnouncementOut
- type ApiKeyCreated
- type ApiKeyOut
- type AppDomainsBlueprintsSchemasVolumeOut
- type AppDomainsHealthRouterHealthOut
- type AppDomainsResourcesSchemasHealthOut
- type AppDomainsVolumesSchemasVolumeOut
- type ApplicationSpec
- type ApplicationSpec_Source
- func (t ApplicationSpec_Source) AsGitHubSource() (GitHubSource, error)
- func (t ApplicationSpec_Source) AsImageSource() (ImageSource, error)
- func (t *ApplicationSpec_Source) FromGitHubSource(v GitHubSource) error
- func (t *ApplicationSpec_Source) FromImageSource(v ImageSource) error
- func (t ApplicationSpec_Source) MarshalJSON() ([]byte, error)
- func (t *ApplicationSpec_Source) MergeGitHubSource(v GitHubSource) error
- func (t *ApplicationSpec_Source) MergeImageSource(v ImageSource) error
- func (t *ApplicationSpec_Source) UnmarshalJSON(b []byte) error
- type ApplyForEarlyAccessJSONRequestBody
- type ApplyForEarlyAccessResponse
- func (r ApplyForEarlyAccessResponse) ContentType() string
- func (r ApplyForEarlyAccessResponse) GetBody() []byte
- func (r ApplyForEarlyAccessResponse) GetJSON4XX() *ErrorEnvelope
- func (r ApplyForEarlyAccessResponse) GetJSON5XX() *ErrorEnvelope
- func (r ApplyForEarlyAccessResponse) GetJSON202() *Accepted
- func (r ApplyForEarlyAccessResponse) Status() string
- func (r ApplyForEarlyAccessResponse) StatusCode() int
- type ApproveCliLoginJSONRequestBody
- type ApproveCliLoginRequest
- type ApproveCliLoginResponse
- func (r ApproveCliLoginResponse) ContentType() string
- func (r ApproveCliLoginResponse) GetBody() []byte
- func (r ApproveCliLoginResponse) GetJSON4XX() *ErrorEnvelope
- func (r ApproveCliLoginResponse) GetJSON5XX() *ErrorEnvelope
- func (r ApproveCliLoginResponse) GetJSON200() *CliLoginOut
- func (r ApproveCliLoginResponse) Status() string
- func (r ApproveCliLoginResponse) StatusCode() int
- type AuthResponse
- type BackupKind
- type BackupLocation
- type BackupOut
- type BackupSettings
- type BackupSettingsSchedule
- type BackupStatus
- type BackupTarget
- type BillingDetailsIn
- type BillingDetailsOut
- type Binding
- type BlueprintConnectionOut
- type BlueprintError
- type BlueprintIn
- type BlueprintInFormat
- type BlueprintResourceOut
- type BlueprintValidation
- type BodyCreateTranscription
- type BranchOut
- type CancelDeploymentResponse
- func (r CancelDeploymentResponse) ContentType() string
- func (r CancelDeploymentResponse) GetBody() []byte
- func (r CancelDeploymentResponse) GetJSON4XX() *ErrorEnvelope
- func (r CancelDeploymentResponse) GetJSON5XX() *ErrorEnvelope
- func (r CancelDeploymentResponse) GetJSON200() *DeploymentOut
- func (r CancelDeploymentResponse) Status() string
- func (r CancelDeploymentResponse) StatusCode() int
- type CancelSubscriptionResponse
- func (r CancelSubscriptionResponse) ContentType() string
- func (r CancelSubscriptionResponse) GetBody() []byte
- func (r CancelSubscriptionResponse) GetJSON4XX() *ErrorEnvelope
- func (r CancelSubscriptionResponse) GetJSON5XX() *ErrorEnvelope
- func (r CancelSubscriptionResponse) GetJSON200() *SubscriptionOut
- func (r CancelSubscriptionResponse) Status() string
- func (r CancelSubscriptionResponse) StatusCode() int
- type CanvasIn
- type CanvasOut
- type CapacityRequestIn
- type CapacityRequestKind
- type CapacityRequestOut
- type CapacityRequestOutAvailability
- type CapacityRequestStatus
- type CertificateStatus
- type ChangeAction
- type ChangeOut
- type ChangePlanRequest
- type ChangeTarget
- type ChangesetEstimateIn
- type ChangesetEstimateInType
- type ChangesetOut
- type ChangesetSource
- type ChangesetStatus
- type ChatCompletionIn
- type ChatCompletionInStop0
- type ChatCompletionInStop1
- type ChatCompletionIn_Stop
- func (t ChatCompletionIn_Stop) AsChatCompletionInStop0() (ChatCompletionInStop0, error)
- func (t ChatCompletionIn_Stop) AsChatCompletionInStop1() (ChatCompletionInStop1, error)
- func (t *ChatCompletionIn_Stop) FromChatCompletionInStop0(v ChatCompletionInStop0) error
- func (t *ChatCompletionIn_Stop) FromChatCompletionInStop1(v ChatCompletionInStop1) error
- func (t ChatCompletionIn_Stop) MarshalJSON() ([]byte, error)
- func (t *ChatCompletionIn_Stop) MergeChatCompletionInStop0(v ChatCompletionInStop0) error
- func (t *ChatCompletionIn_Stop) MergeChatCompletionInStop1(v ChatCompletionInStop1) error
- func (t *ChatCompletionIn_Stop) UnmarshalJSON(b []byte) error
- type ChatMessageIn
- type ChatMessageInContent0
- type ChatMessageInContent1
- type ChatMessageInRole
- type ChatMessageIn_Content
- func (t ChatMessageIn_Content) AsChatMessageInContent0() (ChatMessageInContent0, error)
- func (t ChatMessageIn_Content) AsChatMessageInContent1() (ChatMessageInContent1, error)
- func (t *ChatMessageIn_Content) FromChatMessageInContent0(v ChatMessageInContent0) error
- func (t *ChatMessageIn_Content) FromChatMessageInContent1(v ChatMessageInContent1) error
- func (t ChatMessageIn_Content) MarshalJSON() ([]byte, error)
- func (t *ChatMessageIn_Content) MergeChatMessageInContent0(v ChatMessageInContent0) error
- func (t *ChatMessageIn_Content) MergeChatMessageInContent1(v ChatMessageInContent1) error
- func (t *ChatMessageIn_Content) UnmarshalJSON(b []byte) error
- type CheckoutOut
- type CliLoginKey
- type CliLoginOrganization
- type CliLoginOut
- type CliLoginOutState
- type CliLoginStarted
- type Client
- func (c *Client) AcceptInvitation(ctx context.Context, body AcceptInvitationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AcceptInvitationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AcceptTerms(ctx context.Context, body AcceptTermsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AcceptTermsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApplyForEarlyAccess(ctx context.Context, body ApplyForEarlyAccessJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApplyForEarlyAccessWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApproveCliLogin(ctx context.Context, userCode string, body ApproveCliLoginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApproveCliLoginWithBody(ctx context.Context, userCode string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CancelDeployment(ctx context.Context, deploymentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CancelSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CloseSupportTicket(ctx context.Context, ticketId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CollectCliLogin(ctx context.Context, body CollectCliLoginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CollectCliLoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ConsumeMagicLink(ctx context.Context, body ConsumeMagicLinkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConsumeMagicLinkWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateApiKey(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateApiKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateChatCompletion(ctx context.Context, body CreateChatCompletionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateChatCompletionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateConnection(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateConnectionWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseBackup(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateDeployment(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateDeploymentWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateDomain(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateDomainWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateEnvironment(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateGpuRequest(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateGpuRequestWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateImage(ctx context.Context, body CreateImageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateImageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInferenceEndpoint(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateInferenceEndpointWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateJobRun(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateOrgInvitation(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateOrgInvitationWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateProject(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateProjectToken(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateProjectTokenWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateProjectWebhook(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateProjectWebhookWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateProjectWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateProviderKey(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateProviderKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateRegistryCredential(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateRegistryCredentialWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateResource(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateResourceWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateServer(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateServerSnapshot(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateServerSnapshotWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateServerWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSpeech(ctx context.Context, body CreateSpeechJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSpeechWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSshKey(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateSshKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateTranscriptionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateVolume(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateVolumeBackup(ctx context.Context, volumeId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateVolumeWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) DeclaredServices(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteChangesetChange(ctx context.Context, changeId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteConnection(ctx context.Context, connectionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteDomain(ctx context.Context, domainId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteEnvVar(ctx context.Context, resourceId openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) DeleteEnvironment(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteMyPasskey(ctx context.Context, passkeyId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeletePreview(ctx context.Context, previewId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteProject(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteRegistryCredential(ctx context.Context, orgId openapi_types.UUID, credentialId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteResource(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteServer(ctx context.Context, serverId openapi_types.UUID, params *DeleteServerParams, ...) (*http.Response, error)
- func (c *Client) DeleteServerSnapshot(ctx context.Context, serverId openapi_types.UUID, snapshotId int, ...) (*http.Response, error)
- func (c *Client) DeleteSharedVariable(ctx context.Context, environmentId openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) DeleteSshKey(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteVolume(ctx context.Context, volumeId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteWebhook(ctx context.Context, webhookId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DenyCliLogin(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeployChangeset(ctx context.Context, changesetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeployChangesetWithBody(ctx context.Context, changesetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) DetectGithubSettings(ctx context.Context, installationId int, repoId int, ...) (*http.Response, error)
- func (c *Client) DiscardChangeset(ctx context.Context, changesetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DowngradeSubscription(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DowngradeSubscriptionWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) DownloadInvoice(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) EnvironmentReferenceTargets(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) Estimate(ctx context.Context, body EstimateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EstimateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAiMetrics(ctx context.Context, orgId openapi_types.UUID, params *GetAiMetricsParams, ...) (*http.Response, error)
- func (c *Client) GetAiPolicy(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetAiPrivacy(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetAnalyticsSummary(ctx context.Context, params *GetAnalyticsSummaryParams, ...) (*http.Response, error)
- func (c *Client) GetAnnouncement(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBackup(ctx context.Context, backupId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetBillingCheckout(ctx context.Context, orgId openapi_types.UUID, reference string, ...) (*http.Response, error)
- func (c *Client) GetBillingDetails(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCanvas(ctx context.Context, projectId openapi_types.UUID, params *GetCanvasParams, ...) (*http.Response, error)
- func (c *Client) GetChangeset(ctx context.Context, changesetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetCliLogin(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCsrfToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDeployment(ctx context.Context, deploymentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetDeploymentLogs(ctx context.Context, deploymentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetEnvironment(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetEnvironmentChangeset(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetEnvironmentFirewall(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetGithubInstallUrl(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetInvoice(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetJobRun(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetJobRunLogs(ctx context.Context, runId openapi_types.UUID, params *GetJobRunLogsParams, ...) (*http.Response, error)
- func (c *Client) GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNotificationPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOperation(ctx context.Context, operationId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetOrg(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrgOverview(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrgSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPreview(ctx context.Context, previewId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetProject(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRawEnv(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRawSharedVariables(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetResource(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetResourceHttpLogs(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetResourceLogs(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetResourceMetrics(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetServer(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetSpendLimit(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSupportTicket(ctx context.Context, ticketId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUpcomingInvoice(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUsageSummary(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVolume(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GithubLoginCallback(ctx context.Context, params *GithubLoginCallbackParams, ...) (*http.Response, error)
- func (c *Client) GithubLoginStart(ctx context.Context, params *GithubLoginStartParams, ...) (*http.Response, error)
- func (c *Client) GithubSetupAuthorized(ctx context.Context, params *GithubSetupAuthorizedParams, ...) (*http.Response, error)
- func (c *Client) GithubSetupCallback(ctx context.Context, params *GithubSetupCallbackParams, ...) (*http.Response, error)
- func (c *Client) GoogleLoginCallback(ctx context.Context, params *GoogleLoginCallbackParams, ...) (*http.Response, error)
- func (c *Client) GoogleLoginStart(ctx context.Context, params *GoogleLoginStartParams, ...) (*http.Response, error)
- func (c *Client) GpuCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LeaveAMessage(ctx context.Context, body LeaveAMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) LeaveAMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ListAiModels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAiRequests(ctx context.Context, orgId openapi_types.UUID, params *ListAiRequestsParams, ...) (*http.Response, error)
- func (c *Client) ListApiKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListConnectionStrings(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListConnections(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListDataLocations(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListDatabaseBackups(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListDatabaseTables(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListDomains(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListEnv(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListEnvironmentChangesets(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListEnvironments(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListGatewayModels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListGithubBranches(ctx context.Context, installationId int, repoId int, ...) (*http.Response, error)
- func (c *Client) ListGithubInstallations(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListGithubRepos(ctx context.Context, installationId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListGpuRequests(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListInferenceEndpoints(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListInvoices(ctx context.Context, orgId openapi_types.UUID, params *ListInvoicesParams, ...) (*http.Response, error)
- func (c *Client) ListJobRuns(ctx context.Context, resourceId openapi_types.UUID, params *ListJobRunsParams, ...) (*http.Response, error)
- func (c *Client) ListMembers(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMyPasskeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMySessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListOrgActivity(ctx context.Context, orgId openapi_types.UUID, params *ListOrgActivityParams, ...) (*http.Response, error)
- func (c *Client) ListOrgInvitations(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPaymentMethods(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPreviews(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListPrices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListProjectDeployments(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListProjectOperations(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListProjectTokens(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListProjectWebhooks(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListProjects(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListProviderKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRedisKeys(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRegistryCredentials(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListResourceDeployments(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListResources(ctx context.Context, projectId openapi_types.UUID, params *ListResourcesParams, ...) (*http.Response, error)
- func (c *Client) ListServerSnapshots(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListServers(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListSharedVariables(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListSshKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSupportTickets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTemplates(ctx context.Context, params *ListTemplatesParams, ...) (*http.Response, error)
- func (c *Client) ListUsageRecords(ctx context.Context, orgId openapi_types.UUID, params *ListUsageRecordsParams, ...) (*http.Response, error)
- func (c *Client) ListVolumeBackups(ctx context.Context, volumeId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListWebhookDeliveries(ctx context.Context, webhookId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) Logout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OpenSupportTicket(ctx context.Context, body OpenSupportTicketJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) OpenSupportTicketWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PasskeyRegistrationOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PasskeySignIn(ctx context.Context, body PasskeySignInJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeySignInOptions(ctx context.Context, body PasskeySignInOptionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeySignInOptionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PasskeySignInWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PaystackCheckoutCallback(ctx context.Context, params *PaystackCheckoutCallbackParams, ...) (*http.Response, error)
- func (c *Client) PlanBlueprint(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PlanBlueprintWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PlanCompose(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PlanComposeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PlanDeclaredServices(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PlanTemplate(ctx context.Context, environmentId openapi_types.UUID, templateId string, ...) (*http.Response, error)
- func (c *Client) PlanTemplateWithBody(ctx context.Context, environmentId openapi_types.UUID, templateId string, ...) (*http.Response, error)
- func (c *Client) PreviewAiPrivacy(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PreviewAiPrivacyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PreviewInvitation(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PutAiPolicy(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutAiPolicyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PutAiPrivacy(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutAiPrivacyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PutBillingDetails(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutBillingDetailsWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PutCanvas(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, ...) (*http.Response, error)
- func (c *Client) PutCanvasWithBody(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, ...) (*http.Response, error)
- func (c *Client) PutEnv(ctx context.Context, resourceId openapi_types.UUID, body PutEnvJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutEnvWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PutNotificationPreferences(ctx context.Context, body PutNotificationPreferencesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutNotificationPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutRawEnv(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutRawEnvWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PutRawSharedVariables(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutRawSharedVariablesWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PutSharedVariables(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutSharedVariablesWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PutSpendLimit(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutSpendLimitWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ReadCompose(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ReadComposeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) Readyz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RebuildServer(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RebuildServerWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ReceiveGithubWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReceivePaystackWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RecordAnalyticsEvent(ctx context.Context, body RecordAnalyticsEventJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RecordAnalyticsEventWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RedeliverWebhookDelivery(ctx context.Context, deliveryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RegisterPasskey(ctx context.Context, body RegisterPasskeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RegisterPasskeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveDeployment(ctx context.Context, deploymentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RemoveOrgMember(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RemovePaymentMethod(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ReplaceEnvironmentFirewall(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ReplaceEnvironmentFirewallWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ReplySupportTicket(ctx context.Context, ticketId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ReplySupportTicketWithBody(ctx context.Context, ticketId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestMagicLink(ctx context.Context, body RequestMagicLinkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RequestMagicLinkWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResizeServer(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ResizeServerWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ResizeVolume(ctx context.Context, volumeId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ResizeVolumeWithBody(ctx context.Context, volumeId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ResourceReferenceTargets(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RestoreBackup(ctx context.Context, backupId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RestoreBackupWithBody(ctx context.Context, backupId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) RestoreDatabase(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RestoreDatabaseWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ResumeSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RetryConnection(ctx context.Context, connectionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RevealEnvVar(ctx context.Context, resourceId openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) RevealSharedVariable(ctx context.Context, environmentId openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) RevertServerSnapshot(ctx context.Context, serverId openapi_types.UUID, snapshotId int, ...) (*http.Response, error)
- func (c *Client) RevertServerSnapshotWithBody(ctx context.Context, serverId openapi_types.UUID, snapshotId int, ...) (*http.Response, error)
- func (c *Client) RevokeApiKey(ctx context.Context, apiKeyId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RevokeInvitation(ctx context.Context, invitationId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RevokeMySession(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RevokeProjectToken(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RevokeProviderKey(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RollbackDeployment(ctx context.Context, deploymentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RollbackDeploymentWithBody(ctx context.Context, deploymentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) RotateDatabaseCredentials(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RotateWebhookSecret(ctx context.Context, webhookId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RunDatabaseQuery(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RunDatabaseQueryWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) RunResourceAction(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RunServerAction(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SearchLogs(ctx context.Context, projectId openapi_types.UUID, params *SearchLogsParams, ...) (*http.Response, error)
- func (c *Client) ServerCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SetDefaultPaymentMethod(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetServerRootPassword(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetServerRootPasswordWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) SetServerSnapshotSchedule(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetServerSnapshotScheduleWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) SimulateGithubPullRequest(ctx context.Context, body SimulateGithubPullRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SimulateGithubPullRequestWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SimulateGithubPush(ctx context.Context, body SimulateGithubPushJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SimulateGithubPushWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StageChange(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) StageChangeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) StartBillingCheckout(ctx context.Context, orgId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) StartBillingCheckoutWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) StartCliLogin(ctx context.Context, body StartCliLoginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartCliLoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StartEmailSignIn(ctx context.Context, body StartEmailSignInJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartEmailSignInWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StreamDeploymentLogs(ctx context.Context, deploymentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) StreamProjectEvents(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SubdomainAvailability(ctx context.Context, params *SubdomainAvailabilityParams, ...) (*http.Response, error)
- func (c *Client) SwitchServerShellOff(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SwitchServerShellOn(ctx context.Context, serverId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) TestWebhook(ctx context.Context, webhookId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) TranslateCompose(ctx context.Context, body TranslateComposeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TranslateComposeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironment(ctx context.Context, environmentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateInferenceEndpointWithBody(ctx context.Context, endpointId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateMe(ctx context.Context, body UpdateMeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateMeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateOrg(ctx context.Context, orgId openapi_types.UUID, body UpdateOrgJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateOrgMember(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateOrgMemberWithBody(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateOrgWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateProject(ctx context.Context, projectId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateProjectWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateResource(ctx context.Context, resourceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateResourceWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateWebhook(ctx context.Context, webhookId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateWebhookWithBody(ctx context.Context, webhookId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ValidateBlueprint(ctx context.Context, body ValidateBlueprintJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ValidateBlueprintWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) VerifyBillingCheckout(ctx context.Context, orgId openapi_types.UUID, reference string, ...) (*http.Response, error)
- func (c *Client) VerifyDomain(ctx context.Context, domainId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) WithdrawGpuRequest(ctx context.Context, requestId openapi_types.UUID, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AcceptInvitationResponse, error)
- func (c *ClientWithResponses) AcceptInvitationWithResponse(ctx context.Context, body AcceptInvitationJSONRequestBody, ...) (*AcceptInvitationResponse, error)
- func (c *ClientWithResponses) AcceptTermsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AcceptTermsResponse, error)
- func (c *ClientWithResponses) AcceptTermsWithResponse(ctx context.Context, body AcceptTermsJSONRequestBody, ...) (*AcceptTermsResponse, error)
- func (c *ClientWithResponses) ApplyForEarlyAccessWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ApplyForEarlyAccessResponse, error)
- func (c *ClientWithResponses) ApplyForEarlyAccessWithResponse(ctx context.Context, body ApplyForEarlyAccessJSONRequestBody, ...) (*ApplyForEarlyAccessResponse, error)
- func (c *ClientWithResponses) ApproveCliLoginWithBodyWithResponse(ctx context.Context, userCode string, contentType string, body io.Reader, ...) (*ApproveCliLoginResponse, error)
- func (c *ClientWithResponses) ApproveCliLoginWithResponse(ctx context.Context, userCode string, body ApproveCliLoginJSONRequestBody, ...) (*ApproveCliLoginResponse, error)
- func (c *ClientWithResponses) CancelDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, ...) (*CancelDeploymentResponse, error)
- func (c *ClientWithResponses) CancelSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelSubscriptionResponse, error)
- func (c *ClientWithResponses) CloseSupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, ...) (*CloseSupportTicketResponse, error)
- func (c *ClientWithResponses) CollectCliLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CollectCliLoginResponse, error)
- func (c *ClientWithResponses) CollectCliLoginWithResponse(ctx context.Context, body CollectCliLoginJSONRequestBody, ...) (*CollectCliLoginResponse, error)
- func (c *ClientWithResponses) ConsumeMagicLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConsumeMagicLinkResponse, error)
- func (c *ClientWithResponses) ConsumeMagicLinkWithResponse(ctx context.Context, body ConsumeMagicLinkJSONRequestBody, ...) (*ConsumeMagicLinkResponse, error)
- func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*CreateApiKeyResponse, error)
- func (c *ClientWithResponses) CreateApiKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*CreateApiKeyResponse, error)
- func (c *ClientWithResponses) CreateChatCompletionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateChatCompletionResponse, error)
- func (c *ClientWithResponses) CreateChatCompletionWithResponse(ctx context.Context, body CreateChatCompletionJSONRequestBody, ...) (*CreateChatCompletionResponse, error)
- func (c *ClientWithResponses) CreateConnectionWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*CreateConnectionResponse, error)
- func (c *ClientWithResponses) CreateConnectionWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*CreateConnectionResponse, error)
- func (c *ClientWithResponses) CreateDatabaseBackupWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*CreateDatabaseBackupResponse, error)
- func (c *ClientWithResponses) CreateDeploymentWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*CreateDeploymentResponse, error)
- func (c *ClientWithResponses) CreateDeploymentWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*CreateDeploymentResponse, error)
- func (c *ClientWithResponses) CreateDomainWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*CreateDomainResponse, error)
- func (c *ClientWithResponses) CreateDomainWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*CreateDomainResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*CreateEnvironmentResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*CreateEnvironmentResponse, error)
- func (c *ClientWithResponses) CreateGpuRequestWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*CreateGpuRequestResponse, error)
- func (c *ClientWithResponses) CreateGpuRequestWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*CreateGpuRequestResponse, error)
- func (c *ClientWithResponses) CreateImageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateImageResponse, error)
- func (c *ClientWithResponses) CreateImageWithResponse(ctx context.Context, body CreateImageJSONRequestBody, ...) (*CreateImageResponse, error)
- func (c *ClientWithResponses) CreateInferenceEndpointWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*CreateInferenceEndpointResponse, error)
- func (c *ClientWithResponses) CreateInferenceEndpointWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*CreateInferenceEndpointResponse, error)
- func (c *ClientWithResponses) CreateJobRunWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*CreateJobRunResponse, error)
- func (c *ClientWithResponses) CreateOrgInvitationWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*CreateOrgInvitationResponse, error)
- func (c *ClientWithResponses) CreateOrgInvitationWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*CreateOrgInvitationResponse, error)
- func (c *ClientWithResponses) CreateProjectTokenWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*CreateProjectTokenResponse, error)
- func (c *ClientWithResponses) CreateProjectTokenWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*CreateProjectTokenResponse, error)
- func (c *ClientWithResponses) CreateProjectWebhookWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*CreateProjectWebhookResponse, error)
- func (c *ClientWithResponses) CreateProjectWebhookWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*CreateProjectWebhookResponse, error)
- func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateProviderKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*CreateProviderKeyResponse, error)
- func (c *ClientWithResponses) CreateProviderKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*CreateProviderKeyResponse, error)
- func (c *ClientWithResponses) CreateRegistryCredentialWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*CreateRegistryCredentialResponse, error)
- func (c *ClientWithResponses) CreateRegistryCredentialWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*CreateRegistryCredentialResponse, error)
- func (c *ClientWithResponses) CreateResourceWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*CreateResourceResponse, error)
- func (c *ClientWithResponses) CreateResourceWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*CreateResourceResponse, error)
- func (c *ClientWithResponses) CreateServerSnapshotWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*CreateServerSnapshotResponse, error)
- func (c *ClientWithResponses) CreateServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*CreateServerSnapshotResponse, error)
- func (c *ClientWithResponses) CreateServerWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*CreateServerResponse, error)
- func (c *ClientWithResponses) CreateServerWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*CreateServerResponse, error)
- func (c *ClientWithResponses) CreateSpeechWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSpeechResponse, error)
- func (c *ClientWithResponses) CreateSpeechWithResponse(ctx context.Context, body CreateSpeechJSONRequestBody, ...) (*CreateSpeechResponse, error)
- func (c *ClientWithResponses) CreateSshKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*CreateSshKeyResponse, error)
- func (c *ClientWithResponses) CreateSshKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*CreateSshKeyResponse, error)
- func (c *ClientWithResponses) CreateTranscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTranscriptionResponse, error)
- func (c *ClientWithResponses) CreateVolumeBackupWithResponse(ctx context.Context, volumeId openapi_types.UUID, ...) (*CreateVolumeBackupResponse, error)
- func (c *ClientWithResponses) CreateVolumeWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*CreateVolumeResponse, error)
- func (c *ClientWithResponses) CreateVolumeWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*CreateVolumeResponse, error)
- func (c *ClientWithResponses) DeclaredServicesWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*DeclaredServicesResponse, error)
- func (c *ClientWithResponses) DeleteChangesetChangeWithResponse(ctx context.Context, changeId openapi_types.UUID, ...) (*DeleteChangesetChangeResponse, error)
- func (c *ClientWithResponses) DeleteConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, ...) (*DeleteConnectionResponse, error)
- func (c *ClientWithResponses) DeleteDomainWithResponse(ctx context.Context, domainId openapi_types.UUID, ...) (*DeleteDomainResponse, error)
- func (c *ClientWithResponses) DeleteEnvVarWithResponse(ctx context.Context, resourceId openapi_types.UUID, key string, ...) (*DeleteEnvVarResponse, error)
- func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*DeleteEnvironmentResponse, error)
- func (c *ClientWithResponses) DeleteInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, ...) (*DeleteInferenceEndpointResponse, error)
- func (c *ClientWithResponses) DeleteMyPasskeyWithResponse(ctx context.Context, passkeyId openapi_types.UUID, ...) (*DeleteMyPasskeyResponse, error)
- func (c *ClientWithResponses) DeletePreviewWithResponse(ctx context.Context, previewId openapi_types.UUID, ...) (*DeletePreviewResponse, error)
- func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*DeleteProjectResponse, error)
- func (c *ClientWithResponses) DeleteRegistryCredentialWithResponse(ctx context.Context, orgId openapi_types.UUID, credentialId openapi_types.UUID, ...) (*DeleteRegistryCredentialResponse, error)
- func (c *ClientWithResponses) DeleteResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*DeleteResourceResponse, error)
- func (c *ClientWithResponses) DeleteServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, ...) (*DeleteServerSnapshotResponse, error)
- func (c *ClientWithResponses) DeleteServerWithResponse(ctx context.Context, serverId openapi_types.UUID, params *DeleteServerParams, ...) (*DeleteServerResponse, error)
- func (c *ClientWithResponses) DeleteSharedVariableWithResponse(ctx context.Context, environmentId openapi_types.UUID, key string, ...) (*DeleteSharedVariableResponse, error)
- func (c *ClientWithResponses) DeleteSshKeyWithResponse(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)
- func (c *ClientWithResponses) DeleteVolumeWithResponse(ctx context.Context, volumeId openapi_types.UUID, ...) (*DeleteVolumeResponse, error)
- func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, ...) (*DeleteWebhookResponse, error)
- func (c *ClientWithResponses) DenyCliLoginWithResponse(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*DenyCliLoginResponse, error)
- func (c *ClientWithResponses) DeployChangesetWithBodyWithResponse(ctx context.Context, changesetId openapi_types.UUID, contentType string, ...) (*DeployChangesetResponse, error)
- func (c *ClientWithResponses) DeployChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, ...) (*DeployChangesetResponse, error)
- func (c *ClientWithResponses) DetectGithubSettingsWithResponse(ctx context.Context, installationId int, repoId int, ...) (*DetectGithubSettingsResponse, error)
- func (c *ClientWithResponses) DiscardChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, ...) (*DiscardChangesetResponse, error)
- func (c *ClientWithResponses) DowngradeSubscriptionWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*DowngradeSubscriptionResponse, error)
- func (c *ClientWithResponses) DowngradeSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*DowngradeSubscriptionResponse, error)
- func (c *ClientWithResponses) DownloadInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, ...) (*DownloadInvoiceResponse, error)
- func (c *ClientWithResponses) EnvironmentReferenceTargetsWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*EnvironmentReferenceTargetsResponse, error)
- func (c *ClientWithResponses) EstimateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EstimateResponse, error)
- func (c *ClientWithResponses) EstimateWithResponse(ctx context.Context, body EstimateJSONRequestBody, ...) (*EstimateResponse, error)
- func (c *ClientWithResponses) GetAiMetricsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *GetAiMetricsParams, ...) (*GetAiMetricsResponse, error)
- func (c *ClientWithResponses) GetAiPolicyWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*GetAiPolicyResponse, error)
- func (c *ClientWithResponses) GetAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*GetAiPrivacyResponse, error)
- func (c *ClientWithResponses) GetAnalyticsSummaryWithResponse(ctx context.Context, params *GetAnalyticsSummaryParams, ...) (*GetAnalyticsSummaryResponse, error)
- func (c *ClientWithResponses) GetAnnouncementWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAnnouncementResponse, error)
- func (c *ClientWithResponses) GetBackupWithResponse(ctx context.Context, backupId openapi_types.UUID, ...) (*GetBackupResponse, error)
- func (c *ClientWithResponses) GetBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, reference string, ...) (*GetBillingCheckoutResponse, error)
- func (c *ClientWithResponses) GetBillingDetailsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBillingDetailsResponse, error)
- func (c *ClientWithResponses) GetCanvasWithResponse(ctx context.Context, projectId openapi_types.UUID, params *GetCanvasParams, ...) (*GetCanvasResponse, error)
- func (c *ClientWithResponses) GetChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, ...) (*GetChangesetResponse, error)
- func (c *ClientWithResponses) GetCliLoginWithResponse(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*GetCliLoginResponse, error)
- func (c *ClientWithResponses) GetCsrfTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCsrfTokenResponse, error)
- func (c *ClientWithResponses) GetDeploymentLogsWithResponse(ctx context.Context, deploymentId openapi_types.UUID, ...) (*GetDeploymentLogsResponse, error)
- func (c *ClientWithResponses) GetDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, ...) (*GetDeploymentResponse, error)
- func (c *ClientWithResponses) GetEnvironmentChangesetWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*GetEnvironmentChangesetResponse, error)
- func (c *ClientWithResponses) GetEnvironmentFirewallWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*GetEnvironmentFirewallResponse, error)
- func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*GetEnvironmentResponse, error)
- func (c *ClientWithResponses) GetGithubInstallUrlWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*GetGithubInstallUrlResponse, error)
- func (c *ClientWithResponses) GetInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, ...) (*GetInferenceEndpointResponse, error)
- func (c *ClientWithResponses) GetInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, ...) (*GetInvoiceResponse, error)
- func (c *ClientWithResponses) GetJobRunLogsWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetJobRunLogsParams, ...) (*GetJobRunLogsResponse, error)
- func (c *ClientWithResponses) GetJobRunWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJobRunResponse, error)
- func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
- func (c *ClientWithResponses) GetNotificationPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNotificationPreferencesResponse, error)
- func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, operationId openapi_types.UUID, ...) (*GetOperationResponse, error)
- func (c *ClientWithResponses) GetOrgOverviewWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgOverviewResponse, error)
- func (c *ClientWithResponses) GetOrgSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgSubscriptionResponse, error)
- func (c *ClientWithResponses) GetOrgWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)
- func (c *ClientWithResponses) GetPreviewWithResponse(ctx context.Context, previewId openapi_types.UUID, ...) (*GetPreviewResponse, error)
- func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*GetProjectResponse, error)
- func (c *ClientWithResponses) GetRawEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*GetRawEnvResponse, error)
- func (c *ClientWithResponses) GetRawSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*GetRawSharedVariablesResponse, error)
- func (c *ClientWithResponses) GetResourceHttpLogsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*GetResourceHttpLogsResponse, error)
- func (c *ClientWithResponses) GetResourceLogsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*GetResourceLogsResponse, error)
- func (c *ClientWithResponses) GetResourceMetricsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*GetResourceMetricsResponse, error)
- func (c *ClientWithResponses) GetResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*GetResourceResponse, error)
- func (c *ClientWithResponses) GetServerWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*GetServerResponse, error)
- func (c *ClientWithResponses) GetSpendLimitWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSpendLimitResponse, error)
- func (c *ClientWithResponses) GetSupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, ...) (*GetSupportTicketResponse, error)
- func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)
- func (c *ClientWithResponses) GetUpcomingInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUpcomingInvoiceResponse, error)
- func (c *ClientWithResponses) GetUsageSummaryWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUsageSummaryResponse, error)
- func (c *ClientWithResponses) GetVolumeWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*GetVolumeResponse, error)
- func (c *ClientWithResponses) GithubLoginCallbackWithResponse(ctx context.Context, params *GithubLoginCallbackParams, ...) (*GithubLoginCallbackResponse, error)
- func (c *ClientWithResponses) GithubLoginStartWithResponse(ctx context.Context, params *GithubLoginStartParams, ...) (*GithubLoginStartResponse, error)
- func (c *ClientWithResponses) GithubSetupAuthorizedWithResponse(ctx context.Context, params *GithubSetupAuthorizedParams, ...) (*GithubSetupAuthorizedResponse, error)
- func (c *ClientWithResponses) GithubSetupCallbackWithResponse(ctx context.Context, params *GithubSetupCallbackParams, ...) (*GithubSetupCallbackResponse, error)
- func (c *ClientWithResponses) GoogleLoginCallbackWithResponse(ctx context.Context, params *GoogleLoginCallbackParams, ...) (*GoogleLoginCallbackResponse, error)
- func (c *ClientWithResponses) GoogleLoginStartWithResponse(ctx context.Context, params *GoogleLoginStartParams, ...) (*GoogleLoginStartResponse, error)
- func (c *ClientWithResponses) GpuCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GpuCatalogResponse, error)
- func (c *ClientWithResponses) HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthzResponse, error)
- func (c *ClientWithResponses) LeaveAMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LeaveAMessageResponse, error)
- func (c *ClientWithResponses) LeaveAMessageWithResponse(ctx context.Context, body LeaveAMessageJSONRequestBody, ...) (*LeaveAMessageResponse, error)
- func (c *ClientWithResponses) ListAiModelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAiModelsResponse, error)
- func (c *ClientWithResponses) ListAiRequestsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListAiRequestsParams, ...) (*ListAiRequestsResponse, error)
- func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
- func (c *ClientWithResponses) ListConnectionStringsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ListConnectionStringsResponse, error)
- func (c *ClientWithResponses) ListConnectionsWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*ListConnectionsResponse, error)
- func (c *ClientWithResponses) ListDataLocationsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ListDataLocationsResponse, error)
- func (c *ClientWithResponses) ListDatabaseBackupsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ListDatabaseBackupsResponse, error)
- func (c *ClientWithResponses) ListDatabaseTablesWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ListDatabaseTablesResponse, error)
- func (c *ClientWithResponses) ListDomainsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ListDomainsResponse, error)
- func (c *ClientWithResponses) ListEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ListEnvResponse, error)
- func (c *ClientWithResponses) ListEnvironmentChangesetsWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*ListEnvironmentChangesetsResponse, error)
- func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*ListEnvironmentsResponse, error)
- func (c *ClientWithResponses) ListGatewayModelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListGatewayModelsResponse, error)
- func (c *ClientWithResponses) ListGithubBranchesWithResponse(ctx context.Context, installationId int, repoId int, ...) (*ListGithubBranchesResponse, error)
- func (c *ClientWithResponses) ListGithubInstallationsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGithubInstallationsResponse, error)
- func (c *ClientWithResponses) ListGithubReposWithResponse(ctx context.Context, installationId int, reqEditors ...RequestEditorFn) (*ListGithubReposResponse, error)
- func (c *ClientWithResponses) ListGpuRequestsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGpuRequestsResponse, error)
- func (c *ClientWithResponses) ListInferenceEndpointsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListInferenceEndpointsResponse, error)
- func (c *ClientWithResponses) ListInvoicesWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListInvoicesParams, ...) (*ListInvoicesResponse, error)
- func (c *ClientWithResponses) ListJobRunsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListJobRunsParams, ...) (*ListJobRunsResponse, error)
- func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
- func (c *ClientWithResponses) ListMyPasskeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMyPasskeysResponse, error)
- func (c *ClientWithResponses) ListMySessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMySessionsResponse, error)
- func (c *ClientWithResponses) ListOrgActivityWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListOrgActivityParams, ...) (*ListOrgActivityResponse, error)
- func (c *ClientWithResponses) ListOrgInvitationsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListOrgInvitationsResponse, error)
- func (c *ClientWithResponses) ListPaymentMethodsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListPaymentMethodsResponse, error)
- func (c *ClientWithResponses) ListPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlansResponse, error)
- func (c *ClientWithResponses) ListPreviewsWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*ListPreviewsResponse, error)
- func (c *ClientWithResponses) ListPricesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPricesResponse, error)
- func (c *ClientWithResponses) ListProjectDeploymentsWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*ListProjectDeploymentsResponse, error)
- func (c *ClientWithResponses) ListProjectOperationsWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*ListProjectOperationsResponse, error)
- func (c *ClientWithResponses) ListProjectTokensWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*ListProjectTokensResponse, error)
- func (c *ClientWithResponses) ListProjectWebhooksWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*ListProjectWebhooksResponse, error)
- func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
- func (c *ClientWithResponses) ListProviderKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProviderKeysResponse, error)
- func (c *ClientWithResponses) ListRedisKeysWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ListRedisKeysResponse, error)
- func (c *ClientWithResponses) ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error)
- func (c *ClientWithResponses) ListRegistryCredentialsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListRegistryCredentialsResponse, error)
- func (c *ClientWithResponses) ListResourceDeploymentsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ListResourceDeploymentsResponse, error)
- func (c *ClientWithResponses) ListResourcesWithResponse(ctx context.Context, projectId openapi_types.UUID, params *ListResourcesParams, ...) (*ListResourcesResponse, error)
- func (c *ClientWithResponses) ListServerSnapshotsWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*ListServerSnapshotsResponse, error)
- func (c *ClientWithResponses) ListServersWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*ListServersResponse, error)
- func (c *ClientWithResponses) ListSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*ListSharedVariablesResponse, error)
- func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)
- func (c *ClientWithResponses) ListSupportTicketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSupportTicketsResponse, error)
- func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, ...) (*ListTemplatesResponse, error)
- func (c *ClientWithResponses) ListUsageRecordsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListUsageRecordsParams, ...) (*ListUsageRecordsResponse, error)
- func (c *ClientWithResponses) ListVolumeBackupsWithResponse(ctx context.Context, volumeId openapi_types.UUID, ...) (*ListVolumeBackupsResponse, error)
- func (c *ClientWithResponses) ListWebhookDeliveriesWithResponse(ctx context.Context, webhookId openapi_types.UUID, ...) (*ListWebhookDeliveriesResponse, error)
- func (c *ClientWithResponses) LogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutResponse, error)
- func (c *ClientWithResponses) OpenSupportTicketWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*OpenSupportTicketResponse, error)
- func (c *ClientWithResponses) OpenSupportTicketWithResponse(ctx context.Context, body OpenSupportTicketJSONRequestBody, ...) (*OpenSupportTicketResponse, error)
- func (c *ClientWithResponses) PasskeyRegistrationOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PasskeyRegistrationOptionsResponse, error)
- func (c *ClientWithResponses) PasskeySignInOptionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PasskeySignInOptionsResponse, error)
- func (c *ClientWithResponses) PasskeySignInOptionsWithResponse(ctx context.Context, body PasskeySignInOptionsJSONRequestBody, ...) (*PasskeySignInOptionsResponse, error)
- func (c *ClientWithResponses) PasskeySignInWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PasskeySignInResponse, error)
- func (c *ClientWithResponses) PasskeySignInWithResponse(ctx context.Context, body PasskeySignInJSONRequestBody, ...) (*PasskeySignInResponse, error)
- func (c *ClientWithResponses) PaystackCheckoutCallbackWithResponse(ctx context.Context, params *PaystackCheckoutCallbackParams, ...) (*PaystackCheckoutCallbackResponse, error)
- func (c *ClientWithResponses) PlanBlueprintWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*PlanBlueprintResponse, error)
- func (c *ClientWithResponses) PlanBlueprintWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*PlanBlueprintResponse, error)
- func (c *ClientWithResponses) PlanComposeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*PlanComposeResponse, error)
- func (c *ClientWithResponses) PlanComposeWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*PlanComposeResponse, error)
- func (c *ClientWithResponses) PlanDeclaredServicesWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*PlanDeclaredServicesResponse, error)
- func (c *ClientWithResponses) PlanTemplateWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, templateId string, ...) (*PlanTemplateResponse, error)
- func (c *ClientWithResponses) PlanTemplateWithResponse(ctx context.Context, environmentId openapi_types.UUID, templateId string, ...) (*PlanTemplateResponse, error)
- func (c *ClientWithResponses) PreviewAiPrivacyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*PreviewAiPrivacyResponse, error)
- func (c *ClientWithResponses) PreviewAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*PreviewAiPrivacyResponse, error)
- func (c *ClientWithResponses) PreviewInvitationWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*PreviewInvitationResponse, error)
- func (c *ClientWithResponses) PutAiPolicyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*PutAiPolicyResponse, error)
- func (c *ClientWithResponses) PutAiPolicyWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*PutAiPolicyResponse, error)
- func (c *ClientWithResponses) PutAiPrivacyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*PutAiPrivacyResponse, error)
- func (c *ClientWithResponses) PutAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*PutAiPrivacyResponse, error)
- func (c *ClientWithResponses) PutBillingDetailsWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*PutBillingDetailsResponse, error)
- func (c *ClientWithResponses) PutBillingDetailsWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*PutBillingDetailsResponse, error)
- func (c *ClientWithResponses) PutCanvasWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, ...) (*PutCanvasResponse, error)
- func (c *ClientWithResponses) PutCanvasWithResponse(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, ...) (*PutCanvasResponse, error)
- func (c *ClientWithResponses) PutEnvWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*PutEnvResponse, error)
- func (c *ClientWithResponses) PutEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, body PutEnvJSONRequestBody, ...) (*PutEnvResponse, error)
- func (c *ClientWithResponses) PutNotificationPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutNotificationPreferencesResponse, error)
- func (c *ClientWithResponses) PutNotificationPreferencesWithResponse(ctx context.Context, body PutNotificationPreferencesJSONRequestBody, ...) (*PutNotificationPreferencesResponse, error)
- func (c *ClientWithResponses) PutRawEnvWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*PutRawEnvResponse, error)
- func (c *ClientWithResponses) PutRawEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*PutRawEnvResponse, error)
- func (c *ClientWithResponses) PutRawSharedVariablesWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*PutRawSharedVariablesResponse, error)
- func (c *ClientWithResponses) PutRawSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*PutRawSharedVariablesResponse, error)
- func (c *ClientWithResponses) PutSharedVariablesWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*PutSharedVariablesResponse, error)
- func (c *ClientWithResponses) PutSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*PutSharedVariablesResponse, error)
- func (c *ClientWithResponses) PutSpendLimitWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*PutSpendLimitResponse, error)
- func (c *ClientWithResponses) PutSpendLimitWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*PutSpendLimitResponse, error)
- func (c *ClientWithResponses) ReadComposeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*ReadComposeResponse, error)
- func (c *ClientWithResponses) ReadComposeWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*ReadComposeResponse, error)
- func (c *ClientWithResponses) ReadyzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadyzResponse, error)
- func (c *ClientWithResponses) RebuildServerWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*RebuildServerResponse, error)
- func (c *ClientWithResponses) RebuildServerWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*RebuildServerResponse, error)
- func (c *ClientWithResponses) ReceiveGithubWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReceiveGithubWebhookResponse, error)
- func (c *ClientWithResponses) ReceivePaystackWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReceivePaystackWebhookResponse, error)
- func (c *ClientWithResponses) RecordAnalyticsEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RecordAnalyticsEventResponse, error)
- func (c *ClientWithResponses) RecordAnalyticsEventWithResponse(ctx context.Context, body RecordAnalyticsEventJSONRequestBody, ...) (*RecordAnalyticsEventResponse, error)
- func (c *ClientWithResponses) RedeliverWebhookDeliveryWithResponse(ctx context.Context, deliveryId openapi_types.UUID, ...) (*RedeliverWebhookDeliveryResponse, error)
- func (c *ClientWithResponses) RegisterPasskeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RegisterPasskeyResponse, error)
- func (c *ClientWithResponses) RegisterPasskeyWithResponse(ctx context.Context, body RegisterPasskeyJSONRequestBody, ...) (*RegisterPasskeyResponse, error)
- func (c *ClientWithResponses) RemoveDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, ...) (*RemoveDeploymentResponse, error)
- func (c *ClientWithResponses) RemoveOrgMemberWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, ...) (*RemoveOrgMemberResponse, error)
- func (c *ClientWithResponses) RemovePaymentMethodWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*RemovePaymentMethodResponse, error)
- func (c *ClientWithResponses) ReplaceEnvironmentFirewallWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*ReplaceEnvironmentFirewallResponse, error)
- func (c *ClientWithResponses) ReplaceEnvironmentFirewallWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*ReplaceEnvironmentFirewallResponse, error)
- func (c *ClientWithResponses) ReplySupportTicketWithBodyWithResponse(ctx context.Context, ticketId openapi_types.UUID, contentType string, ...) (*ReplySupportTicketResponse, error)
- func (c *ClientWithResponses) ReplySupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, ...) (*ReplySupportTicketResponse, error)
- func (c *ClientWithResponses) RequestMagicLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RequestMagicLinkResponse, error)deprecated
- func (c *ClientWithResponses) RequestMagicLinkWithResponse(ctx context.Context, body RequestMagicLinkJSONRequestBody, ...) (*RequestMagicLinkResponse, error)
- func (c *ClientWithResponses) ResizeServerWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*ResizeServerResponse, error)
- func (c *ClientWithResponses) ResizeServerWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*ResizeServerResponse, error)
- func (c *ClientWithResponses) ResizeVolumeWithBodyWithResponse(ctx context.Context, volumeId openapi_types.UUID, contentType string, ...) (*ResizeVolumeResponse, error)
- func (c *ClientWithResponses) ResizeVolumeWithResponse(ctx context.Context, volumeId openapi_types.UUID, ...) (*ResizeVolumeResponse, error)
- func (c *ClientWithResponses) ResourceReferenceTargetsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*ResourceReferenceTargetsResponse, error)
- func (c *ClientWithResponses) RestoreBackupWithBodyWithResponse(ctx context.Context, backupId openapi_types.UUID, contentType string, ...) (*RestoreBackupResponse, error)
- func (c *ClientWithResponses) RestoreBackupWithResponse(ctx context.Context, backupId openapi_types.UUID, ...) (*RestoreBackupResponse, error)
- func (c *ClientWithResponses) RestoreDatabaseWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*RestoreDatabaseResponse, error)
- func (c *ClientWithResponses) RestoreDatabaseWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*RestoreDatabaseResponse, error)
- func (c *ClientWithResponses) ResumeSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResumeSubscriptionResponse, error)
- func (c *ClientWithResponses) RetryConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, ...) (*RetryConnectionResponse, error)
- func (c *ClientWithResponses) RevealEnvVarWithResponse(ctx context.Context, resourceId openapi_types.UUID, key string, ...) (*RevealEnvVarResponse, error)
- func (c *ClientWithResponses) RevealSharedVariableWithResponse(ctx context.Context, environmentId openapi_types.UUID, key string, ...) (*RevealSharedVariableResponse, error)
- func (c *ClientWithResponses) RevertServerSnapshotWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, ...) (*RevertServerSnapshotResponse, error)
- func (c *ClientWithResponses) RevertServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, ...) (*RevertServerSnapshotResponse, error)
- func (c *ClientWithResponses) RevokeApiKeyWithResponse(ctx context.Context, apiKeyId openapi_types.UUID, ...) (*RevokeApiKeyResponse, error)
- func (c *ClientWithResponses) RevokeInvitationWithResponse(ctx context.Context, invitationId openapi_types.UUID, ...) (*RevokeInvitationResponse, error)
- func (c *ClientWithResponses) RevokeMySessionWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*RevokeMySessionResponse, error)
- func (c *ClientWithResponses) RevokeProjectTokenWithResponse(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeProjectTokenResponse, error)
- func (c *ClientWithResponses) RevokeProviderKeyWithResponse(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeProviderKeyResponse, error)
- func (c *ClientWithResponses) RollbackDeploymentWithBodyWithResponse(ctx context.Context, deploymentId openapi_types.UUID, contentType string, ...) (*RollbackDeploymentResponse, error)
- func (c *ClientWithResponses) RollbackDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, ...) (*RollbackDeploymentResponse, error)
- func (c *ClientWithResponses) RotateDatabaseCredentialsWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*RotateDatabaseCredentialsResponse, error)
- func (c *ClientWithResponses) RotateWebhookSecretWithResponse(ctx context.Context, webhookId openapi_types.UUID, ...) (*RotateWebhookSecretResponse, error)
- func (c *ClientWithResponses) RunDatabaseQueryWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*RunDatabaseQueryResponse, error)
- func (c *ClientWithResponses) RunDatabaseQueryWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*RunDatabaseQueryResponse, error)
- func (c *ClientWithResponses) RunResourceActionWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*RunResourceActionResponse, error)
- func (c *ClientWithResponses) RunServerActionWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*RunServerActionResponse, error)
- func (c *ClientWithResponses) SearchLogsWithResponse(ctx context.Context, projectId openapi_types.UUID, params *SearchLogsParams, ...) (*SearchLogsResponse, error)
- func (c *ClientWithResponses) ServerCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerCatalogResponse, error)
- func (c *ClientWithResponses) SetDefaultPaymentMethodWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*SetDefaultPaymentMethodResponse, error)
- func (c *ClientWithResponses) SetServerRootPasswordWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*SetServerRootPasswordResponse, error)
- func (c *ClientWithResponses) SetServerRootPasswordWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*SetServerRootPasswordResponse, error)
- func (c *ClientWithResponses) SetServerSnapshotScheduleWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, ...) (*SetServerSnapshotScheduleResponse, error)
- func (c *ClientWithResponses) SetServerSnapshotScheduleWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*SetServerSnapshotScheduleResponse, error)
- func (c *ClientWithResponses) SimulateGithubPullRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SimulateGithubPullRequestResponse, error)
- func (c *ClientWithResponses) SimulateGithubPullRequestWithResponse(ctx context.Context, body SimulateGithubPullRequestJSONRequestBody, ...) (*SimulateGithubPullRequestResponse, error)
- func (c *ClientWithResponses) SimulateGithubPushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SimulateGithubPushResponse, error)
- func (c *ClientWithResponses) SimulateGithubPushWithResponse(ctx context.Context, body SimulateGithubPushJSONRequestBody, ...) (*SimulateGithubPushResponse, error)
- func (c *ClientWithResponses) StageChangeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*StageChangeResponse, error)
- func (c *ClientWithResponses) StageChangeWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*StageChangeResponse, error)
- func (c *ClientWithResponses) StartBillingCheckoutWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*StartBillingCheckoutResponse, error)
- func (c *ClientWithResponses) StartBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, ...) (*StartBillingCheckoutResponse, error)
- func (c *ClientWithResponses) StartCliLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartCliLoginResponse, error)
- func (c *ClientWithResponses) StartCliLoginWithResponse(ctx context.Context, body StartCliLoginJSONRequestBody, ...) (*StartCliLoginResponse, error)
- func (c *ClientWithResponses) StartEmailSignInWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartEmailSignInResponse, error)
- func (c *ClientWithResponses) StartEmailSignInWithResponse(ctx context.Context, body StartEmailSignInJSONRequestBody, ...) (*StartEmailSignInResponse, error)
- func (c *ClientWithResponses) StreamDeploymentLogsWithResponse(ctx context.Context, deploymentId openapi_types.UUID, ...) (*StreamDeploymentLogsResponse, error)
- func (c *ClientWithResponses) StreamProjectEventsWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*StreamProjectEventsResponse, error)
- func (c *ClientWithResponses) SubdomainAvailabilityWithResponse(ctx context.Context, params *SubdomainAvailabilityParams, ...) (*SubdomainAvailabilityResponse, error)
- func (c *ClientWithResponses) SwitchServerShellOffWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*SwitchServerShellOffResponse, error)
- func (c *ClientWithResponses) SwitchServerShellOnWithResponse(ctx context.Context, serverId openapi_types.UUID, ...) (*SwitchServerShellOnResponse, error)
- func (c *ClientWithResponses) TestWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, ...) (*TestWebhookResponse, error)
- func (c *ClientWithResponses) TranslateComposeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TranslateComposeResponse, error)
- func (c *ClientWithResponses) TranslateComposeWithResponse(ctx context.Context, body TranslateComposeJSONRequestBody, ...) (*TranslateComposeResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, ...) (*UpdateEnvironmentResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, ...) (*UpdateEnvironmentResponse, error)
- func (c *ClientWithResponses) UpdateInferenceEndpointWithBodyWithResponse(ctx context.Context, endpointId openapi_types.UUID, contentType string, ...) (*UpdateInferenceEndpointResponse, error)
- func (c *ClientWithResponses) UpdateInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, ...) (*UpdateInferenceEndpointResponse, error)
- func (c *ClientWithResponses) UpdateMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateMeResponse, error)
- func (c *ClientWithResponses) UpdateMeWithResponse(ctx context.Context, body UpdateMeJSONRequestBody, ...) (*UpdateMeResponse, error)
- func (c *ClientWithResponses) UpdateOrgMemberWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, ...) (*UpdateOrgMemberResponse, error)
- func (c *ClientWithResponses) UpdateOrgMemberWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, ...) (*UpdateOrgMemberResponse, error)
- func (c *ClientWithResponses) UpdateOrgWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, ...) (*UpdateOrgResponse, error)
- func (c *ClientWithResponses) UpdateOrgWithResponse(ctx context.Context, orgId openapi_types.UUID, body UpdateOrgJSONRequestBody, ...) (*UpdateOrgResponse, error)
- func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, ...) (*UpdateProjectResponse, error)
- func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, ...) (*UpdateProjectResponse, error)
- func (c *ClientWithResponses) UpdateResourceWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, ...) (*UpdateResourceResponse, error)
- func (c *ClientWithResponses) UpdateResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, ...) (*UpdateResourceResponse, error)
- func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, webhookId openapi_types.UUID, contentType string, ...) (*UpdateWebhookResponse, error)
- func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, ...) (*UpdateWebhookResponse, error)
- func (c *ClientWithResponses) ValidateBlueprintWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ValidateBlueprintResponse, error)
- func (c *ClientWithResponses) ValidateBlueprintWithResponse(ctx context.Context, body ValidateBlueprintJSONRequestBody, ...) (*ValidateBlueprintResponse, error)
- func (c *ClientWithResponses) VerifyBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, reference string, ...) (*VerifyBillingCheckoutResponse, error)
- func (c *ClientWithResponses) VerifyDomainWithResponse(ctx context.Context, domainId openapi_types.UUID, ...) (*VerifyDomainResponse, error)
- func (c *ClientWithResponses) WithdrawGpuRequestWithResponse(ctx context.Context, requestId openapi_types.UUID, ...) (*WithdrawGpuRequestResponse, error)
- type ClientWithResponsesInterface
- type CloseSupportTicketResponse
- func (r CloseSupportTicketResponse) ContentType() string
- func (r CloseSupportTicketResponse) GetBody() []byte
- func (r CloseSupportTicketResponse) GetJSON4XX() *ErrorEnvelope
- func (r CloseSupportTicketResponse) GetJSON5XX() *ErrorEnvelope
- func (r CloseSupportTicketResponse) GetJSON200() *MyTicketDetail
- func (r CloseSupportTicketResponse) Status() string
- func (r CloseSupportTicketResponse) StatusCode() int
- type CollectCliLoginJSONRequestBody
- type CollectCliLoginRequest
- type CollectCliLoginResponse
- func (r CollectCliLoginResponse) ContentType() string
- func (r CollectCliLoginResponse) GetBody() []byte
- func (r CollectCliLoginResponse) GetJSON4XX() *ErrorEnvelope
- func (r CollectCliLoginResponse) GetJSON5XX() *ErrorEnvelope
- func (r CollectCliLoginResponse) GetJSON200() *CliLoginKey
- func (r CollectCliLoginResponse) Status() string
- func (r CollectCliLoginResponse) StatusCode() int
- type ComposeFileTranslation
- type ComposeIn
- type ComposeNote
- type ComposeNoteLevel
- type ComposePlanRequest
- type ComposeReadRequest
- type ComposeRepository
- type ComposeResourceOut
- type ComposeTranslation
- type ConfigServicesOut
- type ConnectionOut
- type ConnectionStatus
- type ConnectionStringOut
- type ConsumeLinkRequest
- type ConsumeMagicLinkJSONRequestBody
- type ConsumeMagicLinkResponse
- func (r ConsumeMagicLinkResponse) ContentType() string
- func (r ConsumeMagicLinkResponse) GetBody() []byte
- func (r ConsumeMagicLinkResponse) GetJSON4XX() *ErrorEnvelope
- func (r ConsumeMagicLinkResponse) GetJSON5XX() *ErrorEnvelope
- func (r ConsumeMagicLinkResponse) GetJSON200() *MagicLinkResult
- func (r ConsumeMagicLinkResponse) Status() string
- func (r ConsumeMagicLinkResponse) StatusCode() int
- type ContactIn
- type CreateApiKeyJSONRequestBody
- type CreateApiKeyRequest
- type CreateApiKeyRequestScopes
- type CreateApiKeyResponse
- func (r CreateApiKeyResponse) ContentType() string
- func (r CreateApiKeyResponse) GetBody() []byte
- func (r CreateApiKeyResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateApiKeyResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateApiKeyResponse) GetJSON201() *ApiKeyCreated
- func (r CreateApiKeyResponse) Status() string
- func (r CreateApiKeyResponse) StatusCode() int
- type CreateChatCompletionJSONRequestBody
- type CreateChatCompletionResponse
- func (r CreateChatCompletionResponse) ContentType() string
- func (r CreateChatCompletionResponse) GetBody() []byte
- func (r CreateChatCompletionResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateChatCompletionResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateChatCompletionResponse) GetJSON200() *interface{}
- func (r CreateChatCompletionResponse) Status() string
- func (r CreateChatCompletionResponse) StatusCode() int
- type CreateConnectionJSONRequestBody
- type CreateConnectionRequest
- type CreateConnectionResponse
- func (r CreateConnectionResponse) ContentType() string
- func (r CreateConnectionResponse) GetBody() []byte
- func (r CreateConnectionResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateConnectionResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateConnectionResponse) GetJSON201() *ConnectionOut
- func (r CreateConnectionResponse) Status() string
- func (r CreateConnectionResponse) StatusCode() int
- type CreateDatabaseBackupResponse
- func (r CreateDatabaseBackupResponse) ContentType() string
- func (r CreateDatabaseBackupResponse) GetBody() []byte
- func (r CreateDatabaseBackupResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateDatabaseBackupResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateDatabaseBackupResponse) GetJSON201() *BackupOut
- func (r CreateDatabaseBackupResponse) Status() string
- func (r CreateDatabaseBackupResponse) StatusCode() int
- type CreateDeploymentJSONRequestBody
- type CreateDeploymentRequest
- type CreateDeploymentResponse
- func (r CreateDeploymentResponse) ContentType() string
- func (r CreateDeploymentResponse) GetBody() []byte
- func (r CreateDeploymentResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateDeploymentResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateDeploymentResponse) GetJSON201() *DeploymentOut
- func (r CreateDeploymentResponse) Status() string
- func (r CreateDeploymentResponse) StatusCode() int
- type CreateDomainJSONRequestBody
- type CreateDomainRequest
- type CreateDomainResponse
- func (r CreateDomainResponse) ContentType() string
- func (r CreateDomainResponse) GetBody() []byte
- func (r CreateDomainResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateDomainResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateDomainResponse) GetJSON201() *DomainOut
- func (r CreateDomainResponse) Status() string
- func (r CreateDomainResponse) StatusCode() int
- type CreateEnvironmentJSONRequestBody
- type CreateEnvironmentRequest
- type CreateEnvironmentResponse
- func (r CreateEnvironmentResponse) ContentType() string
- func (r CreateEnvironmentResponse) GetBody() []byte
- func (r CreateEnvironmentResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateEnvironmentResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateEnvironmentResponse) GetJSON201() *EnvironmentOut
- func (r CreateEnvironmentResponse) Status() string
- func (r CreateEnvironmentResponse) StatusCode() int
- type CreateGpuRequestJSONRequestBody
- type CreateGpuRequestResponse
- func (r CreateGpuRequestResponse) ContentType() string
- func (r CreateGpuRequestResponse) GetBody() []byte
- func (r CreateGpuRequestResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateGpuRequestResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateGpuRequestResponse) GetJSON201() *CapacityRequestOut
- func (r CreateGpuRequestResponse) Status() string
- func (r CreateGpuRequestResponse) StatusCode() int
- type CreateImageJSONRequestBody
- type CreateImageResponse
- func (r CreateImageResponse) ContentType() string
- func (r CreateImageResponse) GetBody() []byte
- func (r CreateImageResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateImageResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateImageResponse) GetJSON200() *interface{}
- func (r CreateImageResponse) Status() string
- func (r CreateImageResponse) StatusCode() int
- type CreateInferenceEndpointJSONRequestBody
- type CreateInferenceEndpointResponse
- func (r CreateInferenceEndpointResponse) ContentType() string
- func (r CreateInferenceEndpointResponse) GetBody() []byte
- func (r CreateInferenceEndpointResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateInferenceEndpointResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateInferenceEndpointResponse) GetJSON201() *InferenceEndpointOut
- func (r CreateInferenceEndpointResponse) Status() string
- func (r CreateInferenceEndpointResponse) StatusCode() int
- type CreateInvitationRequest
- type CreateJobRunResponse
- func (r CreateJobRunResponse) ContentType() string
- func (r CreateJobRunResponse) GetBody() []byte
- func (r CreateJobRunResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateJobRunResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateJobRunResponse) GetJSON201() *JobRunOut
- func (r CreateJobRunResponse) Status() string
- func (r CreateJobRunResponse) StatusCode() int
- type CreateOrgInvitationJSONRequestBody
- type CreateOrgInvitationResponse
- func (r CreateOrgInvitationResponse) ContentType() string
- func (r CreateOrgInvitationResponse) GetBody() []byte
- func (r CreateOrgInvitationResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateOrgInvitationResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateOrgInvitationResponse) GetJSON201() *InvitationOut
- func (r CreateOrgInvitationResponse) Status() string
- func (r CreateOrgInvitationResponse) StatusCode() int
- type CreateProjectJSONRequestBody
- type CreateProjectRequest
- type CreateProjectResponse
- func (r CreateProjectResponse) ContentType() string
- func (r CreateProjectResponse) GetBody() []byte
- func (r CreateProjectResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateProjectResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateProjectResponse) GetJSON201() *ProjectOut
- func (r CreateProjectResponse) Status() string
- func (r CreateProjectResponse) StatusCode() int
- type CreateProjectTokenJSONRequestBody
- type CreateProjectTokenRequest
- type CreateProjectTokenRequestScopes
- type CreateProjectTokenResponse
- func (r CreateProjectTokenResponse) ContentType() string
- func (r CreateProjectTokenResponse) GetBody() []byte
- func (r CreateProjectTokenResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateProjectTokenResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateProjectTokenResponse) GetJSON201() *ApiKeyCreated
- func (r CreateProjectTokenResponse) Status() string
- func (r CreateProjectTokenResponse) StatusCode() int
- type CreateProjectWebhookJSONRequestBody
- type CreateProjectWebhookResponse
- func (r CreateProjectWebhookResponse) ContentType() string
- func (r CreateProjectWebhookResponse) GetBody() []byte
- func (r CreateProjectWebhookResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateProjectWebhookResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateProjectWebhookResponse) GetJSON201() *WebhookCreated
- func (r CreateProjectWebhookResponse) Status() string
- func (r CreateProjectWebhookResponse) StatusCode() int
- type CreateProviderKeyJSONRequestBody
- type CreateProviderKeyResponse
- func (r CreateProviderKeyResponse) ContentType() string
- func (r CreateProviderKeyResponse) GetBody() []byte
- func (r CreateProviderKeyResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateProviderKeyResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateProviderKeyResponse) GetJSON201() *ProviderKeyOut
- func (r CreateProviderKeyResponse) Status() string
- func (r CreateProviderKeyResponse) StatusCode() int
- type CreateRegistryCredentialJSONRequestBody
- type CreateRegistryCredentialRequest
- type CreateRegistryCredentialResponse
- func (r CreateRegistryCredentialResponse) ContentType() string
- func (r CreateRegistryCredentialResponse) GetBody() []byte
- func (r CreateRegistryCredentialResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateRegistryCredentialResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateRegistryCredentialResponse) GetJSON201() *RegistryCredentialOut
- func (r CreateRegistryCredentialResponse) Status() string
- func (r CreateRegistryCredentialResponse) StatusCode() int
- type CreateResourceJSONRequestBody
- type CreateResourceRequest
- type CreateResourceRequest_Spec
- func (t CreateResourceRequest_Spec) AsAiGatewayBindingSpec() (AiGatewayBindingSpec, error)
- func (t CreateResourceRequest_Spec) AsApplicationSpec() (ApplicationSpec, error)
- func (t CreateResourceRequest_Spec) AsGpuRuntimeSpec() (GpuRuntimeSpec, error)
- func (t CreateResourceRequest_Spec) AsObjectStorageSpec() (ObjectStorageSpec, error)
- func (t CreateResourceRequest_Spec) AsPostgresSpec() (PostgresSpec, error)
- func (t CreateResourceRequest_Spec) AsQueueSpec() (QueueSpec, error)
- func (t CreateResourceRequest_Spec) AsRedisSpec() (RedisSpec, error)
- func (t CreateResourceRequest_Spec) AsScheduledJobSpec() (ScheduledJobSpec, error)
- func (t CreateResourceRequest_Spec) AsVirtualMachineSpec() (VirtualMachineSpec, error)
- func (t CreateResourceRequest_Spec) AsWorkerSpec() (WorkerSpec, error)
- func (t *CreateResourceRequest_Spec) FromAiGatewayBindingSpec(v AiGatewayBindingSpec) error
- func (t *CreateResourceRequest_Spec) FromApplicationSpec(v ApplicationSpec) error
- func (t *CreateResourceRequest_Spec) FromGpuRuntimeSpec(v GpuRuntimeSpec) error
- func (t *CreateResourceRequest_Spec) FromObjectStorageSpec(v ObjectStorageSpec) error
- func (t *CreateResourceRequest_Spec) FromPostgresSpec(v PostgresSpec) error
- func (t *CreateResourceRequest_Spec) FromQueueSpec(v QueueSpec) error
- func (t *CreateResourceRequest_Spec) FromRedisSpec(v RedisSpec) error
- func (t *CreateResourceRequest_Spec) FromScheduledJobSpec(v ScheduledJobSpec) error
- func (t *CreateResourceRequest_Spec) FromVirtualMachineSpec(v VirtualMachineSpec) error
- func (t *CreateResourceRequest_Spec) FromWorkerSpec(v WorkerSpec) error
- func (t CreateResourceRequest_Spec) MarshalJSON() ([]byte, error)
- func (t *CreateResourceRequest_Spec) MergeAiGatewayBindingSpec(v AiGatewayBindingSpec) error
- func (t *CreateResourceRequest_Spec) MergeApplicationSpec(v ApplicationSpec) error
- func (t *CreateResourceRequest_Spec) MergeGpuRuntimeSpec(v GpuRuntimeSpec) error
- func (t *CreateResourceRequest_Spec) MergeObjectStorageSpec(v ObjectStorageSpec) error
- func (t *CreateResourceRequest_Spec) MergePostgresSpec(v PostgresSpec) error
- func (t *CreateResourceRequest_Spec) MergeQueueSpec(v QueueSpec) error
- func (t *CreateResourceRequest_Spec) MergeRedisSpec(v RedisSpec) error
- func (t *CreateResourceRequest_Spec) MergeScheduledJobSpec(v ScheduledJobSpec) error
- func (t *CreateResourceRequest_Spec) MergeVirtualMachineSpec(v VirtualMachineSpec) error
- func (t *CreateResourceRequest_Spec) MergeWorkerSpec(v WorkerSpec) error
- func (t *CreateResourceRequest_Spec) UnmarshalJSON(b []byte) error
- type CreateResourceResponse
- func (r CreateResourceResponse) ContentType() string
- func (r CreateResourceResponse) GetBody() []byte
- func (r CreateResourceResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateResourceResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateResourceResponse) GetJSON201() *ResourceOut
- func (r CreateResourceResponse) Status() string
- func (r CreateResourceResponse) StatusCode() int
- type CreateServerJSONRequestBody
- type CreateServerRequest
- type CreateServerRequestRuntimeProfile
- type CreateServerResponse
- func (r CreateServerResponse) ContentType() string
- func (r CreateServerResponse) GetBody() []byte
- func (r CreateServerResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateServerResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateServerResponse) GetJSON201() *ServerOut
- func (r CreateServerResponse) Status() string
- func (r CreateServerResponse) StatusCode() int
- type CreateServerSnapshotJSONRequestBody
- type CreateServerSnapshotResponse
- func (r CreateServerSnapshotResponse) ContentType() string
- func (r CreateServerSnapshotResponse) GetBody() []byte
- func (r CreateServerSnapshotResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateServerSnapshotResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateServerSnapshotResponse) GetJSON202() *SnapshotsOut
- func (r CreateServerSnapshotResponse) Status() string
- func (r CreateServerSnapshotResponse) StatusCode() int
- type CreateSnapshotRequest
- type CreateSpeechJSONRequestBody
- type CreateSpeechResponse
- func (r CreateSpeechResponse) ContentType() string
- func (r CreateSpeechResponse) GetBody() []byte
- func (r CreateSpeechResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateSpeechResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateSpeechResponse) GetJSON200() *interface{}
- func (r CreateSpeechResponse) Status() string
- func (r CreateSpeechResponse) StatusCode() int
- type CreateSshKeyJSONRequestBody
- type CreateSshKeyRequest
- type CreateSshKeyResponse
- func (r CreateSshKeyResponse) ContentType() string
- func (r CreateSshKeyResponse) GetBody() []byte
- func (r CreateSshKeyResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateSshKeyResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateSshKeyResponse) GetJSON201() *SshKeyOut
- func (r CreateSshKeyResponse) Status() string
- func (r CreateSshKeyResponse) StatusCode() int
- type CreateTranscriptionMultipartRequestBody
- type CreateTranscriptionResponse
- func (r CreateTranscriptionResponse) ContentType() string
- func (r CreateTranscriptionResponse) GetBody() []byte
- func (r CreateTranscriptionResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateTranscriptionResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateTranscriptionResponse) GetJSON200() *interface{}
- func (r CreateTranscriptionResponse) Status() string
- func (r CreateTranscriptionResponse) StatusCode() int
- type CreateVolumeBackupResponse
- func (r CreateVolumeBackupResponse) ContentType() string
- func (r CreateVolumeBackupResponse) GetBody() []byte
- func (r CreateVolumeBackupResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateVolumeBackupResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateVolumeBackupResponse) GetJSON201() *BackupOut
- func (r CreateVolumeBackupResponse) Status() string
- func (r CreateVolumeBackupResponse) StatusCode() int
- type CreateVolumeJSONRequestBody
- type CreateVolumeRequest
- type CreateVolumeResponse
- func (r CreateVolumeResponse) ContentType() string
- func (r CreateVolumeResponse) GetBody() []byte
- func (r CreateVolumeResponse) GetJSON4XX() *ErrorEnvelope
- func (r CreateVolumeResponse) GetJSON5XX() *ErrorEnvelope
- func (r CreateVolumeResponse) GetJSON201() *AppDomainsVolumesSchemasVolumeOut
- func (r CreateVolumeResponse) Status() string
- func (r CreateVolumeResponse) StatusCode() int
- type CreateWebhookRequest
- type CsrfResponse
- type DailyCount
- type DailyCountName
- type DataCategory
- type DataLocationOut
- type DataLocationSource
- type DataTier
- type DayMetrics
- type DeclaredServiceOut
- type DeclaredServicesResponse
- func (r DeclaredServicesResponse) ContentType() string
- func (r DeclaredServicesResponse) GetBody() []byte
- func (r DeclaredServicesResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeclaredServicesResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeclaredServicesResponse) GetJSON200() *ConfigServicesOut
- func (r DeclaredServicesResponse) Status() string
- func (r DeclaredServicesResponse) StatusCode() int
- type DeleteChangesetChangeResponse
- func (r DeleteChangesetChangeResponse) ContentType() string
- func (r DeleteChangesetChangeResponse) GetBody() []byte
- func (r DeleteChangesetChangeResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteChangesetChangeResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteChangesetChangeResponse) Status() string
- func (r DeleteChangesetChangeResponse) StatusCode() int
- type DeleteConnectionResponse
- func (r DeleteConnectionResponse) ContentType() string
- func (r DeleteConnectionResponse) GetBody() []byte
- func (r DeleteConnectionResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteConnectionResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteConnectionResponse) GetJSON202() *ConnectionOut
- func (r DeleteConnectionResponse) Status() string
- func (r DeleteConnectionResponse) StatusCode() int
- type DeleteDomainResponse
- func (r DeleteDomainResponse) ContentType() string
- func (r DeleteDomainResponse) GetBody() []byte
- func (r DeleteDomainResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteDomainResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteDomainResponse) Status() string
- func (r DeleteDomainResponse) StatusCode() int
- type DeleteEnvVarResponse
- func (r DeleteEnvVarResponse) ContentType() string
- func (r DeleteEnvVarResponse) GetBody() []byte
- func (r DeleteEnvVarResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteEnvVarResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteEnvVarResponse) Status() string
- func (r DeleteEnvVarResponse) StatusCode() int
- type DeleteEnvironmentResponse
- func (r DeleteEnvironmentResponse) ContentType() string
- func (r DeleteEnvironmentResponse) GetBody() []byte
- func (r DeleteEnvironmentResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteEnvironmentResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteEnvironmentResponse) GetJSON202() *EnvironmentOut
- func (r DeleteEnvironmentResponse) Status() string
- func (r DeleteEnvironmentResponse) StatusCode() int
- type DeleteInferenceEndpointResponse
- func (r DeleteInferenceEndpointResponse) ContentType() string
- func (r DeleteInferenceEndpointResponse) GetBody() []byte
- func (r DeleteInferenceEndpointResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteInferenceEndpointResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteInferenceEndpointResponse) Status() string
- func (r DeleteInferenceEndpointResponse) StatusCode() int
- type DeleteMyPasskeyResponse
- func (r DeleteMyPasskeyResponse) ContentType() string
- func (r DeleteMyPasskeyResponse) GetBody() []byte
- func (r DeleteMyPasskeyResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteMyPasskeyResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteMyPasskeyResponse) Status() string
- func (r DeleteMyPasskeyResponse) StatusCode() int
- type DeletePreviewResponse
- func (r DeletePreviewResponse) ContentType() string
- func (r DeletePreviewResponse) GetBody() []byte
- func (r DeletePreviewResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeletePreviewResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeletePreviewResponse) GetJSON202() *PreviewOut
- func (r DeletePreviewResponse) Status() string
- func (r DeletePreviewResponse) StatusCode() int
- type DeleteProjectResponse
- func (r DeleteProjectResponse) ContentType() string
- func (r DeleteProjectResponse) GetBody() []byte
- func (r DeleteProjectResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteProjectResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteProjectResponse) Status() string
- func (r DeleteProjectResponse) StatusCode() int
- type DeleteRegistryCredentialResponse
- func (r DeleteRegistryCredentialResponse) ContentType() string
- func (r DeleteRegistryCredentialResponse) GetBody() []byte
- func (r DeleteRegistryCredentialResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteRegistryCredentialResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteRegistryCredentialResponse) Status() string
- func (r DeleteRegistryCredentialResponse) StatusCode() int
- type DeleteResourceParams
- type DeleteResourceResponse
- func (r DeleteResourceResponse) ContentType() string
- func (r DeleteResourceResponse) GetBody() []byte
- func (r DeleteResourceResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteResourceResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteResourceResponse) GetJSON202() *ResourceOut
- func (r DeleteResourceResponse) Status() string
- func (r DeleteResourceResponse) StatusCode() int
- type DeleteServerParams
- type DeleteServerResponse
- func (r DeleteServerResponse) ContentType() string
- func (r DeleteServerResponse) GetBody() []byte
- func (r DeleteServerResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteServerResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteServerResponse) GetJSON202() *ServerOut
- func (r DeleteServerResponse) Status() string
- func (r DeleteServerResponse) StatusCode() int
- type DeleteServerSnapshotResponse
- func (r DeleteServerSnapshotResponse) ContentType() string
- func (r DeleteServerSnapshotResponse) GetBody() []byte
- func (r DeleteServerSnapshotResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteServerSnapshotResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteServerSnapshotResponse) GetJSON202() *SnapshotsOut
- func (r DeleteServerSnapshotResponse) Status() string
- func (r DeleteServerSnapshotResponse) StatusCode() int
- type DeleteSharedVariableResponse
- func (r DeleteSharedVariableResponse) ContentType() string
- func (r DeleteSharedVariableResponse) GetBody() []byte
- func (r DeleteSharedVariableResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteSharedVariableResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteSharedVariableResponse) Status() string
- func (r DeleteSharedVariableResponse) StatusCode() int
- type DeleteSshKeyResponse
- func (r DeleteSshKeyResponse) ContentType() string
- func (r DeleteSshKeyResponse) GetBody() []byte
- func (r DeleteSshKeyResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteSshKeyResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteSshKeyResponse) Status() string
- func (r DeleteSshKeyResponse) StatusCode() int
- type DeleteVolumeResponse
- func (r DeleteVolumeResponse) ContentType() string
- func (r DeleteVolumeResponse) GetBody() []byte
- func (r DeleteVolumeResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteVolumeResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteVolumeResponse) GetJSON202() *AppDomainsVolumesSchemasVolumeOut
- func (r DeleteVolumeResponse) Status() string
- func (r DeleteVolumeResponse) StatusCode() int
- type DeleteWebhookResponse
- func (r DeleteWebhookResponse) ContentType() string
- func (r DeleteWebhookResponse) GetBody() []byte
- func (r DeleteWebhookResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeleteWebhookResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeleteWebhookResponse) Status() string
- func (r DeleteWebhookResponse) StatusCode() int
- type DeliveryOut
- type DeliveryStatus
- type DenyCliLoginResponse
- func (r DenyCliLoginResponse) ContentType() string
- func (r DenyCliLoginResponse) GetBody() []byte
- func (r DenyCliLoginResponse) GetJSON4XX() *ErrorEnvelope
- func (r DenyCliLoginResponse) GetJSON5XX() *ErrorEnvelope
- func (r DenyCliLoginResponse) GetJSON200() *CliLoginOut
- func (r DenyCliLoginResponse) Status() string
- func (r DenyCliLoginResponse) StatusCode() int
- type DeployChangesetJSONRequestBody
- type DeployChangesetRequest
- type DeployChangesetResponse
- func (r DeployChangesetResponse) ContentType() string
- func (r DeployChangesetResponse) GetBody() []byte
- func (r DeployChangesetResponse) GetJSON4XX() *ErrorEnvelope
- func (r DeployChangesetResponse) GetJSON5XX() *ErrorEnvelope
- func (r DeployChangesetResponse) GetJSON200() *ChangesetOut
- func (r DeployChangesetResponse) Status() string
- func (r DeployChangesetResponse) StatusCode() int
- type DeploymentError
- type DeploymentLogLine
- type DeploymentLogPage
- type DeploymentOut
- type DeploymentStatus
- type DeploymentSummary
- type DeploymentTrigger
- type DetectGithubSettingsParams
- type DetectGithubSettingsResponse
- func (r DetectGithubSettingsResponse) ContentType() string
- func (r DetectGithubSettingsResponse) GetBody() []byte
- func (r DetectGithubSettingsResponse) GetJSON4XX() *ErrorEnvelope
- func (r DetectGithubSettingsResponse) GetJSON5XX() *ErrorEnvelope
- func (r DetectGithubSettingsResponse) GetJSON200() *Detection
- func (r DetectGithubSettingsResponse) Status() string
- func (r DetectGithubSettingsResponse) StatusCode() int
- type Detection
- type DiscardChangesetResponse
- func (r DiscardChangesetResponse) ContentType() string
- func (r DiscardChangesetResponse) GetBody() []byte
- func (r DiscardChangesetResponse) GetJSON4XX() *ErrorEnvelope
- func (r DiscardChangesetResponse) GetJSON5XX() *ErrorEnvelope
- func (r DiscardChangesetResponse) GetJSON200() *ChangesetOut
- func (r DiscardChangesetResponse) Status() string
- func (r DiscardChangesetResponse) StatusCode() int
- type DnsRecordOut
- type DnsRecordOutType
- type DomainOut
- type DomainStatus
- type DowngradeSubscriptionJSONRequestBody
- type DowngradeSubscriptionResponse
- func (r DowngradeSubscriptionResponse) ContentType() string
- func (r DowngradeSubscriptionResponse) GetBody() []byte
- func (r DowngradeSubscriptionResponse) GetJSON4XX() *ErrorEnvelope
- func (r DowngradeSubscriptionResponse) GetJSON5XX() *ErrorEnvelope
- func (r DowngradeSubscriptionResponse) GetJSON200() *SubscriptionOut
- func (r DowngradeSubscriptionResponse) Status() string
- func (r DowngradeSubscriptionResponse) StatusCode() int
- type DownloadInvoiceResponse
- type EarlyAccessRequestIn
- type EmailSent
- type EmailSignInRequest
- type EndpointOut
- type EndpointState
- type EngineInfo
- type Entitlements
- type EnvVarIn
- type EnvVarOut
- type EnvVarOutSource
- type EnvironmentOut
- type EnvironmentOutKind
- type EnvironmentOutStatus
- type EnvironmentReferenceTargetsResponse
- func (r EnvironmentReferenceTargetsResponse) ContentType() string
- func (r EnvironmentReferenceTargetsResponse) GetBody() []byte
- func (r EnvironmentReferenceTargetsResponse) GetJSON4XX() *ErrorEnvelope
- func (r EnvironmentReferenceTargetsResponse) GetJSON5XX() *ErrorEnvelope
- func (r EnvironmentReferenceTargetsResponse) GetJSON200() *ReferenceTargetsOut
- func (r EnvironmentReferenceTargetsResponse) Status() string
- func (r EnvironmentReferenceTargetsResponse) StatusCode() int
- type ErrorBody
- type ErrorEnvelope
- type EstimateJSONBody
- func (t EstimateJSONBody) AsChangesetEstimateIn() (ChangesetEstimateIn, error)
- func (t EstimateJSONBody) AsResizeEstimateIn() (ResizeEstimateIn, error)
- func (t EstimateJSONBody) AsResourceEstimateIn() (ResourceEstimateIn, error)
- func (t EstimateJSONBody) Discriminator() (string, error)
- func (t *EstimateJSONBody) FromChangesetEstimateIn(v ChangesetEstimateIn) error
- func (t *EstimateJSONBody) FromResizeEstimateIn(v ResizeEstimateIn) error
- func (t *EstimateJSONBody) FromResourceEstimateIn(v ResourceEstimateIn) error
- func (t EstimateJSONBody) MarshalJSON() ([]byte, error)
- func (t *EstimateJSONBody) MergeChangesetEstimateIn(v ChangesetEstimateIn) error
- func (t *EstimateJSONBody) MergeResizeEstimateIn(v ResizeEstimateIn) error
- func (t *EstimateJSONBody) MergeResourceEstimateIn(v ResourceEstimateIn) error
- func (t *EstimateJSONBody) UnmarshalJSON(b []byte) error
- func (t EstimateJSONBody) ValueByDiscriminator() (interface{}, error)
- type EstimateJSONRequestBody
- type EstimateLineOut
- type EstimateLineOutAction
- type EstimateOut
- type EstimateResponse
- func (r EstimateResponse) ContentType() string
- func (r EstimateResponse) GetBody() []byte
- func (r EstimateResponse) GetJSON4XX() *ErrorEnvelope
- func (r EstimateResponse) GetJSON5XX() *ErrorEnvelope
- func (r EstimateResponse) GetJSON200() *EstimateOut
- func (r EstimateResponse) Status() string
- func (r EstimateResponse) StatusCode() int
- type Features
- type FirewallOut
- type FirewallRule
- type FirewallRuleAction
- type FirewallRuleProtocol
- type GetAiMetricsParams
- type GetAiMetricsResponse
- func (r GetAiMetricsResponse) ContentType() string
- func (r GetAiMetricsResponse) GetBody() []byte
- func (r GetAiMetricsResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetAiMetricsResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetAiMetricsResponse) GetJSON200() *AiMetricsOut
- func (r GetAiMetricsResponse) Status() string
- func (r GetAiMetricsResponse) StatusCode() int
- type GetAiPolicyResponse
- func (r GetAiPolicyResponse) ContentType() string
- func (r GetAiPolicyResponse) GetBody() []byte
- func (r GetAiPolicyResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetAiPolicyResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetAiPolicyResponse) GetJSON200() *RoutingPolicyOut
- func (r GetAiPolicyResponse) Status() string
- func (r GetAiPolicyResponse) StatusCode() int
- type GetAiPrivacyResponse
- func (r GetAiPrivacyResponse) ContentType() string
- func (r GetAiPrivacyResponse) GetBody() []byte
- func (r GetAiPrivacyResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetAiPrivacyResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetAiPrivacyResponse) GetJSON200() *PrivacyPolicyOut
- func (r GetAiPrivacyResponse) Status() string
- func (r GetAiPrivacyResponse) StatusCode() int
- type GetAnalyticsSummaryParams
- type GetAnalyticsSummaryResponse
- func (r GetAnalyticsSummaryResponse) ContentType() string
- func (r GetAnalyticsSummaryResponse) GetBody() []byte
- func (r GetAnalyticsSummaryResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetAnalyticsSummaryResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetAnalyticsSummaryResponse) GetJSON200() *AnalyticsSummary
- func (r GetAnalyticsSummaryResponse) Status() string
- func (r GetAnalyticsSummaryResponse) StatusCode() int
- type GetAnnouncementResponse
- func (r GetAnnouncementResponse) ContentType() string
- func (r GetAnnouncementResponse) GetBody() []byte
- func (r GetAnnouncementResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetAnnouncementResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetAnnouncementResponse) GetJSON200() *AnnouncementOut
- func (r GetAnnouncementResponse) Status() string
- func (r GetAnnouncementResponse) StatusCode() int
- type GetBackupResponse
- func (r GetBackupResponse) ContentType() string
- func (r GetBackupResponse) GetBody() []byte
- func (r GetBackupResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetBackupResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetBackupResponse) GetJSON200() *BackupOut
- func (r GetBackupResponse) Status() string
- func (r GetBackupResponse) StatusCode() int
- type GetBillingCheckoutResponse
- func (r GetBillingCheckoutResponse) ContentType() string
- func (r GetBillingCheckoutResponse) GetBody() []byte
- func (r GetBillingCheckoutResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetBillingCheckoutResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetBillingCheckoutResponse) GetJSON200() *CheckoutOut
- func (r GetBillingCheckoutResponse) Status() string
- func (r GetBillingCheckoutResponse) StatusCode() int
- type GetBillingDetailsResponse
- func (r GetBillingDetailsResponse) ContentType() string
- func (r GetBillingDetailsResponse) GetBody() []byte
- func (r GetBillingDetailsResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetBillingDetailsResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetBillingDetailsResponse) GetJSON200() *BillingDetailsOut
- func (r GetBillingDetailsResponse) Status() string
- func (r GetBillingDetailsResponse) StatusCode() int
- type GetCanvasParams
- type GetCanvasResponse
- func (r GetCanvasResponse) ContentType() string
- func (r GetCanvasResponse) GetBody() []byte
- func (r GetCanvasResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetCanvasResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetCanvasResponse) GetJSON200() *CanvasOut
- func (r GetCanvasResponse) Status() string
- func (r GetCanvasResponse) StatusCode() int
- type GetChangesetResponse
- func (r GetChangesetResponse) ContentType() string
- func (r GetChangesetResponse) GetBody() []byte
- func (r GetChangesetResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetChangesetResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetChangesetResponse) GetJSON200() *ChangesetOut
- func (r GetChangesetResponse) Status() string
- func (r GetChangesetResponse) StatusCode() int
- type GetCliLoginResponse
- func (r GetCliLoginResponse) ContentType() string
- func (r GetCliLoginResponse) GetBody() []byte
- func (r GetCliLoginResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetCliLoginResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetCliLoginResponse) GetJSON200() *CliLoginOut
- func (r GetCliLoginResponse) Status() string
- func (r GetCliLoginResponse) StatusCode() int
- type GetCsrfTokenResponse
- func (r GetCsrfTokenResponse) ContentType() string
- func (r GetCsrfTokenResponse) GetBody() []byte
- func (r GetCsrfTokenResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetCsrfTokenResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetCsrfTokenResponse) GetJSON200() *CsrfResponse
- func (r GetCsrfTokenResponse) Status() string
- func (r GetCsrfTokenResponse) StatusCode() int
- type GetDeploymentLogsParams
- type GetDeploymentLogsResponse
- func (r GetDeploymentLogsResponse) ContentType() string
- func (r GetDeploymentLogsResponse) GetBody() []byte
- func (r GetDeploymentLogsResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetDeploymentLogsResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetDeploymentLogsResponse) GetJSON200() *DeploymentLogPage
- func (r GetDeploymentLogsResponse) Status() string
- func (r GetDeploymentLogsResponse) StatusCode() int
- type GetDeploymentResponse
- func (r GetDeploymentResponse) ContentType() string
- func (r GetDeploymentResponse) GetBody() []byte
- func (r GetDeploymentResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetDeploymentResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetDeploymentResponse) GetJSON200() *DeploymentOut
- func (r GetDeploymentResponse) Status() string
- func (r GetDeploymentResponse) StatusCode() int
- type GetEnvironmentChangesetResponse
- func (r GetEnvironmentChangesetResponse) ContentType() string
- func (r GetEnvironmentChangesetResponse) GetBody() []byte
- func (r GetEnvironmentChangesetResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetEnvironmentChangesetResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetEnvironmentChangesetResponse) GetJSON200() *ChangesetOut
- func (r GetEnvironmentChangesetResponse) Status() string
- func (r GetEnvironmentChangesetResponse) StatusCode() int
- type GetEnvironmentFirewallResponse
- func (r GetEnvironmentFirewallResponse) ContentType() string
- func (r GetEnvironmentFirewallResponse) GetBody() []byte
- func (r GetEnvironmentFirewallResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetEnvironmentFirewallResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetEnvironmentFirewallResponse) GetJSON200() *FirewallOut
- func (r GetEnvironmentFirewallResponse) Status() string
- func (r GetEnvironmentFirewallResponse) StatusCode() int
- type GetEnvironmentResponse
- func (r GetEnvironmentResponse) ContentType() string
- func (r GetEnvironmentResponse) GetBody() []byte
- func (r GetEnvironmentResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetEnvironmentResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetEnvironmentResponse) GetJSON200() *EnvironmentOut
- func (r GetEnvironmentResponse) Status() string
- func (r GetEnvironmentResponse) StatusCode() int
- type GetGithubInstallUrlParams
- type GetGithubInstallUrlResponse
- func (r GetGithubInstallUrlResponse) ContentType() string
- func (r GetGithubInstallUrlResponse) GetBody() []byte
- func (r GetGithubInstallUrlResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetGithubInstallUrlResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetGithubInstallUrlResponse) GetJSON200() *InstallUrlOut
- func (r GetGithubInstallUrlResponse) Status() string
- func (r GetGithubInstallUrlResponse) StatusCode() int
- type GetInferenceEndpointResponse
- func (r GetInferenceEndpointResponse) ContentType() string
- func (r GetInferenceEndpointResponse) GetBody() []byte
- func (r GetInferenceEndpointResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetInferenceEndpointResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetInferenceEndpointResponse) GetJSON200() *InferenceEndpointOut
- func (r GetInferenceEndpointResponse) Status() string
- func (r GetInferenceEndpointResponse) StatusCode() int
- type GetInvoiceResponse
- func (r GetInvoiceResponse) ContentType() string
- func (r GetInvoiceResponse) GetBody() []byte
- func (r GetInvoiceResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetInvoiceResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetInvoiceResponse) GetJSON200() *InvoiceOut
- func (r GetInvoiceResponse) Status() string
- func (r GetInvoiceResponse) StatusCode() int
- type GetJobRunLogsParams
- type GetJobRunLogsResponse
- func (r GetJobRunLogsResponse) ContentType() string
- func (r GetJobRunLogsResponse) GetBody() []byte
- func (r GetJobRunLogsResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetJobRunLogsResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetJobRunLogsResponse) GetJSON200() *JobRunLogPage
- func (r GetJobRunLogsResponse) Status() string
- func (r GetJobRunLogsResponse) StatusCode() int
- type GetJobRunResponse
- func (r GetJobRunResponse) ContentType() string
- func (r GetJobRunResponse) GetBody() []byte
- func (r GetJobRunResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetJobRunResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetJobRunResponse) GetJSON200() *JobRunOut
- func (r GetJobRunResponse) Status() string
- func (r GetJobRunResponse) StatusCode() int
- type GetMeResponse
- func (r GetMeResponse) ContentType() string
- func (r GetMeResponse) GetBody() []byte
- func (r GetMeResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetMeResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetMeResponse) GetJSON200() *MeResponse
- func (r GetMeResponse) Status() string
- func (r GetMeResponse) StatusCode() int
- type GetNotificationPreferencesResponse
- func (r GetNotificationPreferencesResponse) ContentType() string
- func (r GetNotificationPreferencesResponse) GetBody() []byte
- func (r GetNotificationPreferencesResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetNotificationPreferencesResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetNotificationPreferencesResponse) GetJSON200() *NotificationPreferences
- func (r GetNotificationPreferencesResponse) Status() string
- func (r GetNotificationPreferencesResponse) StatusCode() int
- type GetOperationResponse
- func (r GetOperationResponse) ContentType() string
- func (r GetOperationResponse) GetBody() []byte
- func (r GetOperationResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetOperationResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetOperationResponse) GetJSON200() *OperationOut
- func (r GetOperationResponse) Status() string
- func (r GetOperationResponse) StatusCode() int
- type GetOrgOverviewResponse
- func (r GetOrgOverviewResponse) ContentType() string
- func (r GetOrgOverviewResponse) GetBody() []byte
- func (r GetOrgOverviewResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetOrgOverviewResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetOrgOverviewResponse) GetJSON200() *OverviewOut
- func (r GetOrgOverviewResponse) Status() string
- func (r GetOrgOverviewResponse) StatusCode() int
- type GetOrgResponse
- func (r GetOrgResponse) ContentType() string
- func (r GetOrgResponse) GetBody() []byte
- func (r GetOrgResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetOrgResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetOrgResponse) GetJSON200() *OrgOut
- func (r GetOrgResponse) Status() string
- func (r GetOrgResponse) StatusCode() int
- type GetOrgSubscriptionResponse
- func (r GetOrgSubscriptionResponse) ContentType() string
- func (r GetOrgSubscriptionResponse) GetBody() []byte
- func (r GetOrgSubscriptionResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetOrgSubscriptionResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetOrgSubscriptionResponse) GetJSON200() *SubscriptionOut
- func (r GetOrgSubscriptionResponse) Status() string
- func (r GetOrgSubscriptionResponse) StatusCode() int
- type GetPreviewResponse
- func (r GetPreviewResponse) ContentType() string
- func (r GetPreviewResponse) GetBody() []byte
- func (r GetPreviewResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetPreviewResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetPreviewResponse) GetJSON200() *PreviewOut
- func (r GetPreviewResponse) Status() string
- func (r GetPreviewResponse) StatusCode() int
- type GetProjectResponse
- func (r GetProjectResponse) ContentType() string
- func (r GetProjectResponse) GetBody() []byte
- func (r GetProjectResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetProjectResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetProjectResponse) GetJSON200() *ProjectOut
- func (r GetProjectResponse) Status() string
- func (r GetProjectResponse) StatusCode() int
- type GetRawEnvResponse
- func (r GetRawEnvResponse) ContentType() string
- func (r GetRawEnvResponse) GetBody() []byte
- func (r GetRawEnvResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetRawEnvResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetRawEnvResponse) GetJSON200() *RawEnvOut
- func (r GetRawEnvResponse) Status() string
- func (r GetRawEnvResponse) StatusCode() int
- type GetRawSharedVariablesResponse
- func (r GetRawSharedVariablesResponse) ContentType() string
- func (r GetRawSharedVariablesResponse) GetBody() []byte
- func (r GetRawSharedVariablesResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetRawSharedVariablesResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetRawSharedVariablesResponse) GetJSON200() *RawEnvOut
- func (r GetRawSharedVariablesResponse) Status() string
- func (r GetRawSharedVariablesResponse) StatusCode() int
- type GetResourceHttpLogsParams
- type GetResourceHttpLogsResponse
- func (r GetResourceHttpLogsResponse) ContentType() string
- func (r GetResourceHttpLogsResponse) GetBody() []byte
- func (r GetResourceHttpLogsResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetResourceHttpLogsResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetResourceHttpLogsResponse) GetJSON200() *HttpLogPage
- func (r GetResourceHttpLogsResponse) Status() string
- func (r GetResourceHttpLogsResponse) StatusCode() int
- type GetResourceLogsParams
- type GetResourceLogsResponse
- func (r GetResourceLogsResponse) ContentType() string
- func (r GetResourceLogsResponse) GetBody() []byte
- func (r GetResourceLogsResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetResourceLogsResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetResourceLogsResponse) GetJSON200() *LogPage
- func (r GetResourceLogsResponse) Status() string
- func (r GetResourceLogsResponse) StatusCode() int
- type GetResourceMetricsParams
- type GetResourceMetricsParamsWindow
- type GetResourceMetricsResponse
- func (r GetResourceMetricsResponse) ContentType() string
- func (r GetResourceMetricsResponse) GetBody() []byte
- func (r GetResourceMetricsResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetResourceMetricsResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetResourceMetricsResponse) GetJSON200() *MetricsOut
- func (r GetResourceMetricsResponse) Status() string
- func (r GetResourceMetricsResponse) StatusCode() int
- type GetResourceResponse
- func (r GetResourceResponse) ContentType() string
- func (r GetResourceResponse) GetBody() []byte
- func (r GetResourceResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetResourceResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetResourceResponse) GetJSON200() *ResourceOut
- func (r GetResourceResponse) Status() string
- func (r GetResourceResponse) StatusCode() int
- type GetServerResponse
- func (r GetServerResponse) ContentType() string
- func (r GetServerResponse) GetBody() []byte
- func (r GetServerResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetServerResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetServerResponse) GetJSON200() *ServerOut
- func (r GetServerResponse) Status() string
- func (r GetServerResponse) StatusCode() int
- type GetSpendLimitResponse
- func (r GetSpendLimitResponse) ContentType() string
- func (r GetSpendLimitResponse) GetBody() []byte
- func (r GetSpendLimitResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetSpendLimitResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetSpendLimitResponse) GetJSON200() *SpendLimitOut
- func (r GetSpendLimitResponse) Status() string
- func (r GetSpendLimitResponse) StatusCode() int
- type GetSupportTicketResponse
- func (r GetSupportTicketResponse) ContentType() string
- func (r GetSupportTicketResponse) GetBody() []byte
- func (r GetSupportTicketResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetSupportTicketResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetSupportTicketResponse) GetJSON200() *MyTicketDetail
- func (r GetSupportTicketResponse) Status() string
- func (r GetSupportTicketResponse) StatusCode() int
- type GetTemplateResponse
- func (r GetTemplateResponse) ContentType() string
- func (r GetTemplateResponse) GetBody() []byte
- func (r GetTemplateResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetTemplateResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetTemplateResponse) GetJSON200() *TemplateOut
- func (r GetTemplateResponse) Status() string
- func (r GetTemplateResponse) StatusCode() int
- type GetUpcomingInvoiceResponse
- func (r GetUpcomingInvoiceResponse) ContentType() string
- func (r GetUpcomingInvoiceResponse) GetBody() []byte
- func (r GetUpcomingInvoiceResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetUpcomingInvoiceResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetUpcomingInvoiceResponse) GetJSON200() *InvoiceOut
- func (r GetUpcomingInvoiceResponse) Status() string
- func (r GetUpcomingInvoiceResponse) StatusCode() int
- type GetUsageSummaryResponse
- func (r GetUsageSummaryResponse) ContentType() string
- func (r GetUsageSummaryResponse) GetBody() []byte
- func (r GetUsageSummaryResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetUsageSummaryResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetUsageSummaryResponse) GetJSON200() *UsageSummaryOut
- func (r GetUsageSummaryResponse) Status() string
- func (r GetUsageSummaryResponse) StatusCode() int
- type GetVolumeResponse
- func (r GetVolumeResponse) ContentType() string
- func (r GetVolumeResponse) GetBody() []byte
- func (r GetVolumeResponse) GetJSON4XX() *ErrorEnvelope
- func (r GetVolumeResponse) GetJSON5XX() *ErrorEnvelope
- func (r GetVolumeResponse) GetJSON200() *AppDomainsVolumesSchemasVolumeOut
- func (r GetVolumeResponse) Status() string
- func (r GetVolumeResponse) StatusCode() int
- type GitHubSource
- type GitHubSourceProvider
- type GithubLoginCallbackParams
- type GithubLoginCallbackResponse
- func (r GithubLoginCallbackResponse) ContentType() string
- func (r GithubLoginCallbackResponse) GetBody() []byte
- func (r GithubLoginCallbackResponse) GetJSON4XX() *ErrorEnvelope
- func (r GithubLoginCallbackResponse) GetJSON5XX() *ErrorEnvelope
- func (r GithubLoginCallbackResponse) Status() string
- func (r GithubLoginCallbackResponse) StatusCode() int
- type GithubLoginStartParams
- type GithubLoginStartResponse
- func (r GithubLoginStartResponse) ContentType() string
- func (r GithubLoginStartResponse) GetBody() []byte
- func (r GithubLoginStartResponse) GetJSON4XX() *ErrorEnvelope
- func (r GithubLoginStartResponse) GetJSON5XX() *ErrorEnvelope
- func (r GithubLoginStartResponse) Status() string
- func (r GithubLoginStartResponse) StatusCode() int
- type GithubSetupAuthorizedParams
- type GithubSetupAuthorizedResponse
- func (r GithubSetupAuthorizedResponse) ContentType() string
- func (r GithubSetupAuthorizedResponse) GetBody() []byte
- func (r GithubSetupAuthorizedResponse) GetJSON4XX() *ErrorEnvelope
- func (r GithubSetupAuthorizedResponse) GetJSON5XX() *ErrorEnvelope
- func (r GithubSetupAuthorizedResponse) Status() string
- func (r GithubSetupAuthorizedResponse) StatusCode() int
- type GithubSetupCallbackParams
- type GithubSetupCallbackResponse
- func (r GithubSetupCallbackResponse) ContentType() string
- func (r GithubSetupCallbackResponse) GetBody() []byte
- func (r GithubSetupCallbackResponse) GetJSON4XX() *ErrorEnvelope
- func (r GithubSetupCallbackResponse) GetJSON5XX() *ErrorEnvelope
- func (r GithubSetupCallbackResponse) Status() string
- func (r GithubSetupCallbackResponse) StatusCode() int
- type GoogleLoginCallbackParams
- type GoogleLoginCallbackResponse
- func (r GoogleLoginCallbackResponse) ContentType() string
- func (r GoogleLoginCallbackResponse) GetBody() []byte
- func (r GoogleLoginCallbackResponse) GetJSON4XX() *ErrorEnvelope
- func (r GoogleLoginCallbackResponse) GetJSON5XX() *ErrorEnvelope
- func (r GoogleLoginCallbackResponse) Status() string
- func (r GoogleLoginCallbackResponse) StatusCode() int
- type GoogleLoginStartParams
- type GoogleLoginStartResponse
- func (r GoogleLoginStartResponse) ContentType() string
- func (r GoogleLoginStartResponse) GetBody() []byte
- func (r GoogleLoginStartResponse) GetJSON4XX() *ErrorEnvelope
- func (r GoogleLoginStartResponse) GetJSON5XX() *ErrorEnvelope
- func (r GoogleLoginStartResponse) Status() string
- func (r GoogleLoginStartResponse) StatusCode() int
- type GpuCatalogResponse
- func (r GpuCatalogResponse) ContentType() string
- func (r GpuCatalogResponse) GetBody() []byte
- func (r GpuCatalogResponse) GetJSON4XX() *ErrorEnvelope
- func (r GpuCatalogResponse) GetJSON5XX() *ErrorEnvelope
- func (r GpuCatalogResponse) GetJSON200() *[]GpuOfferingOut
- func (r GpuCatalogResponse) Status() string
- func (r GpuCatalogResponse) StatusCode() int
- type GpuOfferingOut
- type GpuOfferingOutAvailability
- type GpuRuntimeSpec
- type HealthzResponse
- func (r HealthzResponse) ContentType() string
- func (r HealthzResponse) GetBody() []byte
- func (r HealthzResponse) GetJSON4XX() *ErrorEnvelope
- func (r HealthzResponse) GetJSON5XX() *ErrorEnvelope
- func (r HealthzResponse) GetJSON200() *AppDomainsHealthRouterHealthOut
- func (r HealthzResponse) Status() string
- func (r HealthzResponse) StatusCode() int
- type HttpLogLineOut
- type HttpLogPage
- type HttpRequestDoer
- type ImageGenerationIn
- type ImageGenerationInBackground
- type ImageGenerationInOutputFormat
- type ImageGenerationInQuality
- type ImageGenerationInResponseFormat
- type ImageGenerationInSize
- type ImageSource
- type ImageSourceProvider
- type InferenceEndpointIn
- type InferenceEndpointOut
- type InferenceEndpointOutAvailability
- type InferenceEndpointPatch
- type InstallUrlOut
- type InstallationOut
- type InvitationOut
- type InvitationOutStatus
- type InvitationPreview
- type InvoiceLineOut
- type InvoiceOut
- type InvoicePage
- type JobRunError
- type JobRunLogLine
- type JobRunLogPage
- type JobRunOut
- type JobRunStatus
- type JobRunTrigger
- type LastDeployment
- type LeaveAMessageJSONRequestBody
- type LeaveAMessageResponse
- func (r LeaveAMessageResponse) ContentType() string
- func (r LeaveAMessageResponse) GetBody() []byte
- func (r LeaveAMessageResponse) GetJSON4XX() *ErrorEnvelope
- func (r LeaveAMessageResponse) GetJSON5XX() *ErrorEnvelope
- func (r LeaveAMessageResponse) GetJSON202() *Accepted
- func (r LeaveAMessageResponse) Status() string
- func (r LeaveAMessageResponse) StatusCode() int
- type ListAiModelsResponse
- func (r ListAiModelsResponse) ContentType() string
- func (r ListAiModelsResponse) GetBody() []byte
- func (r ListAiModelsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListAiModelsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListAiModelsResponse) GetJSON200() *[]AiModelOut
- func (r ListAiModelsResponse) Status() string
- func (r ListAiModelsResponse) StatusCode() int
- type ListAiRequestsParams
- type ListAiRequestsResponse
- func (r ListAiRequestsResponse) ContentType() string
- func (r ListAiRequestsResponse) GetBody() []byte
- func (r ListAiRequestsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListAiRequestsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListAiRequestsResponse) GetJSON200() *AiRequestPage
- func (r ListAiRequestsResponse) Status() string
- func (r ListAiRequestsResponse) StatusCode() int
- type ListApiKeysResponse
- func (r ListApiKeysResponse) ContentType() string
- func (r ListApiKeysResponse) GetBody() []byte
- func (r ListApiKeysResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListApiKeysResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListApiKeysResponse) GetJSON200() *[]ApiKeyOut
- func (r ListApiKeysResponse) Status() string
- func (r ListApiKeysResponse) StatusCode() int
- type ListConnectionStringsResponse
- func (r ListConnectionStringsResponse) ContentType() string
- func (r ListConnectionStringsResponse) GetBody() []byte
- func (r ListConnectionStringsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListConnectionStringsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListConnectionStringsResponse) GetJSON200() *[]ConnectionStringOut
- func (r ListConnectionStringsResponse) Status() string
- func (r ListConnectionStringsResponse) StatusCode() int
- type ListConnectionsResponse
- func (r ListConnectionsResponse) ContentType() string
- func (r ListConnectionsResponse) GetBody() []byte
- func (r ListConnectionsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListConnectionsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListConnectionsResponse) GetJSON200() *[]ConnectionOut
- func (r ListConnectionsResponse) Status() string
- func (r ListConnectionsResponse) StatusCode() int
- type ListDataLocationsResponse
- func (r ListDataLocationsResponse) ContentType() string
- func (r ListDataLocationsResponse) GetBody() []byte
- func (r ListDataLocationsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListDataLocationsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListDataLocationsResponse) GetJSON200() *[]DataLocationOut
- func (r ListDataLocationsResponse) Status() string
- func (r ListDataLocationsResponse) StatusCode() int
- type ListDatabaseBackupsParams
- type ListDatabaseBackupsResponse
- func (r ListDatabaseBackupsResponse) ContentType() string
- func (r ListDatabaseBackupsResponse) GetBody() []byte
- func (r ListDatabaseBackupsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListDatabaseBackupsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListDatabaseBackupsResponse) GetJSON200() *[]BackupOut
- func (r ListDatabaseBackupsResponse) Status() string
- func (r ListDatabaseBackupsResponse) StatusCode() int
- type ListDatabaseTablesResponse
- func (r ListDatabaseTablesResponse) ContentType() string
- func (r ListDatabaseTablesResponse) GetBody() []byte
- func (r ListDatabaseTablesResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListDatabaseTablesResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListDatabaseTablesResponse) GetJSON200() *TablesOut
- func (r ListDatabaseTablesResponse) Status() string
- func (r ListDatabaseTablesResponse) StatusCode() int
- type ListDomainsResponse
- func (r ListDomainsResponse) ContentType() string
- func (r ListDomainsResponse) GetBody() []byte
- func (r ListDomainsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListDomainsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListDomainsResponse) GetJSON200() *[]DomainOut
- func (r ListDomainsResponse) Status() string
- func (r ListDomainsResponse) StatusCode() int
- type ListEnvResponse
- func (r ListEnvResponse) ContentType() string
- func (r ListEnvResponse) GetBody() []byte
- func (r ListEnvResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListEnvResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListEnvResponse) GetJSON200() *[]EnvVarOut
- func (r ListEnvResponse) Status() string
- func (r ListEnvResponse) StatusCode() int
- type ListEnvironmentChangesetsParams
- type ListEnvironmentChangesetsResponse
- func (r ListEnvironmentChangesetsResponse) ContentType() string
- func (r ListEnvironmentChangesetsResponse) GetBody() []byte
- func (r ListEnvironmentChangesetsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListEnvironmentChangesetsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListEnvironmentChangesetsResponse) GetJSON200() *[]ChangesetOut
- func (r ListEnvironmentChangesetsResponse) Status() string
- func (r ListEnvironmentChangesetsResponse) StatusCode() int
- type ListEnvironmentsResponse
- func (r ListEnvironmentsResponse) ContentType() string
- func (r ListEnvironmentsResponse) GetBody() []byte
- func (r ListEnvironmentsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListEnvironmentsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListEnvironmentsResponse) GetJSON200() *[]EnvironmentOut
- func (r ListEnvironmentsResponse) Status() string
- func (r ListEnvironmentsResponse) StatusCode() int
- type ListGatewayModelsResponse
- func (r ListGatewayModelsResponse) ContentType() string
- func (r ListGatewayModelsResponse) GetBody() []byte
- func (r ListGatewayModelsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListGatewayModelsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListGatewayModelsResponse) GetJSON200() *OpenAiModelList
- func (r ListGatewayModelsResponse) Status() string
- func (r ListGatewayModelsResponse) StatusCode() int
- type ListGithubBranchesResponse
- func (r ListGithubBranchesResponse) ContentType() string
- func (r ListGithubBranchesResponse) GetBody() []byte
- func (r ListGithubBranchesResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListGithubBranchesResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListGithubBranchesResponse) GetJSON200() *[]BranchOut
- func (r ListGithubBranchesResponse) Status() string
- func (r ListGithubBranchesResponse) StatusCode() int
- type ListGithubInstallationsResponse
- func (r ListGithubInstallationsResponse) ContentType() string
- func (r ListGithubInstallationsResponse) GetBody() []byte
- func (r ListGithubInstallationsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListGithubInstallationsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListGithubInstallationsResponse) GetJSON200() *[]InstallationOut
- func (r ListGithubInstallationsResponse) Status() string
- func (r ListGithubInstallationsResponse) StatusCode() int
- type ListGithubReposResponse
- func (r ListGithubReposResponse) ContentType() string
- func (r ListGithubReposResponse) GetBody() []byte
- func (r ListGithubReposResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListGithubReposResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListGithubReposResponse) GetJSON200() *[]RepoOut
- func (r ListGithubReposResponse) Status() string
- func (r ListGithubReposResponse) StatusCode() int
- type ListGpuRequestsResponse
- func (r ListGpuRequestsResponse) ContentType() string
- func (r ListGpuRequestsResponse) GetBody() []byte
- func (r ListGpuRequestsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListGpuRequestsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListGpuRequestsResponse) GetJSON200() *[]CapacityRequestOut
- func (r ListGpuRequestsResponse) Status() string
- func (r ListGpuRequestsResponse) StatusCode() int
- type ListInferenceEndpointsResponse
- func (r ListInferenceEndpointsResponse) ContentType() string
- func (r ListInferenceEndpointsResponse) GetBody() []byte
- func (r ListInferenceEndpointsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListInferenceEndpointsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListInferenceEndpointsResponse) GetJSON200() *[]InferenceEndpointOut
- func (r ListInferenceEndpointsResponse) Status() string
- func (r ListInferenceEndpointsResponse) StatusCode() int
- type ListInvoicesParams
- type ListInvoicesResponse
- func (r ListInvoicesResponse) ContentType() string
- func (r ListInvoicesResponse) GetBody() []byte
- func (r ListInvoicesResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListInvoicesResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListInvoicesResponse) GetJSON200() *InvoicePage
- func (r ListInvoicesResponse) Status() string
- func (r ListInvoicesResponse) StatusCode() int
- type ListJobRunsParams
- type ListJobRunsResponse
- func (r ListJobRunsResponse) ContentType() string
- func (r ListJobRunsResponse) GetBody() []byte
- func (r ListJobRunsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListJobRunsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListJobRunsResponse) GetJSON200() *[]JobRunOut
- func (r ListJobRunsResponse) Status() string
- func (r ListJobRunsResponse) StatusCode() int
- type ListMembersResponse
- func (r ListMembersResponse) ContentType() string
- func (r ListMembersResponse) GetBody() []byte
- func (r ListMembersResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListMembersResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListMembersResponse) GetJSON200() *[]MemberOut
- func (r ListMembersResponse) Status() string
- func (r ListMembersResponse) StatusCode() int
- type ListMyPasskeysResponse
- func (r ListMyPasskeysResponse) ContentType() string
- func (r ListMyPasskeysResponse) GetBody() []byte
- func (r ListMyPasskeysResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListMyPasskeysResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListMyPasskeysResponse) GetJSON200() *[]PasskeyOut
- func (r ListMyPasskeysResponse) Status() string
- func (r ListMyPasskeysResponse) StatusCode() int
- type ListMySessionsResponse
- func (r ListMySessionsResponse) ContentType() string
- func (r ListMySessionsResponse) GetBody() []byte
- func (r ListMySessionsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListMySessionsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListMySessionsResponse) GetJSON200() *[]SessionOut
- func (r ListMySessionsResponse) Status() string
- func (r ListMySessionsResponse) StatusCode() int
- type ListOrgActivityParams
- type ListOrgActivityResponse
- func (r ListOrgActivityResponse) ContentType() string
- func (r ListOrgActivityResponse) GetBody() []byte
- func (r ListOrgActivityResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListOrgActivityResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListOrgActivityResponse) GetJSON200() *ActivityPage
- func (r ListOrgActivityResponse) Status() string
- func (r ListOrgActivityResponse) StatusCode() int
- type ListOrgInvitationsResponse
- func (r ListOrgInvitationsResponse) ContentType() string
- func (r ListOrgInvitationsResponse) GetBody() []byte
- func (r ListOrgInvitationsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListOrgInvitationsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListOrgInvitationsResponse) GetJSON200() *[]InvitationOut
- func (r ListOrgInvitationsResponse) Status() string
- func (r ListOrgInvitationsResponse) StatusCode() int
- type ListPaymentMethodsResponse
- func (r ListPaymentMethodsResponse) ContentType() string
- func (r ListPaymentMethodsResponse) GetBody() []byte
- func (r ListPaymentMethodsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListPaymentMethodsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListPaymentMethodsResponse) GetJSON200() *[]PaymentMethodOut
- func (r ListPaymentMethodsResponse) Status() string
- func (r ListPaymentMethodsResponse) StatusCode() int
- type ListPlansResponse
- func (r ListPlansResponse) ContentType() string
- func (r ListPlansResponse) GetBody() []byte
- func (r ListPlansResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListPlansResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListPlansResponse) GetJSON200() *[]PlanOut
- func (r ListPlansResponse) Status() string
- func (r ListPlansResponse) StatusCode() int
- type ListPreviewsResponse
- func (r ListPreviewsResponse) ContentType() string
- func (r ListPreviewsResponse) GetBody() []byte
- func (r ListPreviewsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListPreviewsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListPreviewsResponse) GetJSON200() *[]PreviewOut
- func (r ListPreviewsResponse) Status() string
- func (r ListPreviewsResponse) StatusCode() int
- type ListPricesResponse
- func (r ListPricesResponse) ContentType() string
- func (r ListPricesResponse) GetBody() []byte
- func (r ListPricesResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListPricesResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListPricesResponse) GetJSON200() *PriceCatalogue
- func (r ListPricesResponse) Status() string
- func (r ListPricesResponse) StatusCode() int
- type ListProjectDeploymentsParams
- type ListProjectDeploymentsResponse
- func (r ListProjectDeploymentsResponse) ContentType() string
- func (r ListProjectDeploymentsResponse) GetBody() []byte
- func (r ListProjectDeploymentsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListProjectDeploymentsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListProjectDeploymentsResponse) GetJSON200() *[]DeploymentOut
- func (r ListProjectDeploymentsResponse) Status() string
- func (r ListProjectDeploymentsResponse) StatusCode() int
- type ListProjectOperationsParams
- type ListProjectOperationsResponse
- func (r ListProjectOperationsResponse) ContentType() string
- func (r ListProjectOperationsResponse) GetBody() []byte
- func (r ListProjectOperationsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListProjectOperationsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListProjectOperationsResponse) GetJSON200() *[]OperationOut
- func (r ListProjectOperationsResponse) Status() string
- func (r ListProjectOperationsResponse) StatusCode() int
- type ListProjectTokensResponse
- func (r ListProjectTokensResponse) ContentType() string
- func (r ListProjectTokensResponse) GetBody() []byte
- func (r ListProjectTokensResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListProjectTokensResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListProjectTokensResponse) GetJSON200() *[]ApiKeyOut
- func (r ListProjectTokensResponse) Status() string
- func (r ListProjectTokensResponse) StatusCode() int
- type ListProjectWebhooksResponse
- func (r ListProjectWebhooksResponse) ContentType() string
- func (r ListProjectWebhooksResponse) GetBody() []byte
- func (r ListProjectWebhooksResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListProjectWebhooksResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListProjectWebhooksResponse) GetJSON200() *[]WebhookOut
- func (r ListProjectWebhooksResponse) Status() string
- func (r ListProjectWebhooksResponse) StatusCode() int
- type ListProjectsResponse
- func (r ListProjectsResponse) ContentType() string
- func (r ListProjectsResponse) GetBody() []byte
- func (r ListProjectsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListProjectsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListProjectsResponse) GetJSON200() *[]ProjectOut
- func (r ListProjectsResponse) Status() string
- func (r ListProjectsResponse) StatusCode() int
- type ListProviderKeysResponse
- func (r ListProviderKeysResponse) ContentType() string
- func (r ListProviderKeysResponse) GetBody() []byte
- func (r ListProviderKeysResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListProviderKeysResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListProviderKeysResponse) GetJSON200() *[]ProviderKeyOut
- func (r ListProviderKeysResponse) Status() string
- func (r ListProviderKeysResponse) StatusCode() int
- type ListRedisKeysParams
- type ListRedisKeysResponse
- func (r ListRedisKeysResponse) ContentType() string
- func (r ListRedisKeysResponse) GetBody() []byte
- func (r ListRedisKeysResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListRedisKeysResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListRedisKeysResponse) GetJSON200() *RedisKeysOut
- func (r ListRedisKeysResponse) Status() string
- func (r ListRedisKeysResponse) StatusCode() int
- type ListRegionsResponse
- func (r ListRegionsResponse) ContentType() string
- func (r ListRegionsResponse) GetBody() []byte
- func (r ListRegionsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListRegionsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListRegionsResponse) GetJSON200() *[]RegionOut
- func (r ListRegionsResponse) Status() string
- func (r ListRegionsResponse) StatusCode() int
- type ListRegistryCredentialsResponse
- func (r ListRegistryCredentialsResponse) ContentType() string
- func (r ListRegistryCredentialsResponse) GetBody() []byte
- func (r ListRegistryCredentialsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListRegistryCredentialsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListRegistryCredentialsResponse) GetJSON200() *[]RegistryCredentialOut
- func (r ListRegistryCredentialsResponse) Status() string
- func (r ListRegistryCredentialsResponse) StatusCode() int
- type ListResourceDeploymentsParams
- type ListResourceDeploymentsResponse
- func (r ListResourceDeploymentsResponse) ContentType() string
- func (r ListResourceDeploymentsResponse) GetBody() []byte
- func (r ListResourceDeploymentsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListResourceDeploymentsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListResourceDeploymentsResponse) GetJSON200() *[]DeploymentOut
- func (r ListResourceDeploymentsResponse) Status() string
- func (r ListResourceDeploymentsResponse) StatusCode() int
- type ListResourcesParams
- type ListResourcesResponse
- func (r ListResourcesResponse) ContentType() string
- func (r ListResourcesResponse) GetBody() []byte
- func (r ListResourcesResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListResourcesResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListResourcesResponse) GetJSON200() *[]ResourceOut
- func (r ListResourcesResponse) Status() string
- func (r ListResourcesResponse) StatusCode() int
- type ListServerSnapshotsResponse
- func (r ListServerSnapshotsResponse) ContentType() string
- func (r ListServerSnapshotsResponse) GetBody() []byte
- func (r ListServerSnapshotsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListServerSnapshotsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListServerSnapshotsResponse) GetJSON200() *SnapshotsOut
- func (r ListServerSnapshotsResponse) Status() string
- func (r ListServerSnapshotsResponse) StatusCode() int
- type ListServersResponse
- func (r ListServersResponse) ContentType() string
- func (r ListServersResponse) GetBody() []byte
- func (r ListServersResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListServersResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListServersResponse) GetJSON200() *[]ServerOut
- func (r ListServersResponse) Status() string
- func (r ListServersResponse) StatusCode() int
- type ListSharedVariablesResponse
- func (r ListSharedVariablesResponse) ContentType() string
- func (r ListSharedVariablesResponse) GetBody() []byte
- func (r ListSharedVariablesResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListSharedVariablesResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListSharedVariablesResponse) GetJSON200() *[]SharedVariableOut
- func (r ListSharedVariablesResponse) Status() string
- func (r ListSharedVariablesResponse) StatusCode() int
- type ListSshKeysResponse
- func (r ListSshKeysResponse) ContentType() string
- func (r ListSshKeysResponse) GetBody() []byte
- func (r ListSshKeysResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListSshKeysResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListSshKeysResponse) GetJSON200() *[]SshKeyOut
- func (r ListSshKeysResponse) Status() string
- func (r ListSshKeysResponse) StatusCode() int
- type ListSupportTicketsResponse
- func (r ListSupportTicketsResponse) ContentType() string
- func (r ListSupportTicketsResponse) GetBody() []byte
- func (r ListSupportTicketsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListSupportTicketsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListSupportTicketsResponse) GetJSON200() *[]MyTicket
- func (r ListSupportTicketsResponse) Status() string
- func (r ListSupportTicketsResponse) StatusCode() int
- type ListTemplatesParams
- type ListTemplatesResponse
- func (r ListTemplatesResponse) ContentType() string
- func (r ListTemplatesResponse) GetBody() []byte
- func (r ListTemplatesResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListTemplatesResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListTemplatesResponse) GetJSON200() *[]TemplateSummary
- func (r ListTemplatesResponse) Status() string
- func (r ListTemplatesResponse) StatusCode() int
- type ListUsageRecordsParams
- type ListUsageRecordsResponse
- func (r ListUsageRecordsResponse) ContentType() string
- func (r ListUsageRecordsResponse) GetBody() []byte
- func (r ListUsageRecordsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListUsageRecordsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListUsageRecordsResponse) GetJSON200() *[]UsageRecordOut
- func (r ListUsageRecordsResponse) Status() string
- func (r ListUsageRecordsResponse) StatusCode() int
- type ListVolumeBackupsParams
- type ListVolumeBackupsResponse
- func (r ListVolumeBackupsResponse) ContentType() string
- func (r ListVolumeBackupsResponse) GetBody() []byte
- func (r ListVolumeBackupsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListVolumeBackupsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListVolumeBackupsResponse) GetJSON200() *[]BackupOut
- func (r ListVolumeBackupsResponse) Status() string
- func (r ListVolumeBackupsResponse) StatusCode() int
- type ListWebhookDeliveriesParams
- type ListWebhookDeliveriesResponse
- func (r ListWebhookDeliveriesResponse) ContentType() string
- func (r ListWebhookDeliveriesResponse) GetBody() []byte
- func (r ListWebhookDeliveriesResponse) GetJSON4XX() *ErrorEnvelope
- func (r ListWebhookDeliveriesResponse) GetJSON5XX() *ErrorEnvelope
- func (r ListWebhookDeliveriesResponse) GetJSON200() *[]DeliveryOut
- func (r ListWebhookDeliveriesResponse) Status() string
- func (r ListWebhookDeliveriesResponse) StatusCode() int
- type LogLineOut
- type LogPage
- type LogSearchLine
- type LogSearchLineSource
- type LogSearchPage
- type LogoutResponse
- func (r LogoutResponse) ContentType() string
- func (r LogoutResponse) GetBody() []byte
- func (r LogoutResponse) GetJSON4XX() *ErrorEnvelope
- func (r LogoutResponse) GetJSON5XX() *ErrorEnvelope
- func (r LogoutResponse) GetJSON200() *Accepted
- func (r LogoutResponse) Status() string
- func (r LogoutResponse) StatusCode() int
- type MagicLinkResult
- type MeOrganization
- type MeResponse
- type MeResponseSignInMethods
- type MemberOut
- type MessageIn
- type Meter
- type MeterUsageOut
- type MeteredChargeOut
- type MetricPointOut
- type MetricSeriesOut
- type MetricsOut
- type MetricsOutWindow
- type MetricsRow
- type ModelMetrics
- type MyMessage
- type MyTicket
- type MyTicketDetail
- type NodePosition
- type NormalizedBlueprint
- type NotificationPreferences
- type ObjectStoragePrices
- type ObjectStorageSpec
- type ObjectStorageSpecPublic
- type ObservedOut
- type OpenAiModel
- type OpenAiModelList
- type OpenAiModelListObject
- type OpenAiModelObject
- type OpenSupportTicketJSONRequestBody
- type OpenSupportTicketResponse
- func (r OpenSupportTicketResponse) ContentType() string
- func (r OpenSupportTicketResponse) GetBody() []byte
- func (r OpenSupportTicketResponse) GetJSON4XX() *ErrorEnvelope
- func (r OpenSupportTicketResponse) GetJSON5XX() *ErrorEnvelope
- func (r OpenSupportTicketResponse) GetJSON201() *MyTicketDetail
- func (r OpenSupportTicketResponse) Status() string
- func (r OpenSupportTicketResponse) StatusCode() int
- type OperationErrorOut
- type OperationOut
- type OperationSummary
- type OrgOut
- type OverviewCounts
- type OverviewOut
- type PasskeyAssertion
- type PasskeyOptionsRequest
- type PasskeyOut
- type PasskeyRegistration
- type PasskeyRegistrationOptionsResponse
- func (r PasskeyRegistrationOptionsResponse) ContentType() string
- func (r PasskeyRegistrationOptionsResponse) GetBody() []byte
- func (r PasskeyRegistrationOptionsResponse) GetJSON4XX() *ErrorEnvelope
- func (r PasskeyRegistrationOptionsResponse) GetJSON5XX() *ErrorEnvelope
- func (r PasskeyRegistrationOptionsResponse) GetJSON200() *map[string]interface{}
- func (r PasskeyRegistrationOptionsResponse) Status() string
- func (r PasskeyRegistrationOptionsResponse) StatusCode() int
- type PasskeySignInJSONRequestBody
- type PasskeySignInOptionsJSONRequestBody
- type PasskeySignInOptionsResponse
- func (r PasskeySignInOptionsResponse) ContentType() string
- func (r PasskeySignInOptionsResponse) GetBody() []byte
- func (r PasskeySignInOptionsResponse) GetJSON4XX() *ErrorEnvelope
- func (r PasskeySignInOptionsResponse) GetJSON5XX() *ErrorEnvelope
- func (r PasskeySignInOptionsResponse) GetJSON200() *map[string]interface{}
- func (r PasskeySignInOptionsResponse) Status() string
- func (r PasskeySignInOptionsResponse) StatusCode() int
- type PasskeySignInResponse
- func (r PasskeySignInResponse) ContentType() string
- func (r PasskeySignInResponse) GetBody() []byte
- func (r PasskeySignInResponse) GetJSON4XX() *ErrorEnvelope
- func (r PasskeySignInResponse) GetJSON5XX() *ErrorEnvelope
- func (r PasskeySignInResponse) GetJSON200() *AuthResponse
- func (r PasskeySignInResponse) Status() string
- func (r PasskeySignInResponse) StatusCode() int
- type PathCount
- type PaymentMethodOut
- type PaystackCheckoutCallbackParams
- type PaystackCheckoutCallbackResponse
- func (r PaystackCheckoutCallbackResponse) ContentType() string
- func (r PaystackCheckoutCallbackResponse) GetBody() []byte
- func (r PaystackCheckoutCallbackResponse) GetJSON4XX() *ErrorEnvelope
- func (r PaystackCheckoutCallbackResponse) GetJSON5XX() *ErrorEnvelope
- func (r PaystackCheckoutCallbackResponse) Status() string
- func (r PaystackCheckoutCallbackResponse) StatusCode() int
- type PilotSector
- type PlanBlueprintJSONRequestBody
- type PlanBlueprintRequest
- type PlanBlueprintRequestFormat
- type PlanBlueprintResponse
- func (r PlanBlueprintResponse) ContentType() string
- func (r PlanBlueprintResponse) GetBody() []byte
- func (r PlanBlueprintResponse) GetJSON4XX() *ErrorEnvelope
- func (r PlanBlueprintResponse) GetJSON5XX() *ErrorEnvelope
- func (r PlanBlueprintResponse) GetJSON201() *ChangesetOut
- func (r PlanBlueprintResponse) Status() string
- func (r PlanBlueprintResponse) StatusCode() int
- type PlanComposeJSONRequestBody
- type PlanComposeResponse
- func (r PlanComposeResponse) ContentType() string
- func (r PlanComposeResponse) GetBody() []byte
- func (r PlanComposeResponse) GetJSON4XX() *ErrorEnvelope
- func (r PlanComposeResponse) GetJSON5XX() *ErrorEnvelope
- func (r PlanComposeResponse) GetJSON201() *ChangesetOut
- func (r PlanComposeResponse) Status() string
- func (r PlanComposeResponse) StatusCode() int
- type PlanDeclaredServicesResponse
- func (r PlanDeclaredServicesResponse) ContentType() string
- func (r PlanDeclaredServicesResponse) GetBody() []byte
- func (r PlanDeclaredServicesResponse) GetJSON4XX() *ErrorEnvelope
- func (r PlanDeclaredServicesResponse) GetJSON5XX() *ErrorEnvelope
- func (r PlanDeclaredServicesResponse) GetJSON201() *ChangesetOut
- func (r PlanDeclaredServicesResponse) Status() string
- func (r PlanDeclaredServicesResponse) StatusCode() int
- type PlanOut
- type PlanTemplateJSONBody
- type PlanTemplateJSONRequestBody
- type PlanTemplateRequest
- type PlanTemplateResponse
- func (r PlanTemplateResponse) ContentType() string
- func (r PlanTemplateResponse) GetBody() []byte
- func (r PlanTemplateResponse) GetJSON4XX() *ErrorEnvelope
- func (r PlanTemplateResponse) GetJSON5XX() *ErrorEnvelope
- func (r PlanTemplateResponse) GetJSON201() *ChangesetOut
- func (r PlanTemplateResponse) Status() string
- func (r PlanTemplateResponse) StatusCode() int
- type PostgresPrices
- type PostgresSpec
- type PostgresSpecVersion
- type PreviewAiPrivacyJSONRequestBody
- type PreviewAiPrivacyResponse
- func (r PreviewAiPrivacyResponse) ContentType() string
- func (r PreviewAiPrivacyResponse) GetBody() []byte
- func (r PreviewAiPrivacyResponse) GetJSON4XX() *ErrorEnvelope
- func (r PreviewAiPrivacyResponse) GetJSON5XX() *ErrorEnvelope
- func (r PreviewAiPrivacyResponse) GetJSON200() *PrivacyPreviewOut
- func (r PreviewAiPrivacyResponse) Status() string
- func (r PreviewAiPrivacyResponse) StatusCode() int
- type PreviewDecision
- type PreviewDecisionOffsetUnit
- type PreviewInvitationResponse
- func (r PreviewInvitationResponse) ContentType() string
- func (r PreviewInvitationResponse) GetBody() []byte
- func (r PreviewInvitationResponse) GetJSON4XX() *ErrorEnvelope
- func (r PreviewInvitationResponse) GetJSON5XX() *ErrorEnvelope
- func (r PreviewInvitationResponse) GetJSON200() *InvitationPreview
- func (r PreviewInvitationResponse) Status() string
- func (r PreviewInvitationResponse) StatusCode() int
- type PreviewOut
- type PreviewStatus
- type PriceCatalogue
- type PrivacyOverrideIn
- type PrivacyOverrideInEnforcement
- type PrivacyPolicyIn
- type PrivacyPolicyInEnforcement
- type PrivacyPolicyInMediaRule
- type PrivacyPolicyInMode
- type PrivacyPolicyOut
- type PrivacyPolicyOutEnforcement
- type PrivacyPolicyOutMediaRule
- type PrivacyPolicyOutMode
- type PrivacyPreviewIn
- type PrivacyPreviewInProvider
- type PrivacyPreviewOut
- type PrivacyPreviewOutMode
- type ProductInterest
- type ProjectOut
- type ProjectOutStatus
- type ProviderKeyIn
- type ProviderKeyInProvider
- type ProviderKeyOut
- type ProviderOut
- type PutAiPolicyJSONRequestBody
- type PutAiPolicyResponse
- func (r PutAiPolicyResponse) ContentType() string
- func (r PutAiPolicyResponse) GetBody() []byte
- func (r PutAiPolicyResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutAiPolicyResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutAiPolicyResponse) GetJSON200() *RoutingPolicyOut
- func (r PutAiPolicyResponse) Status() string
- func (r PutAiPolicyResponse) StatusCode() int
- type PutAiPrivacyJSONRequestBody
- type PutAiPrivacyResponse
- func (r PutAiPrivacyResponse) ContentType() string
- func (r PutAiPrivacyResponse) GetBody() []byte
- func (r PutAiPrivacyResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutAiPrivacyResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutAiPrivacyResponse) GetJSON200() *PrivacyPolicyOut
- func (r PutAiPrivacyResponse) Status() string
- func (r PutAiPrivacyResponse) StatusCode() int
- type PutBillingDetailsJSONRequestBody
- type PutBillingDetailsResponse
- func (r PutBillingDetailsResponse) ContentType() string
- func (r PutBillingDetailsResponse) GetBody() []byte
- func (r PutBillingDetailsResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutBillingDetailsResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutBillingDetailsResponse) GetJSON200() *BillingDetailsOut
- func (r PutBillingDetailsResponse) Status() string
- func (r PutBillingDetailsResponse) StatusCode() int
- type PutCanvasJSONRequestBody
- type PutCanvasParams
- type PutCanvasResponse
- func (r PutCanvasResponse) ContentType() string
- func (r PutCanvasResponse) GetBody() []byte
- func (r PutCanvasResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutCanvasResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutCanvasResponse) GetJSON200() *CanvasOut
- func (r PutCanvasResponse) Status() string
- func (r PutCanvasResponse) StatusCode() int
- type PutEnvJSONRequestBody
- type PutEnvRequest
- type PutEnvResponse
- func (r PutEnvResponse) ContentType() string
- func (r PutEnvResponse) GetBody() []byte
- func (r PutEnvResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutEnvResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutEnvResponse) GetJSON200() *[]EnvVarOut
- func (r PutEnvResponse) Status() string
- func (r PutEnvResponse) StatusCode() int
- type PutNotificationPreferencesJSONRequestBody
- type PutNotificationPreferencesResponse
- func (r PutNotificationPreferencesResponse) ContentType() string
- func (r PutNotificationPreferencesResponse) GetBody() []byte
- func (r PutNotificationPreferencesResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutNotificationPreferencesResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutNotificationPreferencesResponse) GetJSON200() *NotificationPreferences
- func (r PutNotificationPreferencesResponse) Status() string
- func (r PutNotificationPreferencesResponse) StatusCode() int
- type PutRawEnvJSONRequestBody
- type PutRawEnvRequest
- type PutRawEnvResponse
- func (r PutRawEnvResponse) ContentType() string
- func (r PutRawEnvResponse) GetBody() []byte
- func (r PutRawEnvResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutRawEnvResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutRawEnvResponse) GetJSON200() *[]EnvVarOut
- func (r PutRawEnvResponse) Status() string
- func (r PutRawEnvResponse) StatusCode() int
- type PutRawSharedVariablesJSONRequestBody
- type PutRawSharedVariablesResponse
- func (r PutRawSharedVariablesResponse) ContentType() string
- func (r PutRawSharedVariablesResponse) GetBody() []byte
- func (r PutRawSharedVariablesResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutRawSharedVariablesResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutRawSharedVariablesResponse) GetJSON200() *[]SharedVariableOut
- func (r PutRawSharedVariablesResponse) Status() string
- func (r PutRawSharedVariablesResponse) StatusCode() int
- type PutSharedVariablesJSONRequestBody
- type PutSharedVariablesRequest
- type PutSharedVariablesResponse
- func (r PutSharedVariablesResponse) ContentType() string
- func (r PutSharedVariablesResponse) GetBody() []byte
- func (r PutSharedVariablesResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutSharedVariablesResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutSharedVariablesResponse) GetJSON200() *[]SharedVariableOut
- func (r PutSharedVariablesResponse) Status() string
- func (r PutSharedVariablesResponse) StatusCode() int
- type PutSpendLimitJSONRequestBody
- type PutSpendLimitResponse
- func (r PutSpendLimitResponse) ContentType() string
- func (r PutSpendLimitResponse) GetBody() []byte
- func (r PutSpendLimitResponse) GetJSON4XX() *ErrorEnvelope
- func (r PutSpendLimitResponse) GetJSON5XX() *ErrorEnvelope
- func (r PutSpendLimitResponse) GetJSON200() *SpendLimitOut
- func (r PutSpendLimitResponse) Status() string
- func (r PutSpendLimitResponse) StatusCode() int
- type QueryColumnOut
- type QueryIn
- type QueryOut
- type QueueSpec
- type RawEnvOut
- type ReadComposeJSONRequestBody
- type ReadComposeResponse
- func (r ReadComposeResponse) ContentType() string
- func (r ReadComposeResponse) GetBody() []byte
- func (r ReadComposeResponse) GetJSON4XX() *ErrorEnvelope
- func (r ReadComposeResponse) GetJSON5XX() *ErrorEnvelope
- func (r ReadComposeResponse) GetJSON200() *ComposeFileTranslation
- func (r ReadComposeResponse) Status() string
- func (r ReadComposeResponse) StatusCode() int
- type ReadyzResponse
- func (r ReadyzResponse) ContentType() string
- func (r ReadyzResponse) GetBody() []byte
- func (r ReadyzResponse) GetJSON4XX() *ErrorEnvelope
- func (r ReadyzResponse) GetJSON5XX() *ErrorEnvelope
- func (r ReadyzResponse) GetJSON200() *AppDomainsHealthRouterHealthOut
- func (r ReadyzResponse) GetJSON503() *AppDomainsHealthRouterHealthOut
- func (r ReadyzResponse) Status() string
- func (r ReadyzResponse) StatusCode() int
- type RebuildServerJSONRequestBody
- type RebuildServerRequest
- type RebuildServerResponse
- func (r RebuildServerResponse) ContentType() string
- func (r RebuildServerResponse) GetBody() []byte
- func (r RebuildServerResponse) GetJSON4XX() *ErrorEnvelope
- func (r RebuildServerResponse) GetJSON5XX() *ErrorEnvelope
- func (r RebuildServerResponse) GetJSON202() *ServerOut
- func (r RebuildServerResponse) Status() string
- func (r RebuildServerResponse) StatusCode() int
- type ReceiveGithubWebhookResponse
- func (r ReceiveGithubWebhookResponse) ContentType() string
- func (r ReceiveGithubWebhookResponse) GetBody() []byte
- func (r ReceiveGithubWebhookResponse) GetJSON4XX() *ErrorEnvelope
- func (r ReceiveGithubWebhookResponse) GetJSON5XX() *ErrorEnvelope
- func (r ReceiveGithubWebhookResponse) GetJSON200() *WebhookResult
- func (r ReceiveGithubWebhookResponse) Status() string
- func (r ReceiveGithubWebhookResponse) StatusCode() int
- type ReceivePaystackWebhookResponse
- func (r ReceivePaystackWebhookResponse) ContentType() string
- func (r ReceivePaystackWebhookResponse) GetBody() []byte
- func (r ReceivePaystackWebhookResponse) GetJSON4XX() *ErrorEnvelope
- func (r ReceivePaystackWebhookResponse) GetJSON5XX() *ErrorEnvelope
- func (r ReceivePaystackWebhookResponse) GetJSON200() *WebhookAck
- func (r ReceivePaystackWebhookResponse) Status() string
- func (r ReceivePaystackWebhookResponse) StatusCode() int
- type RecordAnalyticsEventJSONBody
- type RecordAnalyticsEventJSONBodyName
- type RecordAnalyticsEventJSONBodyProps0
- type RecordAnalyticsEventJSONBodyProps1
- type RecordAnalyticsEventJSONBodyProps2
- type RecordAnalyticsEventJSONBodyProps3
- type RecordAnalyticsEventJSONBody_Props_AdditionalProperties
- func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps0() (RecordAnalyticsEventJSONBodyProps0, error)
- func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps1() (RecordAnalyticsEventJSONBodyProps1, error)
- func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps2() (RecordAnalyticsEventJSONBodyProps2, error)
- func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps3() (RecordAnalyticsEventJSONBodyProps3, error)
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps0(v RecordAnalyticsEventJSONBodyProps0) error
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps1(v RecordAnalyticsEventJSONBodyProps1) error
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps2(v RecordAnalyticsEventJSONBodyProps2) error
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps3(v RecordAnalyticsEventJSONBodyProps3) error
- func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MarshalJSON() ([]byte, error)
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps0(v RecordAnalyticsEventJSONBodyProps0) error
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps1(v RecordAnalyticsEventJSONBodyProps1) error
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps2(v RecordAnalyticsEventJSONBodyProps2) error
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps3(v RecordAnalyticsEventJSONBodyProps3) error
- func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) UnmarshalJSON(b []byte) error
- type RecordAnalyticsEventJSONRequestBody
- type RecordAnalyticsEventResponse
- func (r RecordAnalyticsEventResponse) ContentType() string
- func (r RecordAnalyticsEventResponse) GetBody() []byte
- func (r RecordAnalyticsEventResponse) GetJSON4XX() *ErrorEnvelope
- func (r RecordAnalyticsEventResponse) GetJSON5XX() *ErrorEnvelope
- func (r RecordAnalyticsEventResponse) Status() string
- func (r RecordAnalyticsEventResponse) StatusCode() int
- type RedeliverWebhookDeliveryResponse
- func (r RedeliverWebhookDeliveryResponse) ContentType() string
- func (r RedeliverWebhookDeliveryResponse) GetBody() []byte
- func (r RedeliverWebhookDeliveryResponse) GetJSON4XX() *ErrorEnvelope
- func (r RedeliverWebhookDeliveryResponse) GetJSON5XX() *ErrorEnvelope
- func (r RedeliverWebhookDeliveryResponse) GetJSON200() *DeliveryOut
- func (r RedeliverWebhookDeliveryResponse) Status() string
- func (r RedeliverWebhookDeliveryResponse) StatusCode() int
- type RedisKeyOut
- type RedisKeysOut
- type RedisPrices
- type RedisSpec
- type RedisSpecEvictionPolicy
- type RedisSpecVersion
- type ReferenceTarget
- type ReferenceTargetsOut
- type ReferrerCount
- type RegionOut
- type RegionStatus
- type RegisterPasskeyJSONRequestBody
- type RegisterPasskeyResponse
- func (r RegisterPasskeyResponse) ContentType() string
- func (r RegisterPasskeyResponse) GetBody() []byte
- func (r RegisterPasskeyResponse) GetJSON4XX() *ErrorEnvelope
- func (r RegisterPasskeyResponse) GetJSON5XX() *ErrorEnvelope
- func (r RegisterPasskeyResponse) GetJSON201() *PasskeyOut
- func (r RegisterPasskeyResponse) Status() string
- func (r RegisterPasskeyResponse) StatusCode() int
- type RegistryCredentialOut
- type RemoveDeploymentResponse
- func (r RemoveDeploymentResponse) ContentType() string
- func (r RemoveDeploymentResponse) GetBody() []byte
- func (r RemoveDeploymentResponse) GetJSON4XX() *ErrorEnvelope
- func (r RemoveDeploymentResponse) GetJSON5XX() *ErrorEnvelope
- func (r RemoveDeploymentResponse) GetJSON202() *DeploymentOut
- func (r RemoveDeploymentResponse) Status() string
- func (r RemoveDeploymentResponse) StatusCode() int
- type RemoveOrgMemberResponse
- func (r RemoveOrgMemberResponse) ContentType() string
- func (r RemoveOrgMemberResponse) GetBody() []byte
- func (r RemoveOrgMemberResponse) GetJSON4XX() *ErrorEnvelope
- func (r RemoveOrgMemberResponse) GetJSON5XX() *ErrorEnvelope
- func (r RemoveOrgMemberResponse) Status() string
- func (r RemoveOrgMemberResponse) StatusCode() int
- type RemovePaymentMethodResponse
- func (r RemovePaymentMethodResponse) ContentType() string
- func (r RemovePaymentMethodResponse) GetBody() []byte
- func (r RemovePaymentMethodResponse) GetJSON4XX() *ErrorEnvelope
- func (r RemovePaymentMethodResponse) GetJSON5XX() *ErrorEnvelope
- func (r RemovePaymentMethodResponse) Status() string
- func (r RemovePaymentMethodResponse) StatusCode() int
- type ReplaceEnvironmentFirewallJSONRequestBody
- type ReplaceEnvironmentFirewallResponse
- func (r ReplaceEnvironmentFirewallResponse) ContentType() string
- func (r ReplaceEnvironmentFirewallResponse) GetBody() []byte
- func (r ReplaceEnvironmentFirewallResponse) GetJSON4XX() *ErrorEnvelope
- func (r ReplaceEnvironmentFirewallResponse) GetJSON5XX() *ErrorEnvelope
- func (r ReplaceEnvironmentFirewallResponse) GetJSON200() *FirewallOut
- func (r ReplaceEnvironmentFirewallResponse) Status() string
- func (r ReplaceEnvironmentFirewallResponse) StatusCode() int
- type ReplaceFirewallRequest
- type ReplySupportTicketJSONRequestBody
- type ReplySupportTicketResponse
- func (r ReplySupportTicketResponse) ContentType() string
- func (r ReplySupportTicketResponse) GetBody() []byte
- func (r ReplySupportTicketResponse) GetJSON4XX() *ErrorEnvelope
- func (r ReplySupportTicketResponse) GetJSON5XX() *ErrorEnvelope
- func (r ReplySupportTicketResponse) GetJSON200() *MyTicketDetail
- func (r ReplySupportTicketResponse) Status() string
- func (r ReplySupportTicketResponse) StatusCode() int
- type RepoOut
- type RequestEditorFn
- type RequestMagicLinkJSONRequestBodydeprecated
- type RequestMagicLinkResponse
- func (r RequestMagicLinkResponse) ContentType() string
- func (r RequestMagicLinkResponse) GetBody() []byte
- func (r RequestMagicLinkResponse) GetJSON4XX() *ErrorEnvelope
- func (r RequestMagicLinkResponse) GetJSON5XX() *ErrorEnvelope
- func (r RequestMagicLinkResponse) GetJSON202() *EmailSent
- func (r RequestMagicLinkResponse) Status() string
- func (r RequestMagicLinkResponse) StatusCode() int
- type ResizeEstimateIn
- type ResizeEstimateInType
- type ResizeServerJSONRequestBody
- type ResizeServerRequest
- type ResizeServerResponse
- func (r ResizeServerResponse) ContentType() string
- func (r ResizeServerResponse) GetBody() []byte
- func (r ResizeServerResponse) GetJSON4XX() *ErrorEnvelope
- func (r ResizeServerResponse) GetJSON5XX() *ErrorEnvelope
- func (r ResizeServerResponse) GetJSON202() *ServerOut
- func (r ResizeServerResponse) Status() string
- func (r ResizeServerResponse) StatusCode() int
- type ResizeVolumeJSONRequestBody
- type ResizeVolumeRequest
- type ResizeVolumeResponse
- func (r ResizeVolumeResponse) ContentType() string
- func (r ResizeVolumeResponse) GetBody() []byte
- func (r ResizeVolumeResponse) GetJSON4XX() *ErrorEnvelope
- func (r ResizeVolumeResponse) GetJSON5XX() *ErrorEnvelope
- func (r ResizeVolumeResponse) GetJSON202() *AppDomainsVolumesSchemasVolumeOut
- func (r ResizeVolumeResponse) Status() string
- func (r ResizeVolumeResponse) StatusCode() int
- type ResourceEstimateIn
- type ResourceEstimateInType
- type ResourceKind
- type ResourceOut
- type ResourceOut_Spec
- func (t ResourceOut_Spec) AsAiGatewayBindingSpec() (AiGatewayBindingSpec, error)
- func (t ResourceOut_Spec) AsApplicationSpec() (ApplicationSpec, error)
- func (t ResourceOut_Spec) AsGpuRuntimeSpec() (GpuRuntimeSpec, error)
- func (t ResourceOut_Spec) AsObjectStorageSpec() (ObjectStorageSpec, error)
- func (t ResourceOut_Spec) AsPostgresSpec() (PostgresSpec, error)
- func (t ResourceOut_Spec) AsQueueSpec() (QueueSpec, error)
- func (t ResourceOut_Spec) AsRedisSpec() (RedisSpec, error)
- func (t ResourceOut_Spec) AsScheduledJobSpec() (ScheduledJobSpec, error)
- func (t ResourceOut_Spec) AsVirtualMachineSpec() (VirtualMachineSpec, error)
- func (t ResourceOut_Spec) AsWorkerSpec() (WorkerSpec, error)
- func (t *ResourceOut_Spec) FromAiGatewayBindingSpec(v AiGatewayBindingSpec) error
- func (t *ResourceOut_Spec) FromApplicationSpec(v ApplicationSpec) error
- func (t *ResourceOut_Spec) FromGpuRuntimeSpec(v GpuRuntimeSpec) error
- func (t *ResourceOut_Spec) FromObjectStorageSpec(v ObjectStorageSpec) error
- func (t *ResourceOut_Spec) FromPostgresSpec(v PostgresSpec) error
- func (t *ResourceOut_Spec) FromQueueSpec(v QueueSpec) error
- func (t *ResourceOut_Spec) FromRedisSpec(v RedisSpec) error
- func (t *ResourceOut_Spec) FromScheduledJobSpec(v ScheduledJobSpec) error
- func (t *ResourceOut_Spec) FromVirtualMachineSpec(v VirtualMachineSpec) error
- func (t *ResourceOut_Spec) FromWorkerSpec(v WorkerSpec) error
- func (t ResourceOut_Spec) MarshalJSON() ([]byte, error)
- func (t *ResourceOut_Spec) MergeAiGatewayBindingSpec(v AiGatewayBindingSpec) error
- func (t *ResourceOut_Spec) MergeApplicationSpec(v ApplicationSpec) error
- func (t *ResourceOut_Spec) MergeGpuRuntimeSpec(v GpuRuntimeSpec) error
- func (t *ResourceOut_Spec) MergeObjectStorageSpec(v ObjectStorageSpec) error
- func (t *ResourceOut_Spec) MergePostgresSpec(v PostgresSpec) error
- func (t *ResourceOut_Spec) MergeQueueSpec(v QueueSpec) error
- func (t *ResourceOut_Spec) MergeRedisSpec(v RedisSpec) error
- func (t *ResourceOut_Spec) MergeScheduledJobSpec(v ScheduledJobSpec) error
- func (t *ResourceOut_Spec) MergeVirtualMachineSpec(v VirtualMachineSpec) error
- func (t *ResourceOut_Spec) MergeWorkerSpec(v WorkerSpec) error
- func (t *ResourceOut_Spec) UnmarshalJSON(b []byte) error
- type ResourceReferenceTargetsResponse
- func (r ResourceReferenceTargetsResponse) ContentType() string
- func (r ResourceReferenceTargetsResponse) GetBody() []byte
- func (r ResourceReferenceTargetsResponse) GetJSON4XX() *ErrorEnvelope
- func (r ResourceReferenceTargetsResponse) GetJSON5XX() *ErrorEnvelope
- func (r ResourceReferenceTargetsResponse) GetJSON200() *ReferenceTargetsOut
- func (r ResourceReferenceTargetsResponse) Status() string
- func (r ResourceReferenceTargetsResponse) StatusCode() int
- type ResourceStatus
- type RestoreBackupJSONRequestBody
- type RestoreBackupResponse
- func (r RestoreBackupResponse) ContentType() string
- func (r RestoreBackupResponse) GetBody() []byte
- func (r RestoreBackupResponse) GetJSON4XX() *ErrorEnvelope
- func (r RestoreBackupResponse) GetJSON5XX() *ErrorEnvelope
- func (r RestoreBackupResponse) GetJSON202() *OperationOut
- func (r RestoreBackupResponse) Status() string
- func (r RestoreBackupResponse) StatusCode() int
- type RestoreDatabaseJSONRequestBody
- type RestoreDatabaseResponse
- func (r RestoreDatabaseResponse) ContentType() string
- func (r RestoreDatabaseResponse) GetBody() []byte
- func (r RestoreDatabaseResponse) GetJSON4XX() *ErrorEnvelope
- func (r RestoreDatabaseResponse) GetJSON5XX() *ErrorEnvelope
- func (r RestoreDatabaseResponse) GetJSON202() *OperationOut
- func (r RestoreDatabaseResponse) Status() string
- func (r RestoreDatabaseResponse) StatusCode() int
- type RestoreRequest
- type ResumeSubscriptionResponse
- func (r ResumeSubscriptionResponse) ContentType() string
- func (r ResumeSubscriptionResponse) GetBody() []byte
- func (r ResumeSubscriptionResponse) GetJSON4XX() *ErrorEnvelope
- func (r ResumeSubscriptionResponse) GetJSON5XX() *ErrorEnvelope
- func (r ResumeSubscriptionResponse) GetJSON200() *SubscriptionOut
- func (r ResumeSubscriptionResponse) Status() string
- func (r ResumeSubscriptionResponse) StatusCode() int
- type RetryConnectionResponse
- func (r RetryConnectionResponse) ContentType() string
- func (r RetryConnectionResponse) GetBody() []byte
- func (r RetryConnectionResponse) GetJSON4XX() *ErrorEnvelope
- func (r RetryConnectionResponse) GetJSON5XX() *ErrorEnvelope
- func (r RetryConnectionResponse) GetJSON202() *ConnectionOut
- func (r RetryConnectionResponse) Status() string
- func (r RetryConnectionResponse) StatusCode() int
- type RevealEnvVarResponse
- func (r RevealEnvVarResponse) ContentType() string
- func (r RevealEnvVarResponse) GetBody() []byte
- func (r RevealEnvVarResponse) GetJSON4XX() *ErrorEnvelope
- func (r RevealEnvVarResponse) GetJSON5XX() *ErrorEnvelope
- func (r RevealEnvVarResponse) GetJSON200() *RevealedEnvVar
- func (r RevealEnvVarResponse) Status() string
- func (r RevealEnvVarResponse) StatusCode() int
- type RevealSharedVariableResponse
- func (r RevealSharedVariableResponse) ContentType() string
- func (r RevealSharedVariableResponse) GetBody() []byte
- func (r RevealSharedVariableResponse) GetJSON4XX() *ErrorEnvelope
- func (r RevealSharedVariableResponse) GetJSON5XX() *ErrorEnvelope
- func (r RevealSharedVariableResponse) GetJSON200() *RevealedEnvVar
- func (r RevealSharedVariableResponse) Status() string
- func (r RevealSharedVariableResponse) StatusCode() int
- type RevealedEnvVar
- type RevertServerSnapshotJSONRequestBody
- type RevertServerSnapshotResponse
- func (r RevertServerSnapshotResponse) ContentType() string
- func (r RevertServerSnapshotResponse) GetBody() []byte
- func (r RevertServerSnapshotResponse) GetJSON4XX() *ErrorEnvelope
- func (r RevertServerSnapshotResponse) GetJSON5XX() *ErrorEnvelope
- func (r RevertServerSnapshotResponse) GetJSON202() *SnapshotsOut
- func (r RevertServerSnapshotResponse) Status() string
- func (r RevertServerSnapshotResponse) StatusCode() int
- type RevertSnapshotRequest
- type RevokeApiKeyResponse
- func (r RevokeApiKeyResponse) ContentType() string
- func (r RevokeApiKeyResponse) GetBody() []byte
- func (r RevokeApiKeyResponse) GetJSON4XX() *ErrorEnvelope
- func (r RevokeApiKeyResponse) GetJSON5XX() *ErrorEnvelope
- func (r RevokeApiKeyResponse) Status() string
- func (r RevokeApiKeyResponse) StatusCode() int
- type RevokeInvitationResponse
- func (r RevokeInvitationResponse) ContentType() string
- func (r RevokeInvitationResponse) GetBody() []byte
- func (r RevokeInvitationResponse) GetJSON4XX() *ErrorEnvelope
- func (r RevokeInvitationResponse) GetJSON5XX() *ErrorEnvelope
- func (r RevokeInvitationResponse) Status() string
- func (r RevokeInvitationResponse) StatusCode() int
- type RevokeMySessionResponse
- func (r RevokeMySessionResponse) ContentType() string
- func (r RevokeMySessionResponse) GetBody() []byte
- func (r RevokeMySessionResponse) GetJSON4XX() *ErrorEnvelope
- func (r RevokeMySessionResponse) GetJSON5XX() *ErrorEnvelope
- func (r RevokeMySessionResponse) Status() string
- func (r RevokeMySessionResponse) StatusCode() int
- type RevokeProjectTokenResponse
- func (r RevokeProjectTokenResponse) ContentType() string
- func (r RevokeProjectTokenResponse) GetBody() []byte
- func (r RevokeProjectTokenResponse) GetJSON4XX() *ErrorEnvelope
- func (r RevokeProjectTokenResponse) GetJSON5XX() *ErrorEnvelope
- func (r RevokeProjectTokenResponse) Status() string
- func (r RevokeProjectTokenResponse) StatusCode() int
- type RevokeProviderKeyResponse
- func (r RevokeProviderKeyResponse) ContentType() string
- func (r RevokeProviderKeyResponse) GetBody() []byte
- func (r RevokeProviderKeyResponse) GetJSON4XX() *ErrorEnvelope
- func (r RevokeProviderKeyResponse) GetJSON5XX() *ErrorEnvelope
- func (r RevokeProviderKeyResponse) Status() string
- func (r RevokeProviderKeyResponse) StatusCode() int
- type Role
- type RollbackDeploymentJSONBody
- type RollbackDeploymentJSONRequestBody
- type RollbackDeploymentResponse
- func (r RollbackDeploymentResponse) ContentType() string
- func (r RollbackDeploymentResponse) GetBody() []byte
- func (r RollbackDeploymentResponse) GetJSON4XX() *ErrorEnvelope
- func (r RollbackDeploymentResponse) GetJSON5XX() *ErrorEnvelope
- func (r RollbackDeploymentResponse) GetJSON201() *DeploymentOut
- func (r RollbackDeploymentResponse) Status() string
- func (r RollbackDeploymentResponse) StatusCode() int
- type RollbackRequest
- type RootPasswordRequest
- type RotateDatabaseCredentialsResponse
- func (r RotateDatabaseCredentialsResponse) ContentType() string
- func (r RotateDatabaseCredentialsResponse) GetBody() []byte
- func (r RotateDatabaseCredentialsResponse) GetJSON4XX() *ErrorEnvelope
- func (r RotateDatabaseCredentialsResponse) GetJSON5XX() *ErrorEnvelope
- func (r RotateDatabaseCredentialsResponse) GetJSON202() *RotateOut
- func (r RotateDatabaseCredentialsResponse) Status() string
- func (r RotateDatabaseCredentialsResponse) StatusCode() int
- type RotateOut
- type RotateWebhookSecretResponse
- func (r RotateWebhookSecretResponse) ContentType() string
- func (r RotateWebhookSecretResponse) GetBody() []byte
- func (r RotateWebhookSecretResponse) GetJSON4XX() *ErrorEnvelope
- func (r RotateWebhookSecretResponse) GetJSON5XX() *ErrorEnvelope
- func (r RotateWebhookSecretResponse) GetJSON200() *WebhookCreated
- func (r RotateWebhookSecretResponse) Status() string
- func (r RotateWebhookSecretResponse) StatusCode() int
- type RoutingPolicyIn
- type RoutingPolicyInAllowedProviders
- type RoutingPolicyInMonthlySpendCapUsd0
- type RoutingPolicyInMonthlySpendCapUsd1
- type RoutingPolicyIn_MonthlySpendCapUsd
- func (t RoutingPolicyIn_MonthlySpendCapUsd) AsRoutingPolicyInMonthlySpendCapUsd0() (RoutingPolicyInMonthlySpendCapUsd0, error)
- func (t RoutingPolicyIn_MonthlySpendCapUsd) AsRoutingPolicyInMonthlySpendCapUsd1() (RoutingPolicyInMonthlySpendCapUsd1, error)
- func (t *RoutingPolicyIn_MonthlySpendCapUsd) FromRoutingPolicyInMonthlySpendCapUsd0(v RoutingPolicyInMonthlySpendCapUsd0) error
- func (t *RoutingPolicyIn_MonthlySpendCapUsd) FromRoutingPolicyInMonthlySpendCapUsd1(v RoutingPolicyInMonthlySpendCapUsd1) error
- func (t RoutingPolicyIn_MonthlySpendCapUsd) MarshalJSON() ([]byte, error)
- func (t *RoutingPolicyIn_MonthlySpendCapUsd) MergeRoutingPolicyInMonthlySpendCapUsd0(v RoutingPolicyInMonthlySpendCapUsd0) error
- func (t *RoutingPolicyIn_MonthlySpendCapUsd) MergeRoutingPolicyInMonthlySpendCapUsd1(v RoutingPolicyInMonthlySpendCapUsd1) error
- func (t *RoutingPolicyIn_MonthlySpendCapUsd) UnmarshalJSON(b []byte) error
- type RoutingPolicyOut
- type RunDatabaseQueryJSONRequestBody
- type RunDatabaseQueryResponse
- func (r RunDatabaseQueryResponse) ContentType() string
- func (r RunDatabaseQueryResponse) GetBody() []byte
- func (r RunDatabaseQueryResponse) GetJSON4XX() *ErrorEnvelope
- func (r RunDatabaseQueryResponse) GetJSON5XX() *ErrorEnvelope
- func (r RunDatabaseQueryResponse) GetJSON200() *QueryOut
- func (r RunDatabaseQueryResponse) Status() string
- func (r RunDatabaseQueryResponse) StatusCode() int
- type RunResourceActionParamsAction
- type RunResourceActionResponse
- func (r RunResourceActionResponse) ContentType() string
- func (r RunResourceActionResponse) GetBody() []byte
- func (r RunResourceActionResponse) GetJSON4XX() *ErrorEnvelope
- func (r RunResourceActionResponse) GetJSON5XX() *ErrorEnvelope
- func (r RunResourceActionResponse) GetJSON202() *ResourceOut
- func (r RunResourceActionResponse) Status() string
- func (r RunResourceActionResponse) StatusCode() int
- type RunServerActionParamsAction
- type RunServerActionResponse
- func (r RunServerActionResponse) ContentType() string
- func (r RunServerActionResponse) GetBody() []byte
- func (r RunServerActionResponse) GetJSON4XX() *ErrorEnvelope
- func (r RunServerActionResponse) GetJSON5XX() *ErrorEnvelope
- func (r RunServerActionResponse) GetJSON202() *ServerOut
- func (r RunServerActionResponse) Status() string
- func (r RunServerActionResponse) StatusCode() int
- type RuntimeProfileOut
- type ScheduledJobSpec
- type ScheduledJobSpec_Source
- func (t ScheduledJobSpec_Source) AsGitHubSource() (GitHubSource, error)
- func (t ScheduledJobSpec_Source) AsImageSource() (ImageSource, error)
- func (t *ScheduledJobSpec_Source) FromGitHubSource(v GitHubSource) error
- func (t *ScheduledJobSpec_Source) FromImageSource(v ImageSource) error
- func (t ScheduledJobSpec_Source) MarshalJSON() ([]byte, error)
- func (t *ScheduledJobSpec_Source) MergeGitHubSource(v GitHubSource) error
- func (t *ScheduledJobSpec_Source) MergeImageSource(v ImageSource) error
- func (t *ScheduledJobSpec_Source) UnmarshalJSON(b []byte) error
- type SearchLogsParams
- type SearchLogsParamsStream
- type SearchLogsResponse
- func (r SearchLogsResponse) ContentType() string
- func (r SearchLogsResponse) GetBody() []byte
- func (r SearchLogsResponse) GetJSON4XX() *ErrorEnvelope
- func (r SearchLogsResponse) GetJSON5XX() *ErrorEnvelope
- func (r SearchLogsResponse) GetJSON200() *LogSearchPage
- func (r SearchLogsResponse) Status() string
- func (r SearchLogsResponse) StatusCode() int
- type ServerCatalogOut
- type ServerCatalogResponse
- func (r ServerCatalogResponse) ContentType() string
- func (r ServerCatalogResponse) GetBody() []byte
- func (r ServerCatalogResponse) GetJSON4XX() *ErrorEnvelope
- func (r ServerCatalogResponse) GetJSON5XX() *ErrorEnvelope
- func (r ServerCatalogResponse) GetJSON200() *ServerCatalogOut
- func (r ServerCatalogResponse) Status() string
- func (r ServerCatalogResponse) StatusCode() int
- type ServerImageOut
- type ServerOut
- type ServerShellOut
- type ServerSizeOut
- type ServerSizeOutTier
- type ServerState
- type ServiceBuild
- type ServiceBuildBuildpacksBuilder
- type ServiceBuildStrategy
- type ServiceNetworking
- type ServiceRuntime
- type ServiceRuntimeRestartPolicy
- type SessionOut
- type SetDefaultPaymentMethodResponse
- func (r SetDefaultPaymentMethodResponse) ContentType() string
- func (r SetDefaultPaymentMethodResponse) GetBody() []byte
- func (r SetDefaultPaymentMethodResponse) GetJSON4XX() *ErrorEnvelope
- func (r SetDefaultPaymentMethodResponse) GetJSON5XX() *ErrorEnvelope
- func (r SetDefaultPaymentMethodResponse) GetJSON200() *PaymentMethodOut
- func (r SetDefaultPaymentMethodResponse) Status() string
- func (r SetDefaultPaymentMethodResponse) StatusCode() int
- type SetServerRootPasswordJSONRequestBody
- type SetServerRootPasswordResponse
- func (r SetServerRootPasswordResponse) ContentType() string
- func (r SetServerRootPasswordResponse) GetBody() []byte
- func (r SetServerRootPasswordResponse) GetJSON4XX() *ErrorEnvelope
- func (r SetServerRootPasswordResponse) GetJSON5XX() *ErrorEnvelope
- func (r SetServerRootPasswordResponse) Status() string
- func (r SetServerRootPasswordResponse) StatusCode() int
- type SetServerSnapshotScheduleJSONRequestBody
- type SetServerSnapshotScheduleResponse
- func (r SetServerSnapshotScheduleResponse) ContentType() string
- func (r SetServerSnapshotScheduleResponse) GetBody() []byte
- func (r SetServerSnapshotScheduleResponse) GetJSON4XX() *ErrorEnvelope
- func (r SetServerSnapshotScheduleResponse) GetJSON5XX() *ErrorEnvelope
- func (r SetServerSnapshotScheduleResponse) GetJSON200() *SnapshotsOut
- func (r SetServerSnapshotScheduleResponse) Status() string
- func (r SetServerSnapshotScheduleResponse) StatusCode() int
- type SharedVariableIn
- type SharedVariableOut
- type SimulateGithubPullRequestJSONRequestBody
- type SimulateGithubPullRequestResponse
- func (r SimulateGithubPullRequestResponse) ContentType() string
- func (r SimulateGithubPullRequestResponse) GetBody() []byte
- func (r SimulateGithubPullRequestResponse) GetJSON4XX() *ErrorEnvelope
- func (r SimulateGithubPullRequestResponse) GetJSON5XX() *ErrorEnvelope
- func (r SimulateGithubPullRequestResponse) GetJSON200() *WebhookResult
- func (r SimulateGithubPullRequestResponse) Status() string
- func (r SimulateGithubPullRequestResponse) StatusCode() int
- type SimulateGithubPushJSONRequestBody
- type SimulateGithubPushResponse
- func (r SimulateGithubPushResponse) ContentType() string
- func (r SimulateGithubPushResponse) GetBody() []byte
- func (r SimulateGithubPushResponse) GetJSON4XX() *ErrorEnvelope
- func (r SimulateGithubPushResponse) GetJSON5XX() *ErrorEnvelope
- func (r SimulateGithubPushResponse) GetJSON200() *WebhookResult
- func (r SimulateGithubPushResponse) Status() string
- func (r SimulateGithubPushResponse) StatusCode() int
- type SimulatePullRequestRequest
- type SimulatePullRequestRequestAction
- type SimulatePushRequest
- type SnapshotOut
- type SnapshotScheduleRequest
- type SnapshotsOut
- type SpeechIn
- type SpeechInResponseFormat
- type SpendLimitIn
- type SpendLimitOut
- type SshKeyOut
- type StageChangeJSONRequestBody
- type StageChangeRequest
- type StageChangeResponse
- func (r StageChangeResponse) ContentType() string
- func (r StageChangeResponse) GetBody() []byte
- func (r StageChangeResponse) GetJSON4XX() *ErrorEnvelope
- func (r StageChangeResponse) GetJSON5XX() *ErrorEnvelope
- func (r StageChangeResponse) GetJSON201() *ChangeOut
- func (r StageChangeResponse) Status() string
- func (r StageChangeResponse) StatusCode() int
- type StartBillingCheckoutJSONRequestBody
- type StartBillingCheckoutResponse
- func (r StartBillingCheckoutResponse) ContentType() string
- func (r StartBillingCheckoutResponse) GetBody() []byte
- func (r StartBillingCheckoutResponse) GetJSON4XX() *ErrorEnvelope
- func (r StartBillingCheckoutResponse) GetJSON5XX() *ErrorEnvelope
- func (r StartBillingCheckoutResponse) GetJSON201() *CheckoutOut
- func (r StartBillingCheckoutResponse) Status() string
- func (r StartBillingCheckoutResponse) StatusCode() int
- type StartCheckoutRequest
- type StartCliLoginJSONRequestBody
- type StartCliLoginRequest
- type StartCliLoginResponse
- func (r StartCliLoginResponse) ContentType() string
- func (r StartCliLoginResponse) GetBody() []byte
- func (r StartCliLoginResponse) GetJSON4XX() *ErrorEnvelope
- func (r StartCliLoginResponse) GetJSON5XX() *ErrorEnvelope
- func (r StartCliLoginResponse) GetJSON201() *CliLoginStarted
- func (r StartCliLoginResponse) Status() string
- func (r StartCliLoginResponse) StatusCode() int
- type StartEmailSignInJSONRequestBody
- type StartEmailSignInResponse
- func (r StartEmailSignInResponse) ContentType() string
- func (r StartEmailSignInResponse) GetBody() []byte
- func (r StartEmailSignInResponse) GetJSON4XX() *ErrorEnvelope
- func (r StartEmailSignInResponse) GetJSON5XX() *ErrorEnvelope
- func (r StartEmailSignInResponse) GetJSON202() *EmailSent
- func (r StartEmailSignInResponse) Status() string
- func (r StartEmailSignInResponse) StatusCode() int
- type StoppedRule
- type StorageBand
- type StreamDeploymentLogsParams
- type StreamDeploymentLogsResponse
- func (r StreamDeploymentLogsResponse) ContentType() string
- func (r StreamDeploymentLogsResponse) GetBody() []byte
- func (r StreamDeploymentLogsResponse) GetJSON4XX() *ErrorEnvelope
- func (r StreamDeploymentLogsResponse) GetJSON5XX() *ErrorEnvelope
- func (r StreamDeploymentLogsResponse) Status() string
- func (r StreamDeploymentLogsResponse) StatusCode() int
- type StreamOptions
- type StreamProjectEventsResponse
- func (r StreamProjectEventsResponse) ContentType() string
- func (r StreamProjectEventsResponse) GetBody() []byte
- func (r StreamProjectEventsResponse) GetJSON4XX() *ErrorEnvelope
- func (r StreamProjectEventsResponse) GetJSON5XX() *ErrorEnvelope
- func (r StreamProjectEventsResponse) Status() string
- func (r StreamProjectEventsResponse) StatusCode() int
- type SubdomainAvailabilityOut
- type SubdomainAvailabilityOutReason
- type SubdomainAvailabilityParams
- type SubdomainAvailabilityResponse
- func (r SubdomainAvailabilityResponse) ContentType() string
- func (r SubdomainAvailabilityResponse) GetBody() []byte
- func (r SubdomainAvailabilityResponse) GetJSON4XX() *ErrorEnvelope
- func (r SubdomainAvailabilityResponse) GetJSON5XX() *ErrorEnvelope
- func (r SubdomainAvailabilityResponse) GetJSON200() *SubdomainAvailabilityOut
- func (r SubdomainAvailabilityResponse) Status() string
- func (r SubdomainAvailabilityResponse) StatusCode() int
- type SubscriptionOut
- type SubscriptionStatus
- type SwitchServerShellOffResponse
- func (r SwitchServerShellOffResponse) ContentType() string
- func (r SwitchServerShellOffResponse) GetBody() []byte
- func (r SwitchServerShellOffResponse) GetJSON4XX() *ErrorEnvelope
- func (r SwitchServerShellOffResponse) GetJSON5XX() *ErrorEnvelope
- func (r SwitchServerShellOffResponse) Status() string
- func (r SwitchServerShellOffResponse) StatusCode() int
- type SwitchServerShellOnResponse
- func (r SwitchServerShellOnResponse) ContentType() string
- func (r SwitchServerShellOnResponse) GetBody() []byte
- func (r SwitchServerShellOnResponse) GetJSON4XX() *ErrorEnvelope
- func (r SwitchServerShellOnResponse) GetJSON5XX() *ErrorEnvelope
- func (r SwitchServerShellOnResponse) GetJSON200() *ServerShellOut
- func (r SwitchServerShellOnResponse) Status() string
- func (r SwitchServerShellOnResponse) StatusCode() int
- type TableOut
- type TablesOut
- type TcpProxyOut
- type TemplateInputOut
- type TemplateMetadataOut
- type TemplateMetadataOutMaintainer
- type TemplateOut
- type TemplateResourceOut
- type TemplateSummary
- type TermsStatus
- type TestWebhookResponse
- func (r TestWebhookResponse) ContentType() string
- func (r TestWebhookResponse) GetBody() []byte
- func (r TestWebhookResponse) GetJSON4XX() *ErrorEnvelope
- func (r TestWebhookResponse) GetJSON5XX() *ErrorEnvelope
- func (r TestWebhookResponse) GetJSON200() *DeliveryOut
- func (r TestWebhookResponse) Status() string
- func (r TestWebhookResponse) StatusCode() int
- type TicketIn
- type TicketStatus
- type TranslateComposeJSONRequestBody
- type TranslateComposeResponse
- func (r TranslateComposeResponse) ContentType() string
- func (r TranslateComposeResponse) GetBody() []byte
- func (r TranslateComposeResponse) GetJSON4XX() *ErrorEnvelope
- func (r TranslateComposeResponse) GetJSON5XX() *ErrorEnvelope
- func (r TranslateComposeResponse) GetJSON200() *ComposeTranslation
- func (r TranslateComposeResponse) Status() string
- func (r TranslateComposeResponse) StatusCode() int
- type UpdateEnvironmentJSONRequestBody
- type UpdateEnvironmentRequest
- type UpdateEnvironmentResponse
- func (r UpdateEnvironmentResponse) ContentType() string
- func (r UpdateEnvironmentResponse) GetBody() []byte
- func (r UpdateEnvironmentResponse) GetJSON4XX() *ErrorEnvelope
- func (r UpdateEnvironmentResponse) GetJSON5XX() *ErrorEnvelope
- func (r UpdateEnvironmentResponse) GetJSON200() *EnvironmentOut
- func (r UpdateEnvironmentResponse) Status() string
- func (r UpdateEnvironmentResponse) StatusCode() int
- type UpdateInferenceEndpointJSONRequestBody
- type UpdateInferenceEndpointResponse
- func (r UpdateInferenceEndpointResponse) ContentType() string
- func (r UpdateInferenceEndpointResponse) GetBody() []byte
- func (r UpdateInferenceEndpointResponse) GetJSON4XX() *ErrorEnvelope
- func (r UpdateInferenceEndpointResponse) GetJSON5XX() *ErrorEnvelope
- func (r UpdateInferenceEndpointResponse) GetJSON200() *InferenceEndpointOut
- func (r UpdateInferenceEndpointResponse) Status() string
- func (r UpdateInferenceEndpointResponse) StatusCode() int
- type UpdateMeJSONRequestBody
- type UpdateMeRequest
- type UpdateMeResponse
- func (r UpdateMeResponse) ContentType() string
- func (r UpdateMeResponse) GetBody() []byte
- func (r UpdateMeResponse) GetJSON4XX() *ErrorEnvelope
- func (r UpdateMeResponse) GetJSON5XX() *ErrorEnvelope
- func (r UpdateMeResponse) GetJSON200() *UserOut
- func (r UpdateMeResponse) Status() string
- func (r UpdateMeResponse) StatusCode() int
- type UpdateMemberRequest
- type UpdateOrgJSONRequestBody
- type UpdateOrgMemberJSONRequestBody
- type UpdateOrgMemberResponse
- func (r UpdateOrgMemberResponse) ContentType() string
- func (r UpdateOrgMemberResponse) GetBody() []byte
- func (r UpdateOrgMemberResponse) GetJSON4XX() *ErrorEnvelope
- func (r UpdateOrgMemberResponse) GetJSON5XX() *ErrorEnvelope
- func (r UpdateOrgMemberResponse) GetJSON200() *MemberOut
- func (r UpdateOrgMemberResponse) Status() string
- func (r UpdateOrgMemberResponse) StatusCode() int
- type UpdateOrgRequest
- type UpdateOrgResponse
- func (r UpdateOrgResponse) ContentType() string
- func (r UpdateOrgResponse) GetBody() []byte
- func (r UpdateOrgResponse) GetJSON4XX() *ErrorEnvelope
- func (r UpdateOrgResponse) GetJSON5XX() *ErrorEnvelope
- func (r UpdateOrgResponse) GetJSON200() *OrgOut
- func (r UpdateOrgResponse) Status() string
- func (r UpdateOrgResponse) StatusCode() int
- type UpdateProjectJSONRequestBody
- type UpdateProjectRequest
- type UpdateProjectResponse
- func (r UpdateProjectResponse) ContentType() string
- func (r UpdateProjectResponse) GetBody() []byte
- func (r UpdateProjectResponse) GetJSON4XX() *ErrorEnvelope
- func (r UpdateProjectResponse) GetJSON5XX() *ErrorEnvelope
- func (r UpdateProjectResponse) GetJSON200() *ProjectOut
- func (r UpdateProjectResponse) Status() string
- func (r UpdateProjectResponse) StatusCode() int
- type UpdateResourceJSONRequestBody
- type UpdateResourceRequest
- type UpdateResourceResponse
- func (r UpdateResourceResponse) ContentType() string
- func (r UpdateResourceResponse) GetBody() []byte
- func (r UpdateResourceResponse) GetJSON4XX() *ErrorEnvelope
- func (r UpdateResourceResponse) GetJSON5XX() *ErrorEnvelope
- func (r UpdateResourceResponse) GetJSON200() *ResourceOut
- func (r UpdateResourceResponse) Status() string
- func (r UpdateResourceResponse) StatusCode() int
- type UpdateWebhookJSONRequestBody
- type UpdateWebhookRequest
- type UpdateWebhookResponse
- func (r UpdateWebhookResponse) ContentType() string
- func (r UpdateWebhookResponse) GetBody() []byte
- func (r UpdateWebhookResponse) GetJSON4XX() *ErrorEnvelope
- func (r UpdateWebhookResponse) GetJSON5XX() *ErrorEnvelope
- func (r UpdateWebhookResponse) GetJSON200() *WebhookOut
- func (r UpdateWebhookResponse) Status() string
- func (r UpdateWebhookResponse) StatusCode() int
- type Usage
- type UsageRecordOut
- type UsageSummaryOut
- type UserOut
- type ValidateBlueprintJSONRequestBody
- type ValidateBlueprintResponse
- func (r ValidateBlueprintResponse) ContentType() string
- func (r ValidateBlueprintResponse) GetBody() []byte
- func (r ValidateBlueprintResponse) GetJSON4XX() *ErrorEnvelope
- func (r ValidateBlueprintResponse) GetJSON5XX() *ErrorEnvelope
- func (r ValidateBlueprintResponse) GetJSON200() *BlueprintValidation
- func (r ValidateBlueprintResponse) Status() string
- func (r ValidateBlueprintResponse) StatusCode() int
- type VerifyBillingCheckoutResponse
- func (r VerifyBillingCheckoutResponse) ContentType() string
- func (r VerifyBillingCheckoutResponse) GetBody() []byte
- func (r VerifyBillingCheckoutResponse) GetJSON4XX() *ErrorEnvelope
- func (r VerifyBillingCheckoutResponse) GetJSON5XX() *ErrorEnvelope
- func (r VerifyBillingCheckoutResponse) GetJSON200() *CheckoutOut
- func (r VerifyBillingCheckoutResponse) Status() string
- func (r VerifyBillingCheckoutResponse) StatusCode() int
- type VerifyDomainResponse
- func (r VerifyDomainResponse) ContentType() string
- func (r VerifyDomainResponse) GetBody() []byte
- func (r VerifyDomainResponse) GetJSON4XX() *ErrorEnvelope
- func (r VerifyDomainResponse) GetJSON5XX() *ErrorEnvelope
- func (r VerifyDomainResponse) GetJSON200() *DomainOut
- func (r VerifyDomainResponse) Status() string
- func (r VerifyDomainResponse) StatusCode() int
- type Viewport
- type VirtualMachineSpec
- type VirtualMachineSpecRuntimeProfile
- type VolumeStatus
- type WebhookAck
- type WebhookCreated
- type WebhookEvent
- type WebhookOut
- type WebhookResult
- type WebhookResultStatus
- type WithdrawGpuRequestResponse
- func (r WithdrawGpuRequestResponse) ContentType() string
- func (r WithdrawGpuRequestResponse) GetBody() []byte
- func (r WithdrawGpuRequestResponse) GetJSON4XX() *ErrorEnvelope
- func (r WithdrawGpuRequestResponse) GetJSON5XX() *ErrorEnvelope
- func (r WithdrawGpuRequestResponse) Status() string
- func (r WithdrawGpuRequestResponse) StatusCode() int
- type WorkerSpec
- type WorkerSpec_Source
- func (t WorkerSpec_Source) AsGitHubSource() (GitHubSource, error)
- func (t WorkerSpec_Source) AsImageSource() (ImageSource, error)
- func (t *WorkerSpec_Source) FromGitHubSource(v GitHubSource) error
- func (t *WorkerSpec_Source) FromImageSource(v ImageSource) error
- func (t WorkerSpec_Source) MarshalJSON() ([]byte, error)
- func (t *WorkerSpec_Source) MergeGitHubSource(v GitHubSource) error
- func (t *WorkerSpec_Source) MergeImageSource(v ImageSource) error
- func (t *WorkerSpec_Source) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAcceptInvitationRequest ¶
func NewAcceptInvitationRequest(server string, body AcceptInvitationJSONRequestBody) (*http.Request, error)
NewAcceptInvitationRequest calls the generic AcceptInvitation builder with application/json body
func NewAcceptInvitationRequestWithBody ¶
func NewAcceptInvitationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAcceptInvitationRequestWithBody constructs an http.Request for the AcceptInvitation method, with any body, and a specified content type
func NewAcceptTermsRequest ¶
func NewAcceptTermsRequest(server string, body AcceptTermsJSONRequestBody) (*http.Request, error)
NewAcceptTermsRequest calls the generic AcceptTerms builder with application/json body
func NewAcceptTermsRequestWithBody ¶
func NewAcceptTermsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAcceptTermsRequestWithBody constructs an http.Request for the AcceptTerms method, with any body, and a specified content type
func NewApplyForEarlyAccessRequest ¶
func NewApplyForEarlyAccessRequest(server string, body ApplyForEarlyAccessJSONRequestBody) (*http.Request, error)
NewApplyForEarlyAccessRequest calls the generic ApplyForEarlyAccess builder with application/json body
func NewApplyForEarlyAccessRequestWithBody ¶
func NewApplyForEarlyAccessRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewApplyForEarlyAccessRequestWithBody constructs an http.Request for the ApplyForEarlyAccess method, with any body, and a specified content type
func NewApproveCliLoginRequest ¶
func NewApproveCliLoginRequest(server string, userCode string, body ApproveCliLoginJSONRequestBody) (*http.Request, error)
NewApproveCliLoginRequest calls the generic ApproveCliLogin builder with application/json body
func NewApproveCliLoginRequestWithBody ¶
func NewApproveCliLoginRequestWithBody(server string, userCode string, contentType string, body io.Reader) (*http.Request, error)
NewApproveCliLoginRequestWithBody constructs an http.Request for the ApproveCliLogin method, with any body, and a specified content type
func NewCancelDeploymentRequest ¶
func NewCancelDeploymentRequest(server string, deploymentId openapi_types.UUID) (*http.Request, error)
NewCancelDeploymentRequest constructs an http.Request for the CancelDeployment method
func NewCancelSubscriptionRequest ¶
NewCancelSubscriptionRequest constructs an http.Request for the CancelSubscription method
func NewCloseSupportTicketRequest ¶
func NewCloseSupportTicketRequest(server string, ticketId openapi_types.UUID) (*http.Request, error)
NewCloseSupportTicketRequest constructs an http.Request for the CloseSupportTicket method
func NewCollectCliLoginRequest ¶
func NewCollectCliLoginRequest(server string, body CollectCliLoginJSONRequestBody) (*http.Request, error)
NewCollectCliLoginRequest calls the generic CollectCliLogin builder with application/json body
func NewCollectCliLoginRequestWithBody ¶
func NewCollectCliLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCollectCliLoginRequestWithBody constructs an http.Request for the CollectCliLogin method, with any body, and a specified content type
func NewConsumeMagicLinkRequest ¶
func NewConsumeMagicLinkRequest(server string, body ConsumeMagicLinkJSONRequestBody) (*http.Request, error)
NewConsumeMagicLinkRequest calls the generic ConsumeMagicLink builder with application/json body
func NewConsumeMagicLinkRequestWithBody ¶
func NewConsumeMagicLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConsumeMagicLinkRequestWithBody constructs an http.Request for the ConsumeMagicLink method, with any body, and a specified content type
func NewCreateApiKeyRequest ¶
func NewCreateApiKeyRequest(server string, orgId openapi_types.UUID, body CreateApiKeyJSONRequestBody) (*http.Request, error)
NewCreateApiKeyRequest calls the generic CreateApiKey builder with application/json body
func NewCreateApiKeyRequestWithBody ¶
func NewCreateApiKeyRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateApiKeyRequestWithBody constructs an http.Request for the CreateApiKey method, with any body, and a specified content type
func NewCreateChatCompletionRequest ¶
func NewCreateChatCompletionRequest(server string, body CreateChatCompletionJSONRequestBody) (*http.Request, error)
NewCreateChatCompletionRequest calls the generic CreateChatCompletion builder with application/json body
func NewCreateChatCompletionRequestWithBody ¶
func NewCreateChatCompletionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateChatCompletionRequestWithBody constructs an http.Request for the CreateChatCompletion method, with any body, and a specified content type
func NewCreateConnectionRequest ¶
func NewCreateConnectionRequest(server string, projectId openapi_types.UUID, body CreateConnectionJSONRequestBody) (*http.Request, error)
NewCreateConnectionRequest calls the generic CreateConnection builder with application/json body
func NewCreateConnectionRequestWithBody ¶
func NewCreateConnectionRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateConnectionRequestWithBody constructs an http.Request for the CreateConnection method, with any body, and a specified content type
func NewCreateDatabaseBackupRequest ¶
func NewCreateDatabaseBackupRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
NewCreateDatabaseBackupRequest constructs an http.Request for the CreateDatabaseBackup method
func NewCreateDeploymentRequest ¶
func NewCreateDeploymentRequest(server string, resourceId openapi_types.UUID, body CreateDeploymentJSONRequestBody) (*http.Request, error)
NewCreateDeploymentRequest calls the generic CreateDeployment builder with application/json body
func NewCreateDeploymentRequestWithBody ¶
func NewCreateDeploymentRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateDeploymentRequestWithBody constructs an http.Request for the CreateDeployment method, with any body, and a specified content type
func NewCreateDomainRequest ¶
func NewCreateDomainRequest(server string, resourceId openapi_types.UUID, body CreateDomainJSONRequestBody) (*http.Request, error)
NewCreateDomainRequest calls the generic CreateDomain builder with application/json body
func NewCreateDomainRequestWithBody ¶
func NewCreateDomainRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateDomainRequestWithBody constructs an http.Request for the CreateDomain method, with any body, and a specified content type
func NewCreateEnvironmentRequest ¶
func NewCreateEnvironmentRequest(server string, projectId openapi_types.UUID, body CreateEnvironmentJSONRequestBody) (*http.Request, error)
NewCreateEnvironmentRequest calls the generic CreateEnvironment builder with application/json body
func NewCreateEnvironmentRequestWithBody ¶
func NewCreateEnvironmentRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateEnvironmentRequestWithBody constructs an http.Request for the CreateEnvironment method, with any body, and a specified content type
func NewCreateGpuRequestRequest ¶
func NewCreateGpuRequestRequest(server string, orgId openapi_types.UUID, body CreateGpuRequestJSONRequestBody) (*http.Request, error)
NewCreateGpuRequestRequest calls the generic CreateGpuRequest builder with application/json body
func NewCreateGpuRequestRequestWithBody ¶
func NewCreateGpuRequestRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateGpuRequestRequestWithBody constructs an http.Request for the CreateGpuRequest method, with any body, and a specified content type
func NewCreateImageRequest ¶
func NewCreateImageRequest(server string, body CreateImageJSONRequestBody) (*http.Request, error)
NewCreateImageRequest calls the generic CreateImage builder with application/json body
func NewCreateImageRequestWithBody ¶
func NewCreateImageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateImageRequestWithBody constructs an http.Request for the CreateImage method, with any body, and a specified content type
func NewCreateInferenceEndpointRequest ¶
func NewCreateInferenceEndpointRequest(server string, orgId openapi_types.UUID, body CreateInferenceEndpointJSONRequestBody) (*http.Request, error)
NewCreateInferenceEndpointRequest calls the generic CreateInferenceEndpoint builder with application/json body
func NewCreateInferenceEndpointRequestWithBody ¶
func NewCreateInferenceEndpointRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateInferenceEndpointRequestWithBody constructs an http.Request for the CreateInferenceEndpoint method, with any body, and a specified content type
func NewCreateJobRunRequest ¶
NewCreateJobRunRequest constructs an http.Request for the CreateJobRun method
func NewCreateOrgInvitationRequest ¶
func NewCreateOrgInvitationRequest(server string, orgId openapi_types.UUID, body CreateOrgInvitationJSONRequestBody) (*http.Request, error)
NewCreateOrgInvitationRequest calls the generic CreateOrgInvitation builder with application/json body
func NewCreateOrgInvitationRequestWithBody ¶
func NewCreateOrgInvitationRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrgInvitationRequestWithBody constructs an http.Request for the CreateOrgInvitation method, with any body, and a specified content type
func NewCreateProjectRequest ¶
func NewCreateProjectRequest(server string, orgId openapi_types.UUID, body CreateProjectJSONRequestBody) (*http.Request, error)
NewCreateProjectRequest calls the generic CreateProject builder with application/json body
func NewCreateProjectRequestWithBody ¶
func NewCreateProjectRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectRequestWithBody constructs an http.Request for the CreateProject method, with any body, and a specified content type
func NewCreateProjectTokenRequest ¶
func NewCreateProjectTokenRequest(server string, projectId openapi_types.UUID, body CreateProjectTokenJSONRequestBody) (*http.Request, error)
NewCreateProjectTokenRequest calls the generic CreateProjectToken builder with application/json body
func NewCreateProjectTokenRequestWithBody ¶
func NewCreateProjectTokenRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectTokenRequestWithBody constructs an http.Request for the CreateProjectToken method, with any body, and a specified content type
func NewCreateProjectWebhookRequest ¶
func NewCreateProjectWebhookRequest(server string, projectId openapi_types.UUID, body CreateProjectWebhookJSONRequestBody) (*http.Request, error)
NewCreateProjectWebhookRequest calls the generic CreateProjectWebhook builder with application/json body
func NewCreateProjectWebhookRequestWithBody ¶
func NewCreateProjectWebhookRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectWebhookRequestWithBody constructs an http.Request for the CreateProjectWebhook method, with any body, and a specified content type
func NewCreateProviderKeyRequest ¶
func NewCreateProviderKeyRequest(server string, orgId openapi_types.UUID, body CreateProviderKeyJSONRequestBody) (*http.Request, error)
NewCreateProviderKeyRequest calls the generic CreateProviderKey builder with application/json body
func NewCreateProviderKeyRequestWithBody ¶
func NewCreateProviderKeyRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateProviderKeyRequestWithBody constructs an http.Request for the CreateProviderKey method, with any body, and a specified content type
func NewCreateRegistryCredentialRequest ¶
func NewCreateRegistryCredentialRequest(server string, orgId openapi_types.UUID, body CreateRegistryCredentialJSONRequestBody) (*http.Request, error)
NewCreateRegistryCredentialRequest calls the generic CreateRegistryCredential builder with application/json body
func NewCreateRegistryCredentialRequestWithBody ¶
func NewCreateRegistryCredentialRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateRegistryCredentialRequestWithBody constructs an http.Request for the CreateRegistryCredential method, with any body, and a specified content type
func NewCreateResourceRequest ¶
func NewCreateResourceRequest(server string, projectId openapi_types.UUID, body CreateResourceJSONRequestBody) (*http.Request, error)
NewCreateResourceRequest calls the generic CreateResource builder with application/json body
func NewCreateResourceRequestWithBody ¶
func NewCreateResourceRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateResourceRequestWithBody constructs an http.Request for the CreateResource method, with any body, and a specified content type
func NewCreateServerRequest ¶
func NewCreateServerRequest(server string, projectId openapi_types.UUID, body CreateServerJSONRequestBody) (*http.Request, error)
NewCreateServerRequest calls the generic CreateServer builder with application/json body
func NewCreateServerRequestWithBody ¶
func NewCreateServerRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateServerRequestWithBody constructs an http.Request for the CreateServer method, with any body, and a specified content type
func NewCreateServerSnapshotRequest ¶
func NewCreateServerSnapshotRequest(server string, serverId openapi_types.UUID, body CreateServerSnapshotJSONRequestBody) (*http.Request, error)
NewCreateServerSnapshotRequest calls the generic CreateServerSnapshot builder with application/json body
func NewCreateServerSnapshotRequestWithBody ¶
func NewCreateServerSnapshotRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateServerSnapshotRequestWithBody constructs an http.Request for the CreateServerSnapshot method, with any body, and a specified content type
func NewCreateSpeechRequest ¶
func NewCreateSpeechRequest(server string, body CreateSpeechJSONRequestBody) (*http.Request, error)
NewCreateSpeechRequest calls the generic CreateSpeech builder with application/json body
func NewCreateSpeechRequestWithBody ¶
func NewCreateSpeechRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSpeechRequestWithBody constructs an http.Request for the CreateSpeech method, with any body, and a specified content type
func NewCreateSshKeyRequest ¶
func NewCreateSshKeyRequest(server string, orgId openapi_types.UUID, body CreateSshKeyJSONRequestBody) (*http.Request, error)
NewCreateSshKeyRequest calls the generic CreateSshKey builder with application/json body
func NewCreateSshKeyRequestWithBody ¶
func NewCreateSshKeyRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateSshKeyRequestWithBody constructs an http.Request for the CreateSshKey method, with any body, and a specified content type
func NewCreateTranscriptionRequestWithBody ¶
func NewCreateTranscriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTranscriptionRequestWithBody constructs an http.Request for the CreateTranscription method, with any body, and a specified content type
func NewCreateVolumeBackupRequest ¶
func NewCreateVolumeBackupRequest(server string, volumeId openapi_types.UUID) (*http.Request, error)
NewCreateVolumeBackupRequest constructs an http.Request for the CreateVolumeBackup method
func NewCreateVolumeRequest ¶
func NewCreateVolumeRequest(server string, resourceId openapi_types.UUID, body CreateVolumeJSONRequestBody) (*http.Request, error)
NewCreateVolumeRequest calls the generic CreateVolume builder with application/json body
func NewCreateVolumeRequestWithBody ¶
func NewCreateVolumeRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateVolumeRequestWithBody constructs an http.Request for the CreateVolume method, with any body, and a specified content type
func NewDeclaredServicesRequest ¶
func NewDeclaredServicesRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
NewDeclaredServicesRequest constructs an http.Request for the DeclaredServices method
func NewDeleteChangesetChangeRequest ¶
func NewDeleteChangesetChangeRequest(server string, changeId openapi_types.UUID) (*http.Request, error)
NewDeleteChangesetChangeRequest constructs an http.Request for the DeleteChangesetChange method
func NewDeleteConnectionRequest ¶
func NewDeleteConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error)
NewDeleteConnectionRequest constructs an http.Request for the DeleteConnection method
func NewDeleteDomainRequest ¶
NewDeleteDomainRequest constructs an http.Request for the DeleteDomain method
func NewDeleteEnvVarRequest ¶
func NewDeleteEnvVarRequest(server string, resourceId openapi_types.UUID, key string) (*http.Request, error)
NewDeleteEnvVarRequest constructs an http.Request for the DeleteEnvVar method
func NewDeleteEnvironmentRequest ¶
func NewDeleteEnvironmentRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
NewDeleteEnvironmentRequest constructs an http.Request for the DeleteEnvironment method
func NewDeleteInferenceEndpointRequest ¶
func NewDeleteInferenceEndpointRequest(server string, endpointId openapi_types.UUID) (*http.Request, error)
NewDeleteInferenceEndpointRequest constructs an http.Request for the DeleteInferenceEndpoint method
func NewDeleteMyPasskeyRequest ¶
NewDeleteMyPasskeyRequest constructs an http.Request for the DeleteMyPasskey method
func NewDeletePreviewRequest ¶
NewDeletePreviewRequest constructs an http.Request for the DeletePreview method
func NewDeleteProjectRequest ¶
NewDeleteProjectRequest constructs an http.Request for the DeleteProject method
func NewDeleteRegistryCredentialRequest ¶
func NewDeleteRegistryCredentialRequest(server string, orgId openapi_types.UUID, credentialId openapi_types.UUID) (*http.Request, error)
NewDeleteRegistryCredentialRequest constructs an http.Request for the DeleteRegistryCredential method
func NewDeleteResourceRequest ¶
func NewDeleteResourceRequest(server string, resourceId openapi_types.UUID, params *DeleteResourceParams) (*http.Request, error)
NewDeleteResourceRequest constructs an http.Request for the DeleteResource method
func NewDeleteServerRequest ¶
func NewDeleteServerRequest(server string, serverId openapi_types.UUID, params *DeleteServerParams) (*http.Request, error)
NewDeleteServerRequest constructs an http.Request for the DeleteServer method
func NewDeleteServerSnapshotRequest ¶
func NewDeleteServerSnapshotRequest(server string, serverId openapi_types.UUID, snapshotId int) (*http.Request, error)
NewDeleteServerSnapshotRequest constructs an http.Request for the DeleteServerSnapshot method
func NewDeleteSharedVariableRequest ¶
func NewDeleteSharedVariableRequest(server string, environmentId openapi_types.UUID, key string) (*http.Request, error)
NewDeleteSharedVariableRequest constructs an http.Request for the DeleteSharedVariable method
func NewDeleteSshKeyRequest ¶
NewDeleteSshKeyRequest constructs an http.Request for the DeleteSshKey method
func NewDeleteVolumeRequest ¶
NewDeleteVolumeRequest constructs an http.Request for the DeleteVolume method
func NewDeleteWebhookRequest ¶
NewDeleteWebhookRequest constructs an http.Request for the DeleteWebhook method
func NewDenyCliLoginRequest ¶
NewDenyCliLoginRequest constructs an http.Request for the DenyCliLogin method
func NewDeployChangesetRequest ¶
func NewDeployChangesetRequest(server string, changesetId openapi_types.UUID, body DeployChangesetJSONRequestBody) (*http.Request, error)
NewDeployChangesetRequest calls the generic DeployChangeset builder with application/json body
func NewDeployChangesetRequestWithBody ¶
func NewDeployChangesetRequestWithBody(server string, changesetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewDeployChangesetRequestWithBody constructs an http.Request for the DeployChangeset method, with any body, and a specified content type
func NewDetectGithubSettingsRequest ¶
func NewDetectGithubSettingsRequest(server string, installationId int, repoId int, params *DetectGithubSettingsParams) (*http.Request, error)
NewDetectGithubSettingsRequest constructs an http.Request for the DetectGithubSettings method
func NewDiscardChangesetRequest ¶
func NewDiscardChangesetRequest(server string, changesetId openapi_types.UUID) (*http.Request, error)
NewDiscardChangesetRequest constructs an http.Request for the DiscardChangeset method
func NewDowngradeSubscriptionRequest ¶
func NewDowngradeSubscriptionRequest(server string, orgId openapi_types.UUID, body DowngradeSubscriptionJSONRequestBody) (*http.Request, error)
NewDowngradeSubscriptionRequest calls the generic DowngradeSubscription builder with application/json body
func NewDowngradeSubscriptionRequestWithBody ¶
func NewDowngradeSubscriptionRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewDowngradeSubscriptionRequestWithBody constructs an http.Request for the DowngradeSubscription method, with any body, and a specified content type
func NewDownloadInvoiceRequest ¶
func NewDownloadInvoiceRequest(server string, orgId openapi_types.UUID, invoiceId openapi_types.UUID) (*http.Request, error)
NewDownloadInvoiceRequest constructs an http.Request for the DownloadInvoice method
func NewEnvironmentReferenceTargetsRequest ¶
func NewEnvironmentReferenceTargetsRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
NewEnvironmentReferenceTargetsRequest constructs an http.Request for the EnvironmentReferenceTargets method
func NewEstimateRequest ¶
func NewEstimateRequest(server string, body EstimateJSONRequestBody) (*http.Request, error)
NewEstimateRequest calls the generic Estimate builder with application/json body
func NewEstimateRequestWithBody ¶
func NewEstimateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEstimateRequestWithBody constructs an http.Request for the Estimate method, with any body, and a specified content type
func NewGetAiMetricsRequest ¶
func NewGetAiMetricsRequest(server string, orgId openapi_types.UUID, params *GetAiMetricsParams) (*http.Request, error)
NewGetAiMetricsRequest constructs an http.Request for the GetAiMetrics method
func NewGetAiPolicyRequest ¶
NewGetAiPolicyRequest constructs an http.Request for the GetAiPolicy method
func NewGetAiPrivacyRequest ¶
NewGetAiPrivacyRequest constructs an http.Request for the GetAiPrivacy method
func NewGetAnalyticsSummaryRequest ¶
func NewGetAnalyticsSummaryRequest(server string, params *GetAnalyticsSummaryParams) (*http.Request, error)
NewGetAnalyticsSummaryRequest constructs an http.Request for the GetAnalyticsSummary method
func NewGetAnnouncementRequest ¶
NewGetAnnouncementRequest constructs an http.Request for the GetAnnouncement method
func NewGetBackupRequest ¶
NewGetBackupRequest constructs an http.Request for the GetBackup method
func NewGetBillingCheckoutRequest ¶
func NewGetBillingCheckoutRequest(server string, orgId openapi_types.UUID, reference string) (*http.Request, error)
NewGetBillingCheckoutRequest constructs an http.Request for the GetBillingCheckout method
func NewGetBillingDetailsRequest ¶
NewGetBillingDetailsRequest constructs an http.Request for the GetBillingDetails method
func NewGetCanvasRequest ¶
func NewGetCanvasRequest(server string, projectId openapi_types.UUID, params *GetCanvasParams) (*http.Request, error)
NewGetCanvasRequest constructs an http.Request for the GetCanvas method
func NewGetChangesetRequest ¶
NewGetChangesetRequest constructs an http.Request for the GetChangeset method
func NewGetCliLoginRequest ¶
NewGetCliLoginRequest constructs an http.Request for the GetCliLogin method
func NewGetCsrfTokenRequest ¶
NewGetCsrfTokenRequest constructs an http.Request for the GetCsrfToken method
func NewGetDeploymentLogsRequest ¶
func NewGetDeploymentLogsRequest(server string, deploymentId openapi_types.UUID, params *GetDeploymentLogsParams) (*http.Request, error)
NewGetDeploymentLogsRequest constructs an http.Request for the GetDeploymentLogs method
func NewGetDeploymentRequest ¶
NewGetDeploymentRequest constructs an http.Request for the GetDeployment method
func NewGetEnvironmentChangesetRequest ¶
func NewGetEnvironmentChangesetRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
NewGetEnvironmentChangesetRequest constructs an http.Request for the GetEnvironmentChangeset method
func NewGetEnvironmentFirewallRequest ¶
func NewGetEnvironmentFirewallRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
NewGetEnvironmentFirewallRequest constructs an http.Request for the GetEnvironmentFirewall method
func NewGetEnvironmentRequest ¶
func NewGetEnvironmentRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
NewGetEnvironmentRequest constructs an http.Request for the GetEnvironment method
func NewGetGithubInstallUrlRequest ¶
func NewGetGithubInstallUrlRequest(server string, orgId openapi_types.UUID, params *GetGithubInstallUrlParams) (*http.Request, error)
NewGetGithubInstallUrlRequest constructs an http.Request for the GetGithubInstallUrl method
func NewGetInferenceEndpointRequest ¶
func NewGetInferenceEndpointRequest(server string, endpointId openapi_types.UUID) (*http.Request, error)
NewGetInferenceEndpointRequest constructs an http.Request for the GetInferenceEndpoint method
func NewGetInvoiceRequest ¶
func NewGetInvoiceRequest(server string, orgId openapi_types.UUID, invoiceId openapi_types.UUID) (*http.Request, error)
NewGetInvoiceRequest constructs an http.Request for the GetInvoice method
func NewGetJobRunLogsRequest ¶
func NewGetJobRunLogsRequest(server string, runId openapi_types.UUID, params *GetJobRunLogsParams) (*http.Request, error)
NewGetJobRunLogsRequest constructs an http.Request for the GetJobRunLogs method
func NewGetJobRunRequest ¶
NewGetJobRunRequest constructs an http.Request for the GetJobRun method
func NewGetMeRequest ¶
NewGetMeRequest constructs an http.Request for the GetMe method
func NewGetNotificationPreferencesRequest ¶
NewGetNotificationPreferencesRequest constructs an http.Request for the GetNotificationPreferences method
func NewGetOperationRequest ¶
NewGetOperationRequest constructs an http.Request for the GetOperation method
func NewGetOrgOverviewRequest ¶
NewGetOrgOverviewRequest constructs an http.Request for the GetOrgOverview method
func NewGetOrgRequest ¶
NewGetOrgRequest constructs an http.Request for the GetOrg method
func NewGetOrgSubscriptionRequest ¶
NewGetOrgSubscriptionRequest constructs an http.Request for the GetOrgSubscription method
func NewGetPreviewRequest ¶
NewGetPreviewRequest constructs an http.Request for the GetPreview method
func NewGetProjectRequest ¶
NewGetProjectRequest constructs an http.Request for the GetProject method
func NewGetRawEnvRequest ¶
NewGetRawEnvRequest constructs an http.Request for the GetRawEnv method
func NewGetRawSharedVariablesRequest ¶
func NewGetRawSharedVariablesRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
NewGetRawSharedVariablesRequest constructs an http.Request for the GetRawSharedVariables method
func NewGetResourceHttpLogsRequest ¶
func NewGetResourceHttpLogsRequest(server string, resourceId openapi_types.UUID, params *GetResourceHttpLogsParams) (*http.Request, error)
NewGetResourceHttpLogsRequest constructs an http.Request for the GetResourceHttpLogs method
func NewGetResourceLogsRequest ¶
func NewGetResourceLogsRequest(server string, resourceId openapi_types.UUID, params *GetResourceLogsParams) (*http.Request, error)
NewGetResourceLogsRequest constructs an http.Request for the GetResourceLogs method
func NewGetResourceMetricsRequest ¶
func NewGetResourceMetricsRequest(server string, resourceId openapi_types.UUID, params *GetResourceMetricsParams) (*http.Request, error)
NewGetResourceMetricsRequest constructs an http.Request for the GetResourceMetrics method
func NewGetResourceRequest ¶
NewGetResourceRequest constructs an http.Request for the GetResource method
func NewGetServerRequest ¶
NewGetServerRequest constructs an http.Request for the GetServer method
func NewGetSpendLimitRequest ¶
NewGetSpendLimitRequest constructs an http.Request for the GetSpendLimit method
func NewGetSupportTicketRequest ¶
NewGetSupportTicketRequest constructs an http.Request for the GetSupportTicket method
func NewGetTemplateRequest ¶
NewGetTemplateRequest constructs an http.Request for the GetTemplate method
func NewGetUpcomingInvoiceRequest ¶
NewGetUpcomingInvoiceRequest constructs an http.Request for the GetUpcomingInvoice method
func NewGetUsageSummaryRequest ¶
NewGetUsageSummaryRequest constructs an http.Request for the GetUsageSummary method
func NewGetVolumeRequest ¶
NewGetVolumeRequest constructs an http.Request for the GetVolume method
func NewGithubLoginCallbackRequest ¶
func NewGithubLoginCallbackRequest(server string, params *GithubLoginCallbackParams) (*http.Request, error)
NewGithubLoginCallbackRequest constructs an http.Request for the GithubLoginCallback method
func NewGithubLoginStartRequest ¶
func NewGithubLoginStartRequest(server string, params *GithubLoginStartParams) (*http.Request, error)
NewGithubLoginStartRequest constructs an http.Request for the GithubLoginStart method
func NewGithubSetupAuthorizedRequest ¶
func NewGithubSetupAuthorizedRequest(server string, params *GithubSetupAuthorizedParams) (*http.Request, error)
NewGithubSetupAuthorizedRequest constructs an http.Request for the GithubSetupAuthorized method
func NewGithubSetupCallbackRequest ¶
func NewGithubSetupCallbackRequest(server string, params *GithubSetupCallbackParams) (*http.Request, error)
NewGithubSetupCallbackRequest constructs an http.Request for the GithubSetupCallback method
func NewGoogleLoginCallbackRequest ¶
func NewGoogleLoginCallbackRequest(server string, params *GoogleLoginCallbackParams) (*http.Request, error)
NewGoogleLoginCallbackRequest constructs an http.Request for the GoogleLoginCallback method
func NewGoogleLoginStartRequest ¶
func NewGoogleLoginStartRequest(server string, params *GoogleLoginStartParams) (*http.Request, error)
NewGoogleLoginStartRequest constructs an http.Request for the GoogleLoginStart method
func NewGpuCatalogRequest ¶
NewGpuCatalogRequest constructs an http.Request for the GpuCatalog method
func NewHealthzRequest ¶
NewHealthzRequest constructs an http.Request for the Healthz method
func NewLeaveAMessageRequest ¶
func NewLeaveAMessageRequest(server string, body LeaveAMessageJSONRequestBody) (*http.Request, error)
NewLeaveAMessageRequest calls the generic LeaveAMessage builder with application/json body
func NewLeaveAMessageRequestWithBody ¶
func NewLeaveAMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLeaveAMessageRequestWithBody constructs an http.Request for the LeaveAMessage method, with any body, and a specified content type
func NewListAiModelsRequest ¶
NewListAiModelsRequest constructs an http.Request for the ListAiModels method
func NewListAiRequestsRequest ¶
func NewListAiRequestsRequest(server string, orgId openapi_types.UUID, params *ListAiRequestsParams) (*http.Request, error)
NewListAiRequestsRequest constructs an http.Request for the ListAiRequests method
func NewListApiKeysRequest ¶
NewListApiKeysRequest constructs an http.Request for the ListApiKeys method
func NewListConnectionStringsRequest ¶
func NewListConnectionStringsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
NewListConnectionStringsRequest constructs an http.Request for the ListConnectionStrings method
func NewListConnectionsRequest ¶
NewListConnectionsRequest constructs an http.Request for the ListConnections method
func NewListDataLocationsRequest ¶
func NewListDataLocationsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
NewListDataLocationsRequest constructs an http.Request for the ListDataLocations method
func NewListDatabaseBackupsRequest ¶
func NewListDatabaseBackupsRequest(server string, resourceId openapi_types.UUID, params *ListDatabaseBackupsParams) (*http.Request, error)
NewListDatabaseBackupsRequest constructs an http.Request for the ListDatabaseBackups method
func NewListDatabaseTablesRequest ¶
func NewListDatabaseTablesRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
NewListDatabaseTablesRequest constructs an http.Request for the ListDatabaseTables method
func NewListDomainsRequest ¶
NewListDomainsRequest constructs an http.Request for the ListDomains method
func NewListEnvRequest ¶
NewListEnvRequest constructs an http.Request for the ListEnv method
func NewListEnvironmentChangesetsRequest ¶
func NewListEnvironmentChangesetsRequest(server string, environmentId openapi_types.UUID, params *ListEnvironmentChangesetsParams) (*http.Request, error)
NewListEnvironmentChangesetsRequest constructs an http.Request for the ListEnvironmentChangesets method
func NewListEnvironmentsRequest ¶
NewListEnvironmentsRequest constructs an http.Request for the ListEnvironments method
func NewListGatewayModelsRequest ¶
NewListGatewayModelsRequest constructs an http.Request for the ListGatewayModels method
func NewListGithubBranchesRequest ¶
func NewListGithubBranchesRequest(server string, installationId int, repoId int) (*http.Request, error)
NewListGithubBranchesRequest constructs an http.Request for the ListGithubBranches method
func NewListGithubInstallationsRequest ¶
func NewListGithubInstallationsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
NewListGithubInstallationsRequest constructs an http.Request for the ListGithubInstallations method
func NewListGithubReposRequest ¶
NewListGithubReposRequest constructs an http.Request for the ListGithubRepos method
func NewListGpuRequestsRequest ¶
NewListGpuRequestsRequest constructs an http.Request for the ListGpuRequests method
func NewListInferenceEndpointsRequest ¶
func NewListInferenceEndpointsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
NewListInferenceEndpointsRequest constructs an http.Request for the ListInferenceEndpoints method
func NewListInvoicesRequest ¶
func NewListInvoicesRequest(server string, orgId openapi_types.UUID, params *ListInvoicesParams) (*http.Request, error)
NewListInvoicesRequest constructs an http.Request for the ListInvoices method
func NewListJobRunsRequest ¶
func NewListJobRunsRequest(server string, resourceId openapi_types.UUID, params *ListJobRunsParams) (*http.Request, error)
NewListJobRunsRequest constructs an http.Request for the ListJobRuns method
func NewListMembersRequest ¶
NewListMembersRequest constructs an http.Request for the ListMembers method
func NewListMyPasskeysRequest ¶
NewListMyPasskeysRequest constructs an http.Request for the ListMyPasskeys method
func NewListMySessionsRequest ¶
NewListMySessionsRequest constructs an http.Request for the ListMySessions method
func NewListOrgActivityRequest ¶
func NewListOrgActivityRequest(server string, orgId openapi_types.UUID, params *ListOrgActivityParams) (*http.Request, error)
NewListOrgActivityRequest constructs an http.Request for the ListOrgActivity method
func NewListOrgInvitationsRequest ¶
NewListOrgInvitationsRequest constructs an http.Request for the ListOrgInvitations method
func NewListPaymentMethodsRequest ¶
NewListPaymentMethodsRequest constructs an http.Request for the ListPaymentMethods method
func NewListPlansRequest ¶
NewListPlansRequest constructs an http.Request for the ListPlans method
func NewListPreviewsRequest ¶
NewListPreviewsRequest constructs an http.Request for the ListPreviews method
func NewListPricesRequest ¶
NewListPricesRequest constructs an http.Request for the ListPrices method
func NewListProjectDeploymentsRequest ¶
func NewListProjectDeploymentsRequest(server string, projectId openapi_types.UUID, params *ListProjectDeploymentsParams) (*http.Request, error)
NewListProjectDeploymentsRequest constructs an http.Request for the ListProjectDeployments method
func NewListProjectOperationsRequest ¶
func NewListProjectOperationsRequest(server string, projectId openapi_types.UUID, params *ListProjectOperationsParams) (*http.Request, error)
NewListProjectOperationsRequest constructs an http.Request for the ListProjectOperations method
func NewListProjectTokensRequest ¶
func NewListProjectTokensRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
NewListProjectTokensRequest constructs an http.Request for the ListProjectTokens method
func NewListProjectWebhooksRequest ¶
func NewListProjectWebhooksRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
NewListProjectWebhooksRequest constructs an http.Request for the ListProjectWebhooks method
func NewListProjectsRequest ¶
NewListProjectsRequest constructs an http.Request for the ListProjects method
func NewListProviderKeysRequest ¶
NewListProviderKeysRequest constructs an http.Request for the ListProviderKeys method
func NewListRedisKeysRequest ¶
func NewListRedisKeysRequest(server string, resourceId openapi_types.UUID, params *ListRedisKeysParams) (*http.Request, error)
NewListRedisKeysRequest constructs an http.Request for the ListRedisKeys method
func NewListRegionsRequest ¶
NewListRegionsRequest constructs an http.Request for the ListRegions method
func NewListRegistryCredentialsRequest ¶
func NewListRegistryCredentialsRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
NewListRegistryCredentialsRequest constructs an http.Request for the ListRegistryCredentials method
func NewListResourceDeploymentsRequest ¶
func NewListResourceDeploymentsRequest(server string, resourceId openapi_types.UUID, params *ListResourceDeploymentsParams) (*http.Request, error)
NewListResourceDeploymentsRequest constructs an http.Request for the ListResourceDeployments method
func NewListResourcesRequest ¶
func NewListResourcesRequest(server string, projectId openapi_types.UUID, params *ListResourcesParams) (*http.Request, error)
NewListResourcesRequest constructs an http.Request for the ListResources method
func NewListServerSnapshotsRequest ¶
func NewListServerSnapshotsRequest(server string, serverId openapi_types.UUID) (*http.Request, error)
NewListServerSnapshotsRequest constructs an http.Request for the ListServerSnapshots method
func NewListServersRequest ¶
NewListServersRequest constructs an http.Request for the ListServers method
func NewListSharedVariablesRequest ¶
func NewListSharedVariablesRequest(server string, environmentId openapi_types.UUID) (*http.Request, error)
NewListSharedVariablesRequest constructs an http.Request for the ListSharedVariables method
func NewListSshKeysRequest ¶
NewListSshKeysRequest constructs an http.Request for the ListSshKeys method
func NewListSupportTicketsRequest ¶
NewListSupportTicketsRequest constructs an http.Request for the ListSupportTickets method
func NewListTemplatesRequest ¶
func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)
NewListTemplatesRequest constructs an http.Request for the ListTemplates method
func NewListUsageRecordsRequest ¶
func NewListUsageRecordsRequest(server string, orgId openapi_types.UUID, params *ListUsageRecordsParams) (*http.Request, error)
NewListUsageRecordsRequest constructs an http.Request for the ListUsageRecords method
func NewListVolumeBackupsRequest ¶
func NewListVolumeBackupsRequest(server string, volumeId openapi_types.UUID, params *ListVolumeBackupsParams) (*http.Request, error)
NewListVolumeBackupsRequest constructs an http.Request for the ListVolumeBackups method
func NewListWebhookDeliveriesRequest ¶
func NewListWebhookDeliveriesRequest(server string, webhookId openapi_types.UUID, params *ListWebhookDeliveriesParams) (*http.Request, error)
NewListWebhookDeliveriesRequest constructs an http.Request for the ListWebhookDeliveries method
func NewLogoutRequest ¶
NewLogoutRequest constructs an http.Request for the Logout method
func NewOpenSupportTicketRequest ¶
func NewOpenSupportTicketRequest(server string, body OpenSupportTicketJSONRequestBody) (*http.Request, error)
NewOpenSupportTicketRequest calls the generic OpenSupportTicket builder with application/json body
func NewOpenSupportTicketRequestWithBody ¶
func NewOpenSupportTicketRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewOpenSupportTicketRequestWithBody constructs an http.Request for the OpenSupportTicket method, with any body, and a specified content type
func NewPasskeyRegistrationOptionsRequest ¶
NewPasskeyRegistrationOptionsRequest constructs an http.Request for the PasskeyRegistrationOptions method
func NewPasskeySignInOptionsRequest ¶
func NewPasskeySignInOptionsRequest(server string, body PasskeySignInOptionsJSONRequestBody) (*http.Request, error)
NewPasskeySignInOptionsRequest calls the generic PasskeySignInOptions builder with application/json body
func NewPasskeySignInOptionsRequestWithBody ¶
func NewPasskeySignInOptionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPasskeySignInOptionsRequestWithBody constructs an http.Request for the PasskeySignInOptions method, with any body, and a specified content type
func NewPasskeySignInRequest ¶
func NewPasskeySignInRequest(server string, body PasskeySignInJSONRequestBody) (*http.Request, error)
NewPasskeySignInRequest calls the generic PasskeySignIn builder with application/json body
func NewPasskeySignInRequestWithBody ¶
func NewPasskeySignInRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPasskeySignInRequestWithBody constructs an http.Request for the PasskeySignIn method, with any body, and a specified content type
func NewPaystackCheckoutCallbackRequest ¶
func NewPaystackCheckoutCallbackRequest(server string, params *PaystackCheckoutCallbackParams) (*http.Request, error)
NewPaystackCheckoutCallbackRequest constructs an http.Request for the PaystackCheckoutCallback method
func NewPlanBlueprintRequest ¶
func NewPlanBlueprintRequest(server string, environmentId openapi_types.UUID, body PlanBlueprintJSONRequestBody) (*http.Request, error)
NewPlanBlueprintRequest calls the generic PlanBlueprint builder with application/json body
func NewPlanBlueprintRequestWithBody ¶
func NewPlanBlueprintRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPlanBlueprintRequestWithBody constructs an http.Request for the PlanBlueprint method, with any body, and a specified content type
func NewPlanComposeRequest ¶
func NewPlanComposeRequest(server string, environmentId openapi_types.UUID, body PlanComposeJSONRequestBody) (*http.Request, error)
NewPlanComposeRequest calls the generic PlanCompose builder with application/json body
func NewPlanComposeRequestWithBody ¶
func NewPlanComposeRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPlanComposeRequestWithBody constructs an http.Request for the PlanCompose method, with any body, and a specified content type
func NewPlanDeclaredServicesRequest ¶
func NewPlanDeclaredServicesRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
NewPlanDeclaredServicesRequest constructs an http.Request for the PlanDeclaredServices method
func NewPlanTemplateRequest ¶
func NewPlanTemplateRequest(server string, environmentId openapi_types.UUID, templateId string, body PlanTemplateJSONRequestBody) (*http.Request, error)
NewPlanTemplateRequest calls the generic PlanTemplate builder with application/json body
func NewPlanTemplateRequestWithBody ¶
func NewPlanTemplateRequestWithBody(server string, environmentId openapi_types.UUID, templateId string, contentType string, body io.Reader) (*http.Request, error)
NewPlanTemplateRequestWithBody constructs an http.Request for the PlanTemplate method, with any body, and a specified content type
func NewPreviewAiPrivacyRequest ¶
func NewPreviewAiPrivacyRequest(server string, projectId openapi_types.UUID, body PreviewAiPrivacyJSONRequestBody) (*http.Request, error)
NewPreviewAiPrivacyRequest calls the generic PreviewAiPrivacy builder with application/json body
func NewPreviewAiPrivacyRequestWithBody ¶
func NewPreviewAiPrivacyRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPreviewAiPrivacyRequestWithBody constructs an http.Request for the PreviewAiPrivacy method, with any body, and a specified content type
func NewPreviewInvitationRequest ¶
NewPreviewInvitationRequest constructs an http.Request for the PreviewInvitation method
func NewPutAiPolicyRequest ¶
func NewPutAiPolicyRequest(server string, projectId openapi_types.UUID, body PutAiPolicyJSONRequestBody) (*http.Request, error)
NewPutAiPolicyRequest calls the generic PutAiPolicy builder with application/json body
func NewPutAiPolicyRequestWithBody ¶
func NewPutAiPolicyRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutAiPolicyRequestWithBody constructs an http.Request for the PutAiPolicy method, with any body, and a specified content type
func NewPutAiPrivacyRequest ¶
func NewPutAiPrivacyRequest(server string, projectId openapi_types.UUID, body PutAiPrivacyJSONRequestBody) (*http.Request, error)
NewPutAiPrivacyRequest calls the generic PutAiPrivacy builder with application/json body
func NewPutAiPrivacyRequestWithBody ¶
func NewPutAiPrivacyRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutAiPrivacyRequestWithBody constructs an http.Request for the PutAiPrivacy method, with any body, and a specified content type
func NewPutBillingDetailsRequest ¶
func NewPutBillingDetailsRequest(server string, orgId openapi_types.UUID, body PutBillingDetailsJSONRequestBody) (*http.Request, error)
NewPutBillingDetailsRequest calls the generic PutBillingDetails builder with application/json body
func NewPutBillingDetailsRequestWithBody ¶
func NewPutBillingDetailsRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutBillingDetailsRequestWithBody constructs an http.Request for the PutBillingDetails method, with any body, and a specified content type
func NewPutCanvasRequest ¶
func NewPutCanvasRequest(server string, projectId openapi_types.UUID, params *PutCanvasParams, body PutCanvasJSONRequestBody) (*http.Request, error)
NewPutCanvasRequest calls the generic PutCanvas builder with application/json body
func NewPutCanvasRequestWithBody ¶
func NewPutCanvasRequestWithBody(server string, projectId openapi_types.UUID, params *PutCanvasParams, contentType string, body io.Reader) (*http.Request, error)
NewPutCanvasRequestWithBody constructs an http.Request for the PutCanvas method, with any body, and a specified content type
func NewPutEnvRequest ¶
func NewPutEnvRequest(server string, resourceId openapi_types.UUID, body PutEnvJSONRequestBody) (*http.Request, error)
NewPutEnvRequest calls the generic PutEnv builder with application/json body
func NewPutEnvRequestWithBody ¶
func NewPutEnvRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutEnvRequestWithBody constructs an http.Request for the PutEnv method, with any body, and a specified content type
func NewPutNotificationPreferencesRequest ¶
func NewPutNotificationPreferencesRequest(server string, body PutNotificationPreferencesJSONRequestBody) (*http.Request, error)
NewPutNotificationPreferencesRequest calls the generic PutNotificationPreferences builder with application/json body
func NewPutNotificationPreferencesRequestWithBody ¶
func NewPutNotificationPreferencesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutNotificationPreferencesRequestWithBody constructs an http.Request for the PutNotificationPreferences method, with any body, and a specified content type
func NewPutRawEnvRequest ¶
func NewPutRawEnvRequest(server string, resourceId openapi_types.UUID, body PutRawEnvJSONRequestBody) (*http.Request, error)
NewPutRawEnvRequest calls the generic PutRawEnv builder with application/json body
func NewPutRawEnvRequestWithBody ¶
func NewPutRawEnvRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutRawEnvRequestWithBody constructs an http.Request for the PutRawEnv method, with any body, and a specified content type
func NewPutRawSharedVariablesRequest ¶
func NewPutRawSharedVariablesRequest(server string, environmentId openapi_types.UUID, body PutRawSharedVariablesJSONRequestBody) (*http.Request, error)
NewPutRawSharedVariablesRequest calls the generic PutRawSharedVariables builder with application/json body
func NewPutRawSharedVariablesRequestWithBody ¶
func NewPutRawSharedVariablesRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutRawSharedVariablesRequestWithBody constructs an http.Request for the PutRawSharedVariables method, with any body, and a specified content type
func NewPutSharedVariablesRequest ¶
func NewPutSharedVariablesRequest(server string, environmentId openapi_types.UUID, body PutSharedVariablesJSONRequestBody) (*http.Request, error)
NewPutSharedVariablesRequest calls the generic PutSharedVariables builder with application/json body
func NewPutSharedVariablesRequestWithBody ¶
func NewPutSharedVariablesRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutSharedVariablesRequestWithBody constructs an http.Request for the PutSharedVariables method, with any body, and a specified content type
func NewPutSpendLimitRequest ¶
func NewPutSpendLimitRequest(server string, orgId openapi_types.UUID, body PutSpendLimitJSONRequestBody) (*http.Request, error)
NewPutSpendLimitRequest calls the generic PutSpendLimit builder with application/json body
func NewPutSpendLimitRequestWithBody ¶
func NewPutSpendLimitRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutSpendLimitRequestWithBody constructs an http.Request for the PutSpendLimit method, with any body, and a specified content type
func NewReadComposeRequest ¶
func NewReadComposeRequest(server string, environmentId openapi_types.UUID, body ReadComposeJSONRequestBody) (*http.Request, error)
NewReadComposeRequest calls the generic ReadCompose builder with application/json body
func NewReadComposeRequestWithBody ¶
func NewReadComposeRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewReadComposeRequestWithBody constructs an http.Request for the ReadCompose method, with any body, and a specified content type
func NewReadyzRequest ¶
NewReadyzRequest constructs an http.Request for the Readyz method
func NewRebuildServerRequest ¶
func NewRebuildServerRequest(server string, serverId openapi_types.UUID, body RebuildServerJSONRequestBody) (*http.Request, error)
NewRebuildServerRequest calls the generic RebuildServer builder with application/json body
func NewRebuildServerRequestWithBody ¶
func NewRebuildServerRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewRebuildServerRequestWithBody constructs an http.Request for the RebuildServer method, with any body, and a specified content type
func NewReceiveGithubWebhookRequest ¶
NewReceiveGithubWebhookRequest constructs an http.Request for the ReceiveGithubWebhook method
func NewReceivePaystackWebhookRequest ¶
NewReceivePaystackWebhookRequest constructs an http.Request for the ReceivePaystackWebhook method
func NewRecordAnalyticsEventRequest ¶
func NewRecordAnalyticsEventRequest(server string, body RecordAnalyticsEventJSONRequestBody) (*http.Request, error)
NewRecordAnalyticsEventRequest calls the generic RecordAnalyticsEvent builder with application/json body
func NewRecordAnalyticsEventRequestWithBody ¶
func NewRecordAnalyticsEventRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRecordAnalyticsEventRequestWithBody constructs an http.Request for the RecordAnalyticsEvent method, with any body, and a specified content type
func NewRedeliverWebhookDeliveryRequest ¶
func NewRedeliverWebhookDeliveryRequest(server string, deliveryId openapi_types.UUID) (*http.Request, error)
NewRedeliverWebhookDeliveryRequest constructs an http.Request for the RedeliverWebhookDelivery method
func NewRegisterPasskeyRequest ¶
func NewRegisterPasskeyRequest(server string, body RegisterPasskeyJSONRequestBody) (*http.Request, error)
NewRegisterPasskeyRequest calls the generic RegisterPasskey builder with application/json body
func NewRegisterPasskeyRequestWithBody ¶
func NewRegisterPasskeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterPasskeyRequestWithBody constructs an http.Request for the RegisterPasskey method, with any body, and a specified content type
func NewRemoveDeploymentRequest ¶
func NewRemoveDeploymentRequest(server string, deploymentId openapi_types.UUID) (*http.Request, error)
NewRemoveDeploymentRequest constructs an http.Request for the RemoveDeployment method
func NewRemoveOrgMemberRequest ¶
func NewRemoveOrgMemberRequest(server string, orgId openapi_types.UUID, userId openapi_types.UUID) (*http.Request, error)
NewRemoveOrgMemberRequest constructs an http.Request for the RemoveOrgMember method
func NewRemovePaymentMethodRequest ¶
func NewRemovePaymentMethodRequest(server string, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID) (*http.Request, error)
NewRemovePaymentMethodRequest constructs an http.Request for the RemovePaymentMethod method
func NewReplaceEnvironmentFirewallRequest ¶
func NewReplaceEnvironmentFirewallRequest(server string, environmentId openapi_types.UUID, body ReplaceEnvironmentFirewallJSONRequestBody) (*http.Request, error)
NewReplaceEnvironmentFirewallRequest calls the generic ReplaceEnvironmentFirewall builder with application/json body
func NewReplaceEnvironmentFirewallRequestWithBody ¶
func NewReplaceEnvironmentFirewallRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewReplaceEnvironmentFirewallRequestWithBody constructs an http.Request for the ReplaceEnvironmentFirewall method, with any body, and a specified content type
func NewReplySupportTicketRequest ¶
func NewReplySupportTicketRequest(server string, ticketId openapi_types.UUID, body ReplySupportTicketJSONRequestBody) (*http.Request, error)
NewReplySupportTicketRequest calls the generic ReplySupportTicket builder with application/json body
func NewReplySupportTicketRequestWithBody ¶
func NewReplySupportTicketRequestWithBody(server string, ticketId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewReplySupportTicketRequestWithBody constructs an http.Request for the ReplySupportTicket method, with any body, and a specified content type
func NewRequestMagicLinkRequest ¶
func NewRequestMagicLinkRequest(server string, body RequestMagicLinkJSONRequestBody) (*http.Request, error)
NewRequestMagicLinkRequest calls the generic RequestMagicLink builder with application/json body
func NewRequestMagicLinkRequestWithBody ¶
func NewRequestMagicLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRequestMagicLinkRequestWithBody constructs an http.Request for the RequestMagicLink method, with any body, and a specified content type
func NewResizeServerRequest ¶
func NewResizeServerRequest(server string, serverId openapi_types.UUID, body ResizeServerJSONRequestBody) (*http.Request, error)
NewResizeServerRequest calls the generic ResizeServer builder with application/json body
func NewResizeServerRequestWithBody ¶
func NewResizeServerRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewResizeServerRequestWithBody constructs an http.Request for the ResizeServer method, with any body, and a specified content type
func NewResizeVolumeRequest ¶
func NewResizeVolumeRequest(server string, volumeId openapi_types.UUID, body ResizeVolumeJSONRequestBody) (*http.Request, error)
NewResizeVolumeRequest calls the generic ResizeVolume builder with application/json body
func NewResizeVolumeRequestWithBody ¶
func NewResizeVolumeRequestWithBody(server string, volumeId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewResizeVolumeRequestWithBody constructs an http.Request for the ResizeVolume method, with any body, and a specified content type
func NewResourceReferenceTargetsRequest ¶
func NewResourceReferenceTargetsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
NewResourceReferenceTargetsRequest constructs an http.Request for the ResourceReferenceTargets method
func NewRestoreBackupRequest ¶
func NewRestoreBackupRequest(server string, backupId openapi_types.UUID, body RestoreBackupJSONRequestBody) (*http.Request, error)
NewRestoreBackupRequest calls the generic RestoreBackup builder with application/json body
func NewRestoreBackupRequestWithBody ¶
func NewRestoreBackupRequestWithBody(server string, backupId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewRestoreBackupRequestWithBody constructs an http.Request for the RestoreBackup method, with any body, and a specified content type
func NewRestoreDatabaseRequest ¶
func NewRestoreDatabaseRequest(server string, resourceId openapi_types.UUID, body RestoreDatabaseJSONRequestBody) (*http.Request, error)
NewRestoreDatabaseRequest calls the generic RestoreDatabase builder with application/json body
func NewRestoreDatabaseRequestWithBody ¶
func NewRestoreDatabaseRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewRestoreDatabaseRequestWithBody constructs an http.Request for the RestoreDatabase method, with any body, and a specified content type
func NewResumeSubscriptionRequest ¶
NewResumeSubscriptionRequest constructs an http.Request for the ResumeSubscription method
func NewRetryConnectionRequest ¶
func NewRetryConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error)
NewRetryConnectionRequest constructs an http.Request for the RetryConnection method
func NewRevealEnvVarRequest ¶
func NewRevealEnvVarRequest(server string, resourceId openapi_types.UUID, key string) (*http.Request, error)
NewRevealEnvVarRequest constructs an http.Request for the RevealEnvVar method
func NewRevealSharedVariableRequest ¶
func NewRevealSharedVariableRequest(server string, environmentId openapi_types.UUID, key string) (*http.Request, error)
NewRevealSharedVariableRequest constructs an http.Request for the RevealSharedVariable method
func NewRevertServerSnapshotRequest ¶
func NewRevertServerSnapshotRequest(server string, serverId openapi_types.UUID, snapshotId int, body RevertServerSnapshotJSONRequestBody) (*http.Request, error)
NewRevertServerSnapshotRequest calls the generic RevertServerSnapshot builder with application/json body
func NewRevertServerSnapshotRequestWithBody ¶
func NewRevertServerSnapshotRequestWithBody(server string, serverId openapi_types.UUID, snapshotId int, contentType string, body io.Reader) (*http.Request, error)
NewRevertServerSnapshotRequestWithBody constructs an http.Request for the RevertServerSnapshot method, with any body, and a specified content type
func NewRevokeApiKeyRequest ¶
NewRevokeApiKeyRequest constructs an http.Request for the RevokeApiKey method
func NewRevokeInvitationRequest ¶
func NewRevokeInvitationRequest(server string, invitationId openapi_types.UUID) (*http.Request, error)
NewRevokeInvitationRequest constructs an http.Request for the RevokeInvitation method
func NewRevokeMySessionRequest ¶
NewRevokeMySessionRequest constructs an http.Request for the RevokeMySession method
func NewRevokeProjectTokenRequest ¶
NewRevokeProjectTokenRequest constructs an http.Request for the RevokeProjectToken method
func NewRevokeProviderKeyRequest ¶
NewRevokeProviderKeyRequest constructs an http.Request for the RevokeProviderKey method
func NewRollbackDeploymentRequest ¶
func NewRollbackDeploymentRequest(server string, deploymentId openapi_types.UUID, body RollbackDeploymentJSONRequestBody) (*http.Request, error)
NewRollbackDeploymentRequest calls the generic RollbackDeployment builder with application/json body
func NewRollbackDeploymentRequestWithBody ¶
func NewRollbackDeploymentRequestWithBody(server string, deploymentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewRollbackDeploymentRequestWithBody constructs an http.Request for the RollbackDeployment method, with any body, and a specified content type
func NewRotateDatabaseCredentialsRequest ¶
func NewRotateDatabaseCredentialsRequest(server string, resourceId openapi_types.UUID) (*http.Request, error)
NewRotateDatabaseCredentialsRequest constructs an http.Request for the RotateDatabaseCredentials method
func NewRotateWebhookSecretRequest ¶
func NewRotateWebhookSecretRequest(server string, webhookId openapi_types.UUID) (*http.Request, error)
NewRotateWebhookSecretRequest constructs an http.Request for the RotateWebhookSecret method
func NewRunDatabaseQueryRequest ¶
func NewRunDatabaseQueryRequest(server string, resourceId openapi_types.UUID, body RunDatabaseQueryJSONRequestBody) (*http.Request, error)
NewRunDatabaseQueryRequest calls the generic RunDatabaseQuery builder with application/json body
func NewRunDatabaseQueryRequestWithBody ¶
func NewRunDatabaseQueryRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewRunDatabaseQueryRequestWithBody constructs an http.Request for the RunDatabaseQuery method, with any body, and a specified content type
func NewRunResourceActionRequest ¶
func NewRunResourceActionRequest(server string, resourceId openapi_types.UUID, action RunResourceActionParamsAction) (*http.Request, error)
NewRunResourceActionRequest constructs an http.Request for the RunResourceAction method
func NewRunServerActionRequest ¶
func NewRunServerActionRequest(server string, serverId openapi_types.UUID, action RunServerActionParamsAction) (*http.Request, error)
NewRunServerActionRequest constructs an http.Request for the RunServerAction method
func NewSearchLogsRequest ¶
func NewSearchLogsRequest(server string, projectId openapi_types.UUID, params *SearchLogsParams) (*http.Request, error)
NewSearchLogsRequest constructs an http.Request for the SearchLogs method
func NewServerCatalogRequest ¶
NewServerCatalogRequest constructs an http.Request for the ServerCatalog method
func NewSetDefaultPaymentMethodRequest ¶
func NewSetDefaultPaymentMethodRequest(server string, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID) (*http.Request, error)
NewSetDefaultPaymentMethodRequest constructs an http.Request for the SetDefaultPaymentMethod method
func NewSetServerRootPasswordRequest ¶
func NewSetServerRootPasswordRequest(server string, serverId openapi_types.UUID, body SetServerRootPasswordJSONRequestBody) (*http.Request, error)
NewSetServerRootPasswordRequest calls the generic SetServerRootPassword builder with application/json body
func NewSetServerRootPasswordRequestWithBody ¶
func NewSetServerRootPasswordRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetServerRootPasswordRequestWithBody constructs an http.Request for the SetServerRootPassword method, with any body, and a specified content type
func NewSetServerSnapshotScheduleRequest ¶
func NewSetServerSnapshotScheduleRequest(server string, serverId openapi_types.UUID, body SetServerSnapshotScheduleJSONRequestBody) (*http.Request, error)
NewSetServerSnapshotScheduleRequest calls the generic SetServerSnapshotSchedule builder with application/json body
func NewSetServerSnapshotScheduleRequestWithBody ¶
func NewSetServerSnapshotScheduleRequestWithBody(server string, serverId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetServerSnapshotScheduleRequestWithBody constructs an http.Request for the SetServerSnapshotSchedule method, with any body, and a specified content type
func NewSimulateGithubPullRequestRequest ¶
func NewSimulateGithubPullRequestRequest(server string, body SimulateGithubPullRequestJSONRequestBody) (*http.Request, error)
NewSimulateGithubPullRequestRequest calls the generic SimulateGithubPullRequest builder with application/json body
func NewSimulateGithubPullRequestRequestWithBody ¶
func NewSimulateGithubPullRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSimulateGithubPullRequestRequestWithBody constructs an http.Request for the SimulateGithubPullRequest method, with any body, and a specified content type
func NewSimulateGithubPushRequest ¶
func NewSimulateGithubPushRequest(server string, body SimulateGithubPushJSONRequestBody) (*http.Request, error)
NewSimulateGithubPushRequest calls the generic SimulateGithubPush builder with application/json body
func NewSimulateGithubPushRequestWithBody ¶
func NewSimulateGithubPushRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSimulateGithubPushRequestWithBody constructs an http.Request for the SimulateGithubPush method, with any body, and a specified content type
func NewStageChangeRequest ¶
func NewStageChangeRequest(server string, environmentId openapi_types.UUID, body StageChangeJSONRequestBody) (*http.Request, error)
NewStageChangeRequest calls the generic StageChange builder with application/json body
func NewStageChangeRequestWithBody ¶
func NewStageChangeRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewStageChangeRequestWithBody constructs an http.Request for the StageChange method, with any body, and a specified content type
func NewStartBillingCheckoutRequest ¶
func NewStartBillingCheckoutRequest(server string, orgId openapi_types.UUID, body StartBillingCheckoutJSONRequestBody) (*http.Request, error)
NewStartBillingCheckoutRequest calls the generic StartBillingCheckout builder with application/json body
func NewStartBillingCheckoutRequestWithBody ¶
func NewStartBillingCheckoutRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewStartBillingCheckoutRequestWithBody constructs an http.Request for the StartBillingCheckout method, with any body, and a specified content type
func NewStartCliLoginRequest ¶
func NewStartCliLoginRequest(server string, body StartCliLoginJSONRequestBody) (*http.Request, error)
NewStartCliLoginRequest calls the generic StartCliLogin builder with application/json body
func NewStartCliLoginRequestWithBody ¶
func NewStartCliLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewStartCliLoginRequestWithBody constructs an http.Request for the StartCliLogin method, with any body, and a specified content type
func NewStartEmailSignInRequest ¶
func NewStartEmailSignInRequest(server string, body StartEmailSignInJSONRequestBody) (*http.Request, error)
NewStartEmailSignInRequest calls the generic StartEmailSignIn builder with application/json body
func NewStartEmailSignInRequestWithBody ¶
func NewStartEmailSignInRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewStartEmailSignInRequestWithBody constructs an http.Request for the StartEmailSignIn method, with any body, and a specified content type
func NewStreamDeploymentLogsRequest ¶
func NewStreamDeploymentLogsRequest(server string, deploymentId openapi_types.UUID, params *StreamDeploymentLogsParams) (*http.Request, error)
NewStreamDeploymentLogsRequest constructs an http.Request for the StreamDeploymentLogs method
func NewStreamProjectEventsRequest ¶
func NewStreamProjectEventsRequest(server string, projectId openapi_types.UUID) (*http.Request, error)
NewStreamProjectEventsRequest constructs an http.Request for the StreamProjectEvents method
func NewSubdomainAvailabilityRequest ¶
func NewSubdomainAvailabilityRequest(server string, params *SubdomainAvailabilityParams) (*http.Request, error)
NewSubdomainAvailabilityRequest constructs an http.Request for the SubdomainAvailability method
func NewSwitchServerShellOffRequest ¶
func NewSwitchServerShellOffRequest(server string, serverId openapi_types.UUID) (*http.Request, error)
NewSwitchServerShellOffRequest constructs an http.Request for the SwitchServerShellOff method
func NewSwitchServerShellOnRequest ¶
func NewSwitchServerShellOnRequest(server string, serverId openapi_types.UUID) (*http.Request, error)
NewSwitchServerShellOnRequest constructs an http.Request for the SwitchServerShellOn method
func NewTestWebhookRequest ¶
NewTestWebhookRequest constructs an http.Request for the TestWebhook method
func NewTranslateComposeRequest ¶
func NewTranslateComposeRequest(server string, body TranslateComposeJSONRequestBody) (*http.Request, error)
NewTranslateComposeRequest calls the generic TranslateCompose builder with application/json body
func NewTranslateComposeRequestWithBody ¶
func NewTranslateComposeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTranslateComposeRequestWithBody constructs an http.Request for the TranslateCompose method, with any body, and a specified content type
func NewUpdateEnvironmentRequest ¶
func NewUpdateEnvironmentRequest(server string, environmentId openapi_types.UUID, body UpdateEnvironmentJSONRequestBody) (*http.Request, error)
NewUpdateEnvironmentRequest calls the generic UpdateEnvironment builder with application/json body
func NewUpdateEnvironmentRequestWithBody ¶
func NewUpdateEnvironmentRequestWithBody(server string, environmentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEnvironmentRequestWithBody constructs an http.Request for the UpdateEnvironment method, with any body, and a specified content type
func NewUpdateInferenceEndpointRequest ¶
func NewUpdateInferenceEndpointRequest(server string, endpointId openapi_types.UUID, body UpdateInferenceEndpointJSONRequestBody) (*http.Request, error)
NewUpdateInferenceEndpointRequest calls the generic UpdateInferenceEndpoint builder with application/json body
func NewUpdateInferenceEndpointRequestWithBody ¶
func NewUpdateInferenceEndpointRequestWithBody(server string, endpointId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateInferenceEndpointRequestWithBody constructs an http.Request for the UpdateInferenceEndpoint method, with any body, and a specified content type
func NewUpdateMeRequest ¶
func NewUpdateMeRequest(server string, body UpdateMeJSONRequestBody) (*http.Request, error)
NewUpdateMeRequest calls the generic UpdateMe builder with application/json body
func NewUpdateMeRequestWithBody ¶
func NewUpdateMeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMeRequestWithBody constructs an http.Request for the UpdateMe method, with any body, and a specified content type
func NewUpdateOrgMemberRequest ¶
func NewUpdateOrgMemberRequest(server string, orgId openapi_types.UUID, userId openapi_types.UUID, body UpdateOrgMemberJSONRequestBody) (*http.Request, error)
NewUpdateOrgMemberRequest calls the generic UpdateOrgMember builder with application/json body
func NewUpdateOrgMemberRequestWithBody ¶
func NewUpdateOrgMemberRequestWithBody(server string, orgId openapi_types.UUID, userId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrgMemberRequestWithBody constructs an http.Request for the UpdateOrgMember method, with any body, and a specified content type
func NewUpdateOrgRequest ¶
func NewUpdateOrgRequest(server string, orgId openapi_types.UUID, body UpdateOrgJSONRequestBody) (*http.Request, error)
NewUpdateOrgRequest calls the generic UpdateOrg builder with application/json body
func NewUpdateOrgRequestWithBody ¶
func NewUpdateOrgRequestWithBody(server string, orgId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrgRequestWithBody constructs an http.Request for the UpdateOrg method, with any body, and a specified content type
func NewUpdateProjectRequest ¶
func NewUpdateProjectRequest(server string, projectId openapi_types.UUID, body UpdateProjectJSONRequestBody) (*http.Request, error)
NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body
func NewUpdateProjectRequestWithBody ¶
func NewUpdateProjectRequestWithBody(server string, projectId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProjectRequestWithBody constructs an http.Request for the UpdateProject method, with any body, and a specified content type
func NewUpdateResourceRequest ¶
func NewUpdateResourceRequest(server string, resourceId openapi_types.UUID, body UpdateResourceJSONRequestBody) (*http.Request, error)
NewUpdateResourceRequest calls the generic UpdateResource builder with application/json body
func NewUpdateResourceRequestWithBody ¶
func NewUpdateResourceRequestWithBody(server string, resourceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateResourceRequestWithBody constructs an http.Request for the UpdateResource method, with any body, and a specified content type
func NewUpdateWebhookRequest ¶
func NewUpdateWebhookRequest(server string, webhookId openapi_types.UUID, body UpdateWebhookJSONRequestBody) (*http.Request, error)
NewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body
func NewUpdateWebhookRequestWithBody ¶
func NewUpdateWebhookRequestWithBody(server string, webhookId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWebhookRequestWithBody constructs an http.Request for the UpdateWebhook method, with any body, and a specified content type
func NewValidateBlueprintRequest ¶
func NewValidateBlueprintRequest(server string, body ValidateBlueprintJSONRequestBody) (*http.Request, error)
NewValidateBlueprintRequest calls the generic ValidateBlueprint builder with application/json body
func NewValidateBlueprintRequestWithBody ¶
func NewValidateBlueprintRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewValidateBlueprintRequestWithBody constructs an http.Request for the ValidateBlueprint method, with any body, and a specified content type
func NewVerifyBillingCheckoutRequest ¶
func NewVerifyBillingCheckoutRequest(server string, orgId openapi_types.UUID, reference string) (*http.Request, error)
NewVerifyBillingCheckoutRequest constructs an http.Request for the VerifyBillingCheckout method
func NewVerifyDomainRequest ¶
NewVerifyDomainRequest constructs an http.Request for the VerifyDomain method
func NewWithdrawGpuRequestRequest ¶
func NewWithdrawGpuRequestRequest(server string, requestId openapi_types.UUID) (*http.Request, error)
NewWithdrawGpuRequestRequest constructs an http.Request for the WithdrawGpuRequest method
Types ¶
type AcceptInvitationJSONRequestBody ¶
type AcceptInvitationJSONRequestBody = AcceptInvitationRequest
AcceptInvitationJSONRequestBody defines body for AcceptInvitation for application/json ContentType.
type AcceptInvitationOut ¶
type AcceptInvitationOut struct {
Organization AcceptedOrganization `json:"organization"`
// Role The caller's role now, which is the existing one if they were already a member
Role Role `json:"role"`
}
AcceptInvitationOut defines model for AcceptInvitationOut.
type AcceptInvitationRequest ¶
type AcceptInvitationRequest struct {
Token string `json:"token"`
}
AcceptInvitationRequest defines model for AcceptInvitationRequest.
type AcceptInvitationResponse ¶
type AcceptInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AcceptInvitationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseAcceptInvitationResponse ¶
func ParseAcceptInvitationResponse(rsp *http.Response) (*AcceptInvitationResponse, error)
ParseAcceptInvitationResponse parses an HTTP response from a AcceptInvitationWithResponse call
func (AcceptInvitationResponse) ContentType ¶
func (r AcceptInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcceptInvitationResponse) GetBody ¶
func (r AcceptInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AcceptInvitationResponse) GetJSON4XX ¶
func (r AcceptInvitationResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (AcceptInvitationResponse) GetJSON5XX ¶
func (r AcceptInvitationResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (AcceptInvitationResponse) GetJSON200 ¶
func (r AcceptInvitationResponse) GetJSON200() *AcceptInvitationOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AcceptInvitationResponse) Status ¶
func (r AcceptInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptInvitationResponse) StatusCode ¶
func (r AcceptInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AcceptTermsJSONRequestBody ¶
type AcceptTermsJSONRequestBody = AcceptTermsRequest
AcceptTermsJSONRequestBody defines body for AcceptTerms for application/json ContentType.
type AcceptTermsRequest ¶
type AcceptTermsRequest struct {
// Version The version the person was shown
Version string `json:"version"`
}
AcceptTermsRequest defines model for AcceptTermsRequest.
type AcceptTermsResponse ¶
type AcceptTermsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TermsStatus
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseAcceptTermsResponse ¶
func ParseAcceptTermsResponse(rsp *http.Response) (*AcceptTermsResponse, error)
ParseAcceptTermsResponse parses an HTTP response from a AcceptTermsWithResponse call
func (AcceptTermsResponse) ContentType ¶
func (r AcceptTermsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcceptTermsResponse) GetBody ¶
func (r AcceptTermsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AcceptTermsResponse) GetJSON4XX ¶
func (r AcceptTermsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (AcceptTermsResponse) GetJSON5XX ¶
func (r AcceptTermsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (AcceptTermsResponse) GetJSON200 ¶
func (r AcceptTermsResponse) GetJSON200() *TermsStatus
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AcceptTermsResponse) Status ¶
func (r AcceptTermsResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptTermsResponse) StatusCode ¶
func (r AcceptTermsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Accepted ¶
type Accepted struct {
Ok *bool `json:"ok,omitempty"`
}
Accepted defines model for Accepted.
type AcceptedOrganization ¶
type AcceptedOrganization struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
}
AcceptedOrganization defines model for AcceptedOrganization.
type ActiveOperation ¶
type ActiveOperation struct {
Id openapi_types.UUID `json:"id"`
Phase *string `json:"phase"`
Progress float32 `json:"progress"`
State string `json:"state"`
Type string `json:"type"`
}
ActiveOperation defines model for ActiveOperation.
type ActivityItem ¶
type ActivityItem struct {
Action string `json:"action"`
Actor *Actor `json:"actor"`
ActorApiKeyId *openapi_types.UUID `json:"actor_api_key_id"`
CreatedAt time.Time `json:"created_at"`
Data map[string]interface{} `json:"data"`
Id openapi_types.UUID `json:"id"`
RequestId *string `json:"request_id"`
TargetId *string `json:"target_id"`
TargetType *string `json:"target_type"`
}
ActivityItem defines model for ActivityItem.
type ActivityPage ¶
type ActivityPage struct {
Items []ActivityItem `json:"items"`
NextCursor *string `json:"next_cursor"`
}
ActivityPage defines model for ActivityPage.
type Actor ¶
type Actor struct {
Email string `json:"email"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
}
Actor defines model for Actor.
type AiGatewayBindingSpec ¶
type AiGatewayBindingSpec struct {
// AllowedModels Catalogue model ids the connected services may use, on top of the project's routing rules. Empty allows whatever the rules allow.
AllowedModels *[]string `json:"allowed_models,omitempty"`
}
AiGatewayBindingSpec Access to the AI gateway for the services connected to it. Nothing runs on the engine: the binding is running as soon as it exists.
type AiMetricsOut ¶
type AiMetricsOut struct {
ByDay []DayMetrics `json:"by_day"`
ByModel []ModelMetrics `json:"by_model"`
End openapi_types.Date `json:"end"`
ProjectId *openapi_types.UUID `json:"project_id"`
Start openapi_types.Date `json:"start"`
Totals MetricsRow `json:"totals"`
}
AiMetricsOut defines model for AiMetricsOut.
type AiModelKind ¶
type AiModelKind string
AiModelKind What a model does, which decides the endpoint that serves it.
const ( AiModelKindChat AiModelKind = "chat" AiModelKindImage AiModelKind = "image" AiModelKindSpeech AiModelKind = "speech" AiModelKindTranscription AiModelKind = "transcription" )
Defines values for AiModelKind.
func (AiModelKind) Valid ¶
func (e AiModelKind) Valid() bool
Valid indicates whether the value is a known member of the AiModelKind enum.
type AiModelOut ¶
type AiModelOut struct {
Available bool `json:"available"`
// ContextWindow Tokens the model reads at once, or 0 where that doesn't apply.
ContextWindow int `json:"context_window"`
Currency string `json:"currency"`
DisplayName string `json:"display_name"`
// Id The id callers send as `model`, such as openai/gpt-4.1-mini.
Id string `json:"id"`
// InputModalities What the model takes in: text, image or audio.
InputModalities []string `json:"input_modalities"`
// InputPricePerMtok List price in US dollars per million input units.
InputPricePerMtok string `json:"input_price_per_mtok"`
// Kind chat, image, transcription or speech, which decides the endpoint that serves the model.
Kind AiModelKind `json:"kind"`
Notes *string `json:"notes"`
// OutputModalities What the model gives back: text, image or audio.
OutputModalities []string `json:"output_modalities"`
// OutputPricePerMtok List price in US dollars per million output units.
OutputPricePerMtok string `json:"output_price_per_mtok"`
// PricingUnit What the prices count: tokens, or characters of input text.
PricingUnit AiPricingUnit `json:"pricing_unit"`
ProcessingOutsideGhana bool `json:"processing_outside_ghana"`
ProcessingRegion string `json:"processing_region"`
Provider AiProvider `json:"provider"`
ProviderModel string `json:"provider_model"`
}
AiModelOut defines model for AiModelOut.
type AiPricingUnit ¶
type AiPricingUnit string
AiPricingUnit What the two list prices count, per million: tokens (input and output), or characters of input text for speech models billed that way.
const ( Characters AiPricingUnit = "characters" Tokens AiPricingUnit = "tokens" )
Defines values for AiPricingUnit.
func (AiPricingUnit) Valid ¶
func (e AiPricingUnit) Valid() bool
Valid indicates whether the value is a known member of the AiPricingUnit enum.
type AiProvider ¶
type AiProvider string
AiProvider defines model for AiProvider.
const ( AiProviderAnthropic AiProvider = "anthropic" AiProviderDeepseek AiProvider = "deepseek" AiProviderGoogle AiProvider = "google" AiProviderMoonshot AiProvider = "moonshot" AiProviderOpenai AiProvider = "openai" AiProviderZai AiProvider = "zai" )
Defines values for AiProvider.
func (AiProvider) Valid ¶
func (e AiProvider) Valid() bool
Valid indicates whether the value is a known member of the AiProvider enum.
type AiRequestOut ¶
type AiRequestOut struct {
ApiKeyId *openapi_types.UUID `json:"api_key_id"`
CostUsd string `json:"cost_usd"`
CreatedAt time.Time `json:"created_at"`
ErrorCode *string `json:"error_code"`
FallbackFrom *string `json:"fallback_from"`
HttpStatus int `json:"http_status"`
Id openapi_types.UUID `json:"id"`
InputTokens int `json:"input_tokens"`
// Kind What a model does, which decides the endpoint that serves it.
Kind AiModelKind `json:"kind"`
LatencyMs int `json:"latency_ms"`
OutputTokens int `json:"output_tokens"`
ProjectId *openapi_types.UUID `json:"project_id"`
Provider *string `json:"provider"`
RequestedModel string `json:"requested_model"`
// Route Null when the request was refused before a route was chosen.
Route *AiRoute `json:"route"`
ServedModel *string `json:"served_model"`
Status AiRequestStatus `json:"status"`
Stream bool `json:"stream"`
TimeToFirstTokenMs *int `json:"time_to_first_token_ms"`
VeilBlocked *bool `json:"veil_blocked,omitempty"`
VeilByAction *map[string]int `json:"veil_by_action,omitempty"`
VeilByEntity *map[string]int `json:"veil_by_entity,omitempty"`
VeilFindings *int `json:"veil_findings,omitempty"`
VeilLatencyMs *int `json:"veil_latency_ms,omitempty"`
// VeilMode protected or detected when Veil scanned the request.
VeilMode *string `json:"veil_mode,omitempty"`
VeilPolicy *string `json:"veil_policy,omitempty"`
VeilResponseFindings *int `json:"veil_response_findings,omitempty"`
}
AiRequestOut defines model for AiRequestOut.
type AiRequestPage ¶
type AiRequestPage struct {
Items []AiRequestOut `json:"items"`
NextCursor *string `json:"next_cursor"`
}
AiRequestPage defines model for AiRequestPage.
type AiRequestStatus ¶
type AiRequestStatus string
AiRequestStatus defines model for AiRequestStatus.
const ( AiRequestStatusFailed AiRequestStatus = "failed" AiRequestStatusRejected AiRequestStatus = "rejected" AiRequestStatusSucceeded AiRequestStatus = "succeeded" )
Defines values for AiRequestStatus.
func (AiRequestStatus) Valid ¶
func (e AiRequestStatus) Valid() bool
Valid indicates whether the value is a known member of the AiRequestStatus enum.
type AiRoute ¶
type AiRoute string
AiRoute Where a request was answered. `fake` is the simulated reply used in development, and `private` is reserved for an organization's own endpoint.
const ( AiRouteAnthropic AiRoute = "anthropic" AiRouteDeepseek AiRoute = "deepseek" AiRouteFake AiRoute = "fake" AiRouteGoogle AiRoute = "google" AiRouteMoonshot AiRoute = "moonshot" AiRouteOpenai AiRoute = "openai" AiRoutePrivate AiRoute = "private" AiRouteZai AiRoute = "zai" )
Defines values for AiRoute.
type AnalyticsSummary ¶
type AnalyticsSummary struct {
Daily []DailyCount `json:"daily"`
End openapi_types.Date `json:"end"`
Start openapi_types.Date `json:"start"`
TopPaths []PathCount `json:"top_paths"`
TopReferrers []ReferrerCount `json:"top_referrers"`
// Totals Events by name over the whole range
Totals map[string]int `json:"totals"`
}
AnalyticsSummary defines model for AnalyticsSummary.
type AnnouncementOut ¶
type AnnouncementOut struct {
Text *string `json:"text"`
}
AnnouncementOut defines model for AnnouncementOut.
type ApiKeyCreated ¶
type ApiKeyCreated struct {
CreatedAt time.Time `json:"created_at"`
CreatedByUserId *openapi_types.UUID `json:"created_by_user_id"`
ExpiresAt *time.Time `json:"expires_at"`
Id openapi_types.UUID `json:"id"`
// Key The full key. It is shown only in this response.
Key string `json:"key"`
LastUsedAt *time.Time `json:"last_used_at"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organization_id"`
Prefix string `json:"prefix"`
// ProjectId Set for a project token, which reaches only this project and gets 404 everywhere else.
ProjectId *openapi_types.UUID `json:"project_id"`
RevokedAt *time.Time `json:"revoked_at"`
Scopes []string `json:"scopes"`
}
ApiKeyCreated defines model for ApiKeyCreated.
type ApiKeyOut ¶
type ApiKeyOut struct {
CreatedAt time.Time `json:"created_at"`
CreatedByUserId *openapi_types.UUID `json:"created_by_user_id"`
ExpiresAt *time.Time `json:"expires_at"`
Id openapi_types.UUID `json:"id"`
LastUsedAt *time.Time `json:"last_used_at"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organization_id"`
Prefix string `json:"prefix"`
// ProjectId Set for a project token, which reaches only this project and gets 404 everywhere else.
ProjectId *openapi_types.UUID `json:"project_id"`
RevokedAt *time.Time `json:"revoked_at"`
Scopes []string `json:"scopes"`
}
ApiKeyOut defines model for ApiKeyOut.
type AppDomainsBlueprintsSchemasVolumeOut ¶
type AppDomainsBlueprintsSchemasVolumeOut struct {
MountPath string `json:"mount_path"`
SizeGb int `json:"size_gb"`
}
AppDomainsBlueprintsSchemasVolumeOut defines model for app__domains__blueprints__schemas__VolumeOut.
type AppDomainsHealthRouterHealthOut ¶
type AppDomainsHealthRouterHealthOut struct {
Checks *map[string]string `json:"checks,omitempty"`
Status string `json:"status"`
}
AppDomainsHealthRouterHealthOut defines model for app__domains__health__router__HealthOut.
type AppDomainsResourcesSchemasHealthOut ¶
type AppDomainsResourcesSchemasHealthOut struct {
CheckedAt time.Time `json:"checked_at"`
Passing bool `json:"passing"`
Path *string `json:"path,omitempty"`
StatusCode *int `json:"status_code,omitempty"`
}
AppDomainsResourcesSchemasHealthOut defines model for app__domains__resources__schemas__HealthOut.
type AppDomainsVolumesSchemasVolumeOut ¶
type AppDomainsVolumesSchemasVolumeOut struct {
ActiveOperation *ActiveOperation `json:"active_operation"`
// Backups True: volumes can be backed up on request at /v1/volumes/{id}/backups
Backups bool `json:"backups"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
MountPath string `json:"mount_path"`
Name string `json:"name"`
// PendingSizeGb The size a resize in progress is growing to
PendingSizeGb *int `json:"pending_size_gb"`
ResourceId openapi_types.UUID `json:"resource_id"`
SizeGb int `json:"size_gb"`
Status VolumeStatus `json:"status"`
StatusReason *string `json:"status_reason"`
UpdatedAt time.Time `json:"updated_at"`
// UsedGb Reported by the engine after each volume operation
UsedGb *float32 `json:"used_gb"`
}
AppDomainsVolumesSchemasVolumeOut defines model for app__domains__volumes__schemas__VolumeOut.
type ApplicationSpec ¶
type ApplicationSpec struct {
Autodeploy *bool `json:"autodeploy,omitempty"`
// Build How a GitHub service is built. Each builder reads its own fields and
// ignores the others, so switching builders keeps what was set for the old
// one. `auto`, the name earlier specs used, is read as `railpack`.
Build *ServiceBuild `json:"build,omitempty"`
Networking *ServiceNetworking `json:"networking,omitempty"`
// Previews GitHub services in a default environment: open a preview environment for each pull request against the tracked branch
Previews *bool `json:"previews,omitempty"`
Runtime *ServiceRuntime `json:"runtime,omitempty"`
Source ApplicationSpec_Source `json:"source"`
}
ApplicationSpec defines model for ApplicationSpec.
type ApplicationSpec_Source ¶
type ApplicationSpec_Source struct {
// contains filtered or unexported fields
}
ApplicationSpec_Source defines model for ApplicationSpec.Source.
func (ApplicationSpec_Source) AsGitHubSource ¶
func (t ApplicationSpec_Source) AsGitHubSource() (GitHubSource, error)
AsGitHubSource returns the union data inside the ApplicationSpec_Source as a GitHubSource
func (ApplicationSpec_Source) AsImageSource ¶
func (t ApplicationSpec_Source) AsImageSource() (ImageSource, error)
AsImageSource returns the union data inside the ApplicationSpec_Source as a ImageSource
func (*ApplicationSpec_Source) FromGitHubSource ¶
func (t *ApplicationSpec_Source) FromGitHubSource(v GitHubSource) error
FromGitHubSource overwrites any union data inside the ApplicationSpec_Source as the provided GitHubSource
func (*ApplicationSpec_Source) FromImageSource ¶
func (t *ApplicationSpec_Source) FromImageSource(v ImageSource) error
FromImageSource overwrites any union data inside the ApplicationSpec_Source as the provided ImageSource
func (ApplicationSpec_Source) MarshalJSON ¶
func (t ApplicationSpec_Source) MarshalJSON() ([]byte, error)
func (*ApplicationSpec_Source) MergeGitHubSource ¶
func (t *ApplicationSpec_Source) MergeGitHubSource(v GitHubSource) error
MergeGitHubSource performs a merge with any union data inside the ApplicationSpec_Source, using the provided GitHubSource
func (*ApplicationSpec_Source) MergeImageSource ¶
func (t *ApplicationSpec_Source) MergeImageSource(v ImageSource) error
MergeImageSource performs a merge with any union data inside the ApplicationSpec_Source, using the provided ImageSource
func (*ApplicationSpec_Source) UnmarshalJSON ¶
func (t *ApplicationSpec_Source) UnmarshalJSON(b []byte) error
type ApplyForEarlyAccessJSONRequestBody ¶
type ApplyForEarlyAccessJSONRequestBody = EarlyAccessRequestIn
ApplyForEarlyAccessJSONRequestBody defines body for ApplyForEarlyAccess for application/json ContentType.
type ApplyForEarlyAccessResponse ¶
type ApplyForEarlyAccessResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *Accepted
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseApplyForEarlyAccessResponse ¶
func ParseApplyForEarlyAccessResponse(rsp *http.Response) (*ApplyForEarlyAccessResponse, error)
ParseApplyForEarlyAccessResponse parses an HTTP response from a ApplyForEarlyAccessWithResponse call
func (ApplyForEarlyAccessResponse) ContentType ¶
func (r ApplyForEarlyAccessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApplyForEarlyAccessResponse) GetBody ¶
func (r ApplyForEarlyAccessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApplyForEarlyAccessResponse) GetJSON4XX ¶
func (r ApplyForEarlyAccessResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ApplyForEarlyAccessResponse) GetJSON5XX ¶
func (r ApplyForEarlyAccessResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ApplyForEarlyAccessResponse) GetJSON202 ¶
func (r ApplyForEarlyAccessResponse) GetJSON202() *Accepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ApplyForEarlyAccessResponse) Status ¶
func (r ApplyForEarlyAccessResponse) Status() string
Status returns HTTPResponse.Status
func (ApplyForEarlyAccessResponse) StatusCode ¶
func (r ApplyForEarlyAccessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApproveCliLoginJSONRequestBody ¶
type ApproveCliLoginJSONRequestBody = ApproveCliLoginRequest
ApproveCliLoginJSONRequestBody defines body for ApproveCliLogin for application/json ContentType.
type ApproveCliLoginRequest ¶
type ApproveCliLoginRequest struct {
OrganizationId openapi_types.UUID `json:"organization_id"`
}
ApproveCliLoginRequest defines model for ApproveCliLoginRequest.
type ApproveCliLoginResponse ¶
type ApproveCliLoginResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CliLoginOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseApproveCliLoginResponse ¶
func ParseApproveCliLoginResponse(rsp *http.Response) (*ApproveCliLoginResponse, error)
ParseApproveCliLoginResponse parses an HTTP response from a ApproveCliLoginWithResponse call
func (ApproveCliLoginResponse) ContentType ¶
func (r ApproveCliLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApproveCliLoginResponse) GetBody ¶
func (r ApproveCliLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApproveCliLoginResponse) GetJSON4XX ¶
func (r ApproveCliLoginResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ApproveCliLoginResponse) GetJSON5XX ¶
func (r ApproveCliLoginResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ApproveCliLoginResponse) GetJSON200 ¶
func (r ApproveCliLoginResponse) GetJSON200() *CliLoginOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ApproveCliLoginResponse) Status ¶
func (r ApproveCliLoginResponse) Status() string
Status returns HTTPResponse.Status
func (ApproveCliLoginResponse) StatusCode ¶
func (r ApproveCliLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthResponse ¶
type AuthResponse struct {
User UserOut `json:"user"`
}
AuthResponse defines model for AuthResponse.
type BackupKind ¶
type BackupKind string
BackupKind defines model for BackupKind.
const ( BackupKindManual BackupKind = "manual" BackupKindScheduled BackupKind = "scheduled" )
Defines values for BackupKind.
func (BackupKind) Valid ¶
func (e BackupKind) Valid() bool
Valid indicates whether the value is a known member of the BackupKind enum.
type BackupLocation ¶
type BackupLocation struct {
Note string `json:"note"`
ProviderRef *string `json:"provider_ref"`
RegionId *string `json:"region_id"`
// SameHostAsSource True: the backup is on the same pilot host as what it backs up
SameHostAsSource bool `json:"same_host_as_source"`
// Verified Always false until procurement verifies the host
Verified bool `json:"verified"`
}
BackupLocation defines model for BackupLocation.
type BackupOut ¶
type BackupOut struct {
ActiveOperation *ActiveOperation `json:"active_operation"`
CompletedAt *time.Time `json:"completed_at"`
CreatedAt time.Time `json:"created_at"`
Error *string `json:"error"`
// ExpiresAt When the backup is deleted
ExpiresAt *time.Time `json:"expires_at"`
Id openapi_types.UUID `json:"id"`
Kind BackupKind `json:"kind"`
Location BackupLocation `json:"location"`
OperationId *openapi_types.UUID `json:"operation_id"`
ResourceId openapi_types.UUID `json:"resource_id"`
SizeBytes *int `json:"size_bytes"`
StartedAt *time.Time `json:"started_at"`
Status BackupStatus `json:"status"`
// Target resource for a Postgres backup, volume for a volume backup
Target BackupTarget `json:"target"`
VolumeId *openapi_types.UUID `json:"volume_id"`
}
BackupOut defines model for BackupOut.
type BackupSettings ¶
type BackupSettings struct {
// RetentionDays Scheduled backups are deleted after this
RetentionDays *int `json:"retention_days,omitempty"`
// Schedule daily takes one backup a day
Schedule *BackupSettingsSchedule `json:"schedule,omitempty"`
}
BackupSettings defines model for BackupSettings.
type BackupSettingsSchedule ¶
type BackupSettingsSchedule string
BackupSettingsSchedule daily takes one backup a day
const ( BackupSettingsScheduleDaily BackupSettingsSchedule = "daily" BackupSettingsScheduleOff BackupSettingsSchedule = "off" )
Defines values for BackupSettingsSchedule.
func (BackupSettingsSchedule) Valid ¶
func (e BackupSettingsSchedule) Valid() bool
Valid indicates whether the value is a known member of the BackupSettingsSchedule enum.
type BackupStatus ¶
type BackupStatus string
BackupStatus defines model for BackupStatus.
const ( BackupStatusCompleted BackupStatus = "completed" BackupStatusFailed BackupStatus = "failed" BackupStatusPending BackupStatus = "pending" BackupStatusRunning BackupStatus = "running" )
Defines values for BackupStatus.
func (BackupStatus) Valid ¶
func (e BackupStatus) Valid() bool
Valid indicates whether the value is a known member of the BackupStatus enum.
type BackupTarget ¶
type BackupTarget string
BackupTarget defines model for BackupTarget.
const ( BackupTargetResource BackupTarget = "resource" BackupTargetVolume BackupTarget = "volume" )
Defines values for BackupTarget.
func (BackupTarget) Valid ¶
func (e BackupTarget) Valid() bool
Valid indicates whether the value is a known member of the BackupTarget enum.
type BillingDetailsIn ¶
type BillingDetailsIn struct {
Address *string `json:"address,omitempty"`
BillingEmail *string `json:"billing_email,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
CountryCode *string `json:"country_code,omitempty"`
// TaxId For example a Ghana TIN
TaxId *string `json:"tax_id,omitempty"`
}
BillingDetailsIn defines model for BillingDetailsIn.
type BillingDetailsOut ¶
type BillingDetailsOut struct {
Address *string `json:"address,omitempty"`
BillingEmail *string `json:"billing_email,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
CountryCode *string `json:"country_code,omitempty"`
// TaxId For example a Ghana TIN
TaxId *string `json:"tax_id,omitempty"`
UpdatedAt *time.Time `json:"updated_at"`
}
BillingDetailsOut defines model for BillingDetailsOut.
type Binding ¶
type Binding struct {
Key string `json:"key"`
Optional *bool `json:"optional,omitempty"`
Secret bool `json:"secret"`
}
Binding defines model for Binding.
type BlueprintConnectionOut ¶
BlueprintConnectionOut defines model for BlueprintConnectionOut.
type BlueprintError ¶
type BlueprintError struct {
Message string `json:"message"`
// Path Dotted path into the blueprint, such as resources.0.spec.runtime.port
Path string `json:"path"`
}
BlueprintError defines model for BlueprintError.
type BlueprintIn ¶
type BlueprintIn struct {
// Content The blueprint text, usually a dekka.yaml
Content string `json:"content"`
Format *BlueprintInFormat `json:"format,omitempty"`
}
BlueprintIn defines model for BlueprintIn.
type BlueprintInFormat ¶
type BlueprintInFormat string
BlueprintInFormat defines model for BlueprintIn.Format.
const ( BlueprintInFormatJson BlueprintInFormat = "json" BlueprintInFormatToml BlueprintInFormat = "toml" BlueprintInFormatYaml BlueprintInFormat = "yaml" )
Defines values for BlueprintInFormat.
func (BlueprintInFormat) Valid ¶
func (e BlueprintInFormat) Valid() bool
Valid indicates whether the value is a known member of the BlueprintInFormat enum.
type BlueprintResourceOut ¶
type BlueprintResourceOut struct {
Kind string `json:"kind"`
Name string `json:"name"`
RegionId *string `json:"region_id"`
// Spec The spec with every default filled in
Spec map[string]interface{} `json:"spec"`
// Variables Variable names; values are not echoed back
Variables []string `json:"variables"`
Volume *AppDomainsBlueprintsSchemasVolumeOut `json:"volume,omitempty"`
}
BlueprintResourceOut defines model for BlueprintResourceOut.
type BlueprintValidation ¶
type BlueprintValidation struct {
Blueprint *NormalizedBlueprint `json:"blueprint"`
Errors []BlueprintError `json:"errors"`
Valid bool `json:"valid"`
}
BlueprintValidation defines model for BlueprintValidation.
type BodyCreateTranscription ¶
type BodyCreateTranscription struct {
// File The audio, at most 25 MB, named with its extension
File openapi_types.File `json:"file"`
// Language ISO-639-1, such as en
Language *string `json:"language,omitempty"`
Model string `json:"model"`
Prompt *string `json:"prompt,omitempty"`
ResponseFormat *string `json:"response_format,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
}
BodyCreateTranscription defines model for Body_create_transcription.
type BranchOut ¶
type BranchOut struct {
CommitSha string `json:"commit_sha"`
Name string `json:"name"`
Protected bool `json:"protected"`
}
BranchOut defines model for BranchOut.
type CancelDeploymentResponse ¶
type CancelDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCancelDeploymentResponse ¶
func ParseCancelDeploymentResponse(rsp *http.Response) (*CancelDeploymentResponse, error)
ParseCancelDeploymentResponse parses an HTTP response from a CancelDeploymentWithResponse call
func (CancelDeploymentResponse) ContentType ¶
func (r CancelDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelDeploymentResponse) GetBody ¶
func (r CancelDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelDeploymentResponse) GetJSON4XX ¶
func (r CancelDeploymentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CancelDeploymentResponse) GetJSON5XX ¶
func (r CancelDeploymentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CancelDeploymentResponse) GetJSON200 ¶
func (r CancelDeploymentResponse) GetJSON200() *DeploymentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CancelDeploymentResponse) Status ¶
func (r CancelDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (CancelDeploymentResponse) StatusCode ¶
func (r CancelDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelSubscriptionResponse ¶
type CancelSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubscriptionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCancelSubscriptionResponse ¶
func ParseCancelSubscriptionResponse(rsp *http.Response) (*CancelSubscriptionResponse, error)
ParseCancelSubscriptionResponse parses an HTTP response from a CancelSubscriptionWithResponse call
func (CancelSubscriptionResponse) ContentType ¶
func (r CancelSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelSubscriptionResponse) GetBody ¶
func (r CancelSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelSubscriptionResponse) GetJSON4XX ¶
func (r CancelSubscriptionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CancelSubscriptionResponse) GetJSON5XX ¶
func (r CancelSubscriptionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CancelSubscriptionResponse) GetJSON200 ¶
func (r CancelSubscriptionResponse) GetJSON200() *SubscriptionOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CancelSubscriptionResponse) Status ¶
func (r CancelSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (CancelSubscriptionResponse) StatusCode ¶
func (r CancelSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CanvasIn ¶
type CanvasIn struct {
Nodes *map[string]NodePosition `json:"nodes,omitempty"`
Viewport *Viewport `json:"viewport,omitempty"`
}
CanvasIn defines model for CanvasIn.
type CanvasOut ¶
type CanvasOut struct {
EnvironmentId openapi_types.UUID `json:"environment_id"`
Nodes map[string]NodePosition `json:"nodes"`
UpdatedAt *time.Time `json:"updated_at"`
Viewport Viewport `json:"viewport"`
}
CanvasOut defines model for CanvasOut.
type CapacityRequestIn ¶
type CapacityRequestIn struct {
DesiredStart *openapi_types.Date `json:"desired_start,omitempty"`
Kind *CapacityRequestKind `json:"kind,omitempty"`
// OfferingId An id from GET /v1/catalog/gpu-instances
OfferingId string `json:"offering_id"`
// Quantity How many instances
Quantity *int `json:"quantity,omitempty"`
// RegionId A preferred region, or null for any
RegionId *string `json:"region_id,omitempty"`
// UseCase What the GPUs are for
UseCase string `json:"use_case"`
}
CapacityRequestIn defines model for CapacityRequestIn.
type CapacityRequestKind ¶
type CapacityRequestKind string
CapacityRequestKind defines model for CapacityRequestKind.
const ( CapacityRequestKindReservation CapacityRequestKind = "reservation" CapacityRequestKindWaitlist CapacityRequestKind = "waitlist" )
Defines values for CapacityRequestKind.
func (CapacityRequestKind) Valid ¶
func (e CapacityRequestKind) Valid() bool
Valid indicates whether the value is a known member of the CapacityRequestKind enum.
type CapacityRequestOut ¶
type CapacityRequestOut struct {
Availability *CapacityRequestOutAvailability `json:"availability,omitempty"`
CreatedAt time.Time `json:"created_at"`
CreatedByUserId *openapi_types.UUID `json:"created_by_user_id"`
DesiredStart *openapi_types.Date `json:"desired_start"`
Id openapi_types.UUID `json:"id"`
Kind CapacityRequestKind `json:"kind"`
OfferingId string `json:"offering_id"`
Quantity int `json:"quantity"`
RegionId *string `json:"region_id"`
// Status received, contacted or closed
Status CapacityRequestStatus `json:"status"`
UpdatedAt time.Time `json:"updated_at"`
UseCase string `json:"use_case"`
}
CapacityRequestOut defines model for CapacityRequestOut.
type CapacityRequestOutAvailability ¶
type CapacityRequestOutAvailability string
CapacityRequestOutAvailability defines model for CapacityRequestOut.Availability.
const (
CapacityRequestOutAvailabilityWaitlist CapacityRequestOutAvailability = "waitlist"
)
Defines values for CapacityRequestOutAvailability.
func (CapacityRequestOutAvailability) Valid ¶
func (e CapacityRequestOutAvailability) Valid() bool
Valid indicates whether the value is a known member of the CapacityRequestOutAvailability enum.
type CapacityRequestStatus ¶
type CapacityRequestStatus string
CapacityRequestStatus defines model for CapacityRequestStatus.
const ( CapacityRequestStatusClosed CapacityRequestStatus = "closed" CapacityRequestStatusContacted CapacityRequestStatus = "contacted" CapacityRequestStatusReceived CapacityRequestStatus = "received" )
Defines values for CapacityRequestStatus.
func (CapacityRequestStatus) Valid ¶
func (e CapacityRequestStatus) Valid() bool
Valid indicates whether the value is a known member of the CapacityRequestStatus enum.
type CertificateStatus ¶
type CertificateStatus string
CertificateStatus defines model for CertificateStatus.
const ( CertificateStatusActive CertificateStatus = "active" CertificateStatusFailed CertificateStatus = "failed" CertificateStatusIssuing CertificateStatus = "issuing" CertificateStatusPending CertificateStatus = "pending" )
Defines values for CertificateStatus.
func (CertificateStatus) Valid ¶
func (e CertificateStatus) Valid() bool
Valid indicates whether the value is a known member of the CertificateStatus enum.
type ChangeAction ¶
type ChangeAction string
ChangeAction defines model for ChangeAction.
const ( ChangeActionCreate ChangeAction = "create" ChangeActionDelete ChangeAction = "delete" ChangeActionUpdate ChangeAction = "update" )
Defines values for ChangeAction.
func (ChangeAction) Valid ¶
func (e ChangeAction) Valid() bool
Valid indicates whether the value is a known member of the ChangeAction enum.
type ChangeOut ¶
type ChangeOut struct {
Action ChangeAction `json:"action"`
CreatedAt time.Time `json:"created_at"`
// Destructive True for deletes of databases, buckets and volumes' services
Destructive bool `json:"destructive"`
// HasValue True when an encrypted variable value is staged
HasValue bool `json:"has_value"`
Id openapi_types.UUID `json:"id"`
// Payload The change's settings. Variable values are encrypted and left out.
Payload map[string]interface{} `json:"payload"`
Position int `json:"position"`
ResourceId *openapi_types.UUID `json:"resource_id"`
ResourceName *string `json:"resource_name"`
// Result After deploying: what the change created or queued
Result *map[string]interface{} `json:"result"`
// Summary What the change does, in a sentence. Variable values are never included.
Summary string `json:"summary"`
Target ChangeTarget `json:"target"`
}
ChangeOut defines model for ChangeOut.
type ChangePlanRequest ¶
type ChangePlanRequest struct {
PlanId string `json:"plan_id"`
}
ChangePlanRequest defines model for ChangePlanRequest.
type ChangeTarget ¶
type ChangeTarget string
ChangeTarget defines model for ChangeTarget.
const ( ChangeTargetConnection ChangeTarget = "connection" ChangeTargetResource ChangeTarget = "resource" ChangeTargetVariable ChangeTarget = "variable" ChangeTargetVolume ChangeTarget = "volume" )
Defines values for ChangeTarget.
func (ChangeTarget) Valid ¶
func (e ChangeTarget) Valid() bool
Valid indicates whether the value is a known member of the ChangeTarget enum.
type ChangesetEstimateIn ¶
type ChangesetEstimateIn struct {
// ChangesetId A manual draft, or a template, Compose or blueprint plan
ChangesetId openapi_types.UUID `json:"changeset_id"`
Type ChangesetEstimateInType `json:"type"`
}
ChangesetEstimateIn defines model for ChangesetEstimateIn.
type ChangesetEstimateInType ¶
type ChangesetEstimateInType string
ChangesetEstimateInType defines model for ChangesetEstimateIn.Type.
const (
Changeset ChangesetEstimateInType = "changeset"
)
Defines values for ChangesetEstimateInType.
func (ChangesetEstimateInType) Valid ¶
func (e ChangesetEstimateInType) Valid() bool
Valid indicates whether the value is a known member of the ChangesetEstimateInType enum.
type ChangesetOut ¶
type ChangesetOut struct {
AppliedAt *time.Time `json:"applied_at"`
AppliedByUserId *openapi_types.UUID `json:"applied_by_user_id"`
Changes []ChangeOut `json:"changes"`
CreatedAt *time.Time `json:"created_at"`
CreatedByUserId *openapi_types.UUID `json:"created_by_user_id"`
// DeploymentIds After deploying: the deployments it created
DeploymentIds []openapi_types.UUID `json:"deployment_ids"`
EnvironmentId openapi_types.UUID `json:"environment_id"`
// Id Null for an empty manual draft that has not been started
Id *openapi_types.UUID `json:"id"`
// Operations After deploying: every operation the deploy queued
Operations []OperationOut `json:"operations"`
// PendingCount Changes waiting to be deployed, for the canvas's pending-changes bar
PendingCount int `json:"pending_count"`
ProjectId openapi_types.UUID `json:"project_id"`
Prune bool `json:"prune"`
Source ChangesetSource `json:"source"`
Status ChangesetStatus `json:"status"`
TemplateId *string `json:"template_id"`
UpdatedAt *time.Time `json:"updated_at"`
}
ChangesetOut defines model for ChangesetOut.
type ChangesetSource ¶
type ChangesetSource string
ChangesetSource defines model for ChangesetSource.
const ( ChangesetSourceBlueprint ChangesetSource = "blueprint" ChangesetSourceManual ChangesetSource = "manual" ChangesetSourceTemplate ChangesetSource = "template" )
Defines values for ChangesetSource.
func (ChangesetSource) Valid ¶
func (e ChangesetSource) Valid() bool
Valid indicates whether the value is a known member of the ChangesetSource enum.
type ChangesetStatus ¶
type ChangesetStatus string
ChangesetStatus defines model for ChangesetStatus.
const ( ChangesetStatusApplied ChangesetStatus = "applied" ChangesetStatusDiscarded ChangesetStatus = "discarded" ChangesetStatusDraft ChangesetStatus = "draft" ChangesetStatusStale ChangesetStatus = "stale" )
Defines values for ChangesetStatus.
func (ChangesetStatus) Valid ¶
func (e ChangesetStatus) Valid() bool
Valid indicates whether the value is a known member of the ChangesetStatus enum.
type ChatCompletionIn ¶
type ChatCompletionIn struct {
MaxCompletionTokens *int `json:"max_completion_tokens,omitempty"`
MaxTokens *int `json:"max_tokens,omitempty"`
Messages []ChatMessageIn `json:"messages"`
Model string `json:"model"`
Stop *ChatCompletionIn_Stop `json:"stop,omitempty"`
Stream *bool `json:"stream,omitempty"`
StreamOptions *StreamOptions `json:"stream_options,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
TopP *float32 `json:"top_p,omitempty"`
User *string `json:"user,omitempty"`
}
ChatCompletionIn OpenAI's chat completions request. Other unknown fields are ignored, but tool and function calling, which the gateway does not support yet, answer 422 unsupported_feature rather than being dropped. The last stream chunk always carries usage, as with include_usage.
type ChatCompletionInStop0 ¶
type ChatCompletionInStop0 = string
ChatCompletionInStop0 defines model for ChatCompletionIn.Stop.0.
type ChatCompletionInStop1 ¶
type ChatCompletionInStop1 = []string
ChatCompletionInStop1 defines model for ChatCompletionIn.Stop.1.
type ChatCompletionIn_Stop ¶
type ChatCompletionIn_Stop struct {
// contains filtered or unexported fields
}
ChatCompletionIn_Stop defines model for ChatCompletionIn.Stop.
func (ChatCompletionIn_Stop) AsChatCompletionInStop0 ¶
func (t ChatCompletionIn_Stop) AsChatCompletionInStop0() (ChatCompletionInStop0, error)
AsChatCompletionInStop0 returns the union data inside the ChatCompletionIn_Stop as a ChatCompletionInStop0
func (ChatCompletionIn_Stop) AsChatCompletionInStop1 ¶
func (t ChatCompletionIn_Stop) AsChatCompletionInStop1() (ChatCompletionInStop1, error)
AsChatCompletionInStop1 returns the union data inside the ChatCompletionIn_Stop as a ChatCompletionInStop1
func (*ChatCompletionIn_Stop) FromChatCompletionInStop0 ¶
func (t *ChatCompletionIn_Stop) FromChatCompletionInStop0(v ChatCompletionInStop0) error
FromChatCompletionInStop0 overwrites any union data inside the ChatCompletionIn_Stop as the provided ChatCompletionInStop0
func (*ChatCompletionIn_Stop) FromChatCompletionInStop1 ¶
func (t *ChatCompletionIn_Stop) FromChatCompletionInStop1(v ChatCompletionInStop1) error
FromChatCompletionInStop1 overwrites any union data inside the ChatCompletionIn_Stop as the provided ChatCompletionInStop1
func (ChatCompletionIn_Stop) MarshalJSON ¶
func (t ChatCompletionIn_Stop) MarshalJSON() ([]byte, error)
func (*ChatCompletionIn_Stop) MergeChatCompletionInStop0 ¶
func (t *ChatCompletionIn_Stop) MergeChatCompletionInStop0(v ChatCompletionInStop0) error
MergeChatCompletionInStop0 performs a merge with any union data inside the ChatCompletionIn_Stop, using the provided ChatCompletionInStop0
func (*ChatCompletionIn_Stop) MergeChatCompletionInStop1 ¶
func (t *ChatCompletionIn_Stop) MergeChatCompletionInStop1(v ChatCompletionInStop1) error
MergeChatCompletionInStop1 performs a merge with any union data inside the ChatCompletionIn_Stop, using the provided ChatCompletionInStop1
func (*ChatCompletionIn_Stop) UnmarshalJSON ¶
func (t *ChatCompletionIn_Stop) UnmarshalJSON(b []byte) error
type ChatMessageIn ¶
type ChatMessageIn struct {
Content *ChatMessageIn_Content `json:"content,omitempty"`
Role ChatMessageInRole `json:"role"`
}
ChatMessageIn defines model for ChatMessageIn.
type ChatMessageInContent0 ¶
type ChatMessageInContent0 = string
ChatMessageInContent0 defines model for ChatMessageIn.Content.0.
type ChatMessageInContent1 ¶
type ChatMessageInContent1 = []map[string]interface{}
ChatMessageInContent1 defines model for ChatMessageIn.Content.1.
type ChatMessageInRole ¶
type ChatMessageInRole string
ChatMessageInRole defines model for ChatMessageIn.Role.
const ( ChatMessageInRoleAssistant ChatMessageInRole = "assistant" ChatMessageInRoleDeveloper ChatMessageInRole = "developer" ChatMessageInRoleSystem ChatMessageInRole = "system" ChatMessageInRoleUser ChatMessageInRole = "user" )
Defines values for ChatMessageInRole.
func (ChatMessageInRole) Valid ¶
func (e ChatMessageInRole) Valid() bool
Valid indicates whether the value is a known member of the ChatMessageInRole enum.
type ChatMessageIn_Content ¶
type ChatMessageIn_Content struct {
// contains filtered or unexported fields
}
ChatMessageIn_Content defines model for ChatMessageIn.Content.
func (ChatMessageIn_Content) AsChatMessageInContent0 ¶
func (t ChatMessageIn_Content) AsChatMessageInContent0() (ChatMessageInContent0, error)
AsChatMessageInContent0 returns the union data inside the ChatMessageIn_Content as a ChatMessageInContent0
func (ChatMessageIn_Content) AsChatMessageInContent1 ¶
func (t ChatMessageIn_Content) AsChatMessageInContent1() (ChatMessageInContent1, error)
AsChatMessageInContent1 returns the union data inside the ChatMessageIn_Content as a ChatMessageInContent1
func (*ChatMessageIn_Content) FromChatMessageInContent0 ¶
func (t *ChatMessageIn_Content) FromChatMessageInContent0(v ChatMessageInContent0) error
FromChatMessageInContent0 overwrites any union data inside the ChatMessageIn_Content as the provided ChatMessageInContent0
func (*ChatMessageIn_Content) FromChatMessageInContent1 ¶
func (t *ChatMessageIn_Content) FromChatMessageInContent1(v ChatMessageInContent1) error
FromChatMessageInContent1 overwrites any union data inside the ChatMessageIn_Content as the provided ChatMessageInContent1
func (ChatMessageIn_Content) MarshalJSON ¶
func (t ChatMessageIn_Content) MarshalJSON() ([]byte, error)
func (*ChatMessageIn_Content) MergeChatMessageInContent0 ¶
func (t *ChatMessageIn_Content) MergeChatMessageInContent0(v ChatMessageInContent0) error
MergeChatMessageInContent0 performs a merge with any union data inside the ChatMessageIn_Content, using the provided ChatMessageInContent0
func (*ChatMessageIn_Content) MergeChatMessageInContent1 ¶
func (t *ChatMessageIn_Content) MergeChatMessageInContent1(v ChatMessageInContent1) error
MergeChatMessageInContent1 performs a merge with any union data inside the ChatMessageIn_Content, using the provided ChatMessageInContent1
func (*ChatMessageIn_Content) UnmarshalJSON ¶
func (t *ChatMessageIn_Content) UnmarshalJSON(b []byte) error
type CheckoutOut ¶
type CheckoutOut struct {
AmountMinor int `json:"amount_minor"`
// AuthorizationUrl Send the browser here. With the fake provider it returns at once.
AuthorizationUrl string `json:"authorization_url"`
CompletedAt *time.Time `json:"completed_at"`
CreatedAt time.Time `json:"created_at"`
Currency string `json:"currency"`
FailureReason *string `json:"failure_reason"`
Plan PlanOut `json:"plan"`
Provider string `json:"provider"`
Reference string `json:"reference"`
// Status pending, succeeded, failed or abandoned
Status string `json:"status"`
}
CheckoutOut defines model for CheckoutOut.
type CliLoginKey ¶
type CliLoginKey struct {
// Key The API key the CLI saves. It is given once.
Key string `json:"key"`
Organization CliLoginOrganization `json:"organization"`
}
CliLoginKey defines model for CliLoginKey.
type CliLoginOrganization ¶
type CliLoginOrganization struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
}
CliLoginOrganization defines model for CliLoginOrganization.
type CliLoginOut ¶
type CliLoginOut struct {
DeviceName string `json:"device_name"`
ExpiresAt time.Time `json:"expires_at"`
RequestedAt time.Time `json:"requested_at"`
State CliLoginOutState `json:"state"`
UserCode string `json:"user_code"`
}
CliLoginOut An attempt as the person approving sees it.
type CliLoginOutState ¶
type CliLoginOutState string
CliLoginOutState defines model for CliLoginOut.State.
const ( CliLoginOutStateApproved CliLoginOutState = "approved" CliLoginOutStateDenied CliLoginOutState = "denied" CliLoginOutStateExpired CliLoginOutState = "expired" CliLoginOutStatePending CliLoginOutState = "pending" )
Defines values for CliLoginOutState.
func (CliLoginOutState) Valid ¶
func (e CliLoginOutState) Valid() bool
Valid indicates whether the value is a known member of the CliLoginOutState enum.
type CliLoginStarted ¶
type CliLoginStarted struct {
// DeviceCode The CLI's secret for collecting the key. It is shown only in this response.
DeviceCode string `json:"device_code"`
// ExpiresIn Seconds until the attempt can no longer be approved or collected
ExpiresIn int `json:"expires_in"`
// Interval Seconds the CLI should wait between asks for the key
Interval int `json:"interval"`
// UserCode The short code the person confirms in the dashboard, such as BCDF-GHJK
UserCode string `json:"user_code"`
// VerificationUrl Where the person approves, with the code already filled in
VerificationUrl string `json:"verification_url"`
}
CliLoginStarted defines model for CliLoginStarted.
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) AcceptInvitation ¶
func (c *Client) AcceptInvitation(ctx context.Context, body AcceptInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptInvitation Accept Invitation
Joins the organization as the invited role. Needs a signed-in session whose verified email is the invited address (403 invitation_email_mismatch). 400 invalid_invitation when it expired, was revoked or was used. Someone who is already a member keeps their role.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
func (*Client) AcceptInvitationWithBody ¶
func (c *Client) AcceptInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptInvitationWithBody Accept Invitation
Joins the organization as the invited role. Needs a signed-in session whose verified email is the invited address (403 invitation_email_mismatch). 400 invalid_invitation when it expired, was revoked or was used. Someone who is already a member keeps their role.
Takes any type of body and a specified content type.
Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
func (*Client) AcceptTerms ¶
func (c *Client) AcceptTerms(ctx context.Context, body AcceptTermsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptTerms Accept Terms
Accept the current terms of use. A person does this in the dashboard, so an API key can't.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/me/terms (the `AcceptTerms` operationId).
func (*Client) AcceptTermsWithBody ¶
func (c *Client) AcceptTermsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptTermsWithBody Accept Terms
Accept the current terms of use. A person does this in the dashboard, so an API key can't.
Takes any type of body and a specified content type.
Corresponds with POST /v1/me/terms (the `AcceptTerms` operationId).
func (*Client) ApplyForEarlyAccess ¶
func (c *Client) ApplyForEarlyAccess(ctx context.Context, body ApplyForEarlyAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyForEarlyAccess Apply For Early Access
Takes a body of the `application/json` content type.
Corresponds with POST /v1/early-access (the `ApplyForEarlyAccess` operationId).
func (*Client) ApplyForEarlyAccessWithBody ¶
func (c *Client) ApplyForEarlyAccessWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyForEarlyAccessWithBody Apply For Early Access
Takes any type of body and a specified content type.
Corresponds with POST /v1/early-access (the `ApplyForEarlyAccess` operationId).
func (*Client) ApproveCliLogin ¶
func (c *Client) ApproveCliLogin(ctx context.Context, userCode string, body ApproveCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ApproveCliLogin Approve Cli Login
Approve a sign-in for one organisation, which needs the admin role there, as creating a key does. It mints a key with the read and write scopes, named after the machine.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/cli/logins/{user_code}/approve (the `ApproveCliLogin` operationId).
func (*Client) ApproveCliLoginWithBody ¶
func (c *Client) ApproveCliLoginWithBody(ctx context.Context, userCode string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApproveCliLoginWithBody Approve Cli Login
Approve a sign-in for one organisation, which needs the admin role there, as creating a key does. It mints a key with the read and write scopes, named after the machine.
Takes any type of body and a specified content type.
Corresponds with POST /v1/cli/logins/{user_code}/approve (the `ApproveCliLogin` operationId).
func (*Client) CancelDeployment ¶
func (c *Client) CancelDeployment(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelDeployment Cancel Deployment
Corresponds with POST /v1/deployments/{deployment_id}/cancel (the `CancelDeployment` operationId).
func (*Client) CancelSubscription ¶
func (c *Client) CancelSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelSubscription Cancel Subscription
Ends the paid plan when the current period ends; the org then moves to Free.
Corresponds with POST /v1/orgs/{org_id}/billing/subscription/cancel (the `CancelSubscription` operationId).
func (*Client) CloseSupportTicket ¶
func (c *Client) CloseSupportTicket(ctx context.Context, ticketId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CloseSupportTicket Close Support Ticket
Corresponds with POST /v1/support/tickets/{ticket_id}/close (the `CloseSupportTicket` operationId).
func (*Client) CollectCliLogin ¶
func (c *Client) CollectCliLogin(ctx context.Context, body CollectCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CollectCliLogin Collect Cli Login
Collect the key once the person has approved. Until then this answers 400 with the code `authorization_pending`, and the CLI asks again. It answers `access_denied` if they refused and `expired_token` once the attempt is over or the key has been collected.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/cli/logins/token (the `CollectCliLogin` operationId).
func (*Client) CollectCliLoginWithBody ¶
func (c *Client) CollectCliLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CollectCliLoginWithBody Collect Cli Login
Collect the key once the person has approved. Until then this answers 400 with the code `authorization_pending`, and the CLI asks again. It answers `access_denied` if they refused and `expired_token` once the attempt is over or the key has been collected.
Takes any type of body and a specified content type.
Corresponds with POST /v1/cli/logins/token (the `CollectCliLogin` operationId).
func (*Client) ConsumeMagicLink ¶
func (c *Client) ConsumeMagicLink(ctx context.Context, body ConsumeMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConsumeMagicLink Consume Magic Link
Opens a sign-in or sign-up link and sets the session cookie. A sign-up link creates the account first (verified email, personal organization, Free plan), and `new_account` is true. Opened in a browser other than the one that asked for it, the link answers 409 `confirm_sign_in` with the account's `email` in details until it is sent again with `confirm: true`.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/magic-link/consume (the `ConsumeMagicLink` operationId).
func (*Client) ConsumeMagicLinkWithBody ¶
func (c *Client) ConsumeMagicLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConsumeMagicLinkWithBody Consume Magic Link
Opens a sign-in or sign-up link and sets the session cookie. A sign-up link creates the account first (verified email, personal organization, Free plan), and `new_account` is true. Opened in a browser other than the one that asked for it, the link answers 409 `confirm_sign_in` with the account's `email` in details until it is sent again with `confirm: true`.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/magic-link/consume (the `ConsumeMagicLink` operationId).
func (*Client) CreateApiKey ¶
func (c *Client) CreateApiKey(ctx context.Context, orgId openapi_types.UUID, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateApiKey Create Api Key
`project_id` is only for gateway keys, whose scopes are exactly ["ai"]: their requests are logged against that project and follow its routing policy. The key is in `key`, and only in this response.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/api-keys (the `CreateApiKey` operationId).
func (*Client) CreateApiKeyWithBody ¶
func (c *Client) CreateApiKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateApiKeyWithBody Create Api Key
`project_id` is only for gateway keys, whose scopes are exactly ["ai"]: their requests are logged against that project and follow its routing policy. The key is in `key`, and only in this response.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/api-keys (the `CreateApiKey` operationId).
func (*Client) CreateChatCompletion ¶
func (c *Client) CreateChatCompletion(ctx context.Context, body CreateChatCompletionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateChatCompletion Create Chat Completion
OpenAI-compatible chat completions. Set `model` to a catalogue id such as openai/gpt-4.1-mini. With `stream: true` the reply is server-sent events ending in `data: [DONE]`, and the last chunk before it carries usage. The response headers X-Dekka-Provider and X-Dekka-Model say what answered.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ai/chat/completions (the `CreateChatCompletion` operationId).
func (*Client) CreateChatCompletionWithBody ¶
func (c *Client) CreateChatCompletionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateChatCompletionWithBody Create Chat Completion
OpenAI-compatible chat completions. Set `model` to a catalogue id such as openai/gpt-4.1-mini. With `stream: true` the reply is server-sent events ending in `data: [DONE]`, and the last chunk before it carries usage. The response headers X-Dekka-Provider and X-Dekka-Model say what answered.
Takes any type of body and a specified content type.
Corresponds with POST /v1/ai/chat/completions (the `CreateChatCompletion` operationId).
func (*Client) CreateConnection ¶
func (c *Client) CreateConnection(ctx context.Context, projectId openapi_types.UUID, body CreateConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateConnection Create Connection
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_id}/connections (the `CreateConnection` operationId).
func (*Client) CreateConnectionWithBody ¶
func (c *Client) CreateConnectionWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateConnectionWithBody Create Connection
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_id}/connections (the `CreateConnection` operationId).
func (*Client) CreateDatabaseBackup ¶
func (c *Client) CreateDatabaseBackup(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatabaseBackup Create Database Backup
Takes a manual backup of a database or a cache now (backup.create). It is kept for 30 days.
Corresponds with POST /v1/resources/{resource_id}/backups (the `CreateDatabaseBackup` operationId).
func (*Client) CreateDeployment ¶
func (c *Client) CreateDeployment(ctx context.Context, resourceId openapi_types.UUID, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDeployment Create Deployment
Takes a body of the `application/json` content type.
Corresponds with POST /v1/resources/{resource_id}/deployments (the `CreateDeployment` operationId).
func (*Client) CreateDeploymentWithBody ¶
func (c *Client) CreateDeploymentWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDeploymentWithBody Create Deployment
Takes any type of body and a specified content type.
Corresponds with POST /v1/resources/{resource_id}/deployments (the `CreateDeployment` operationId).
func (*Client) CreateDomain ¶
func (c *Client) CreateDomain(ctx context.Context, resourceId openapi_types.UUID, body CreateDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDomain Create Domain
Adds a custom domain to an application. The response names the CNAME and TXT records to create before verifying. Needs a plan with custom_domains.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/resources/{resource_id}/domains (the `CreateDomain` operationId).
func (*Client) CreateDomainWithBody ¶
func (c *Client) CreateDomainWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDomainWithBody Create Domain
Adds a custom domain to an application. The response names the CNAME and TXT records to create before verifying. Needs a plan with custom_domains.
Takes any type of body and a specified content type.
Corresponds with POST /v1/resources/{resource_id}/domains (the `CreateDomain` operationId).
func (*Client) CreateEnvironment ¶
func (c *Client) CreateEnvironment(ctx context.Context, projectId openapi_types.UUID, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEnvironment Create Environment
Creates an empty environment, or forks one with `fork_from`. A fork queues the same provisioning, deployments and connection configuration a person would by hand, and each copy counts against the plan's limits.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_id}/environments (the `CreateEnvironment` operationId).
func (*Client) CreateEnvironmentWithBody ¶
func (c *Client) CreateEnvironmentWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEnvironmentWithBody Create Environment
Creates an empty environment, or forks one with `fork_from`. A fork queues the same provisioning, deployments and connection configuration a person would by hand, and each copy counts against the plan's limits.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_id}/environments (the `CreateEnvironment` operationId).
func (*Client) CreateGpuRequest ¶
func (c *Client) CreateGpuRequest(ctx context.Context, orgId openapi_types.UUID, body CreateGpuRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGpuRequest Create Gpu Request
Join the waitlist for a GPU instance, or ask to reserve some. The request is received, Dekka contacts the organization when capacity is available, and then closes it. Nothing is provisioned or billed.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/gpu/requests (the `CreateGpuRequest` operationId).
func (*Client) CreateGpuRequestWithBody ¶
func (c *Client) CreateGpuRequestWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGpuRequestWithBody Create Gpu Request
Join the waitlist for a GPU instance, or ask to reserve some. The request is received, Dekka contacts the organization when capacity is available, and then closes it. Nothing is provisioned or billed.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/gpu/requests (the `CreateGpuRequest` operationId).
func (*Client) CreateImage ¶
func (c *Client) CreateImage(ctx context.Context, body CreateImageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateImage Create Image
OpenAI-compatible image generation with an image model such as openai/gpt-image-2. Images come back as base64 in `b64_json` and are never stored, so `response_format: url` answers 422. Usage counts the prompt's text tokens and the image tokens the provider reports.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ai/images/generations (the `CreateImage` operationId).
func (*Client) CreateImageWithBody ¶
func (c *Client) CreateImageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateImageWithBody Create Image
OpenAI-compatible image generation with an image model such as openai/gpt-image-2. Images come back as base64 in `b64_json` and are never stored, so `response_format: url` answers 422. Usage counts the prompt's text tokens and the image tokens the provider reports.
Takes any type of body and a specified content type.
Corresponds with POST /v1/ai/images/generations (the `CreateImage` operationId).
func (*Client) CreateInferenceEndpoint ¶
func (c *Client) CreateInferenceEndpoint(ctx context.Context, orgId openapi_types.UUID, body CreateInferenceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInferenceEndpoint Create Inference Endpoint
Create a private inference endpoint for an open-weights model. It is waitlisted at once, because no GPU capacity is available yet. Outside production the AI gateway answers `private/<name>` with a simulated reply, so an app can be built against it now.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/inference-endpoints (the `CreateInferenceEndpoint` operationId).
func (*Client) CreateInferenceEndpointWithBody ¶
func (c *Client) CreateInferenceEndpointWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInferenceEndpointWithBody Create Inference Endpoint
Create a private inference endpoint for an open-weights model. It is waitlisted at once, because no GPU capacity is available yet. Outside production the AI gateway answers `private/<name>` with a simulated reply, so an app can be built against it now.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/inference-endpoints (the `CreateInferenceEndpoint` operationId).
func (*Client) CreateJobRun ¶
func (c *Client) CreateJobRun(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateJobRun Create Job Run
Runs a scheduled job now with its start command. A job that has not been deployed answers 409 job_not_deployed, and one whose last run is still going 409 run_in_progress.
Corresponds with POST /v1/resources/{resource_id}/runs (the `CreateJobRun` operationId).
func (*Client) CreateOrgInvitation ¶
func (c *Client) CreateOrgInvitation(ctx context.Context, orgId openapi_types.UUID, body CreateOrgInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrgInvitation Create Org Invitation
Emails a link to WEB_URL/invite?token=… that works once for seven days. Only owners may invite owners (403 owner_required). Refused with 409 already_member or invitation_exists, and with 403 entitlement_exceeded (team_members) when members plus open invitations would pass the plan.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/invitations (the `CreateOrgInvitation` operationId).
func (*Client) CreateOrgInvitationWithBody ¶
func (c *Client) CreateOrgInvitationWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrgInvitationWithBody Create Org Invitation
Emails a link to WEB_URL/invite?token=… that works once for seven days. Only owners may invite owners (403 owner_required). Refused with 409 already_member or invitation_exists, and with 403 entitlement_exceeded (team_members) when members plus open invitations would pass the plan.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/invitations (the `CreateOrgInvitation` operationId).
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, orgId openapi_types.UUID, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProject Create Project
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/projects (the `CreateProject` operationId).
func (*Client) CreateProjectToken ¶
func (c *Client) CreateProjectToken(ctx context.Context, projectId openapi_types.UUID, body CreateProjectTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectToken Create Project Token
A token for CI that reaches only this project: its resources, deployments, environments and variables. Every org-level route and every other project answer 404 to it. `read` acts as a viewer and `write` as a developer, never above the creator's own role. The token is in `key`, and only in this response.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_id}/tokens (the `CreateProjectToken` operationId).
func (*Client) CreateProjectTokenWithBody ¶
func (c *Client) CreateProjectTokenWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectTokenWithBody Create Project Token
A token for CI that reaches only this project: its resources, deployments, environments and variables. Every org-level route and every other project answer 404 to it. `read` acts as a viewer and `write` as a developer, never above the creator's own role. The token is in `key`, and only in this response.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_id}/tokens (the `CreateProjectToken` operationId).
func (*Client) CreateProjectWebhook ¶
func (c *Client) CreateProjectWebhook(ctx context.Context, projectId openapi_types.UUID, body CreateProjectWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectWebhook Create Project Webhook
Posts signed deploy events to `url`. The signing secret is in `secret`, and only in this response. Refused with 422 invalid_webhook_url for a URL that is not http(s), or in production not https or not public.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_id}/webhooks (the `CreateProjectWebhook` operationId).
func (*Client) CreateProjectWebhookWithBody ¶
func (c *Client) CreateProjectWebhookWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectWebhookWithBody Create Project Webhook
Posts signed deploy events to `url`. The signing secret is in `secret`, and only in this response. Refused with 422 invalid_webhook_url for a URL that is not http(s), or in production not https or not public.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_id}/webhooks (the `CreateProjectWebhook` operationId).
func (*Client) CreateProjectWithBody ¶
func (c *Client) CreateProjectWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectWithBody Create Project
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/projects (the `CreateProject` operationId).
func (*Client) CreateProviderKey ¶
func (c *Client) CreateProviderKey(ctx context.Context, orgId openapi_types.UUID, body CreateProviderKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProviderKey Create Provider Key
Stores the key encrypted and replaces the provider's current key, if any. OpenAI keys start with sk- and Anthropic keys with sk-ant-. Only the last four characters are shown again.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/ai/provider-keys (the `CreateProviderKey` operationId).
func (*Client) CreateProviderKeyWithBody ¶
func (c *Client) CreateProviderKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProviderKeyWithBody Create Provider Key
Stores the key encrypted and replaces the provider's current key, if any. OpenAI keys start with sk- and Anthropic keys with sk-ant-. Only the last four characters are shown again.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/ai/provider-keys (the `CreateProviderKey` operationId).
func (*Client) CreateRegistryCredential ¶
func (c *Client) CreateRegistryCredential(ctx context.Context, orgId openapi_types.UUID, body CreateRegistryCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRegistryCredential Create Registry Credential
Stores a username and password or token for a private registry. The password is encrypted and only its last four characters are returned.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/registry-credentials (the `CreateRegistryCredential` operationId).
func (*Client) CreateRegistryCredentialWithBody ¶
func (c *Client) CreateRegistryCredentialWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRegistryCredentialWithBody Create Registry Credential
Stores a username and password or token for a private registry. The password is encrypted and only its last four characters are returned.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/registry-credentials (the `CreateRegistryCredential` operationId).
func (*Client) CreateResource ¶
func (c *Client) CreateResource(ctx context.Context, projectId openapi_types.UUID, body CreateResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateResource Create Resource
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_id}/resources (the `CreateResource` operationId).
func (*Client) CreateResourceWithBody ¶
func (c *Client) CreateResourceWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateResourceWithBody Create Resource
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_id}/resources (the `CreateResource` operationId).
func (*Client) CreateServer ¶
func (c *Client) CreateServer(ctx context.Context, projectId openapi_types.UUID, body CreateServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServer Create Server
Creates a virtual_machine resource and queues vm.provision. The same as POST /v1/projects/{project_id}/resources with kind virtual_machine. The runtime profile is fixed from here on, and the size and image must belong to it.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_id}/servers (the `CreateServer` operationId).
func (*Client) CreateServerSnapshot ¶
func (c *Client) CreateServerSnapshot(ctx context.Context, serverId openapi_types.UUID, body CreateServerSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServerSnapshot Create Server Snapshot
Takes a snapshot of the disk, with the server running or stopped. A server holds at most ten.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{server_id}/snapshots (the `CreateServerSnapshot` operationId).
func (*Client) CreateServerSnapshotWithBody ¶
func (c *Client) CreateServerSnapshotWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServerSnapshotWithBody Create Server Snapshot
Takes a snapshot of the disk, with the server running or stopped. A server holds at most ten.
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{server_id}/snapshots (the `CreateServerSnapshot` operationId).
func (*Client) CreateServerWithBody ¶
func (c *Client) CreateServerWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServerWithBody Create Server
Creates a virtual_machine resource and queues vm.provision. The same as POST /v1/projects/{project_id}/resources with kind virtual_machine. The runtime profile is fixed from here on, and the size and image must belong to it.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_id}/servers (the `CreateServer` operationId).
func (*Client) CreateSpeech ¶
func (c *Client) CreateSpeech(ctx context.Context, body CreateSpeechJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSpeech Create Speech
OpenAI-compatible text to speech with a speech model such as openai/gpt-4o-mini-tts. The reply body is the audio itself, and the X-Dekka-Provider and X-Dekka-Model headers say what answered.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ai/audio/speech (the `CreateSpeech` operationId).
func (*Client) CreateSpeechWithBody ¶
func (c *Client) CreateSpeechWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSpeechWithBody Create Speech
OpenAI-compatible text to speech with a speech model such as openai/gpt-4o-mini-tts. The reply body is the audio itself, and the X-Dekka-Provider and X-Dekka-Model headers say what answered.
Takes any type of body and a specified content type.
Corresponds with POST /v1/ai/audio/speech (the `CreateSpeech` operationId).
func (*Client) CreateSshKey ¶
func (c *Client) CreateSshKey(ctx context.Context, orgId openapi_types.UUID, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSshKey Create Ssh Key
Saves a public key for new servers. Private keys are refused with 422 private_key_rejected, and the same key twice with 409 ssh_key_exists.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/ssh-keys (the `CreateSshKey` operationId).
func (*Client) CreateSshKeyWithBody ¶
func (c *Client) CreateSshKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSshKeyWithBody Create Ssh Key
Saves a public key for new servers. Private keys are refused with 422 private_key_rejected, and the same key twice with 409 ssh_key_exists.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/ssh-keys (the `CreateSshKey` operationId).
func (*Client) CreateTranscriptionWithBody ¶
func (c *Client) CreateTranscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTranscriptionWithBody Create Transcription
OpenAI-compatible transcription, sent as multipart form data with a transcription model such as openai/gpt-4o-mini-transcribe. The audio is passed to the provider and never stored.
Takes any type of body and a specified content type.
Corresponds with POST /v1/ai/audio/transcriptions (the `CreateTranscription` operationId).
func (*Client) CreateVolume ¶
func (c *Client) CreateVolume(ctx context.Context, resourceId openapi_types.UUID, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVolume Create Volume
Attaches a new volume to a service and queues volume.create.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/resources/{resource_id}/volume (the `CreateVolume` operationId).
func (*Client) CreateVolumeBackup ¶
func (c *Client) CreateVolumeBackup(ctx context.Context, volumeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVolumeBackup Create Volume Backup
Backs the volume up now (backup.create). It is kept for 30 days. The engine also backs up every attached volume each night.
Corresponds with POST /v1/volumes/{volume_id}/backups (the `CreateVolumeBackup` operationId).
func (*Client) CreateVolumeWithBody ¶
func (c *Client) CreateVolumeWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVolumeWithBody Create Volume
Attaches a new volume to a service and queues volume.create.
Takes any type of body and a specified content type.
Corresponds with POST /v1/resources/{resource_id}/volume (the `CreateVolume` operationId).
func (*Client) DeclaredServices ¶
func (c *Client) DeclaredServices(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeclaredServices Declared Services
The databases, caches, buckets and queues the service's dekka.toml (or dekka.json) declares under [services.<name>], read at its latest deployed commit, and whether each exists in the environment and is connected.
Corresponds with GET /v1/resources/{resource_id}/config/services (the `DeclaredServices` operationId).
func (*Client) DeleteChangesetChange ¶
func (c *Client) DeleteChangesetChange(ctx context.Context, changeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteChangesetChange Delete Changeset Change
Corresponds with DELETE /v1/changeset-changes/{change_id} (the `DeleteChangesetChange` operationId).
func (*Client) DeleteConnection ¶
func (c *Client) DeleteConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteConnection Delete Connection
Starts disconnecting. The variables are removed once the engine confirms.
Corresponds with DELETE /v1/connections/{connection_id} (the `DeleteConnection` operationId).
func (*Client) DeleteDomain ¶
func (c *Client) DeleteDomain(ctx context.Context, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDomain Delete Domain
Corresponds with DELETE /v1/domains/{domain_id} (the `DeleteDomain` operationId).
func (*Client) DeleteEnvVar ¶
func (c *Client) DeleteEnvVar(ctx context.Context, resourceId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEnvVar Delete Env Var
Corresponds with DELETE /v1/resources/{resource_id}/env/{key} (the `DeleteEnvVar` operationId).
func (*Client) DeleteEnvironment ¶
func (c *Client) DeleteEnvironment(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEnvironment Delete Environment
Starts deleting every resource in the environment, databases included, and marks it `deleting`. The environment disappears once the engine has deleted them all. The default environment cannot be deleted.
Corresponds with DELETE /v1/environments/{environment_id} (the `DeleteEnvironment` operationId).
func (*Client) DeleteInferenceEndpoint ¶
func (c *Client) DeleteInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteInferenceEndpoint Delete Inference Endpoint
Delete the endpoint. The gateway stops answering its model at once.
Corresponds with DELETE /v1/inference-endpoints/{endpoint_id} (the `DeleteInferenceEndpoint` operationId).
func (*Client) DeleteMyPasskey ¶
func (c *Client) DeleteMyPasskey(ctx context.Context, passkeyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMyPasskey Delete My Passkey
Corresponds with DELETE /v1/me/passkeys/{passkey_id} (the `DeleteMyPasskey` operationId).
func (*Client) DeletePreview ¶
func (c *Client) DeletePreview(ctx context.Context, previewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePreview Delete Preview
Closes the preview and deletes its environment, as closing the pull request would. A later push to the pull request opens a new one.
Corresponds with DELETE /v1/previews/{preview_id} (the `DeletePreview` operationId).
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteProject Delete Project
Corresponds with DELETE /v1/projects/{project_id} (the `DeleteProject` operationId).
func (*Client) DeleteRegistryCredential ¶
func (c *Client) DeleteRegistryCredential(ctx context.Context, orgId openapi_types.UUID, credentialId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteRegistryCredential Delete Registry Credential
Refused with 409 registry_credential_in_use while a service's image source names it.
Corresponds with DELETE /v1/orgs/{org_id}/registry-credentials/{credential_id} (the `DeleteRegistryCredential` operationId).
func (*Client) DeleteResource ¶
func (c *Client) DeleteResource(ctx context.Context, resourceId openapi_types.UUID, params *DeleteResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteResource Delete Resource
Starts deletion. Postgres needs `?confirm=<resource name>`.
Corresponds with DELETE /v1/resources/{resource_id} (the `DeleteResource` operationId).
func (*Client) DeleteServer ¶
func (c *Client) DeleteServer(ctx context.Context, serverId openapi_types.UUID, params *DeleteServerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteServer Delete Server
Starts deleting the server and its disk; `?confirm=<name>` is required. Billing stops at the end of the hour the engine confirms the delete in.
Corresponds with DELETE /v1/servers/{server_id} (the `DeleteServer` operationId).
func (*Client) DeleteServerSnapshot ¶
func (c *Client) DeleteServerSnapshot(ctx context.Context, serverId openapi_types.UUID, snapshotId int, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteServerSnapshot Delete Server Snapshot
Deletes one snapshot. The disk as it is now is not touched.
Corresponds with DELETE /v1/servers/{server_id}/snapshots/{snapshot_id} (the `DeleteServerSnapshot` operationId).
func (*Client) DeleteSharedVariable ¶
func (c *Client) DeleteSharedVariable(ctx context.Context, environmentId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSharedVariable Delete Shared Variable
Corresponds with DELETE /v1/environments/{environment_id}/variables/{key} (the `DeleteSharedVariable` operationId).
func (*Client) DeleteSshKey ¶
func (c *Client) DeleteSshKey(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSshKey Delete Ssh Key
Servers created with this key keep it.
Corresponds with DELETE /v1/ssh-keys/{key_id} (the `DeleteSshKey` operationId).
func (*Client) DeleteVolume ¶
func (c *Client) DeleteVolume(ctx context.Context, volumeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVolume Delete Volume
Starts deleting the volume and its data. It disappears once the engine confirms.
Corresponds with DELETE /v1/volumes/{volume_id} (the `DeleteVolume` operationId).
func (*Client) DeleteWebhook ¶
func (c *Client) DeleteWebhook(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteWebhook Delete Webhook
Deletes the webhook and its delivery history.
Corresponds with DELETE /v1/webhooks/{webhook_id} (the `DeleteWebhook` operationId).
func (*Client) DenyCliLogin ¶
func (c *Client) DenyCliLogin(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
DenyCliLogin Deny Cli Login
Refuse a sign-in, so the CLI that asked stops waiting.
Corresponds with POST /v1/cli/logins/{user_code}/deny (the `DenyCliLogin` operationId).
func (*Client) DeployChangeset ¶
func (c *Client) DeployChangeset(ctx context.Context, changesetId openapi_types.UUID, body DeployChangesetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeployChangeset Deploy Changeset
Applies every change in one transaction through the same services as the direct endpoints, then creates one deployment (trigger config_change) per existing service whose settings or variables changed. New services get their initial deployment. Returns the changeset with each change's result and every operation queued. A blueprint or template plan whose environment changed since it was computed is marked stale and answers 409 plan_stale; an error in any change answers that change's error, with its id in the details, and applies nothing.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/changesets/{changeset_id}/deploy (the `DeployChangeset` operationId).
func (*Client) DeployChangesetWithBody ¶
func (c *Client) DeployChangesetWithBody(ctx context.Context, changesetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeployChangesetWithBody Deploy Changeset
Applies every change in one transaction through the same services as the direct endpoints, then creates one deployment (trigger config_change) per existing service whose settings or variables changed. New services get their initial deployment. Returns the changeset with each change's result and every operation queued. A blueprint or template plan whose environment changed since it was computed is marked stale and answers 409 plan_stale; an error in any change answers that change's error, with its id in the details, and applies nothing.
Takes any type of body and a specified content type.
Corresponds with POST /v1/changesets/{changeset_id}/deploy (the `DeployChangeset` operationId).
func (*Client) DetectGithubSettings ¶
func (c *Client) DetectGithubSettings(ctx context.Context, installationId int, repoId int, params *DetectGithubSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DetectGithubSettings Detect Github Settings
How Dekka would build and run this branch, from the files at its root: the framework, build strategy, port, start command and health path, plus any Compose file or dekka.toml found. Nothing is run; the files are only read.
Corresponds with GET /v1/github/installations/{installation_id}/repos/{repo_id}/detect (the `DetectGithubSettings` operationId).
func (*Client) DiscardChangeset ¶
func (c *Client) DiscardChangeset(ctx context.Context, changesetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DiscardChangeset Discard Changeset
Corresponds with POST /v1/changesets/{changeset_id}/discard (the `DiscardChangeset` operationId).
func (*Client) DowngradeSubscription ¶
func (c *Client) DowngradeSubscription(ctx context.Context, orgId openapi_types.UUID, body DowngradeSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DowngradeSubscription Downgrade Subscription
Schedules a cheaper plan to start when the current period ends.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/billing/subscription/downgrade (the `DowngradeSubscription` operationId).
func (*Client) DowngradeSubscriptionWithBody ¶
func (c *Client) DowngradeSubscriptionWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DowngradeSubscriptionWithBody Downgrade Subscription
Schedules a cheaper plan to start when the current period ends.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/billing/subscription/downgrade (the `DowngradeSubscription` operationId).
func (*Client) DownloadInvoice ¶
func (c *Client) DownloadInvoice(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadInvoice Download Invoice
A plain-text invoice, standing in for a PDF.
Corresponds with GET /v1/orgs/{org_id}/billing/invoices/{invoice_id}/download (the `DownloadInvoice` operationId).
func (*Client) EnvironmentReferenceTargets ¶
func (c *Client) EnvironmentReferenceTargets(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentReferenceTargets Environment Reference Targets
What shared variables can reference, for autocomplete. A database's connection variables are left out, since they belong to the service that connects. Names only; values are never returned.
Corresponds with GET /v1/environments/{environment_id}/variables/references (the `EnvironmentReferenceTargets` operationId).
func (*Client) Estimate ¶
func (c *Client) Estimate(ctx context.Context, body EstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
Estimate Estimate
What a proposed resource, a resize or a changeset costs, as a monthly equivalent in the catalogue's currency with a line for each part, what goes on being charged while stopped, and the usage metered on top. It reads app/catalog/plans.yaml, servers.yaml and prices.yaml and counts the organization's plan allowances when it is known. It changes nothing.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/estimates (the `Estimate` operationId).
func (*Client) EstimateWithBody ¶
func (c *Client) EstimateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EstimateWithBody Estimate
What a proposed resource, a resize or a changeset costs, as a monthly equivalent in the catalogue's currency with a line for each part, what goes on being charged while stopped, and the usage metered on top. It reads app/catalog/plans.yaml, servers.yaml and prices.yaml and counts the organization's plan allowances when it is known. It changes nothing.
Takes any type of body and a specified content type.
Corresponds with POST /v1/estimates (the `Estimate` operationId).
func (*Client) GetAiMetrics ¶
func (c *Client) GetAiMetrics(ctx context.Context, orgId openapi_types.UUID, params *GetAiMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAiMetrics Get Ai Metrics
Requests, tokens, spend at list price and errors per UTC day (every day in the range, zeros included) and per model, with totals. `end` is inclusive and the range defaults to the last 14 days.
Corresponds with GET /v1/orgs/{org_id}/ai/metrics (the `GetAiMetrics` operationId).
func (*Client) GetAiPolicy ¶
func (c *Client) GetAiPolicy(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAiPolicy Get Ai Policy
The project's routing rules. A project that never saved any allows every available model from both providers, with no fallback and no cap.
Corresponds with GET /v1/projects/{project_id}/ai/policy (the `GetAiPolicy` operationId).
func (*Client) GetAiPrivacy ¶
func (c *Client) GetAiPrivacy(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAiPrivacy Get Ai Privacy
The project's Veil settings for the gateway. Off until someone turns it on.
Corresponds with GET /v1/projects/{project_id}/ai/privacy (the `GetAiPrivacy` operationId).
func (*Client) GetAnalyticsSummary ¶
func (c *Client) GetAnalyticsSummary(ctx context.Context, params *GetAnalyticsSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAnalyticsSummary Get Analytics Summary
Daily counts by event name, top paths and top referrers. Staff only.
Corresponds with GET /v1/analytics/summary (the `GetAnalyticsSummary` operationId).
func (*Client) GetAnnouncement ¶
func (c *Client) GetAnnouncement(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAnnouncement Get Announcement
The line an admin has set to show across the top of the dashboard, if any.
Corresponds with GET /v1/announcement (the `GetAnnouncement` operationId).
func (*Client) GetBackup ¶
func (c *Client) GetBackup(ctx context.Context, backupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBackup Get Backup
Corresponds with GET /v1/backups/{backup_id} (the `GetBackup` operationId).
func (*Client) GetBillingCheckout ¶
func (c *Client) GetBillingCheckout(ctx context.Context, orgId openapi_types.UUID, reference string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBillingCheckout Get Billing Checkout
Corresponds with GET /v1/orgs/{org_id}/billing/checkout/{reference} (the `GetBillingCheckout` operationId).
func (*Client) GetBillingDetails ¶
func (c *Client) GetBillingDetails(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBillingDetails Get Billing Details
Corresponds with GET /v1/orgs/{org_id}/billing/details (the `GetBillingDetails` operationId).
func (*Client) GetCanvas ¶
func (c *Client) GetCanvas(ctx context.Context, projectId openapi_types.UUID, params *GetCanvasParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCanvas Get Canvas
Corresponds with GET /v1/projects/{project_id}/canvas (the `GetCanvas` operationId).
func (*Client) GetChangeset ¶
func (c *Client) GetChangeset(ctx context.Context, changesetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChangeset Get Changeset
Corresponds with GET /v1/changesets/{changeset_id} (the `GetChangeset` operationId).
func (*Client) GetCliLogin ¶
func (c *Client) GetCliLogin(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCliLogin Get Cli Login
What the dashboard shows before a sign-in is approved: the machine that asked, when, and whether the attempt is still open.
Corresponds with GET /v1/cli/logins/{user_code} (the `GetCliLogin` operationId).
func (*Client) GetCsrfToken ¶
func (c *Client) GetCsrfToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCsrfToken Get Csrf Token
Returns the CSRF token and sets the CSRF cookie if needed (`__Host-dekka_csrf` in production). Send the token as `X-CSRF-Token` on every mutating request.
Corresponds with GET /v1/auth/csrf (the `GetCsrfToken` operationId).
func (*Client) GetDeployment ¶
func (c *Client) GetDeployment(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeployment Get Deployment
Corresponds with GET /v1/deployments/{deployment_id} (the `GetDeployment` operationId).
func (*Client) GetDeploymentLogs ¶
func (c *Client) GetDeploymentLogs(ctx context.Context, deploymentId openapi_types.UUID, params *GetDeploymentLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeploymentLogs Get Deployment Logs
Build and deploy log lines after `after` (a sequence number).
Corresponds with GET /v1/deployments/{deployment_id}/logs (the `GetDeploymentLogs` operationId).
func (*Client) GetEnvironment ¶
func (c *Client) GetEnvironment(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEnvironment Get Environment
Corresponds with GET /v1/environments/{environment_id} (the `GetEnvironment` operationId).
func (*Client) GetEnvironmentChangeset ¶
func (c *Client) GetEnvironmentChangeset(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEnvironmentChangeset Get Environment Changeset
The environment's manual draft: staged changes with a summary each and `pending_count` for the pending-changes bar. An environment with nothing staged returns an empty draft whose id is null. A `changeset` event on the project's SSE channel says when it changes.
Corresponds with GET /v1/environments/{environment_id}/changeset (the `GetEnvironmentChangeset` operationId).
func (*Client) GetEnvironmentFirewall ¶
func (c *Client) GetEnvironmentFirewall(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEnvironmentFirewall Get Environment Firewall
The inbound rules on the environment's private network, which its KVM servers share. An environment gets the network with its first such server.
Corresponds with GET /v1/environments/{environment_id}/firewall (the `GetEnvironmentFirewall` operationId).
func (*Client) GetGithubInstallUrl ¶
func (c *Client) GetGithubInstallUrl(ctx context.Context, orgId openapi_types.UUID, params *GetGithubInstallUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGithubInstallUrl Get Github Install Url
Where to send the browser to install the GitHub App for this org. It comes back to /v1/github/setup, which links the installation.
Corresponds with GET /v1/orgs/{org_id}/github/install-url (the `GetGithubInstallUrl` operationId).
func (*Client) GetInferenceEndpoint ¶
func (c *Client) GetInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetInferenceEndpoint Get Inference Endpoint
Corresponds with GET /v1/inference-endpoints/{endpoint_id} (the `GetInferenceEndpoint` operationId).
func (*Client) GetInvoice ¶
func (c *Client) GetInvoice(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetInvoice Get Invoice
Corresponds with GET /v1/orgs/{org_id}/billing/invoices/{invoice_id} (the `GetInvoice` operationId).
func (*Client) GetJobRun ¶
func (c *Client) GetJobRun(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetJobRun Get Job Run
Corresponds with GET /v1/job-runs/{run_id} (the `GetJobRun` operationId).
func (*Client) GetJobRunLogs ¶
func (c *Client) GetJobRunLogs(ctx context.Context, runId openapi_types.UUID, params *GetJobRunLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetJobRunLogs Get Job Run Logs
The run's output after `after` (a sequence number).
Corresponds with GET /v1/job-runs/{run_id}/logs (the `GetJobRunLogs` operationId).
func (*Client) GetNotificationPreferences ¶
func (c *Client) GetNotificationPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetNotificationPreferences Get Notification Preferences
Both are on until the user turns them off.
Corresponds with GET /v1/me/notifications (the `GetNotificationPreferences` operationId).
func (*Client) GetOperation ¶
func (c *Client) GetOperation(ctx context.Context, operationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOperation Get Operation
Corresponds with GET /v1/operations/{operation_id} (the `GetOperation` operationId).
func (*Client) GetOrg ¶
func (c *Client) GetOrg(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrg Get Org
Corresponds with GET /v1/orgs/{org_id} (the `GetOrg` operationId).
func (*Client) GetOrgOverview ¶
func (c *Client) GetOrgOverview(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrgOverview Get Org Overview
Corresponds with GET /v1/orgs/{org_id}/overview (the `GetOrgOverview` operationId).
func (*Client) GetOrgSubscription ¶
func (c *Client) GetOrgSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrgSubscription Get Org Subscription
The plan, its period, any scheduled change, and current usage. An ended period is rolled forward here as well as by the reconciler.
Corresponds with GET /v1/orgs/{org_id}/subscription (the `GetOrgSubscription` operationId).
func (*Client) GetPreview ¶
func (c *Client) GetPreview(ctx context.Context, previewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPreview Get Preview
Corresponds with GET /v1/previews/{preview_id} (the `GetPreview` operationId).
func (*Client) GetProject ¶
func (c *Client) GetProject(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProject Get Project
Corresponds with GET /v1/projects/{project_id} (the `GetProject` operationId).
func (*Client) GetRawEnv ¶
func (c *Client) GetRawEnv(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRawEnv Get Raw Env
The service's own variables as dotenv text. Secret, sealed and connection-managed values are left out, each with a comment line naming it.
Corresponds with GET /v1/resources/{resource_id}/env/raw (the `GetRawEnv` operationId).
func (*Client) GetRawSharedVariables ¶
func (c *Client) GetRawSharedVariables(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRawSharedVariables Get Raw Shared Variables
Corresponds with GET /v1/environments/{environment_id}/variables/raw (the `GetRawSharedVariables` operationId).
func (*Client) GetResource ¶
func (c *Client) GetResource(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetResource Get Resource
Corresponds with GET /v1/resources/{resource_id} (the `GetResource` operationId).
func (*Client) GetResourceHttpLogs ¶
func (c *Client) GetResourceHttpLogs(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceHttpLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetResourceHttpLogs Get Resource Http Logs
HTTP request logs for an application, read from the engine, oldest first after `after`. Poll with `after=next_after` for new requests.
Corresponds with GET /v1/resources/{resource_id}/http-logs (the `GetResourceHttpLogs` operationId).
func (*Client) GetResourceLogs ¶
func (c *Client) GetResourceLogs(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetResourceLogs Get Resource Logs
Runtime logs, read from the engine.
Corresponds with GET /v1/resources/{resource_id}/logs (the `GetResourceLogs` operationId).
func (*Client) GetResourceMetrics ¶
func (c *Client) GetResourceMetrics(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetResourceMetrics Get Resource Metrics
Metrics from the engine over `window`. `simulated` is true when the engine is the mock.
Corresponds with GET /v1/resources/{resource_id}/metrics (the `GetResourceMetrics` operationId).
func (*Client) GetServer ¶
func (c *Client) GetServer(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetServer Get Server
Corresponds with GET /v1/servers/{server_id} (the `GetServer` operationId).
func (*Client) GetSpendLimit ¶
func (c *Client) GetSpendLimit(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSpendLimit Get Spend Limit
Usage alerts, the hard spend limit, this period's estimate and whether the limit is reached.
Corresponds with GET /v1/orgs/{org_id}/billing/spend-limit (the `GetSpendLimit` operationId).
func (*Client) GetSupportTicket ¶
func (c *Client) GetSupportTicket(ctx context.Context, ticketId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSupportTicket Get Support Ticket
Corresponds with GET /v1/support/tickets/{ticket_id} (the `GetSupportTicket` operationId).
func (*Client) GetTemplate ¶
func (c *Client) GetTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTemplate Get Template
Corresponds with GET /v1/catalog/templates/{template_id} (the `GetTemplate` operationId).
func (*Client) GetUpcomingInvoice ¶
func (c *Client) GetUpcomingInvoice(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUpcomingInvoice Get Upcoming Invoice
What the current period would bill if it ended now. Nothing is stored.
Corresponds with GET /v1/orgs/{org_id}/billing/upcoming-invoice (the `GetUpcomingInvoice` operationId).
func (*Client) GetUsageSummary ¶
func (c *Client) GetUsageSummary(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUsageSummary Get Usage Summary
Each meter for the current period: quantity, included allowance and estimated charge.
Corresponds with GET /v1/orgs/{org_id}/billing/usage (the `GetUsageSummary` operationId).
func (*Client) GetVolume ¶
func (c *Client) GetVolume(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVolume Get Volume
The service's volume, or null when it has none.
Corresponds with GET /v1/resources/{resource_id}/volume (the `GetVolume` operationId).
func (*Client) GithubLoginCallback ¶
func (c *Client) GithubLoginCallback(ctx context.Context, params *GithubLoginCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GithubLoginCallback Github Login Callback
Corresponds with GET /v1/auth/github/callback (the `GithubLoginCallback` operationId).
func (*Client) GithubLoginStart ¶
func (c *Client) GithubLoginStart(ctx context.Context, params *GithubLoginStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GithubLoginStart Github Login Start
Redirects to GitHub's authorization page (or straight back with the fake provider). Started while signed in, it links GitHub to that account, and the state records which session asked so the callback can't link to anyone else.
Corresponds with GET /v1/auth/github/start (the `GithubLoginStart` operationId).
func (*Client) GithubSetupAuthorized ¶
func (c *Client) GithubSetupAuthorized(ctx context.Context, params *GithubSetupAuthorizedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GithubSetupAuthorized Github Setup Authorized
Second half of the installation callback: GitHub has authorised the user, so link the installation only if that user administers it.
Corresponds with GET /v1/github/setup/authorized (the `GithubSetupAuthorized` operationId).
func (*Client) GithubSetupCallback ¶
func (c *Client) GithubSetupCallback(ctx context.Context, params *GithubSetupCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GithubSetupCallback Github Setup Callback
GitHub App installation callback (the app's Setup URL).
Corresponds with GET /v1/github/setup (the `GithubSetupCallback` operationId).
func (*Client) GoogleLoginCallback ¶
func (c *Client) GoogleLoginCallback(ctx context.Context, params *GoogleLoginCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GoogleLoginCallback Google Login Callback
Google's redirect target. Failures go to `/login?error=google_<reason>` on the web app, with reason one of denied, state, unavailable, exchange or email_unverified.
Corresponds with GET /v1/auth/google/callback (the `GoogleLoginCallback` operationId).
func (*Client) GoogleLoginStart ¶
func (c *Client) GoogleLoginStart(ctx context.Context, params *GoogleLoginStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GoogleLoginStart Google Login Start
Redirects to Google's consent screen (or straight back with the fake provider). Started while signed in, it links Google to that account only.
Corresponds with GET /v1/auth/google/start (the `GoogleLoginStart` operationId).
func (*Client) GpuCatalog ¶
func (c *Client) GpuCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GpuCatalog Gpu Catalog
GPU instances Dekka plans to offer. None can be provisioned yet, so every entry is on the waitlist and has no price until a host quotes.
Corresponds with GET /v1/catalog/gpu-instances (the `GpuCatalog` operationId).
func (*Client) Healthz ¶
func (c *Client) Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
Healthz Healthz
Corresponds with GET /v1/healthz (the `Healthz` operationId).
func (*Client) LeaveAMessage ¶
func (c *Client) LeaveAMessage(ctx context.Context, body LeaveAMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LeaveAMessage Leave A Message
A message from the marketing site. It opens a support request that staff answer by email.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/contact (the `LeaveAMessage` operationId).
func (*Client) LeaveAMessageWithBody ¶
func (c *Client) LeaveAMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LeaveAMessageWithBody Leave A Message
A message from the marketing site. It opens a support request that staff answer by email.
Takes any type of body and a specified content type.
Corresponds with POST /v1/contact (the `LeaveAMessage` operationId).
func (*Client) ListAiModels ¶
func (c *Client) ListAiModels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAiModels List Ai Models
Every model in the catalogue at the providers' list prices in US dollars, which are a snapshot to check before launch. Both providers process requests in the United States, outside Ghana.
Corresponds with GET /v1/catalog/ai-models (the `ListAiModels` operationId).
func (*Client) ListAiRequests ¶
func (c *Client) ListAiRequests(ctx context.Context, orgId openapi_types.UUID, params *ListAiRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAiRequests List Ai Requests
Gateway requests, newest first. `model` matches the requested or the serving model. Prompts and replies are never stored.
Corresponds with GET /v1/orgs/{org_id}/ai/requests (the `ListAiRequests` operationId).
func (*Client) ListApiKeys ¶
func (c *Client) ListApiKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListApiKeys List Api Keys
Corresponds with GET /v1/orgs/{org_id}/api-keys (the `ListApiKeys` operationId).
func (*Client) ListConnectionStrings ¶
func (c *Client) ListConnectionStrings(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListConnectionStrings List Connection Strings
One row per app connected to this database, with the variable it was given and the URL with its password masked. The full value comes from POST /v1/resources/{app_id}/env/{env_key}/reveal, which is audited.
Corresponds with GET /v1/resources/{resource_id}/connection-strings (the `ListConnectionStrings` operationId).
func (*Client) ListConnections ¶
func (c *Client) ListConnections(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListConnections List Connections
Corresponds with GET /v1/projects/{project_id}/connections (the `ListConnections` operationId).
func (*Client) ListDataLocations ¶
func (c *Client) ListDataLocations(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDataLocations List Data Locations
Corresponds with GET /v1/resources/{resource_id}/data-locations (the `ListDataLocations` operationId).
func (*Client) ListDatabaseBackups ¶
func (c *Client) ListDatabaseBackups(ctx context.Context, resourceId openapi_types.UUID, params *ListDatabaseBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDatabaseBackups List Database Backups
A Postgres database's or a Redis cache's backups, newest first: the ones taken on request and the ones taken every night, read from the engine. Each says where it is kept.
Corresponds with GET /v1/resources/{resource_id}/backups (the `ListDatabaseBackups` operationId).
func (*Client) ListDatabaseTables ¶
func (c *Client) ListDatabaseTables(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDatabaseTables List Database Tables
Corresponds with GET /v1/resources/{resource_id}/database/tables (the `ListDatabaseTables` operationId).
func (*Client) ListDomains ¶
func (c *Client) ListDomains(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDomains List Domains
Corresponds with GET /v1/resources/{resource_id}/domains (the `ListDomains` operationId).
func (*Client) ListEnv ¶
func (c *Client) ListEnv(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListEnv List Env
Stored variables, then the system variables Dekka sets (PORT, DEKKA_PRIVATE_DOMAIN, DEKKA_PUBLIC_DOMAIN, DEKKA_ENVIRONMENT) with `source: "system"`, unless a stored variable of the same name overrides one.
Corresponds with GET /v1/resources/{resource_id}/env (the `ListEnv` operationId).
func (*Client) ListEnvironmentChangesets ¶
func (c *Client) ListEnvironmentChangesets(ctx context.Context, environmentId openapi_types.UUID, params *ListEnvironmentChangesetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListEnvironmentChangesets List Environment Changesets
Changesets of every source (manual drafts, blueprint and template plans), newest first, optionally filtered by status.
Corresponds with GET /v1/environments/{environment_id}/changesets (the `ListEnvironmentChangesets` operationId).
func (*Client) ListEnvironments ¶
func (c *Client) ListEnvironments(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListEnvironments List Environments
Corresponds with GET /v1/projects/{project_id}/environments (the `ListEnvironments` operationId).
func (*Client) ListGatewayModels ¶
func (c *Client) ListGatewayModels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListGatewayModels List Gateway Models
OpenAI's model list: the available models this key's project may use, then the organization's private inference endpoints as private/<slug>, owned by `private`. Those are waitlisted and get a simulated reply outside production.
Corresponds with GET /v1/ai/models (the `ListGatewayModels` operationId).
func (*Client) ListGithubBranches ¶
func (c *Client) ListGithubBranches(ctx context.Context, installationId int, repoId int, reqEditors ...RequestEditorFn) (*http.Response, error)
ListGithubBranches List Github Branches
Corresponds with GET /v1/github/installations/{installation_id}/repos/{repo_id}/branches (the `ListGithubBranches` operationId).
func (*Client) ListGithubInstallations ¶
func (c *Client) ListGithubInstallations(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListGithubInstallations List Github Installations
Corresponds with GET /v1/orgs/{org_id}/github/installations (the `ListGithubInstallations` operationId).
func (*Client) ListGithubRepos ¶
func (c *Client) ListGithubRepos(ctx context.Context, installationId int, reqEditors ...RequestEditorFn) (*http.Response, error)
ListGithubRepos List Github Repos
Corresponds with GET /v1/github/installations/{installation_id}/repos (the `ListGithubRepos` operationId).
func (*Client) ListGpuRequests ¶
func (c *Client) ListGpuRequests(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListGpuRequests List Gpu Requests
The organization's waitlist and reservation requests, newest first, without withdrawn ones.
Corresponds with GET /v1/orgs/{org_id}/gpu/requests (the `ListGpuRequests` operationId).
func (*Client) ListInferenceEndpoints ¶
func (c *Client) ListInferenceEndpoints(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListInferenceEndpoints List Inference Endpoints
Corresponds with GET /v1/orgs/{org_id}/inference-endpoints (the `ListInferenceEndpoints` operationId).
func (*Client) ListInvoices ¶
func (c *Client) ListInvoices(ctx context.Context, orgId openapi_types.UUID, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListInvoices List Invoices
Corresponds with GET /v1/orgs/{org_id}/billing/invoices (the `ListInvoices` operationId).
func (*Client) ListJobRuns ¶
func (c *Client) ListJobRuns(ctx context.Context, resourceId openapi_types.UUID, params *ListJobRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListJobRuns List Job Runs
Runs newest first, skipped scheduled runs included.
Corresponds with GET /v1/resources/{resource_id}/runs (the `ListJobRuns` operationId).
func (*Client) ListMembers ¶
func (c *Client) ListMembers(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMembers List Members
Corresponds with GET /v1/orgs/{org_id}/members (the `ListMembers` operationId).
func (*Client) ListMyPasskeys ¶
func (c *Client) ListMyPasskeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMyPasskeys List My Passkeys
Corresponds with GET /v1/me/passkeys (the `ListMyPasskeys` operationId).
func (*Client) ListMySessions ¶
func (c *Client) ListMySessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMySessions List My Sessions
Corresponds with GET /v1/me/sessions (the `ListMySessions` operationId).
func (*Client) ListOrgActivity ¶
func (c *Client) ListOrgActivity(ctx context.Context, orgId openapi_types.UUID, params *ListOrgActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOrgActivity List Org Activity
Corresponds with GET /v1/orgs/{org_id}/activity (the `ListOrgActivity` operationId).
func (*Client) ListOrgInvitations ¶
func (c *Client) ListOrgInvitations(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOrgInvitations List Org Invitations
Open invitations, newest first. Expired ones stay listed with status expired until they are revoked or the address is invited again.
Corresponds with GET /v1/orgs/{org_id}/invitations (the `ListOrgInvitations` operationId).
func (*Client) ListPaymentMethods ¶
func (c *Client) ListPaymentMethods(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPaymentMethods List Payment Methods
Saved Paystack authorizations. Added by a successful checkout; the authorization code never leaves the API.
Corresponds with GET /v1/orgs/{org_id}/billing/payment-methods (the `ListPaymentMethods` operationId).
func (*Client) ListPlans ¶
func (c *Client) ListPlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPlans List Plans
Corresponds with GET /v1/catalog/plans (the `ListPlans` operationId).
func (*Client) ListPreviews ¶
func (c *Client) ListPreviews(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPreviews List Previews
Pull request previews, newest first, closed ones included.
Corresponds with GET /v1/projects/{project_id}/previews (the `ListPreviews` operationId).
func (*Client) ListPrices ¶
func (c *Client) ListPrices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPrices List Prices
PostgreSQL and Redis tiers, object storage rates, and what goes on being charged while a resource is stopped, from app/catalog/prices.yaml. The prices are a hypothesis in GHS, before tax. A tier id is a SKU that POST /v1/resources accepts as `spec.sku`, and POST /v1/estimates prices with these. Billing moves to them once the migration in docs/billing-catalogue-migration.md is approved.
Corresponds with GET /v1/catalog/prices (the `ListPrices` operationId).
func (*Client) ListProjectDeployments ¶
func (c *Client) ListProjectDeployments(ctx context.Context, projectId openapi_types.UUID, params *ListProjectDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProjectDeployments List Project Deployments
Corresponds with GET /v1/projects/{project_id}/deployments (the `ListProjectDeployments` operationId).
func (*Client) ListProjectOperations ¶
func (c *Client) ListProjectOperations(ctx context.Context, projectId openapi_types.UUID, params *ListProjectOperationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProjectOperations List Project Operations
Corresponds with GET /v1/projects/{project_id}/operations (the `ListProjectOperations` operationId).
func (*Client) ListProjectTokens ¶
func (c *Client) ListProjectTokens(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProjectTokens List Project Tokens
Tokens that reach only this project, newest first, revoked ones included.
Corresponds with GET /v1/projects/{project_id}/tokens (the `ListProjectTokens` operationId).
func (*Client) ListProjectWebhooks ¶
func (c *Client) ListProjectWebhooks(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProjectWebhooks List Project Webhooks
Corresponds with GET /v1/projects/{project_id}/webhooks (the `ListProjectWebhooks` operationId).
func (*Client) ListProjects ¶
func (c *Client) ListProjects(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProjects List Projects
Corresponds with GET /v1/orgs/{org_id}/projects (the `ListProjects` operationId).
func (*Client) ListProviderKeys ¶
func (c *Client) ListProviderKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProviderKeys List Provider Keys
The org's own OpenAI and Anthropic keys, newest first, revoked ones included.
Corresponds with GET /v1/orgs/{org_id}/ai/provider-keys (the `ListProviderKeys` operationId).
func (*Client) ListRedisKeys ¶
func (c *Client) ListRedisKeys(ctx context.Context, resourceId openapi_types.UUID, params *ListRedisKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRedisKeys List Redis Keys
A page of keys matching `pattern` (glob syntax), read with SCAN.
Corresponds with GET /v1/resources/{resource_id}/redis/keys (the `ListRedisKeys` operationId).
func (*Client) ListRegions ¶
func (c *Client) ListRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRegions List Regions
Corresponds with GET /v1/regions (the `ListRegions` operationId).
func (*Client) ListRegistryCredentials ¶
func (c *Client) ListRegistryCredentials(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRegistryCredentials List Registry Credentials
Corresponds with GET /v1/orgs/{org_id}/registry-credentials (the `ListRegistryCredentials` operationId).
func (*Client) ListResourceDeployments ¶
func (c *Client) ListResourceDeployments(ctx context.Context, resourceId openapi_types.UUID, params *ListResourceDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListResourceDeployments List Resource Deployments
Corresponds with GET /v1/resources/{resource_id}/deployments (the `ListResourceDeployments` operationId).
func (*Client) ListResources ¶
func (c *Client) ListResources(ctx context.Context, projectId openapi_types.UUID, params *ListResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListResources List Resources
Corresponds with GET /v1/projects/{project_id}/resources (the `ListResources` operationId).
func (*Client) ListServerSnapshots ¶
func (c *Client) ListServerSnapshots(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListServerSnapshots List Server Snapshots
A KVM server's disk snapshots and whether one is taken each night. A snapshot lives on the same host as the disk: it undoes a change in seconds and is not a backup. A server that takes none answers with an empty list.
Corresponds with GET /v1/servers/{server_id}/snapshots (the `ListServerSnapshots` operationId).
func (*Client) ListServers ¶
func (c *Client) ListServers(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListServers List Servers
Corresponds with GET /v1/projects/{project_id}/servers (the `ListServers` operationId).
func (*Client) ListSharedVariables ¶
func (c *Client) ListSharedVariables(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSharedVariables List Shared Variables
Variables shared by the environment's services. A service uses one through a `${{shared.KEY}}` reference; they are not added to every service.
Corresponds with GET /v1/environments/{environment_id}/variables (the `ListSharedVariables` operationId).
func (*Client) ListSshKeys ¶
func (c *Client) ListSshKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSshKeys List Ssh Keys
Corresponds with GET /v1/orgs/{org_id}/ssh-keys (the `ListSshKeys` operationId).
func (*Client) ListSupportTickets ¶
func (c *Client) ListSupportTickets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSupportTickets List Support Tickets
Corresponds with GET /v1/support/tickets (the `ListSupportTickets` operationId).
func (*Client) ListTemplates ¶
func (c *Client) ListTemplates(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListTemplates List Templates
Templates that can be planned into an environment, featured ones first. Public.
Corresponds with GET /v1/catalog/templates (the `ListTemplates` operationId).
func (*Client) ListUsageRecords ¶
func (c *Client) ListUsageRecords(ctx context.Context, orgId openapi_types.UUID, params *ListUsageRecordsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListUsageRecords List Usage Records
Usage records for the current period, newest first.
Corresponds with GET /v1/orgs/{org_id}/billing/usage/records (the `ListUsageRecords` operationId).
func (*Client) ListVolumeBackups ¶
func (c *Client) ListVolumeBackups(ctx context.Context, volumeId openapi_types.UUID, params *ListVolumeBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVolumeBackups List Volume Backups
A volume's backups, newest first: the ones taken on request and the ones taken every night, read from the engine.
Corresponds with GET /v1/volumes/{volume_id}/backups (the `ListVolumeBackups` operationId).
func (*Client) ListWebhookDeliveries ¶
func (c *Client) ListWebhookDeliveries(ctx context.Context, webhookId openapi_types.UUID, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWebhookDeliveries List Webhook Deliveries
Newest first.
Corresponds with GET /v1/webhooks/{webhook_id}/deliveries (the `ListWebhookDeliveries` operationId).
func (*Client) Logout ¶
Logout Logout
Corresponds with POST /v1/auth/logout (the `Logout` operationId).
func (*Client) OpenSupportTicket ¶
func (c *Client) OpenSupportTicket(ctx context.Context, body OpenSupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OpenSupportTicket Open Support Ticket
Opens a request with its first message. Dekka staff are emailed straight away.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/support/tickets (the `OpenSupportTicket` operationId).
func (*Client) OpenSupportTicketWithBody ¶
func (c *Client) OpenSupportTicketWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OpenSupportTicketWithBody Open Support Ticket
Opens a request with its first message. Dekka staff are emailed straight away.
Takes any type of body and a specified content type.
Corresponds with POST /v1/support/tickets (the `OpenSupportTicket` operationId).
func (*Client) PasskeyRegistrationOptions ¶
func (c *Client) PasskeyRegistrationOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyRegistrationOptions Passkey Registration Options
PublicKeyCredentialCreationOptions JSON for `navigator.credentials.create()`.
Corresponds with POST /v1/me/passkeys/options (the `PasskeyRegistrationOptions` operationId).
func (*Client) PasskeySignIn ¶
func (c *Client) PasskeySignIn(ctx context.Context, body PasskeySignInJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeySignIn Passkey Sign In
Verifies the assertion from `navigator.credentials.get()` and sets the session cookie.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/passkey (the `PasskeySignIn` operationId).
func (*Client) PasskeySignInOptions ¶
func (c *Client) PasskeySignInOptions(ctx context.Context, body PasskeySignInOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeySignInOptions Passkey Sign In Options
PublicKeyCredentialRequestOptions JSON for `navigator.credentials.get()`. Without an email, `allowCredentials` is empty and the browser offers any passkey it holds for this site.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/passkey/options (the `PasskeySignInOptions` operationId).
func (*Client) PasskeySignInOptionsWithBody ¶
func (c *Client) PasskeySignInOptionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeySignInOptionsWithBody Passkey Sign In Options
PublicKeyCredentialRequestOptions JSON for `navigator.credentials.get()`. Without an email, `allowCredentials` is empty and the browser offers any passkey it holds for this site.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/passkey/options (the `PasskeySignInOptions` operationId).
func (*Client) PasskeySignInWithBody ¶
func (c *Client) PasskeySignInWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeySignInWithBody Passkey Sign In
Verifies the assertion from `navigator.credentials.get()` and sets the session cookie.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/passkey (the `PasskeySignIn` operationId).
func (*Client) PaystackCheckoutCallback ¶
func (c *Client) PaystackCheckoutCallback(ctx context.Context, params *PaystackCheckoutCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PaystackCheckoutCallback Paystack Checkout Callback
Paystack's callback_url. Verifies the transaction with Paystack, applies it, and redirects to the dashboard with `?billing=<status>&reference=`.
Corresponds with GET /v1/billing/paystack/callback (the `PaystackCheckoutCallback` operationId).
func (*Client) PlanBlueprint ¶
func (c *Client) PlanBlueprint(ctx context.Context, environmentId openapi_types.UUID, body PlanBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlanBlueprint Plan Blueprint
Compares a blueprint with the environment and returns the plan as a changeset (source blueprint) of creates, updates and, with `prune`, deletes. Nothing changes until it is deployed with POST /v1/changesets/{id}/deploy, which answers 409 plan_stale if the environment changed in between. An invalid blueprint answers 422 invalid_blueprint with every error.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/environments/{environment_id}/blueprint/plan (the `PlanBlueprint` operationId).
func (*Client) PlanBlueprintWithBody ¶
func (c *Client) PlanBlueprintWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlanBlueprintWithBody Plan Blueprint
Compares a blueprint with the environment and returns the plan as a changeset (source blueprint) of creates, updates and, with `prune`, deletes. Nothing changes until it is deployed with POST /v1/changesets/{id}/deploy, which answers 409 plan_stale if the environment changed in between. An invalid blueprint answers 422 invalid_blueprint with every error.
Takes any type of body and a specified content type.
Corresponds with POST /v1/environments/{environment_id}/blueprint/plan (the `PlanBlueprint` operationId).
func (*Client) PlanCompose ¶
func (c *Client) PlanCompose(ctx context.Context, environmentId openapi_types.UUID, body PlanComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlanCompose Plan Compose
Translates a Docker Compose file and plans it into the environment as a changeset (source blueprint), to confirm with POST /v1/changesets/{id}/deploy. The file is `content`, or with `path` it is read from `repository` as POST .../compose/read does. Services with a build section are built from `repository`; leaving it out answers 422 repository_required. A translation that doesn't validate answers 422 invalid_blueprint.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/environments/{environment_id}/compose/plan (the `PlanCompose` operationId).
func (*Client) PlanComposeWithBody ¶
func (c *Client) PlanComposeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlanComposeWithBody Plan Compose
Translates a Docker Compose file and plans it into the environment as a changeset (source blueprint), to confirm with POST /v1/changesets/{id}/deploy. The file is `content`, or with `path` it is read from `repository` as POST .../compose/read does. Services with a build section are built from `repository`; leaving it out answers 422 repository_required. A translation that doesn't validate answers 422 invalid_blueprint.
Takes any type of body and a specified content type.
Corresponds with POST /v1/environments/{environment_id}/compose/plan (the `PlanCompose` operationId).
func (*Client) PlanDeclaredServices ¶
func (c *Client) PlanDeclaredServices(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
PlanDeclaredServices Plan Declared Services
Plans what the service's dekka.toml declares and the environment lacks: the missing databases, caches, buckets and queues, and a connection from the service to each declared one. Nothing changes until the changeset is deployed with POST /v1/changesets/{id}/deploy. Answers 409 nothing_to_plan when everything is already here and connected.
Corresponds with POST /v1/resources/{resource_id}/config/plan (the `PlanDeclaredServices` operationId).
func (*Client) PlanTemplate ¶
func (c *Client) PlanTemplate(ctx context.Context, environmentId openapi_types.UUID, templateId string, body PlanTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlanTemplate Plan Template
Plans a template into the environment as a changeset (source template) to confirm with POST /v1/changesets/{id}/deploy. Supply the template's inputs by key; a required one left out answers 422 missing_input. Secrets the template generates are created now, stored as secrets and never shown in the plan. Templates only add, so a resource name already in use answers 409 name_taken. Plan limits are checked when it is deployed.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/environments/{environment_id}/templates/{template_id}/plan (the `PlanTemplate` operationId).
func (*Client) PlanTemplateWithBody ¶
func (c *Client) PlanTemplateWithBody(ctx context.Context, environmentId openapi_types.UUID, templateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlanTemplateWithBody Plan Template
Plans a template into the environment as a changeset (source template) to confirm with POST /v1/changesets/{id}/deploy. Supply the template's inputs by key; a required one left out answers 422 missing_input. Secrets the template generates are created now, stored as secrets and never shown in the plan. Templates only add, so a resource name already in use answers 409 name_taken. Plan limits are checked when it is deployed.
Takes any type of body and a specified content type.
Corresponds with POST /v1/environments/{environment_id}/templates/{template_id}/plan (the `PlanTemplate` operationId).
func (*Client) PreviewAiPrivacy ¶
func (c *Client) PreviewAiPrivacy(ctx context.Context, projectId openapi_types.UUID, body PreviewAiPrivacyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewAiPrivacy Preview Ai Privacy
Shows what Veil would do to sample text with the saved settings, or with unsaved ones in `policy`. With Veil off it previews protect mode. Nothing is stored.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_id}/ai/privacy/preview (the `PreviewAiPrivacy` operationId).
func (*Client) PreviewAiPrivacyWithBody ¶
func (c *Client) PreviewAiPrivacyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewAiPrivacyWithBody Preview Ai Privacy
Shows what Veil would do to sample text with the saved settings, or with unsaved ones in `policy`. With Veil off it previews protect mode. Nothing is stored.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_id}/ai/privacy/preview (the `PreviewAiPrivacy` operationId).
func (*Client) PreviewInvitation ¶
func (c *Client) PreviewInvitation(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewInvitation Preview Invitation
Public. What the invitation is for, without accepting it. 400 invalid_invitation when it expired, was revoked or was used.
Corresponds with GET /v1/invitations/{token}/preview (the `PreviewInvitation` operationId).
func (*Client) PutAiPolicy ¶
func (c *Client) PutAiPolicy(ctx context.Context, projectId openapi_types.UUID, body PutAiPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutAiPolicy Put Ai Policy
Replaces the rules. Every model named must be in the catalogue and come from an allowed provider, and with allowed_models set, each fallback must be among them. The cap is in US dollars at list price per calendar month.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{project_id}/ai/policy (the `PutAiPolicy` operationId).
func (*Client) PutAiPolicyWithBody ¶
func (c *Client) PutAiPolicyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutAiPolicyWithBody Put Ai Policy
Replaces the rules. Every model named must be in the catalogue and come from an allowed provider, and with allowed_models set, each fallback must be among them. The cap is in US dollars at list price per calendar month.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{project_id}/ai/policy (the `PutAiPolicy` operationId).
func (*Client) PutAiPrivacy ¶
func (c *Client) PutAiPrivacy(ctx context.Context, projectId openapi_types.UUID, body PutAiPrivacyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutAiPrivacy Put Ai Privacy
Replaces the Veil settings. Custom policies are checked by Veil first, and every error comes back with its path in 422 invalid_privacy_policy.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{project_id}/ai/privacy (the `PutAiPrivacy` operationId).
func (*Client) PutAiPrivacyWithBody ¶
func (c *Client) PutAiPrivacyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutAiPrivacyWithBody Put Ai Privacy
Replaces the Veil settings. Custom policies are checked by Veil first, and every error comes back with its path in 422 invalid_privacy_policy.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{project_id}/ai/privacy (the `PutAiPrivacy` operationId).
func (*Client) PutBillingDetails ¶
func (c *Client) PutBillingDetails(ctx context.Context, orgId openapi_types.UUID, body PutBillingDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutBillingDetails Put Billing Details
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/orgs/{org_id}/billing/details (the `PutBillingDetails` operationId).
func (*Client) PutBillingDetailsWithBody ¶
func (c *Client) PutBillingDetailsWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutBillingDetailsWithBody Put Billing Details
Takes any type of body and a specified content type.
Corresponds with PUT /v1/orgs/{org_id}/billing/details (the `PutBillingDetails` operationId).
func (*Client) PutCanvas ¶
func (c *Client) PutCanvas(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, body PutCanvasJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutCanvas Put Canvas
Replaces the layout. Positions for resources outside this environment are dropped.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{project_id}/canvas (the `PutCanvas` operationId).
func (*Client) PutCanvasWithBody ¶
func (c *Client) PutCanvasWithBody(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutCanvasWithBody Put Canvas
Replaces the layout. Positions for resources outside this environment are dropped.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{project_id}/canvas (the `PutCanvas` operationId).
func (*Client) PutEnv ¶
func (c *Client) PutEnv(ctx context.Context, resourceId openapi_types.UUID, body PutEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutEnv Put Env
Creates or updates the given variables. Others are left alone, and connection-managed keys are read-only. References are checked and refused with 422 unknown_reference when they do not resolve. A reference to a database, cache, bucket or queue the service is not connected to connects it, so `${{db.DATABASE_URL}}` reads the service's own credentials. Changes apply on the next restart or deploy.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/resources/{resource_id}/env (the `PutEnv` operationId).
func (*Client) PutEnvWithBody ¶
func (c *Client) PutEnvWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutEnvWithBody Put Env
Creates or updates the given variables. Others are left alone, and connection-managed keys are read-only. References are checked and refused with 422 unknown_reference when they do not resolve. A reference to a database, cache, bucket or queue the service is not connected to connects it, so `${{db.DATABASE_URL}}` reads the service's own credentials. Changes apply on the next restart or deploy.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/resources/{resource_id}/env (the `PutEnv` operationId).
func (*Client) PutNotificationPreferences ¶
func (c *Client) PutNotificationPreferences(ctx context.Context, body PutNotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNotificationPreferences Put Notification Preferences
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/me/notifications (the `PutNotificationPreferences` operationId).
func (*Client) PutNotificationPreferencesWithBody ¶
func (c *Client) PutNotificationPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNotificationPreferencesWithBody Put Notification Preferences
Takes any type of body and a specified content type.
Corresponds with PUT /v1/me/notifications (the `PutNotificationPreferences` operationId).
func (*Client) PutRawEnv ¶
func (c *Client) PutRawEnv(ctx context.Context, resourceId openapi_types.UUID, body PutRawEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutRawEnv Put Raw Env
Saves dotenv text. Existing variables keep their secret flag and new ones are not secret. With `replace`, user variables missing from the text are deleted, except sealed ones; connection-managed keys cannot be set here.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/resources/{resource_id}/env/raw (the `PutRawEnv` operationId).
func (*Client) PutRawEnvWithBody ¶
func (c *Client) PutRawEnvWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutRawEnvWithBody Put Raw Env
Saves dotenv text. Existing variables keep their secret flag and new ones are not secret. With `replace`, user variables missing from the text are deleted, except sealed ones; connection-managed keys cannot be set here.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/resources/{resource_id}/env/raw (the `PutRawEnv` operationId).
func (*Client) PutRawSharedVariables ¶
func (c *Client) PutRawSharedVariables(ctx context.Context, environmentId openapi_types.UUID, body PutRawSharedVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutRawSharedVariables Put Raw Shared Variables
Saves dotenv text as shared variables, the same way as a service's raw editor.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/environments/{environment_id}/variables/raw (the `PutRawSharedVariables` operationId).
func (*Client) PutRawSharedVariablesWithBody ¶
func (c *Client) PutRawSharedVariablesWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutRawSharedVariablesWithBody Put Raw Shared Variables
Saves dotenv text as shared variables, the same way as a service's raw editor.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/environments/{environment_id}/variables/raw (the `PutRawSharedVariables` operationId).
func (*Client) PutSharedVariables ¶
func (c *Client) PutSharedVariables(ctx context.Context, environmentId openapi_types.UUID, body PutSharedVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutSharedVariables Put Shared Variables
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/environments/{environment_id}/variables (the `PutSharedVariables` operationId).
func (*Client) PutSharedVariablesWithBody ¶
func (c *Client) PutSharedVariablesWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutSharedVariablesWithBody Put Shared Variables
Takes any type of body and a specified content type.
Corresponds with PUT /v1/environments/{environment_id}/variables (the `PutSharedVariables` operationId).
func (*Client) PutSpendLimit ¶
func (c *Client) PutSpendLimit(ctx context.Context, orgId openapi_types.UUID, body PutSpendLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutSpendLimit Put Spend Limit
Replaces the alerts and the limit. Alerts already sent this period for amounts that are kept are not sent again.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/orgs/{org_id}/billing/spend-limit (the `PutSpendLimit` operationId).
func (*Client) PutSpendLimitWithBody ¶
func (c *Client) PutSpendLimitWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutSpendLimitWithBody Put Spend Limit
Replaces the alerts and the limit. Alerts already sent this period for amounts that are kept are not sent again.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/orgs/{org_id}/billing/spend-limit (the `PutSpendLimit` operationId).
func (*Client) ReadCompose ¶
func (c *Client) ReadCompose(ctx context.Context, environmentId openapi_types.UUID, body ReadComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReadCompose Read Compose
Reads a Compose file from a GitHub repository the organization has connected and translates it as POST /v1/compose/translate does, with `path` saying which file was found. Services with a build section build from that repository and branch, with their context resolved against the file's directory. Nothing is created. A repository the GitHub App can't see answers 422 repo_not_found (or github_not_installed when the App isn't installed), and a branch without the file answers 422 compose_file_missing with the paths tried.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/environments/{environment_id}/compose/read (the `ReadCompose` operationId).
func (*Client) ReadComposeWithBody ¶
func (c *Client) ReadComposeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReadComposeWithBody Read Compose
Reads a Compose file from a GitHub repository the organization has connected and translates it as POST /v1/compose/translate does, with `path` saying which file was found. Services with a build section build from that repository and branch, with their context resolved against the file's directory. Nothing is created. A repository the GitHub App can't see answers 422 repo_not_found (or github_not_installed when the App isn't installed), and a branch without the file answers 422 compose_file_missing with the paths tried.
Takes any type of body and a specified content type.
Corresponds with POST /v1/environments/{environment_id}/compose/read (the `ReadCompose` operationId).
func (*Client) RebuildServer ¶
func (c *Client) RebuildServer(ctx context.Context, serverId openapi_types.UUID, body RebuildServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RebuildServer Rebuild Server
Wipes the disk and installs the image, keeping the address, size, SSH keys and user data. `confirm` must be the server's name.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{server_id}/rebuild (the `RebuildServer` operationId).
func (*Client) RebuildServerWithBody ¶
func (c *Client) RebuildServerWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RebuildServerWithBody Rebuild Server
Wipes the disk and installs the image, keeping the address, size, SSH keys and user data. `confirm` must be the server's name.
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{server_id}/rebuild (the `RebuildServer` operationId).
func (*Client) ReceiveGithubWebhook ¶
func (c *Client) ReceiveGithubWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ReceiveGithubWebhook Receive Github Webhook
GitHub App webhook. Verified with X-Hub-Signature-256 and deduplicated by X-GitHub-Delivery.
Corresponds with POST /v1/github/webhook (the `ReceiveGithubWebhook` operationId).
func (*Client) ReceivePaystackWebhook ¶
func (c *Client) ReceivePaystackWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ReceivePaystackWebhook Receive Paystack Webhook
Paystack webhook. Verified with `x-paystack-signature` (HMAC-SHA512 of the raw body under the secret key) and deduplicated on the body's hash.
Corresponds with POST /v1/billing/paystack/webhook (the `ReceivePaystackWebhook` operationId).
func (*Client) RecordAnalyticsEvent ¶
func (c *Client) RecordAnalyticsEvent(ctx context.Context, body RecordAnalyticsEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RecordAnalyticsEvent Record Analytics Event
Beacon endpoint for `navigator.sendBeacon`. Public, without CSRF, and rate limited per IP. The body is JSON whatever the Content-Type, because sendBeacon with a string sends text/plain. No raw IP or user agent is stored; see ADR 0017.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/analytics/events (the `RecordAnalyticsEvent` operationId).
func (*Client) RecordAnalyticsEventWithBody ¶
func (c *Client) RecordAnalyticsEventWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RecordAnalyticsEventWithBody Record Analytics Event
Beacon endpoint for `navigator.sendBeacon`. Public, without CSRF, and rate limited per IP. The body is JSON whatever the Content-Type, because sendBeacon with a string sends text/plain. No raw IP or user agent is stored; see ADR 0017.
Takes any type of body and a specified content type.
Corresponds with POST /v1/analytics/events (the `RecordAnalyticsEvent` operationId).
func (*Client) RedeliverWebhookDelivery ¶
func (c *Client) RedeliverWebhookDelivery(ctx context.Context, deliveryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RedeliverWebhookDelivery Redeliver Webhook Delivery
Queues a delivered or failed delivery again, with the same id and body and a fresh set of attempts. 409 delivery_pending while it is still being sent.
Corresponds with POST /v1/webhook-deliveries/{delivery_id}/redeliver (the `RedeliverWebhookDelivery` operationId).
func (*Client) RegisterPasskey ¶
func (c *Client) RegisterPasskey(ctx context.Context, body RegisterPasskeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterPasskey Register Passkey
Verifies the credential from `navigator.credentials.create()` and stores the passkey.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/me/passkeys (the `RegisterPasskey` operationId).
func (*Client) RegisterPasskeyWithBody ¶
func (c *Client) RegisterPasskeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterPasskeyWithBody Register Passkey
Verifies the credential from `navigator.credentials.create()` and stores the passkey.
Takes any type of body and a specified content type.
Corresponds with POST /v1/me/passkeys (the `RegisterPasskey` operationId).
func (*Client) RemoveDeployment ¶
func (c *Client) RemoveDeployment(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveDeployment Remove Deployment
Takes down the deployment that is serving by queueing application.stop. It becomes `removed` and the service `stopped` when the engine confirms. Any other deployment answers 409 not_active.
Corresponds with POST /v1/deployments/{deployment_id}/remove (the `RemoveDeployment` operationId).
func (*Client) RemoveOrgMember ¶
func (c *Client) RemoveOrgMember(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveOrgMember Remove Org Member
Admins and owners remove others (only owners remove owners), and any member can remove themself to leave. 409 last_owner when it would leave no owner. The member's API keys for this organization are revoked.
Corresponds with DELETE /v1/orgs/{org_id}/members/{user_id} (the `RemoveOrgMember` operationId).
func (*Client) RemovePaymentMethod ¶
func (c *Client) RemovePaymentMethod(ctx context.Context, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RemovePaymentMethod Remove Payment Method
Deactivates the authorization at Paystack and removes it here.
Corresponds with DELETE /v1/orgs/{org_id}/billing/payment-methods/{payment_method_id} (the `RemovePaymentMethod` operationId).
func (*Client) ReplaceEnvironmentFirewall ¶
func (c *Client) ReplaceEnvironmentFirewall(ctx context.Context, environmentId openapi_types.UUID, body ReplaceEnvironmentFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplaceEnvironmentFirewall Replace Environment Firewall
Replaces every rule at once. The host takes the new rules within seconds. They judge new connections, and a connection that is already open is not cut.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/environments/{environment_id}/firewall (the `ReplaceEnvironmentFirewall` operationId).
func (*Client) ReplaceEnvironmentFirewallWithBody ¶
func (c *Client) ReplaceEnvironmentFirewallWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplaceEnvironmentFirewallWithBody Replace Environment Firewall
Replaces every rule at once. The host takes the new rules within seconds. They judge new connections, and a connection that is already open is not cut.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/environments/{environment_id}/firewall (the `ReplaceEnvironmentFirewall` operationId).
func (*Client) ReplySupportTicket ¶
func (c *Client) ReplySupportTicket(ctx context.Context, ticketId openapi_types.UUID, body ReplySupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplySupportTicket Reply Support Ticket
Adds to the conversation and reopens it if it was closed.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/support/tickets/{ticket_id}/messages (the `ReplySupportTicket` operationId).
func (*Client) ReplySupportTicketWithBody ¶
func (c *Client) ReplySupportTicketWithBody(ctx context.Context, ticketId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplySupportTicketWithBody Reply Support Ticket
Adds to the conversation and reopens it if it was closed.
Takes any type of body and a specified content type.
Corresponds with POST /v1/support/tickets/{ticket_id}/messages (the `ReplySupportTicket` operationId).
func (*Client) RequestMagicLink ¶
func (c *Client) RequestMagicLink(ctx context.Context, body RequestMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestMagicLink Request Magic Link
Alias of `POST /v1/auth/email`, kept for one release.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/magic-link (the `RequestMagicLink` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) RequestMagicLinkWithBody ¶
func (c *Client) RequestMagicLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestMagicLinkWithBody Request Magic Link
Alias of `POST /v1/auth/email`, kept for one release.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/magic-link (the `RequestMagicLink` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ResizeServer ¶
func (c *Client) ResizeServer(ctx context.Context, serverId openapi_types.UUID, body ResizeServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeServer Resize Server
Needs a stopped server, and a size from the same runtime profile whose disk is at least as large, because disks never shrink. The server stays stopped afterwards.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{server_id}/resize (the `ResizeServer` operationId).
func (*Client) ResizeServerWithBody ¶
func (c *Client) ResizeServerWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeServerWithBody Resize Server
Needs a stopped server, and a size from the same runtime profile whose disk is at least as large, because disks never shrink. The server stays stopped afterwards.
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{server_id}/resize (the `ResizeServer` operationId).
func (*Client) ResizeVolume ¶
func (c *Client) ResizeVolume(ctx context.Context, volumeId openapi_types.UUID, body ResizeVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeVolume Resize Volume
Takes a body of the `application/json` content type.
Corresponds with POST /v1/volumes/{volume_id}/resize (the `ResizeVolume` operationId).
func (*Client) ResizeVolumeWithBody ¶
func (c *Client) ResizeVolumeWithBody(ctx context.Context, volumeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeVolumeWithBody Resize Volume
Takes any type of body and a specified content type.
Corresponds with POST /v1/volumes/{volume_id}/resize (the `ResizeVolume` operationId).
func (*Client) ResourceReferenceTargets ¶
func (c *Client) ResourceReferenceTargets(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ResourceReferenceTargets Resource Reference Targets
The services, databases and shared variables this service's variables can reference as ${{name.KEY}}, with the keys each offers, for autocomplete. Names only; values are never returned.
Corresponds with GET /v1/resources/{resource_id}/env/references (the `ResourceReferenceTargets` operationId).
func (*Client) RestoreBackup ¶
func (c *Client) RestoreBackup(ctx context.Context, backupId openapi_types.UUID, body RestoreBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreBackup Restore Backup
Restores a completed backup over the current data (backup.restore). `confirm` must be the database's or the cache's name, or the volume's service's name; otherwise it answers 422 confirmation_required. A cache or a volume's service is stopped while its backup is put back. For a Postgres database, `target_time` restores to that moment instead of to the backup as taken. Returns the operation.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/backups/{backup_id}/restore (the `RestoreBackup` operationId).
func (*Client) RestoreBackupWithBody ¶
func (c *Client) RestoreBackupWithBody(ctx context.Context, backupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreBackupWithBody Restore Backup
Restores a completed backup over the current data (backup.restore). `confirm` must be the database's or the cache's name, or the volume's service's name; otherwise it answers 422 confirmation_required. A cache or a volume's service is stopped while its backup is put back. For a Postgres database, `target_time` restores to that moment instead of to the backup as taken. Returns the operation.
Takes any type of body and a specified content type.
Corresponds with POST /v1/backups/{backup_id}/restore (the `RestoreBackup` operationId).
func (*Client) RestoreDatabase ¶
func (c *Client) RestoreDatabase(ctx context.Context, resourceId openapi_types.UUID, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreDatabase Restore Database
Restores a Postgres database to `target_time`, or to its latest backup when `target_time` is left out (backup.restore). The time must fall within the days the database's `backups.retention_days` keeps, and `confirm` must be the database's name. Returns the operation.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/resources/{resource_id}/restore (the `RestoreDatabase` operationId).
func (*Client) RestoreDatabaseWithBody ¶
func (c *Client) RestoreDatabaseWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreDatabaseWithBody Restore Database
Restores a Postgres database to `target_time`, or to its latest backup when `target_time` is left out (backup.restore). The time must fall within the days the database's `backups.retention_days` keeps, and `confirm` must be the database's name. Returns the operation.
Takes any type of body and a specified content type.
Corresponds with POST /v1/resources/{resource_id}/restore (the `RestoreDatabase` operationId).
func (*Client) ResumeSubscription ¶
func (c *Client) ResumeSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ResumeSubscription Resume Subscription
Undoes a cancellation before the period ends.
Corresponds with POST /v1/orgs/{org_id}/billing/subscription/resume (the `ResumeSubscription` operationId).
func (*Client) RetryConnection ¶
func (c *Client) RetryConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RetryConnection Retry Connection
Corresponds with POST /v1/connections/{connection_id}/retry (the `RetryConnection` operationId).
func (*Client) RevealEnvVar ¶
func (c *Client) RevealEnvVar(ctx context.Context, resourceId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
RevealEnvVar Reveal Env Var
Returns a secret value in plain text. Every reveal is audited, and a sealed variable answers 409 variable_sealed.
Corresponds with POST /v1/resources/{resource_id}/env/{key}/reveal (the `RevealEnvVar` operationId).
func (*Client) RevealSharedVariable ¶
func (c *Client) RevealSharedVariable(ctx context.Context, environmentId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
RevealSharedVariable Reveal Shared Variable
Corresponds with POST /v1/environments/{environment_id}/variables/{key}/reveal (the `RevealSharedVariable` operationId).
func (*Client) RevertServerSnapshot ¶
func (c *Client) RevertServerSnapshot(ctx context.Context, serverId openapi_types.UUID, snapshotId int, body RevertServerSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RevertServerSnapshot Revert Server Snapshot
Puts the disk back as the snapshot holds it. The server has to be stopped, what was written since is lost, and `confirm` must be the server's name.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{server_id}/snapshots/{snapshot_id}/revert (the `RevertServerSnapshot` operationId).
func (*Client) RevertServerSnapshotWithBody ¶
func (c *Client) RevertServerSnapshotWithBody(ctx context.Context, serverId openapi_types.UUID, snapshotId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RevertServerSnapshotWithBody Revert Server Snapshot
Puts the disk back as the snapshot holds it. The server has to be stopped, what was written since is lost, and `confirm` must be the server's name.
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{server_id}/snapshots/{snapshot_id}/revert (the `RevertServerSnapshot` operationId).
func (*Client) RevokeApiKey ¶
func (c *Client) RevokeApiKey(ctx context.Context, apiKeyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeApiKey Revoke Api Key
Corresponds with DELETE /v1/api-keys/{api_key_id} (the `RevokeApiKey` operationId).
func (*Client) RevokeInvitation ¶
func (c *Client) RevokeInvitation(ctx context.Context, invitationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeInvitation Revoke Invitation
Revoking twice is harmless. 409 invitation_accepted once it was used.
Corresponds with DELETE /v1/invitations/{invitation_id} (the `RevokeInvitation` operationId).
func (*Client) RevokeMySession ¶
func (c *Client) RevokeMySession(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeMySession Revoke My Session
Corresponds with DELETE /v1/me/sessions/{session_id} (the `RevokeMySession` operationId).
func (*Client) RevokeProjectToken ¶
func (c *Client) RevokeProjectToken(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeProjectToken Revoke Project Token
Corresponds with DELETE /v1/project-tokens/{token_id} (the `RevokeProjectToken` operationId).
func (*Client) RevokeProviderKey ¶
func (c *Client) RevokeProviderKey(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeProviderKey Revoke Provider Key
Corresponds with DELETE /v1/ai/provider-keys/{key_id} (the `RevokeProviderKey` operationId).
func (*Client) RollbackDeployment ¶
func (c *Client) RollbackDeployment(ctx context.Context, deploymentId openapi_types.UUID, body RollbackDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RollbackDeployment Rollback Deployment
Deploys an earlier healthy deployment's image again, with the settings and the variables it ran with, or with the service's current variables when `keep_current_variables` is true. Databases, volumes and buckets are not changed, so their data and any migrations stay as they are. Returns the new deployment, whose trigger is `rollback`. A deployment without a recorded image answers 409 no_image, the one serving now 409 already_active, and one from before variables were recorded 409 variables_not_recorded unless the current variables are kept.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/deployments/{deployment_id}/rollback (the `RollbackDeployment` operationId).
func (*Client) RollbackDeploymentWithBody ¶
func (c *Client) RollbackDeploymentWithBody(ctx context.Context, deploymentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RollbackDeploymentWithBody Rollback Deployment
Deploys an earlier healthy deployment's image again, with the settings and the variables it ran with, or with the service's current variables when `keep_current_variables` is true. Databases, volumes and buckets are not changed, so their data and any migrations stay as they are. Returns the new deployment, whose trigger is `rollback`. A deployment without a recorded image answers 409 no_image, the one serving now 409 already_active, and one from before variables were recorded 409 variables_not_recorded unless the current variables are kept.
Takes any type of body and a specified content type.
Corresponds with POST /v1/deployments/{deployment_id}/rollback (the `RollbackDeployment` operationId).
func (*Client) RotateDatabaseCredentials ¶
func (c *Client) RotateDatabaseCredentials(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RotateDatabaseCredentials Rotate Database Credentials
Issues new credentials for every active connection to this database, cache, bucket or queue. Each connection goes active, pending, active: the engine rotates (connection.configure with rotate: true) and revokes the old credential, and Dekka rebinds the app's variables and restarts it. With no active connection it answers 409 no_connections.
Corresponds with POST /v1/resources/{resource_id}/rotate-credentials (the `RotateDatabaseCredentials` operationId).
func (*Client) RotateWebhookSecret ¶
func (c *Client) RotateWebhookSecret(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RotateWebhookSecret Rotate Webhook Secret
Replaces the signing secret at once. The new one is in `secret`, and only in this response.
Corresponds with POST /v1/webhooks/{webhook_id}/rotate-secret (the `RotateWebhookSecret` operationId).
func (*Client) RunDatabaseQuery ¶
func (c *Client) RunDatabaseQuery(ctx context.Context, resourceId openapi_types.UUID, body RunDatabaseQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RunDatabaseQuery Run Database Query
Runs one read-only statement. Anything else is refused here with 422 (empty_query, multiple_statements or query_not_read_only) before it reaches the engine, which also runs it in a READ ONLY transaction. Rows are capped at 500 and the timeout at 10 seconds. Every query is audited with its length and SHA-256, never its text or result.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/resources/{resource_id}/database/query (the `RunDatabaseQuery` operationId).
func (*Client) RunDatabaseQueryWithBody ¶
func (c *Client) RunDatabaseQueryWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RunDatabaseQueryWithBody Run Database Query
Runs one read-only statement. Anything else is refused here with 422 (empty_query, multiple_statements or query_not_read_only) before it reaches the engine, which also runs it in a READ ONLY transaction. Rows are capped at 500 and the timeout at 10 seconds. Every query is audited with its length and SHA-256, never its text or result.
Takes any type of body and a specified content type.
Corresponds with POST /v1/resources/{resource_id}/database/query (the `RunDatabaseQuery` operationId).
func (*Client) RunResourceAction ¶
func (c *Client) RunResourceAction(ctx context.Context, resourceId openapi_types.UUID, action RunResourceActionParamsAction, reqEditors ...RequestEditorFn) (*http.Response, error)
RunResourceAction Run Resource Action
Corresponds with POST /v1/resources/{resource_id}/actions/{action} (the `RunResourceAction` operationId).
func (*Client) RunServerAction ¶
func (c *Client) RunServerAction(ctx context.Context, serverId openapi_types.UUID, action RunServerActionParamsAction, reqEditors ...RequestEditorFn) (*http.Response, error)
RunServerAction Run Server Action
start needs a stopped or failed server; stop and reboot a running one. Another vm operation in progress answers 409 operation_in_progress.
Corresponds with POST /v1/servers/{server_id}/actions/{action} (the `RunServerAction` operationId).
func (*Client) SearchLogs ¶
func (c *Client) SearchLogs(ctx context.Context, projectId openapi_types.UUID, params *SearchLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SearchLogs Search Logs
Deployment and job run log lines in the project, newest first, paged with a keyset cursor.
Corresponds with GET /v1/projects/{project_id}/logs/search (the `SearchLogs` operationId).
func (*Client) ServerCatalog ¶
func (c *Client) ServerCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerCatalog Server Catalog
Runtime profiles, sizes and images for virtual servers. Prices are a hypothesis in GHS, and a server is billed at the hourly price for every hour it exists. A profile is `offered` when the engine advertises it right now, and a size is `available` when a ready host has room for it; when the engine cannot be reached nothing is offered or available, and `capacity_known` says so.
Corresponds with GET /v1/catalog/servers (the `ServerCatalog` operationId).
func (*Client) SetDefaultPaymentMethod ¶
func (c *Client) SetDefaultPaymentMethod(ctx context.Context, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
SetDefaultPaymentMethod Set Default Payment Method
Corresponds with POST /v1/orgs/{org_id}/billing/payment-methods/{payment_method_id}/default (the `SetDefaultPaymentMethod` operationId).
func (*Client) SetServerRootPassword ¶
func (c *Client) SetServerRootPassword(ctx context.Context, serverId openapi_types.UUID, body SetServerRootPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetServerRootPassword Set Server Root Password
Sets root's password on a KVM server. It takes effect the next time the server is started after being stopped, and is asked for on the server's console and nowhere else, since SSH takes keys only. The password is hashed here and is never stored or logged. Like the console it opens, this takes a signed-in person and not an API key.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/servers/{server_id}/root-password (the `SetServerRootPassword` operationId).
func (*Client) SetServerRootPasswordWithBody ¶
func (c *Client) SetServerRootPasswordWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetServerRootPasswordWithBody Set Server Root Password
Sets root's password on a KVM server. It takes effect the next time the server is started after being stopped, and is asked for on the server's console and nowhere else, since SSH takes keys only. The password is hashed here and is never stored or logged. Like the console it opens, this takes a signed-in person and not an API key.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/servers/{server_id}/root-password (the `SetServerRootPassword` operationId).
func (*Client) SetServerSnapshotSchedule ¶
func (c *Client) SetServerSnapshotSchedule(ctx context.Context, serverId openapi_types.UUID, body SetServerSnapshotScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetServerSnapshotSchedule Set Server Snapshot Schedule
Turns the nightly snapshot on or off. The newest `keep` nightly snapshots are kept, and the ones people took are left alone.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/servers/{server_id}/snapshots/schedule (the `SetServerSnapshotSchedule` operationId).
func (*Client) SetServerSnapshotScheduleWithBody ¶
func (c *Client) SetServerSnapshotScheduleWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetServerSnapshotScheduleWithBody Set Server Snapshot Schedule
Turns the nightly snapshot on or off. The newest `keep` nightly snapshots are kept, and the ones people took are left alone.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/servers/{server_id}/snapshots/schedule (the `SetServerSnapshotSchedule` operationId).
func (*Client) SimulateGithubPullRequest ¶
func (c *Client) SimulateGithubPullRequest(ctx context.Context, body SimulateGithubPullRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulateGithubPullRequest Simulate Github Pull Request
Development only. Builds a signed pull_request delivery and sends it through the same webhook handling as GitHub's.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/dev/github/simulate-pull-request (the `SimulateGithubPullRequest` operationId).
func (*Client) SimulateGithubPullRequestWithBody ¶
func (c *Client) SimulateGithubPullRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulateGithubPullRequestWithBody Simulate Github Pull Request
Development only. Builds a signed pull_request delivery and sends it through the same webhook handling as GitHub's.
Takes any type of body and a specified content type.
Corresponds with POST /v1/dev/github/simulate-pull-request (the `SimulateGithubPullRequest` operationId).
func (*Client) SimulateGithubPush ¶
func (c *Client) SimulateGithubPush(ctx context.Context, body SimulateGithubPushJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulateGithubPush Simulate Github Push
Development only. Builds a signed push delivery and sends it through the same webhook handling as GitHub's.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/dev/github/simulate-push (the `SimulateGithubPush` operationId).
func (*Client) SimulateGithubPushWithBody ¶
func (c *Client) SimulateGithubPushWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulateGithubPushWithBody Simulate Github Push
Development only. Builds a signed push delivery and sends it through the same webhook handling as GitHub's.
Takes any type of body and a specified content type.
Corresponds with POST /v1/dev/github/simulate-push (the `SimulateGithubPush` operationId).
func (*Client) StageChange ¶
func (c *Client) StageChange(ctx context.Context, environmentId openapi_types.UUID, body StageChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StageChange Stage Change
Stages one change in the environment's manual draft, validated as the direct endpoint would validate it (references included) against the environment plus what is already staged. Nothing changes until the changeset is deployed. A staged variable's value is encrypted and never returned.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/environments/{environment_id}/changeset/changes (the `StageChange` operationId).
func (*Client) StageChangeWithBody ¶
func (c *Client) StageChangeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StageChangeWithBody Stage Change
Stages one change in the environment's manual draft, validated as the direct endpoint would validate it (references included) against the environment plus what is already staged. Nothing changes until the changeset is deployed. A staged variable's value is encrypted and never returned.
Takes any type of body and a specified content type.
Corresponds with POST /v1/environments/{environment_id}/changeset/changes (the `StageChange` operationId).
func (*Client) StartBillingCheckout ¶
func (c *Client) StartBillingCheckout(ctx context.Context, orgId openapi_types.UUID, body StartBillingCheckoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartBillingCheckout Start Billing Checkout
Starts a hosted checkout to move to a more expensive plan. Send the browser to `authorization_url`; Paystack returns it to the callback.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/orgs/{org_id}/billing/checkout (the `StartBillingCheckout` operationId).
func (*Client) StartBillingCheckoutWithBody ¶
func (c *Client) StartBillingCheckoutWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartBillingCheckoutWithBody Start Billing Checkout
Starts a hosted checkout to move to a more expensive plan. Send the browser to `authorization_url`; Paystack returns it to the callback.
Takes any type of body and a specified content type.
Corresponds with POST /v1/orgs/{org_id}/billing/checkout (the `StartBillingCheckout` operationId).
func (*Client) StartCliLogin ¶
func (c *Client) StartCliLogin(ctx context.Context, body StartCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartCliLogin Start Cli Login
Start signing the CLI in. Needs no credentials. Show the person `user_code` and `verification_url`, then ask `POST /cli/logins/token` every `interval` seconds until it answers with the key.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/cli/logins (the `StartCliLogin` operationId).
func (*Client) StartCliLoginWithBody ¶
func (c *Client) StartCliLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartCliLoginWithBody Start Cli Login
Start signing the CLI in. Needs no credentials. Show the person `user_code` and `verification_url`, then ask `POST /cli/logins/token` every `interval` seconds until it answers with the key.
Takes any type of body and a specified content type.
Corresponds with POST /v1/cli/logins (the `StartCliLogin` operationId).
func (*Client) StartEmailSignIn ¶
func (c *Client) StartEmailSignIn(ctx context.Context, body StartEmailSignInJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartEmailSignIn Start Email Sign In
Emails a link to `WEB_URL/magic?token=…`. For an existing account the link signs in; otherwise it creates the account (with `name`, if given) when opened. The response is always 202 `{"sent": true}`, so it does not reveal whether an account exists.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/email (the `StartEmailSignIn` operationId).
func (*Client) StartEmailSignInWithBody ¶
func (c *Client) StartEmailSignInWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartEmailSignInWithBody Start Email Sign In
Emails a link to `WEB_URL/magic?token=…`. For an existing account the link signs in; otherwise it creates the account (with `name`, if given) when opened. The response is always 202 `{"sent": true}`, so it does not reveal whether an account exists.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/email (the `StartEmailSignIn` operationId).
func (*Client) StreamDeploymentLogs ¶
func (c *Client) StreamDeploymentLogs(ctx context.Context, deploymentId openapi_types.UUID, params *StreamDeploymentLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
StreamDeploymentLogs Stream Deployment Logs
Streams log lines as `event: log` (with `id: <seq>` so reconnects resume via Last-Event-ID), sends heartbeats, and ends with `event: end` once the deployment has finished.
Corresponds with GET /v1/deployments/{deployment_id}/logs/stream (the `StreamDeploymentLogs` operationId).
func (*Client) StreamProjectEvents ¶
func (c *Client) StreamProjectEvents(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
StreamProjectEvents Stream Project Events
Operation, resource, connection and deployment changes as they commit. Each event's `data` is JSON with at least `type` and `id`; a comment line is sent every 15 seconds as a heartbeat.
Corresponds with GET /v1/projects/{project_id}/events (the `StreamProjectEvents` operationId).
func (*Client) SubdomainAvailability ¶
func (c *Client) SubdomainAvailability(ctx context.Context, params *SubdomainAvailabilityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SubdomainAvailability Subdomain Availability
Says whether a web service can take `subdomain`.apps.dekka.cloud. A label is lowercase letters, digits and hyphens, 3 to 40 characters, not one of Dekka's own names, and free across every organisation. The answer is a snapshot: creating the service with `subdomain` set is what claims it, and a label taken in between answers 409 subdomain_taken there.
Corresponds with GET /v1/domains/availability (the `SubdomainAvailability` operationId).
func (*Client) SwitchServerShellOff ¶
func (c *Client) SwitchServerShellOff(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
SwitchServerShellOff Switch Server Shell Off
Switches the shell off. The key that signs for the server is deleted and any shell open on it ends, so nothing can sign in that way until it is switched on again, which makes a new key.
Corresponds with DELETE /v1/servers/{server_id}/shell (the `SwitchServerShellOff` operationId).
func (*Client) SwitchServerShellOn ¶
func (c *Client) SwitchServerShellOn(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
SwitchServerShellOn Switch Server Shell On
Switches the shell on for a KVM server: a terminal from its page, signed in as root with a certificate that is signed for the one session and lasts two minutes, so no key or password of the customer's is used. A server created with the shell on trusts it already. One that was not is given a command here to run once as root. Asking again answers the same command and changes nothing. Like the shell it opens, this takes a signed-in person and not an API key.
Corresponds with PUT /v1/servers/{server_id}/shell (the `SwitchServerShellOn` operationId).
func (*Client) TestWebhook ¶
func (c *Client) TestWebhook(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
TestWebhook Test Webhook
Sends a `webhook.test` event now, even when the webhook is turned off, and returns the delivery with the endpoint's answer. A failed test is not retried.
Corresponds with POST /v1/webhooks/{webhook_id}/test (the `TestWebhook` operationId).
func (*Client) TranslateCompose ¶
func (c *Client) TranslateCompose(ctx context.Context, body TranslateComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TranslateCompose Translate Compose
Translates a Docker Compose file into a dekka.yaml without an environment, with a report of what carried over (applied), what changed shape (adjusted, such as a postgres container becoming a managed database with a connection) and what was left out (unsupported). Nothing is created. A file that can't be read answers 422 invalid_compose.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/compose/translate (the `TranslateCompose` operationId).
func (*Client) TranslateComposeWithBody ¶
func (c *Client) TranslateComposeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TranslateComposeWithBody Translate Compose
Translates a Docker Compose file into a dekka.yaml without an environment, with a report of what carried over (applied), what changed shape (adjusted, such as a postgres container becoming a managed database with a connection) and what was left out (unsupported). Nothing is created. A file that can't be read answers 422 invalid_compose.
Takes any type of body and a specified content type.
Corresponds with POST /v1/compose/translate (the `TranslateCompose` operationId).
func (*Client) UpdateEnvironment ¶
func (c *Client) UpdateEnvironment(ctx context.Context, environmentId openapi_types.UUID, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEnvironment Update Environment
Renames the environment and its slug. DEKKA_ENVIRONMENT follows the new name from each service's next deploy. Private hostnames (`<slug>.internal.<region>.dekka.cloud`) carry no environment, so they stay.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/environments/{environment_id} (the `UpdateEnvironment` operationId).
func (*Client) UpdateEnvironmentWithBody ¶
func (c *Client) UpdateEnvironmentWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEnvironmentWithBody Update Environment
Renames the environment and its slug. DEKKA_ENVIRONMENT follows the new name from each service's next deploy. Private hostnames (`<slug>.internal.<region>.dekka.cloud`) carry no environment, so they stay.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/environments/{environment_id} (the `UpdateEnvironment` operationId).
func (*Client) UpdateInferenceEndpoint ¶
func (c *Client) UpdateInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, body UpdateInferenceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateInferenceEndpoint Update Inference Endpoint
Change the model, GPU class or replica range. The name, and so the gateway model id, stays fixed.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/inference-endpoints/{endpoint_id} (the `UpdateInferenceEndpoint` operationId).
func (*Client) UpdateInferenceEndpointWithBody ¶
func (c *Client) UpdateInferenceEndpointWithBody(ctx context.Context, endpointId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateInferenceEndpointWithBody Update Inference Endpoint
Change the model, GPU class or replica range. The name, and so the gateway model id, stays fixed.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/inference-endpoints/{endpoint_id} (the `UpdateInferenceEndpoint` operationId).
func (*Client) UpdateMe ¶
func (c *Client) UpdateMe(ctx context.Context, body UpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMe Update Me
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/me (the `UpdateMe` operationId).
func (*Client) UpdateMeWithBody ¶
func (c *Client) UpdateMeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMeWithBody Update Me
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/me (the `UpdateMe` operationId).
func (*Client) UpdateOrg ¶
func (c *Client) UpdateOrg(ctx context.Context, orgId openapi_types.UUID, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrg Update Org
Rename an organization or change its address (the part of the dashboard URL after /app/).
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/orgs/{org_id} (the `UpdateOrg` operationId).
func (*Client) UpdateOrgMember ¶
func (c *Client) UpdateOrgMember(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, body UpdateOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrgMember Update Org Member
Only owners can make someone an owner or change an owner's role (403 owner_required). 409 last_owner when it would leave no owner.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/orgs/{org_id}/members/{user_id} (the `UpdateOrgMember` operationId).
func (*Client) UpdateOrgMemberWithBody ¶
func (c *Client) UpdateOrgMemberWithBody(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrgMemberWithBody Update Org Member
Only owners can make someone an owner or change an owner's role (403 owner_required). 409 last_owner when it would leave no owner.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/orgs/{org_id}/members/{user_id} (the `UpdateOrgMember` operationId).
func (*Client) UpdateOrgWithBody ¶
func (c *Client) UpdateOrgWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrgWithBody Update Org
Rename an organization or change its address (the part of the dashboard URL after /app/).
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/orgs/{org_id} (the `UpdateOrg` operationId).
func (*Client) UpdateProject ¶
func (c *Client) UpdateProject(ctx context.Context, projectId openapi_types.UUID, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProject Update Project
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/projects/{project_id} (the `UpdateProject` operationId).
func (*Client) UpdateProjectWithBody ¶
func (c *Client) UpdateProjectWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProjectWithBody Update Project
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/projects/{project_id} (the `UpdateProject` operationId).
func (*Client) UpdateResource ¶
func (c *Client) UpdateResource(ctx context.Context, resourceId openapi_types.UUID, body UpdateResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateResource Update Resource
Renames, replaces the spec, changes an application's apps.dekka.cloud subdomain, or moves a service to another region. Spec changes apply on the next deploy; a subdomain change re-routes a running service at once. A schedule in the spec turns a service into a scheduled job and clearing it turns it back, which is audited as resource.kind_changed.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/resources/{resource_id} (the `UpdateResource` operationId).
func (*Client) UpdateResourceWithBody ¶
func (c *Client) UpdateResourceWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateResourceWithBody Update Resource
Renames, replaces the spec, changes an application's apps.dekka.cloud subdomain, or moves a service to another region. Spec changes apply on the next deploy; a subdomain change re-routes a running service at once. A schedule in the spec turns a service into a scheduled job and clearing it turns it back, which is audited as resource.kind_changed.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/resources/{resource_id} (the `UpdateResource` operationId).
func (*Client) UpdateWebhook ¶
func (c *Client) UpdateWebhook(ctx context.Context, webhookId openapi_types.UUID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWebhook Update Webhook
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/webhooks/{webhook_id} (the `UpdateWebhook` operationId).
func (*Client) UpdateWebhookWithBody ¶
func (c *Client) UpdateWebhookWithBody(ctx context.Context, webhookId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWebhookWithBody Update Webhook
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/webhooks/{webhook_id} (the `UpdateWebhook` operationId).
func (*Client) ValidateBlueprint ¶
func (c *Client) ValidateBlueprint(ctx context.Context, body ValidateBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ValidateBlueprint Validate Blueprint
Checks a blueprint without an environment. Every problem is listed with its path, and a valid blueprint comes back with every spec normalised (defaults filled in, kinds derived from cron schedules).
Takes a body of the `application/json` content type.
Corresponds with POST /v1/blueprints/validate (the `ValidateBlueprint` operationId).
func (*Client) ValidateBlueprintWithBody ¶
func (c *Client) ValidateBlueprintWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ValidateBlueprintWithBody Validate Blueprint
Checks a blueprint without an environment. Every problem is listed with its path, and a valid blueprint comes back with every spec normalised (defaults filled in, kinds derived from cron schedules).
Takes any type of body and a specified content type.
Corresponds with POST /v1/blueprints/validate (the `ValidateBlueprint` operationId).
func (*Client) VerifyBillingCheckout ¶
func (c *Client) VerifyBillingCheckout(ctx context.Context, orgId openapi_types.UUID, reference string, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyBillingCheckout Verify Billing Checkout
Asks the provider for the checkout's outcome and applies it. Repeating it is harmless.
Corresponds with POST /v1/orgs/{org_id}/billing/checkout/{reference}/verify (the `VerifyBillingCheckout` operationId).
func (*Client) VerifyDomain ¶
func (c *Client) VerifyDomain(ctx context.Context, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyDomain Verify Domain
Looks up the TXT record now. Success makes the domain active and starts certificate issuance; otherwise the domain is failed with the reason, and verifying again after fixing DNS is fine.
Corresponds with POST /v1/domains/{domain_id}/verify (the `VerifyDomain` operationId).
func (*Client) WithdrawGpuRequest ¶
func (c *Client) WithdrawGpuRequest(ctx context.Context, requestId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
WithdrawGpuRequest Withdraw Gpu Request
Withdraw a request. It is closed and no longer listed.
Corresponds with DELETE /v1/gpu-requests/{request_id} (the `WithdrawGpuRequest` operationId).
type ClientInterface ¶
type ClientInterface interface {
// CreateSpeechWithBody Create Speech
//
// OpenAI-compatible text to speech with a speech model such as
// openai/gpt-4o-mini-tts. The reply body is the audio itself, and the
// X-Dekka-Provider and X-Dekka-Model headers say what answered.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ai/audio/speech (the `CreateSpeech` operationId).
CreateSpeechWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSpeech Create Speech
//
// OpenAI-compatible text to speech with a speech model such as
// openai/gpt-4o-mini-tts. The reply body is the audio itself, and the
// X-Dekka-Provider and X-Dekka-Model headers say what answered.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ai/audio/speech (the `CreateSpeech` operationId).
CreateSpeech(ctx context.Context, body CreateSpeechJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTranscriptionWithBody Create Transcription
//
// OpenAI-compatible transcription, sent as multipart form data with a
// transcription model such as openai/gpt-4o-mini-transcribe. The audio is
// passed to the provider and never stored.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ai/audio/transcriptions (the `CreateTranscription` operationId).
CreateTranscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateChatCompletionWithBody Create Chat Completion
//
// OpenAI-compatible chat completions. Set `model` to a catalogue id such as
// openai/gpt-4.1-mini. With `stream: true` the reply is server-sent events
// ending in `data: [DONE]`, and the last chunk before it carries usage. The
// response headers X-Dekka-Provider and X-Dekka-Model say what answered.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ai/chat/completions (the `CreateChatCompletion` operationId).
CreateChatCompletionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateChatCompletion Create Chat Completion
//
// OpenAI-compatible chat completions. Set `model` to a catalogue id such as
// openai/gpt-4.1-mini. With `stream: true` the reply is server-sent events
// ending in `data: [DONE]`, and the last chunk before it carries usage. The
// response headers X-Dekka-Provider and X-Dekka-Model say what answered.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ai/chat/completions (the `CreateChatCompletion` operationId).
CreateChatCompletion(ctx context.Context, body CreateChatCompletionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateImageWithBody Create Image
//
// OpenAI-compatible image generation with an image model such as
// openai/gpt-image-2. Images come back as base64 in `b64_json` and are never
// stored, so `response_format: url` answers 422. Usage counts the prompt's
// text tokens and the image tokens the provider reports.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ai/images/generations (the `CreateImage` operationId).
CreateImageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateImage Create Image
//
// OpenAI-compatible image generation with an image model such as
// openai/gpt-image-2. Images come back as base64 in `b64_json` and are never
// stored, so `response_format: url` answers 422. Usage counts the prompt's
// text tokens and the image tokens the provider reports.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ai/images/generations (the `CreateImage` operationId).
CreateImage(ctx context.Context, body CreateImageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGatewayModels List Gateway Models
//
// OpenAI's model list: the available models this key's project may use,
// then the organization's private inference endpoints as private/<slug>,
// owned by `private`. Those are waitlisted and get a simulated reply
// outside production.
//
// Corresponds with GET /v1/ai/models (the `ListGatewayModels` operationId).
ListGatewayModels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeProviderKey Revoke Provider Key
//
// Corresponds with DELETE /v1/ai/provider-keys/{key_id} (the `RevokeProviderKey` operationId).
RevokeProviderKey(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RecordAnalyticsEventWithBody Record Analytics Event
//
// Beacon endpoint for `navigator.sendBeacon`. Public, without CSRF, and
// rate limited per IP. The body is JSON whatever the Content-Type, because
// sendBeacon with a string sends text/plain. No raw IP or user agent is
// stored; see ADR 0017.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/analytics/events (the `RecordAnalyticsEvent` operationId).
RecordAnalyticsEventWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RecordAnalyticsEvent Record Analytics Event
//
// Beacon endpoint for `navigator.sendBeacon`. Public, without CSRF, and
// rate limited per IP. The body is JSON whatever the Content-Type, because
// sendBeacon with a string sends text/plain. No raw IP or user agent is
// stored; see ADR 0017.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/analytics/events (the `RecordAnalyticsEvent` operationId).
RecordAnalyticsEvent(ctx context.Context, body RecordAnalyticsEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAnalyticsSummary Get Analytics Summary
//
// Daily counts by event name, top paths and top referrers. Staff only.
//
// Corresponds with GET /v1/analytics/summary (the `GetAnalyticsSummary` operationId).
GetAnalyticsSummary(ctx context.Context, params *GetAnalyticsSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAnnouncement Get Announcement
//
// The line an admin has set to show across the top of the dashboard, if any.
//
// Corresponds with GET /v1/announcement (the `GetAnnouncement` operationId).
GetAnnouncement(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeApiKey Revoke Api Key
//
// Corresponds with DELETE /v1/api-keys/{api_key_id} (the `RevokeApiKey` operationId).
RevokeApiKey(ctx context.Context, apiKeyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCsrfToken Get Csrf Token
//
// Returns the CSRF token and sets the CSRF cookie if needed (`__Host-dekka_csrf`
// in production). Send the token as `X-CSRF-Token` on every mutating request.
//
// Corresponds with GET /v1/auth/csrf (the `GetCsrfToken` operationId).
GetCsrfToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartEmailSignInWithBody Start Email Sign In
//
// Emails a link to `WEB_URL/magic?token=…`. For an existing account the
// link signs in; otherwise it creates the account (with `name`, if given)
// when opened. The response is always 202 `{"sent": true}`, so it does not
// reveal whether an account exists.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/email (the `StartEmailSignIn` operationId).
StartEmailSignInWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartEmailSignIn Start Email Sign In
//
// Emails a link to `WEB_URL/magic?token=…`. For an existing account the
// link signs in; otherwise it creates the account (with `name`, if given)
// when opened. The response is always 202 `{"sent": true}`, so it does not
// reveal whether an account exists.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/email (the `StartEmailSignIn` operationId).
StartEmailSignIn(ctx context.Context, body StartEmailSignInJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GithubLoginCallback Github Login Callback
//
// Corresponds with GET /v1/auth/github/callback (the `GithubLoginCallback` operationId).
GithubLoginCallback(ctx context.Context, params *GithubLoginCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GithubLoginStart Github Login Start
//
// Redirects to GitHub's authorization page (or straight back with the fake provider).
// Started while signed in, it links GitHub to that account, and the state records
// which session asked so the callback can't link to anyone else.
//
// Corresponds with GET /v1/auth/github/start (the `GithubLoginStart` operationId).
GithubLoginStart(ctx context.Context, params *GithubLoginStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoogleLoginCallback Google Login Callback
//
// Google's redirect target. Failures go to `/login?error=google_<reason>`
// on the web app, with reason one of denied, state, unavailable, exchange
// or email_unverified.
//
// Corresponds with GET /v1/auth/google/callback (the `GoogleLoginCallback` operationId).
GoogleLoginCallback(ctx context.Context, params *GoogleLoginCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GoogleLoginStart Google Login Start
//
// Redirects to Google's consent screen (or straight back with the fake provider).
// Started while signed in, it links Google to that account only.
//
// Corresponds with GET /v1/auth/google/start (the `GoogleLoginStart` operationId).
GoogleLoginStart(ctx context.Context, params *GoogleLoginStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// Logout Logout
//
// Corresponds with POST /v1/auth/logout (the `Logout` operationId).
Logout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestMagicLinkWithBody Request Magic Link
//
// Alias of `POST /v1/auth/email`, kept for one release.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/magic-link (the `RequestMagicLink` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
RequestMagicLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestMagicLink Request Magic Link
//
// Alias of `POST /v1/auth/email`, kept for one release.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/magic-link (the `RequestMagicLink` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
RequestMagicLink(ctx context.Context, body RequestMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConsumeMagicLinkWithBody Consume Magic Link
//
// Opens a sign-in or sign-up link and sets the session cookie. A sign-up
// link creates the account first (verified email, personal organization,
// Free plan), and `new_account` is true. Opened in a browser other than the one
// that asked for it, the link answers 409 `confirm_sign_in` with the account's
// `email` in details until it is sent again with `confirm: true`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/magic-link/consume (the `ConsumeMagicLink` operationId).
ConsumeMagicLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConsumeMagicLink Consume Magic Link
//
// Opens a sign-in or sign-up link and sets the session cookie. A sign-up
// link creates the account first (verified email, personal organization,
// Free plan), and `new_account` is true. Opened in a browser other than the one
// that asked for it, the link answers 409 `confirm_sign_in` with the account's
// `email` in details until it is sent again with `confirm: true`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/magic-link/consume (the `ConsumeMagicLink` operationId).
ConsumeMagicLink(ctx context.Context, body ConsumeMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeySignInWithBody Passkey Sign In
//
// Verifies the assertion from `navigator.credentials.get()` and sets the session cookie.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/passkey (the `PasskeySignIn` operationId).
PasskeySignInWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeySignIn Passkey Sign In
//
// Verifies the assertion from `navigator.credentials.get()` and sets the session cookie.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/passkey (the `PasskeySignIn` operationId).
PasskeySignIn(ctx context.Context, body PasskeySignInJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeySignInOptionsWithBody Passkey Sign In Options
//
// PublicKeyCredentialRequestOptions JSON for `navigator.credentials.get()`.
// Without an email, `allowCredentials` is empty and the browser offers any
// passkey it holds for this site.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/passkey/options (the `PasskeySignInOptions` operationId).
PasskeySignInOptionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeySignInOptions Passkey Sign In Options
//
// PublicKeyCredentialRequestOptions JSON for `navigator.credentials.get()`.
// Without an email, `allowCredentials` is empty and the browser offers any
// passkey it holds for this site.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/passkey/options (the `PasskeySignInOptions` operationId).
PasskeySignInOptions(ctx context.Context, body PasskeySignInOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackup Get Backup
//
// Corresponds with GET /v1/backups/{backup_id} (the `GetBackup` operationId).
GetBackup(ctx context.Context, backupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreBackupWithBody Restore Backup
//
// Restores a completed backup over the current data (backup.restore).
// `confirm` must be the database's or the cache's name, or the volume's
// service's name; otherwise it answers 422 confirmation_required. A cache
// or a volume's service is stopped while its backup is put back. For a
// Postgres database, `target_time` restores to that moment instead of to
// the backup as taken. Returns the operation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/backups/{backup_id}/restore (the `RestoreBackup` operationId).
RestoreBackupWithBody(ctx context.Context, backupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreBackup Restore Backup
//
// Restores a completed backup over the current data (backup.restore).
// `confirm` must be the database's or the cache's name, or the volume's
// service's name; otherwise it answers 422 confirmation_required. A cache
// or a volume's service is stopped while its backup is put back. For a
// Postgres database, `target_time` restores to that moment instead of to
// the backup as taken. Returns the operation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/backups/{backup_id}/restore (the `RestoreBackup` operationId).
RestoreBackup(ctx context.Context, backupId openapi_types.UUID, body RestoreBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PaystackCheckoutCallback Paystack Checkout Callback
//
// Paystack's callback_url. Verifies the transaction with Paystack, applies
// it, and redirects to the dashboard with `?billing=<status>&reference=`.
//
// Corresponds with GET /v1/billing/paystack/callback (the `PaystackCheckoutCallback` operationId).
PaystackCheckoutCallback(ctx context.Context, params *PaystackCheckoutCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReceivePaystackWebhook Receive Paystack Webhook
//
// Paystack webhook. Verified with `x-paystack-signature` (HMAC-SHA512 of the
// raw body under the secret key) and deduplicated on the body's hash.
//
// Corresponds with POST /v1/billing/paystack/webhook (the `ReceivePaystackWebhook` operationId).
ReceivePaystackWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidateBlueprintWithBody Validate Blueprint
//
// Checks a blueprint without an environment. Every problem is listed
// with its path, and a valid blueprint comes back with every spec
// normalised (defaults filled in, kinds derived from cron schedules).
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/blueprints/validate (the `ValidateBlueprint` operationId).
ValidateBlueprintWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidateBlueprint Validate Blueprint
//
// Checks a blueprint without an environment. Every problem is listed
// with its path, and a valid blueprint comes back with every spec
// normalised (defaults filled in, kinds derived from cron schedules).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/blueprints/validate (the `ValidateBlueprint` operationId).
ValidateBlueprint(ctx context.Context, body ValidateBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAiModels List Ai Models
//
// Every model in the catalogue at the providers' list prices in US
// dollars, which are a snapshot to check before launch. Both providers
// process requests in the United States, outside Ghana.
//
// Corresponds with GET /v1/catalog/ai-models (the `ListAiModels` operationId).
ListAiModels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GpuCatalog Gpu Catalog
//
// GPU instances Dekka plans to offer. None can be provisioned yet, so
// every entry is on the waitlist and has no price until a host quotes.
//
// Corresponds with GET /v1/catalog/gpu-instances (the `GpuCatalog` operationId).
GpuCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPlans List Plans
//
// Corresponds with GET /v1/catalog/plans (the `ListPlans` operationId).
ListPlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPrices List Prices
//
// PostgreSQL and Redis tiers, object storage rates, and what goes on
// being charged while a resource is stopped, from app/catalog/prices.yaml.
// The prices are a hypothesis in GHS, before tax. A tier id is a SKU that
// POST /v1/resources accepts as `spec.sku`, and POST /v1/estimates prices
// with these. Billing moves to them once the migration in
// docs/billing-catalogue-migration.md is approved.
//
// Corresponds with GET /v1/catalog/prices (the `ListPrices` operationId).
ListPrices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerCatalog Server Catalog
//
// Runtime profiles, sizes and images for virtual servers. Prices are a
// hypothesis in GHS, and a server is billed at the hourly price for every
// hour it exists. A profile is `offered` when the engine advertises it
// right now, and a size is `available` when a ready host has room for it;
// when the engine cannot be reached nothing is offered or available, and
// `capacity_known` says so.
//
// Corresponds with GET /v1/catalog/servers (the `ServerCatalog` operationId).
ServerCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTemplates List Templates
//
// Templates that can be planned into an environment, featured ones first. Public.
//
// Corresponds with GET /v1/catalog/templates (the `ListTemplates` operationId).
ListTemplates(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTemplate Get Template
//
// Corresponds with GET /v1/catalog/templates/{template_id} (the `GetTemplate` operationId).
GetTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteChangesetChange Delete Changeset Change
//
// Corresponds with DELETE /v1/changeset-changes/{change_id} (the `DeleteChangesetChange` operationId).
DeleteChangesetChange(ctx context.Context, changeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChangeset Get Changeset
//
// Corresponds with GET /v1/changesets/{changeset_id} (the `GetChangeset` operationId).
GetChangeset(ctx context.Context, changesetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeployChangesetWithBody Deploy Changeset
//
// Applies every change in one transaction through the same services as
// the direct endpoints, then creates one deployment (trigger config_change)
// per existing service whose settings or variables changed. New services
// get their initial deployment. Returns the changeset with each change's
// result and every operation queued. A blueprint or template plan whose
// environment changed since it was computed is marked stale and answers 409
// plan_stale; an error in any change answers that change's error, with its
// id in the details, and applies nothing.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/changesets/{changeset_id}/deploy (the `DeployChangeset` operationId).
DeployChangesetWithBody(ctx context.Context, changesetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeployChangeset Deploy Changeset
//
// Applies every change in one transaction through the same services as
// the direct endpoints, then creates one deployment (trigger config_change)
// per existing service whose settings or variables changed. New services
// get their initial deployment. Returns the changeset with each change's
// result and every operation queued. A blueprint or template plan whose
// environment changed since it was computed is marked stale and answers 409
// plan_stale; an error in any change answers that change's error, with its
// id in the details, and applies nothing.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/changesets/{changeset_id}/deploy (the `DeployChangeset` operationId).
DeployChangeset(ctx context.Context, changesetId openapi_types.UUID, body DeployChangesetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DiscardChangeset Discard Changeset
//
// Corresponds with POST /v1/changesets/{changeset_id}/discard (the `DiscardChangeset` operationId).
DiscardChangeset(ctx context.Context, changesetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartCliLoginWithBody Start Cli Login
//
// Start signing the CLI in. Needs no credentials. Show the person
// `user_code` and `verification_url`, then ask `POST /cli/logins/token`
// every `interval` seconds until it answers with the key.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/cli/logins (the `StartCliLogin` operationId).
StartCliLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartCliLogin Start Cli Login
//
// Start signing the CLI in. Needs no credentials. Show the person
// `user_code` and `verification_url`, then ask `POST /cli/logins/token`
// every `interval` seconds until it answers with the key.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/cli/logins (the `StartCliLogin` operationId).
StartCliLogin(ctx context.Context, body StartCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CollectCliLoginWithBody Collect Cli Login
//
// Collect the key once the person has approved. Until then this answers
// 400 with the code `authorization_pending`, and the CLI asks again. It
// answers `access_denied` if they refused and `expired_token` once the
// attempt is over or the key has been collected.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/cli/logins/token (the `CollectCliLogin` operationId).
CollectCliLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CollectCliLogin Collect Cli Login
//
// Collect the key once the person has approved. Until then this answers
// 400 with the code `authorization_pending`, and the CLI asks again. It
// answers `access_denied` if they refused and `expired_token` once the
// attempt is over or the key has been collected.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/cli/logins/token (the `CollectCliLogin` operationId).
CollectCliLogin(ctx context.Context, body CollectCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCliLogin Get Cli Login
//
// What the dashboard shows before a sign-in is approved: the machine that
// asked, when, and whether the attempt is still open.
//
// Corresponds with GET /v1/cli/logins/{user_code} (the `GetCliLogin` operationId).
GetCliLogin(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApproveCliLoginWithBody Approve Cli Login
//
// Approve a sign-in for one organisation, which needs the admin role
// there, as creating a key does. It mints a key with the read and write
// scopes, named after the machine.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/cli/logins/{user_code}/approve (the `ApproveCliLogin` operationId).
ApproveCliLoginWithBody(ctx context.Context, userCode string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApproveCliLogin Approve Cli Login
//
// Approve a sign-in for one organisation, which needs the admin role
// there, as creating a key does. It mints a key with the read and write
// scopes, named after the machine.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/cli/logins/{user_code}/approve (the `ApproveCliLogin` operationId).
ApproveCliLogin(ctx context.Context, userCode string, body ApproveCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DenyCliLogin Deny Cli Login
//
// Refuse a sign-in, so the CLI that asked stops waiting.
//
// Corresponds with POST /v1/cli/logins/{user_code}/deny (the `DenyCliLogin` operationId).
DenyCliLogin(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TranslateComposeWithBody Translate Compose
//
// Translates a Docker Compose file into a dekka.yaml without an
// environment, with a report of what carried over (applied), what changed
// shape (adjusted, such as a postgres container becoming a managed database
// with a connection) and what was left out (unsupported). Nothing is created.
// A file that can't be read answers 422 invalid_compose.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/compose/translate (the `TranslateCompose` operationId).
TranslateComposeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TranslateCompose Translate Compose
//
// Translates a Docker Compose file into a dekka.yaml without an
// environment, with a report of what carried over (applied), what changed
// shape (adjusted, such as a postgres container becoming a managed database
// with a connection) and what was left out (unsupported). Nothing is created.
// A file that can't be read answers 422 invalid_compose.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/compose/translate (the `TranslateCompose` operationId).
TranslateCompose(ctx context.Context, body TranslateComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteConnection Delete Connection
//
// Starts disconnecting. The variables are removed once the engine confirms.
//
// Corresponds with DELETE /v1/connections/{connection_id} (the `DeleteConnection` operationId).
DeleteConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetryConnection Retry Connection
//
// Corresponds with POST /v1/connections/{connection_id}/retry (the `RetryConnection` operationId).
RetryConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LeaveAMessageWithBody Leave A Message
//
// A message from the marketing site. It opens a support request that staff answer by email.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/contact (the `LeaveAMessage` operationId).
LeaveAMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LeaveAMessage Leave A Message
//
// A message from the marketing site. It opens a support request that staff answer by email.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/contact (the `LeaveAMessage` operationId).
LeaveAMessage(ctx context.Context, body LeaveAMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeployment Get Deployment
//
// Corresponds with GET /v1/deployments/{deployment_id} (the `GetDeployment` operationId).
GetDeployment(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelDeployment Cancel Deployment
//
// Corresponds with POST /v1/deployments/{deployment_id}/cancel (the `CancelDeployment` operationId).
CancelDeployment(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentLogs Get Deployment Logs
//
// Build and deploy log lines after `after` (a sequence number).
//
// Corresponds with GET /v1/deployments/{deployment_id}/logs (the `GetDeploymentLogs` operationId).
GetDeploymentLogs(ctx context.Context, deploymentId openapi_types.UUID, params *GetDeploymentLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StreamDeploymentLogs Stream Deployment Logs
//
// Streams log lines as `event: log` (with `id: <seq>` so reconnects resume
// via Last-Event-ID), sends heartbeats, and ends with `event: end` once the
// deployment has finished.
//
// Corresponds with GET /v1/deployments/{deployment_id}/logs/stream (the `StreamDeploymentLogs` operationId).
StreamDeploymentLogs(ctx context.Context, deploymentId openapi_types.UUID, params *StreamDeploymentLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveDeployment Remove Deployment
//
// Takes down the deployment that is serving by queueing application.stop.
// It becomes `removed` and the service `stopped` when the engine confirms.
// Any other deployment answers 409 not_active.
//
// Corresponds with POST /v1/deployments/{deployment_id}/remove (the `RemoveDeployment` operationId).
RemoveDeployment(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RollbackDeploymentWithBody Rollback Deployment
//
// Deploys an earlier healthy deployment's image again, with the settings
// and the variables it ran with, or with the service's current variables
// when `keep_current_variables` is true. Databases, volumes and buckets are
// not changed, so their data and any migrations stay as they are. Returns
// the new deployment, whose trigger is `rollback`. A deployment without a
// recorded image answers 409 no_image, the one serving now 409
// already_active, and one from before variables were recorded 409
// variables_not_recorded unless the current variables are kept.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/deployments/{deployment_id}/rollback (the `RollbackDeployment` operationId).
RollbackDeploymentWithBody(ctx context.Context, deploymentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RollbackDeployment Rollback Deployment
//
// Deploys an earlier healthy deployment's image again, with the settings
// and the variables it ran with, or with the service's current variables
// when `keep_current_variables` is true. Databases, volumes and buckets are
// not changed, so their data and any migrations stay as they are. Returns
// the new deployment, whose trigger is `rollback`. A deployment without a
// recorded image answers 409 no_image, the one serving now 409
// already_active, and one from before variables were recorded 409
// variables_not_recorded unless the current variables are kept.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/deployments/{deployment_id}/rollback (the `RollbackDeployment` operationId).
RollbackDeployment(ctx context.Context, deploymentId openapi_types.UUID, body RollbackDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulateGithubPullRequestWithBody Simulate Github Pull Request
//
// Development only. Builds a signed pull_request delivery and sends it
// through the same webhook handling as GitHub's.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/dev/github/simulate-pull-request (the `SimulateGithubPullRequest` operationId).
SimulateGithubPullRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulateGithubPullRequest Simulate Github Pull Request
//
// Development only. Builds a signed pull_request delivery and sends it
// through the same webhook handling as GitHub's.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/dev/github/simulate-pull-request (the `SimulateGithubPullRequest` operationId).
SimulateGithubPullRequest(ctx context.Context, body SimulateGithubPullRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulateGithubPushWithBody Simulate Github Push
//
// Development only. Builds a signed push delivery and sends it through
// the same webhook handling as GitHub's.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/dev/github/simulate-push (the `SimulateGithubPush` operationId).
SimulateGithubPushWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulateGithubPush Simulate Github Push
//
// Development only. Builds a signed push delivery and sends it through
// the same webhook handling as GitHub's.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/dev/github/simulate-push (the `SimulateGithubPush` operationId).
SimulateGithubPush(ctx context.Context, body SimulateGithubPushJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SubdomainAvailability Subdomain Availability
//
// Says whether a web service can take `subdomain`.apps.dekka.cloud. A label
// is lowercase letters, digits and hyphens, 3 to 40 characters, not one of
// Dekka's own names, and free across every organisation. The answer is a
// snapshot: creating the service with `subdomain` set is what claims it, and
// a label taken in between answers 409 subdomain_taken there.
//
// Corresponds with GET /v1/domains/availability (the `SubdomainAvailability` operationId).
SubdomainAvailability(ctx context.Context, params *SubdomainAvailabilityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDomain Delete Domain
//
// Corresponds with DELETE /v1/domains/{domain_id} (the `DeleteDomain` operationId).
DeleteDomain(ctx context.Context, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyDomain Verify Domain
//
// Looks up the TXT record now. Success makes the domain active and starts
// certificate issuance; otherwise the domain is failed with the reason, and
// verifying again after fixing DNS is fine.
//
// Corresponds with POST /v1/domains/{domain_id}/verify (the `VerifyDomain` operationId).
VerifyDomain(ctx context.Context, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyForEarlyAccessWithBody Apply For Early Access
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/early-access (the `ApplyForEarlyAccess` operationId).
ApplyForEarlyAccessWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyForEarlyAccess Apply For Early Access
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/early-access (the `ApplyForEarlyAccess` operationId).
ApplyForEarlyAccess(ctx context.Context, body ApplyForEarlyAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnvironment Delete Environment
//
// Starts deleting every resource in the environment, databases included,
// and marks it `deleting`. The environment disappears once the engine has
// deleted them all. The default environment cannot be deleted.
//
// Corresponds with DELETE /v1/environments/{environment_id} (the `DeleteEnvironment` operationId).
DeleteEnvironment(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironment Get Environment
//
// Corresponds with GET /v1/environments/{environment_id} (the `GetEnvironment` operationId).
GetEnvironment(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEnvironmentWithBody Update Environment
//
// Renames the environment and its slug. DEKKA_ENVIRONMENT follows the new
// name from each service's next deploy. Private hostnames
// (`<slug>.internal.<region>.dekka.cloud`) carry no environment, so they stay.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/environments/{environment_id} (the `UpdateEnvironment` operationId).
UpdateEnvironmentWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEnvironment Update Environment
//
// Renames the environment and its slug. DEKKA_ENVIRONMENT follows the new
// name from each service's next deploy. Private hostnames
// (`<slug>.internal.<region>.dekka.cloud`) carry no environment, so they stay.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/environments/{environment_id} (the `UpdateEnvironment` operationId).
UpdateEnvironment(ctx context.Context, environmentId openapi_types.UUID, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlanBlueprintWithBody Plan Blueprint
//
// Compares a blueprint with the environment and returns the plan as a
// changeset (source blueprint) of creates, updates and, with `prune`,
// deletes. Nothing changes until it is deployed with
// POST /v1/changesets/{id}/deploy, which answers 409 plan_stale if the
// environment changed in between. An invalid blueprint answers 422
// invalid_blueprint with every error.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/environments/{environment_id}/blueprint/plan (the `PlanBlueprint` operationId).
PlanBlueprintWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlanBlueprint Plan Blueprint
//
// Compares a blueprint with the environment and returns the plan as a
// changeset (source blueprint) of creates, updates and, with `prune`,
// deletes. Nothing changes until it is deployed with
// POST /v1/changesets/{id}/deploy, which answers 409 plan_stale if the
// environment changed in between. An invalid blueprint answers 422
// invalid_blueprint with every error.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/environments/{environment_id}/blueprint/plan (the `PlanBlueprint` operationId).
PlanBlueprint(ctx context.Context, environmentId openapi_types.UUID, body PlanBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironmentChangeset Get Environment Changeset
//
// The environment's manual draft: staged changes with a summary each and
// `pending_count` for the pending-changes bar. An environment with nothing
// staged returns an empty draft whose id is null. A `changeset` event on
// the project's SSE channel says when it changes.
//
// Corresponds with GET /v1/environments/{environment_id}/changeset (the `GetEnvironmentChangeset` operationId).
GetEnvironmentChangeset(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// StageChangeWithBody Stage Change
//
// Stages one change in the environment's manual draft, validated as the
// direct endpoint would validate it (references included) against the
// environment plus what is already staged. Nothing changes until the
// changeset is deployed. A staged variable's value is encrypted and never
// returned.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/environments/{environment_id}/changeset/changes (the `StageChange` operationId).
StageChangeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StageChange Stage Change
//
// Stages one change in the environment's manual draft, validated as the
// direct endpoint would validate it (references included) against the
// environment plus what is already staged. Nothing changes until the
// changeset is deployed. A staged variable's value is encrypted and never
// returned.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/environments/{environment_id}/changeset/changes (the `StageChange` operationId).
StageChange(ctx context.Context, environmentId openapi_types.UUID, body StageChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEnvironmentChangesets List Environment Changesets
//
// Changesets of every source (manual drafts, blueprint and template
// plans), newest first, optionally filtered by status.
//
// Corresponds with GET /v1/environments/{environment_id}/changesets (the `ListEnvironmentChangesets` operationId).
ListEnvironmentChangesets(ctx context.Context, environmentId openapi_types.UUID, params *ListEnvironmentChangesetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlanComposeWithBody Plan Compose
//
// Translates a Docker Compose file and plans it into the environment as
// a changeset (source blueprint), to confirm with
// POST /v1/changesets/{id}/deploy. The file is `content`, or with `path`
// it is read from `repository` as POST .../compose/read does. Services with
// a build section are built from `repository`; leaving it out answers 422
// repository_required. A translation that doesn't validate answers 422
// invalid_blueprint.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/environments/{environment_id}/compose/plan (the `PlanCompose` operationId).
PlanComposeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlanCompose Plan Compose
//
// Translates a Docker Compose file and plans it into the environment as
// a changeset (source blueprint), to confirm with
// POST /v1/changesets/{id}/deploy. The file is `content`, or with `path`
// it is read from `repository` as POST .../compose/read does. Services with
// a build section are built from `repository`; leaving it out answers 422
// repository_required. A translation that doesn't validate answers 422
// invalid_blueprint.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/environments/{environment_id}/compose/plan (the `PlanCompose` operationId).
PlanCompose(ctx context.Context, environmentId openapi_types.UUID, body PlanComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReadComposeWithBody Read Compose
//
// Reads a Compose file from a GitHub repository the organization has
// connected and translates it as POST /v1/compose/translate does, with
// `path` saying which file was found. Services with a build section build
// from that repository and branch, with their context resolved against the
// file's directory. Nothing is created. A repository the GitHub App can't
// see answers 422 repo_not_found (or github_not_installed when the App isn't
// installed), and a branch without the file answers 422 compose_file_missing
// with the paths tried.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/environments/{environment_id}/compose/read (the `ReadCompose` operationId).
ReadComposeWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReadCompose Read Compose
//
// Reads a Compose file from a GitHub repository the organization has
// connected and translates it as POST /v1/compose/translate does, with
// `path` saying which file was found. Services with a build section build
// from that repository and branch, with their context resolved against the
// file's directory. Nothing is created. A repository the GitHub App can't
// see answers 422 repo_not_found (or github_not_installed when the App isn't
// installed), and a branch without the file answers 422 compose_file_missing
// with the paths tried.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/environments/{environment_id}/compose/read (the `ReadCompose` operationId).
ReadCompose(ctx context.Context, environmentId openapi_types.UUID, body ReadComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironmentFirewall Get Environment Firewall
//
// The inbound rules on the environment's private network, which its KVM
// servers share. An environment gets the network with its first such server.
//
// Corresponds with GET /v1/environments/{environment_id}/firewall (the `GetEnvironmentFirewall` operationId).
GetEnvironmentFirewall(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplaceEnvironmentFirewallWithBody Replace Environment Firewall
//
// Replaces every rule at once. The host takes the new rules within
// seconds. They judge new connections, and a connection that is already
// open is not cut.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/environments/{environment_id}/firewall (the `ReplaceEnvironmentFirewall` operationId).
ReplaceEnvironmentFirewallWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplaceEnvironmentFirewall Replace Environment Firewall
//
// Replaces every rule at once. The host takes the new rules within
// seconds. They judge new connections, and a connection that is already
// open is not cut.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/environments/{environment_id}/firewall (the `ReplaceEnvironmentFirewall` operationId).
ReplaceEnvironmentFirewall(ctx context.Context, environmentId openapi_types.UUID, body ReplaceEnvironmentFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlanTemplateWithBody Plan Template
//
// Plans a template into the environment as a changeset (source template)
// to confirm with POST /v1/changesets/{id}/deploy. Supply the template's
// inputs by key; a required one left out answers 422 missing_input. Secrets
// the template generates are created now, stored as secrets and never shown
// in the plan. Templates only add, so a resource name already in use answers
// 409 name_taken. Plan limits are checked when it is deployed.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/environments/{environment_id}/templates/{template_id}/plan (the `PlanTemplate` operationId).
PlanTemplateWithBody(ctx context.Context, environmentId openapi_types.UUID, templateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlanTemplate Plan Template
//
// Plans a template into the environment as a changeset (source template)
// to confirm with POST /v1/changesets/{id}/deploy. Supply the template's
// inputs by key; a required one left out answers 422 missing_input. Secrets
// the template generates are created now, stored as secrets and never shown
// in the plan. Templates only add, so a resource name already in use answers
// 409 name_taken. Plan limits are checked when it is deployed.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/environments/{environment_id}/templates/{template_id}/plan (the `PlanTemplate` operationId).
PlanTemplate(ctx context.Context, environmentId openapi_types.UUID, templateId string, body PlanTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Variables shared by the environment's services. A service uses one
// through a `${{shared.KEY}}` reference; they are not added to every service.
//
// Corresponds with GET /v1/environments/{environment_id}/variables (the `ListSharedVariables` operationId).
ListSharedVariables(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/environments/{environment_id}/variables (the `PutSharedVariables` operationId).
PutSharedVariablesWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/environments/{environment_id}/variables (the `PutSharedVariables` operationId).
PutSharedVariables(ctx context.Context, environmentId openapi_types.UUID, body PutSharedVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Corresponds with GET /v1/environments/{environment_id}/variables/raw (the `GetRawSharedVariables` operationId).
GetRawSharedVariables(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Saves dotenv text as shared variables, the same way as a service's raw editor.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/environments/{environment_id}/variables/raw (the `PutRawSharedVariables` operationId).
PutRawSharedVariablesWithBody(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Saves dotenv text as shared variables, the same way as a service's raw editor.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/environments/{environment_id}/variables/raw (the `PutRawSharedVariables` operationId).
PutRawSharedVariables(ctx context.Context, environmentId openapi_types.UUID, body PutRawSharedVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentReferenceTargets Environment Reference Targets
//
// What shared variables can reference, for autocomplete. A database's
// connection variables are left out, since they belong to the service that
// connects. Names only; values are never returned.
//
// Corresponds with GET /v1/environments/{environment_id}/variables/references (the `EnvironmentReferenceTargets` operationId).
EnvironmentReferenceTargets(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Corresponds with DELETE /v1/environments/{environment_id}/variables/{key} (the `DeleteSharedVariable` operationId).
DeleteSharedVariable(ctx context.Context, environmentId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Corresponds with POST /v1/environments/{environment_id}/variables/{key}/reveal (the `RevealSharedVariable` operationId).
RevealSharedVariable(ctx context.Context, environmentId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EstimateWithBody Estimate
//
// What a proposed resource, a resize or a changeset costs, as a monthly
// equivalent in the catalogue's currency with a line for each part, what
// goes on being charged while stopped, and the usage metered on top. It
// reads app/catalog/plans.yaml, servers.yaml and prices.yaml and counts the
// organization's plan allowances when it is known. It changes nothing.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/estimates (the `Estimate` operationId).
EstimateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// Estimate Estimate
//
// What a proposed resource, a resize or a changeset costs, as a monthly
// equivalent in the catalogue's currency with a line for each part, what
// goes on being charged while stopped, and the usage metered on top. It
// reads app/catalog/plans.yaml, servers.yaml and prices.yaml and counts the
// organization's plan allowances when it is known. It changes nothing.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/estimates (the `Estimate` operationId).
Estimate(ctx context.Context, body EstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGithubRepos List Github Repos
//
// Corresponds with GET /v1/github/installations/{installation_id}/repos (the `ListGithubRepos` operationId).
ListGithubRepos(ctx context.Context, installationId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGithubBranches List Github Branches
//
// Corresponds with GET /v1/github/installations/{installation_id}/repos/{repo_id}/branches (the `ListGithubBranches` operationId).
ListGithubBranches(ctx context.Context, installationId int, repoId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetectGithubSettings Detect Github Settings
//
// How Dekka would build and run this branch, from the files at its root: the
// framework, build strategy, port, start command and health path, plus any
// Compose file or dekka.toml found. Nothing is run; the files are only read.
//
// Corresponds with GET /v1/github/installations/{installation_id}/repos/{repo_id}/detect (the `DetectGithubSettings` operationId).
DetectGithubSettings(ctx context.Context, installationId int, repoId int, params *DetectGithubSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GithubSetupCallback Github Setup Callback
//
// GitHub App installation callback (the app's Setup URL).
//
// Corresponds with GET /v1/github/setup (the `GithubSetupCallback` operationId).
GithubSetupCallback(ctx context.Context, params *GithubSetupCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GithubSetupAuthorized Github Setup Authorized
//
// Second half of the installation callback: GitHub has authorised the user, so
// link the installation only if that user administers it.
//
// Corresponds with GET /v1/github/setup/authorized (the `GithubSetupAuthorized` operationId).
GithubSetupAuthorized(ctx context.Context, params *GithubSetupAuthorizedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReceiveGithubWebhook Receive Github Webhook
//
// GitHub App webhook. Verified with X-Hub-Signature-256 and deduplicated by X-GitHub-Delivery.
//
// Corresponds with POST /v1/github/webhook (the `ReceiveGithubWebhook` operationId).
ReceiveGithubWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// WithdrawGpuRequest Withdraw Gpu Request
//
// Withdraw a request. It is closed and no longer listed.
//
// Corresponds with DELETE /v1/gpu-requests/{request_id} (the `WithdrawGpuRequest` operationId).
WithdrawGpuRequest(ctx context.Context, requestId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// Healthz Healthz
//
// Corresponds with GET /v1/healthz (the `Healthz` operationId).
Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInferenceEndpoint Delete Inference Endpoint
//
// Delete the endpoint. The gateway stops answering its model at once.
//
// Corresponds with DELETE /v1/inference-endpoints/{endpoint_id} (the `DeleteInferenceEndpoint` operationId).
DeleteInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInferenceEndpoint Get Inference Endpoint
//
// Corresponds with GET /v1/inference-endpoints/{endpoint_id} (the `GetInferenceEndpoint` operationId).
GetInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateInferenceEndpointWithBody Update Inference Endpoint
//
// Change the model, GPU class or replica range. The name, and so the
// gateway model id, stays fixed.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/inference-endpoints/{endpoint_id} (the `UpdateInferenceEndpoint` operationId).
UpdateInferenceEndpointWithBody(ctx context.Context, endpointId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateInferenceEndpoint Update Inference Endpoint
//
// Change the model, GPU class or replica range. The name, and so the
// gateway model id, stays fixed.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/inference-endpoints/{endpoint_id} (the `UpdateInferenceEndpoint` operationId).
UpdateInferenceEndpoint(ctx context.Context, endpointId openapi_types.UUID, body UpdateInferenceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptInvitationWithBody Accept Invitation
//
// Joins the organization as the invited role. Needs a signed-in session
// whose verified email is the invited address (403
// invitation_email_mismatch). 400 invalid_invitation when it expired, was
// revoked or was used. Someone who is already a member keeps their role.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
AcceptInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptInvitation Accept Invitation
//
// Joins the organization as the invited role. Needs a signed-in session
// whose verified email is the invited address (403
// invitation_email_mismatch). 400 invalid_invitation when it expired, was
// revoked or was used. Someone who is already a member keeps their role.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
AcceptInvitation(ctx context.Context, body AcceptInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeInvitation Revoke Invitation
//
// Revoking twice is harmless. 409 invitation_accepted once it was used.
//
// Corresponds with DELETE /v1/invitations/{invitation_id} (the `RevokeInvitation` operationId).
RevokeInvitation(ctx context.Context, invitationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewInvitation Preview Invitation
//
// Public. What the invitation is for, without accepting it. 400
// invalid_invitation when it expired, was revoked or was used.
//
// Corresponds with GET /v1/invitations/{token}/preview (the `PreviewInvitation` operationId).
PreviewInvitation(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJobRun Get Job Run
//
// Corresponds with GET /v1/job-runs/{run_id} (the `GetJobRun` operationId).
GetJobRun(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJobRunLogs Get Job Run Logs
//
// The run's output after `after` (a sequence number).
//
// Corresponds with GET /v1/job-runs/{run_id}/logs (the `GetJobRunLogs` operationId).
GetJobRunLogs(ctx context.Context, runId openapi_types.UUID, params *GetJobRunLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMe Get Me
//
// Corresponds with GET /v1/me (the `GetMe` operationId).
GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMeWithBody Update Me
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/me (the `UpdateMe` operationId).
UpdateMeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMe Update Me
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/me (the `UpdateMe` operationId).
UpdateMe(ctx context.Context, body UpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNotificationPreferences Get Notification Preferences
//
// Both are on until the user turns them off.
//
// Corresponds with GET /v1/me/notifications (the `GetNotificationPreferences` operationId).
GetNotificationPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNotificationPreferencesWithBody Put Notification Preferences
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/me/notifications (the `PutNotificationPreferences` operationId).
PutNotificationPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNotificationPreferences Put Notification Preferences
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/me/notifications (the `PutNotificationPreferences` operationId).
PutNotificationPreferences(ctx context.Context, body PutNotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMyPasskeys List My Passkeys
//
// Corresponds with GET /v1/me/passkeys (the `ListMyPasskeys` operationId).
ListMyPasskeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterPasskeyWithBody Register Passkey
//
// Verifies the credential from `navigator.credentials.create()` and stores the passkey.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/me/passkeys (the `RegisterPasskey` operationId).
RegisterPasskeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterPasskey Register Passkey
//
// Verifies the credential from `navigator.credentials.create()` and stores the passkey.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/me/passkeys (the `RegisterPasskey` operationId).
RegisterPasskey(ctx context.Context, body RegisterPasskeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyRegistrationOptions Passkey Registration Options
//
// PublicKeyCredentialCreationOptions JSON for `navigator.credentials.create()`.
//
// Corresponds with POST /v1/me/passkeys/options (the `PasskeyRegistrationOptions` operationId).
PasskeyRegistrationOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMyPasskey Delete My Passkey
//
// Corresponds with DELETE /v1/me/passkeys/{passkey_id} (the `DeleteMyPasskey` operationId).
DeleteMyPasskey(ctx context.Context, passkeyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMySessions List My Sessions
//
// Corresponds with GET /v1/me/sessions (the `ListMySessions` operationId).
ListMySessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeMySession Revoke My Session
//
// Corresponds with DELETE /v1/me/sessions/{session_id} (the `RevokeMySession` operationId).
RevokeMySession(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptTermsWithBody Accept Terms
//
// Accept the current terms of use. A person does this in the dashboard, so an API key can't.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/me/terms (the `AcceptTerms` operationId).
AcceptTermsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptTerms Accept Terms
//
// Accept the current terms of use. A person does this in the dashboard, so an API key can't.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/me/terms (the `AcceptTerms` operationId).
AcceptTerms(ctx context.Context, body AcceptTermsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOperation Get Operation
//
// Corresponds with GET /v1/operations/{operation_id} (the `GetOperation` operationId).
GetOperation(ctx context.Context, operationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrg Get Org
//
// Corresponds with GET /v1/orgs/{org_id} (the `GetOrg` operationId).
GetOrg(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrgWithBody Update Org
//
// Rename an organization or change its address (the part of the dashboard URL after /app/).
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/orgs/{org_id} (the `UpdateOrg` operationId).
UpdateOrgWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrg Update Org
//
// Rename an organization or change its address (the part of the dashboard URL after /app/).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/orgs/{org_id} (the `UpdateOrg` operationId).
UpdateOrg(ctx context.Context, orgId openapi_types.UUID, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOrgActivity List Org Activity
//
// Corresponds with GET /v1/orgs/{org_id}/activity (the `ListOrgActivity` operationId).
ListOrgActivity(ctx context.Context, orgId openapi_types.UUID, params *ListOrgActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAiMetrics Get Ai Metrics
//
// Requests, tokens, spend at list price and errors per UTC day (every day
// in the range, zeros included) and per model, with totals. `end` is
// inclusive and the range defaults to the last 14 days.
//
// Corresponds with GET /v1/orgs/{org_id}/ai/metrics (the `GetAiMetrics` operationId).
GetAiMetrics(ctx context.Context, orgId openapi_types.UUID, params *GetAiMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProviderKeys List Provider Keys
//
// The org's own OpenAI and Anthropic keys, newest first, revoked ones included.
//
// Corresponds with GET /v1/orgs/{org_id}/ai/provider-keys (the `ListProviderKeys` operationId).
ListProviderKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProviderKeyWithBody Create Provider Key
//
// Stores the key encrypted and replaces the provider's current key, if
// any. OpenAI keys start with sk- and Anthropic keys with sk-ant-. Only the
// last four characters are shown again.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/ai/provider-keys (the `CreateProviderKey` operationId).
CreateProviderKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProviderKey Create Provider Key
//
// Stores the key encrypted and replaces the provider's current key, if
// any. OpenAI keys start with sk- and Anthropic keys with sk-ant-. Only the
// last four characters are shown again.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/ai/provider-keys (the `CreateProviderKey` operationId).
CreateProviderKey(ctx context.Context, orgId openapi_types.UUID, body CreateProviderKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAiRequests List Ai Requests
//
// Gateway requests, newest first. `model` matches the requested or the
// serving model. Prompts and replies are never stored.
//
// Corresponds with GET /v1/orgs/{org_id}/ai/requests (the `ListAiRequests` operationId).
ListAiRequests(ctx context.Context, orgId openapi_types.UUID, params *ListAiRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListApiKeys List Api Keys
//
// Corresponds with GET /v1/orgs/{org_id}/api-keys (the `ListApiKeys` operationId).
ListApiKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateApiKeyWithBody Create Api Key
//
// `project_id` is only for gateway keys, whose scopes are exactly
// ["ai"]: their requests are logged against that project and follow its
// routing policy. The key is in `key`, and only in this response.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/api-keys (the `CreateApiKey` operationId).
CreateApiKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateApiKey Create Api Key
//
// `project_id` is only for gateway keys, whose scopes are exactly
// ["ai"]: their requests are logged against that project and follow its
// routing policy. The key is in `key`, and only in this response.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/api-keys (the `CreateApiKey` operationId).
CreateApiKey(ctx context.Context, orgId openapi_types.UUID, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartBillingCheckoutWithBody Start Billing Checkout
//
// Starts a hosted checkout to move to a more expensive plan. Send the
// browser to `authorization_url`; Paystack returns it to the callback.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/billing/checkout (the `StartBillingCheckout` operationId).
StartBillingCheckoutWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartBillingCheckout Start Billing Checkout
//
// Starts a hosted checkout to move to a more expensive plan. Send the
// browser to `authorization_url`; Paystack returns it to the callback.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/billing/checkout (the `StartBillingCheckout` operationId).
StartBillingCheckout(ctx context.Context, orgId openapi_types.UUID, body StartBillingCheckoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBillingCheckout Get Billing Checkout
//
// Corresponds with GET /v1/orgs/{org_id}/billing/checkout/{reference} (the `GetBillingCheckout` operationId).
GetBillingCheckout(ctx context.Context, orgId openapi_types.UUID, reference string, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyBillingCheckout Verify Billing Checkout
//
// Asks the provider for the checkout's outcome and applies it. Repeating it is harmless.
//
// Corresponds with POST /v1/orgs/{org_id}/billing/checkout/{reference}/verify (the `VerifyBillingCheckout` operationId).
VerifyBillingCheckout(ctx context.Context, orgId openapi_types.UUID, reference string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBillingDetails Get Billing Details
//
// Corresponds with GET /v1/orgs/{org_id}/billing/details (the `GetBillingDetails` operationId).
GetBillingDetails(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutBillingDetailsWithBody Put Billing Details
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/orgs/{org_id}/billing/details (the `PutBillingDetails` operationId).
PutBillingDetailsWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutBillingDetails Put Billing Details
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/orgs/{org_id}/billing/details (the `PutBillingDetails` operationId).
PutBillingDetails(ctx context.Context, orgId openapi_types.UUID, body PutBillingDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInvoices List Invoices
//
// Corresponds with GET /v1/orgs/{org_id}/billing/invoices (the `ListInvoices` operationId).
ListInvoices(ctx context.Context, orgId openapi_types.UUID, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInvoice Get Invoice
//
// Corresponds with GET /v1/orgs/{org_id}/billing/invoices/{invoice_id} (the `GetInvoice` operationId).
GetInvoice(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadInvoice Download Invoice
//
// A plain-text invoice, standing in for a PDF.
//
// Corresponds with GET /v1/orgs/{org_id}/billing/invoices/{invoice_id}/download (the `DownloadInvoice` operationId).
DownloadInvoice(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPaymentMethods List Payment Methods
//
// Saved Paystack authorizations. Added by a successful checkout; the authorization code never leaves the API.
//
// Corresponds with GET /v1/orgs/{org_id}/billing/payment-methods (the `ListPaymentMethods` operationId).
ListPaymentMethods(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemovePaymentMethod Remove Payment Method
//
// Deactivates the authorization at Paystack and removes it here.
//
// Corresponds with DELETE /v1/orgs/{org_id}/billing/payment-methods/{payment_method_id} (the `RemovePaymentMethod` operationId).
RemovePaymentMethod(ctx context.Context, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDefaultPaymentMethod Set Default Payment Method
//
// Corresponds with POST /v1/orgs/{org_id}/billing/payment-methods/{payment_method_id}/default (the `SetDefaultPaymentMethod` operationId).
SetDefaultPaymentMethod(ctx context.Context, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSpendLimit Get Spend Limit
//
// Usage alerts, the hard spend limit, this period's estimate and whether the limit is reached.
//
// Corresponds with GET /v1/orgs/{org_id}/billing/spend-limit (the `GetSpendLimit` operationId).
GetSpendLimit(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutSpendLimitWithBody Put Spend Limit
//
// Replaces the alerts and the limit. Alerts already sent this period
// for amounts that are kept are not sent again.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/orgs/{org_id}/billing/spend-limit (the `PutSpendLimit` operationId).
PutSpendLimitWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutSpendLimit Put Spend Limit
//
// Replaces the alerts and the limit. Alerts already sent this period
// for amounts that are kept are not sent again.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/orgs/{org_id}/billing/spend-limit (the `PutSpendLimit` operationId).
PutSpendLimit(ctx context.Context, orgId openapi_types.UUID, body PutSpendLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelSubscription Cancel Subscription
//
// Ends the paid plan when the current period ends; the org then moves to Free.
//
// Corresponds with POST /v1/orgs/{org_id}/billing/subscription/cancel (the `CancelSubscription` operationId).
CancelSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DowngradeSubscriptionWithBody Downgrade Subscription
//
// Schedules a cheaper plan to start when the current period ends.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/billing/subscription/downgrade (the `DowngradeSubscription` operationId).
DowngradeSubscriptionWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DowngradeSubscription Downgrade Subscription
//
// Schedules a cheaper plan to start when the current period ends.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/billing/subscription/downgrade (the `DowngradeSubscription` operationId).
DowngradeSubscription(ctx context.Context, orgId openapi_types.UUID, body DowngradeSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeSubscription Resume Subscription
//
// Undoes a cancellation before the period ends.
//
// Corresponds with POST /v1/orgs/{org_id}/billing/subscription/resume (the `ResumeSubscription` operationId).
ResumeSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUpcomingInvoice Get Upcoming Invoice
//
// What the current period would bill if it ended now. Nothing is stored.
//
// Corresponds with GET /v1/orgs/{org_id}/billing/upcoming-invoice (the `GetUpcomingInvoice` operationId).
GetUpcomingInvoice(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsageSummary Get Usage Summary
//
// Each meter for the current period: quantity, included allowance and estimated charge.
//
// Corresponds with GET /v1/orgs/{org_id}/billing/usage (the `GetUsageSummary` operationId).
GetUsageSummary(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUsageRecords List Usage Records
//
// Usage records for the current period, newest first.
//
// Corresponds with GET /v1/orgs/{org_id}/billing/usage/records (the `ListUsageRecords` operationId).
ListUsageRecords(ctx context.Context, orgId openapi_types.UUID, params *ListUsageRecordsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGithubInstallUrl Get Github Install Url
//
// Where to send the browser to install the GitHub App for this org. It
// comes back to /v1/github/setup, which links the installation.
//
// Corresponds with GET /v1/orgs/{org_id}/github/install-url (the `GetGithubInstallUrl` operationId).
GetGithubInstallUrl(ctx context.Context, orgId openapi_types.UUID, params *GetGithubInstallUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGithubInstallations List Github Installations
//
// Corresponds with GET /v1/orgs/{org_id}/github/installations (the `ListGithubInstallations` operationId).
ListGithubInstallations(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGpuRequests List Gpu Requests
//
// The organization's waitlist and reservation requests, newest first,
// without withdrawn ones.
//
// Corresponds with GET /v1/orgs/{org_id}/gpu/requests (the `ListGpuRequests` operationId).
ListGpuRequests(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGpuRequestWithBody Create Gpu Request
//
// Join the waitlist for a GPU instance, or ask to reserve some. The
// request is received, Dekka contacts the organization when capacity is
// available, and then closes it. Nothing is provisioned or billed.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/gpu/requests (the `CreateGpuRequest` operationId).
CreateGpuRequestWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGpuRequest Create Gpu Request
//
// Join the waitlist for a GPU instance, or ask to reserve some. The
// request is received, Dekka contacts the organization when capacity is
// available, and then closes it. Nothing is provisioned or billed.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/gpu/requests (the `CreateGpuRequest` operationId).
CreateGpuRequest(ctx context.Context, orgId openapi_types.UUID, body CreateGpuRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInferenceEndpoints List Inference Endpoints
//
// Corresponds with GET /v1/orgs/{org_id}/inference-endpoints (the `ListInferenceEndpoints` operationId).
ListInferenceEndpoints(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInferenceEndpointWithBody Create Inference Endpoint
//
// Create a private inference endpoint for an open-weights model. It is
// waitlisted at once, because no GPU capacity is available yet. Outside
// production the AI gateway answers `private/<name>` with a simulated
// reply, so an app can be built against it now.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/inference-endpoints (the `CreateInferenceEndpoint` operationId).
CreateInferenceEndpointWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInferenceEndpoint Create Inference Endpoint
//
// Create a private inference endpoint for an open-weights model. It is
// waitlisted at once, because no GPU capacity is available yet. Outside
// production the AI gateway answers `private/<name>` with a simulated
// reply, so an app can be built against it now.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/inference-endpoints (the `CreateInferenceEndpoint` operationId).
CreateInferenceEndpoint(ctx context.Context, orgId openapi_types.UUID, body CreateInferenceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOrgInvitations List Org Invitations
//
// Open invitations, newest first. Expired ones stay listed with status
// expired until they are revoked or the address is invited again.
//
// Corresponds with GET /v1/orgs/{org_id}/invitations (the `ListOrgInvitations` operationId).
ListOrgInvitations(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrgInvitationWithBody Create Org Invitation
//
// Emails a link to WEB_URL/invite?token=… that works once for seven days.
// Only owners may invite owners (403 owner_required). Refused with 409
// already_member or invitation_exists, and with 403 entitlement_exceeded
// (team_members) when members plus open invitations would pass the plan.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/invitations (the `CreateOrgInvitation` operationId).
CreateOrgInvitationWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrgInvitation Create Org Invitation
//
// Emails a link to WEB_URL/invite?token=… that works once for seven days.
// Only owners may invite owners (403 owner_required). Refused with 409
// already_member or invitation_exists, and with 403 entitlement_exceeded
// (team_members) when members plus open invitations would pass the plan.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/invitations (the `CreateOrgInvitation` operationId).
CreateOrgInvitation(ctx context.Context, orgId openapi_types.UUID, body CreateOrgInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMembers List Members
//
// Corresponds with GET /v1/orgs/{org_id}/members (the `ListMembers` operationId).
ListMembers(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveOrgMember Remove Org Member
//
// Admins and owners remove others (only owners remove owners), and any
// member can remove themself to leave. 409 last_owner when it would leave
// no owner. The member's API keys for this organization are revoked.
//
// Corresponds with DELETE /v1/orgs/{org_id}/members/{user_id} (the `RemoveOrgMember` operationId).
RemoveOrgMember(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrgMemberWithBody Update Org Member
//
// Only owners can make someone an owner or change an owner's role (403
// owner_required). 409 last_owner when it would leave no owner.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/orgs/{org_id}/members/{user_id} (the `UpdateOrgMember` operationId).
UpdateOrgMemberWithBody(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrgMember Update Org Member
//
// Only owners can make someone an owner or change an owner's role (403
// owner_required). 409 last_owner when it would leave no owner.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/orgs/{org_id}/members/{user_id} (the `UpdateOrgMember` operationId).
UpdateOrgMember(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, body UpdateOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrgOverview Get Org Overview
//
// Corresponds with GET /v1/orgs/{org_id}/overview (the `GetOrgOverview` operationId).
GetOrgOverview(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjects List Projects
//
// Corresponds with GET /v1/orgs/{org_id}/projects (the `ListProjects` operationId).
ListProjects(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectWithBody Create Project
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/projects (the `CreateProject` operationId).
CreateProjectWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProject Create Project
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/projects (the `CreateProject` operationId).
CreateProject(ctx context.Context, orgId openapi_types.UUID, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRegistryCredentials List Registry Credentials
//
// Corresponds with GET /v1/orgs/{org_id}/registry-credentials (the `ListRegistryCredentials` operationId).
ListRegistryCredentials(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRegistryCredentialWithBody Create Registry Credential
//
// Stores a username and password or token for a private registry. The
// password is encrypted and only its last four characters are returned.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/registry-credentials (the `CreateRegistryCredential` operationId).
CreateRegistryCredentialWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRegistryCredential Create Registry Credential
//
// Stores a username and password or token for a private registry. The
// password is encrypted and only its last four characters are returned.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/registry-credentials (the `CreateRegistryCredential` operationId).
CreateRegistryCredential(ctx context.Context, orgId openapi_types.UUID, body CreateRegistryCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRegistryCredential Delete Registry Credential
//
// Refused with 409 registry_credential_in_use while a service's image source names it.
//
// Corresponds with DELETE /v1/orgs/{org_id}/registry-credentials/{credential_id} (the `DeleteRegistryCredential` operationId).
DeleteRegistryCredential(ctx context.Context, orgId openapi_types.UUID, credentialId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSshKeys List Ssh Keys
//
// Corresponds with GET /v1/orgs/{org_id}/ssh-keys (the `ListSshKeys` operationId).
ListSshKeys(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSshKeyWithBody Create Ssh Key
//
// Saves a public key for new servers. Private keys are refused with 422
// private_key_rejected, and the same key twice with 409 ssh_key_exists.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/orgs/{org_id}/ssh-keys (the `CreateSshKey` operationId).
CreateSshKeyWithBody(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSshKey Create Ssh Key
//
// Saves a public key for new servers. Private keys are refused with 422
// private_key_rejected, and the same key twice with 409 ssh_key_exists.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/orgs/{org_id}/ssh-keys (the `CreateSshKey` operationId).
CreateSshKey(ctx context.Context, orgId openapi_types.UUID, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrgSubscription Get Org Subscription
//
// The plan, its period, any scheduled change, and current usage. An ended
// period is rolled forward here as well as by the reconciler.
//
// Corresponds with GET /v1/orgs/{org_id}/subscription (the `GetOrgSubscription` operationId).
GetOrgSubscription(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePreview Delete Preview
//
// Closes the preview and deletes its environment, as closing the pull
// request would. A later push to the pull request opens a new one.
//
// Corresponds with DELETE /v1/previews/{preview_id} (the `DeletePreview` operationId).
DeletePreview(ctx context.Context, previewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPreview Get Preview
//
// Corresponds with GET /v1/previews/{preview_id} (the `GetPreview` operationId).
GetPreview(ctx context.Context, previewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeProjectToken Revoke Project Token
//
// Corresponds with DELETE /v1/project-tokens/{token_id} (the `RevokeProjectToken` operationId).
RevokeProjectToken(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProject Delete Project
//
// Corresponds with DELETE /v1/projects/{project_id} (the `DeleteProject` operationId).
DeleteProject(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProject Get Project
//
// Corresponds with GET /v1/projects/{project_id} (the `GetProject` operationId).
GetProject(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProjectWithBody Update Project
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/projects/{project_id} (the `UpdateProject` operationId).
UpdateProjectWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProject Update Project
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/projects/{project_id} (the `UpdateProject` operationId).
UpdateProject(ctx context.Context, projectId openapi_types.UUID, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAiPolicy Get Ai Policy
//
// The project's routing rules. A project that never saved any allows every
// available model from both providers, with no fallback and no cap.
//
// Corresponds with GET /v1/projects/{project_id}/ai/policy (the `GetAiPolicy` operationId).
GetAiPolicy(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutAiPolicyWithBody Put Ai Policy
//
// Replaces the rules. Every model named must be in the catalogue and come
// from an allowed provider, and with allowed_models set, each fallback must
// be among them. The cap is in US dollars at list price per calendar month.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{project_id}/ai/policy (the `PutAiPolicy` operationId).
PutAiPolicyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutAiPolicy Put Ai Policy
//
// Replaces the rules. Every model named must be in the catalogue and come
// from an allowed provider, and with allowed_models set, each fallback must
// be among them. The cap is in US dollars at list price per calendar month.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{project_id}/ai/policy (the `PutAiPolicy` operationId).
PutAiPolicy(ctx context.Context, projectId openapi_types.UUID, body PutAiPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAiPrivacy Get Ai Privacy
//
// The project's Veil settings for the gateway. Off until someone turns it on.
//
// Corresponds with GET /v1/projects/{project_id}/ai/privacy (the `GetAiPrivacy` operationId).
GetAiPrivacy(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutAiPrivacyWithBody Put Ai Privacy
//
// Replaces the Veil settings. Custom policies are checked by Veil first, and
// every error comes back with its path in 422 invalid_privacy_policy.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{project_id}/ai/privacy (the `PutAiPrivacy` operationId).
PutAiPrivacyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutAiPrivacy Put Ai Privacy
//
// Replaces the Veil settings. Custom policies are checked by Veil first, and
// every error comes back with its path in 422 invalid_privacy_policy.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{project_id}/ai/privacy (the `PutAiPrivacy` operationId).
PutAiPrivacy(ctx context.Context, projectId openapi_types.UUID, body PutAiPrivacyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewAiPrivacyWithBody Preview Ai Privacy
//
// Shows what Veil would do to sample text with the saved settings, or with
// unsaved ones in `policy`. With Veil off it previews protect mode. Nothing
// is stored.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_id}/ai/privacy/preview (the `PreviewAiPrivacy` operationId).
PreviewAiPrivacyWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewAiPrivacy Preview Ai Privacy
//
// Shows what Veil would do to sample text with the saved settings, or with
// unsaved ones in `policy`. With Veil off it previews protect mode. Nothing
// is stored.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_id}/ai/privacy/preview (the `PreviewAiPrivacy` operationId).
PreviewAiPrivacy(ctx context.Context, projectId openapi_types.UUID, body PreviewAiPrivacyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCanvas Get Canvas
//
// Corresponds with GET /v1/projects/{project_id}/canvas (the `GetCanvas` operationId).
GetCanvas(ctx context.Context, projectId openapi_types.UUID, params *GetCanvasParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutCanvasWithBody Put Canvas
//
// Replaces the layout. Positions for resources outside this environment are dropped.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{project_id}/canvas (the `PutCanvas` operationId).
PutCanvasWithBody(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutCanvas Put Canvas
//
// Replaces the layout. Positions for resources outside this environment are dropped.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{project_id}/canvas (the `PutCanvas` operationId).
PutCanvas(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, body PutCanvasJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListConnections List Connections
//
// Corresponds with GET /v1/projects/{project_id}/connections (the `ListConnections` operationId).
ListConnections(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateConnectionWithBody Create Connection
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_id}/connections (the `CreateConnection` operationId).
CreateConnectionWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateConnection Create Connection
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_id}/connections (the `CreateConnection` operationId).
CreateConnection(ctx context.Context, projectId openapi_types.UUID, body CreateConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectDeployments List Project Deployments
//
// Corresponds with GET /v1/projects/{project_id}/deployments (the `ListProjectDeployments` operationId).
ListProjectDeployments(ctx context.Context, projectId openapi_types.UUID, params *ListProjectDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEnvironments List Environments
//
// Corresponds with GET /v1/projects/{project_id}/environments (the `ListEnvironments` operationId).
ListEnvironments(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEnvironmentWithBody Create Environment
//
// Creates an empty environment, or forks one with `fork_from`. A fork
// queues the same provisioning, deployments and connection configuration a
// person would by hand, and each copy counts against the plan's limits.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_id}/environments (the `CreateEnvironment` operationId).
CreateEnvironmentWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEnvironment Create Environment
//
// Creates an empty environment, or forks one with `fork_from`. A fork
// queues the same provisioning, deployments and connection configuration a
// person would by hand, and each copy counts against the plan's limits.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_id}/environments (the `CreateEnvironment` operationId).
CreateEnvironment(ctx context.Context, projectId openapi_types.UUID, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StreamProjectEvents Stream Project Events
//
// Operation, resource, connection and deployment changes as they commit.
// Each event's `data` is JSON with at least `type` and `id`; a comment line
// is sent every 15 seconds as a heartbeat.
//
// Corresponds with GET /v1/projects/{project_id}/events (the `StreamProjectEvents` operationId).
StreamProjectEvents(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchLogs Search Logs
//
// Deployment and job run log lines in the project, newest first, paged
// with a keyset cursor.
//
// Corresponds with GET /v1/projects/{project_id}/logs/search (the `SearchLogs` operationId).
SearchLogs(ctx context.Context, projectId openapi_types.UUID, params *SearchLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectOperations List Project Operations
//
// Corresponds with GET /v1/projects/{project_id}/operations (the `ListProjectOperations` operationId).
ListProjectOperations(ctx context.Context, projectId openapi_types.UUID, params *ListProjectOperationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPreviews List Previews
//
// Pull request previews, newest first, closed ones included.
//
// Corresponds with GET /v1/projects/{project_id}/previews (the `ListPreviews` operationId).
ListPreviews(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListResources List Resources
//
// Corresponds with GET /v1/projects/{project_id}/resources (the `ListResources` operationId).
ListResources(ctx context.Context, projectId openapi_types.UUID, params *ListResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateResourceWithBody Create Resource
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_id}/resources (the `CreateResource` operationId).
CreateResourceWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateResource Create Resource
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_id}/resources (the `CreateResource` operationId).
CreateResource(ctx context.Context, projectId openapi_types.UUID, body CreateResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServers List Servers
//
// Corresponds with GET /v1/projects/{project_id}/servers (the `ListServers` operationId).
ListServers(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServerWithBody Create Server
//
// Creates a virtual_machine resource and queues vm.provision. The same
// as POST /v1/projects/{project_id}/resources with kind virtual_machine.
// The runtime profile is fixed from here on, and the size and image must
// belong to it.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_id}/servers (the `CreateServer` operationId).
CreateServerWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServer Create Server
//
// Creates a virtual_machine resource and queues vm.provision. The same
// as POST /v1/projects/{project_id}/resources with kind virtual_machine.
// The runtime profile is fixed from here on, and the size and image must
// belong to it.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_id}/servers (the `CreateServer` operationId).
CreateServer(ctx context.Context, projectId openapi_types.UUID, body CreateServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectTokens List Project Tokens
//
// Tokens that reach only this project, newest first, revoked ones included.
//
// Corresponds with GET /v1/projects/{project_id}/tokens (the `ListProjectTokens` operationId).
ListProjectTokens(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectTokenWithBody Create Project Token
//
// A token for CI that reaches only this project: its resources,
// deployments, environments and variables. Every org-level route and every
// other project answer 404 to it. `read` acts as a viewer and `write` as a
// developer, never above the creator's own role. The token is in `key`,
// and only in this response.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_id}/tokens (the `CreateProjectToken` operationId).
CreateProjectTokenWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectToken Create Project Token
//
// A token for CI that reaches only this project: its resources,
// deployments, environments and variables. Every org-level route and every
// other project answer 404 to it. `read` acts as a viewer and `write` as a
// developer, never above the creator's own role. The token is in `key`,
// and only in this response.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_id}/tokens (the `CreateProjectToken` operationId).
CreateProjectToken(ctx context.Context, projectId openapi_types.UUID, body CreateProjectTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectWebhooks List Project Webhooks
//
// Corresponds with GET /v1/projects/{project_id}/webhooks (the `ListProjectWebhooks` operationId).
ListProjectWebhooks(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectWebhookWithBody Create Project Webhook
//
// Posts signed deploy events to `url`. The signing secret is in
// `secret`, and only in this response. Refused with 422
// invalid_webhook_url for a URL that is not http(s), or in production not
// https or not public.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_id}/webhooks (the `CreateProjectWebhook` operationId).
CreateProjectWebhookWithBody(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectWebhook Create Project Webhook
//
// Posts signed deploy events to `url`. The signing secret is in
// `secret`, and only in this response. Refused with 422
// invalid_webhook_url for a URL that is not http(s), or in production not
// https or not public.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_id}/webhooks (the `CreateProjectWebhook` operationId).
CreateProjectWebhook(ctx context.Context, projectId openapi_types.UUID, body CreateProjectWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// Readyz Readyz
//
// Corresponds with GET /v1/readyz (the `Readyz` operationId).
Readyz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRegions List Regions
//
// Corresponds with GET /v1/regions (the `ListRegions` operationId).
ListRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteResource Delete Resource
//
// Starts deletion. Postgres needs `?confirm=<resource name>`.
//
// Corresponds with DELETE /v1/resources/{resource_id} (the `DeleteResource` operationId).
DeleteResource(ctx context.Context, resourceId openapi_types.UUID, params *DeleteResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetResource Get Resource
//
// Corresponds with GET /v1/resources/{resource_id} (the `GetResource` operationId).
GetResource(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateResourceWithBody Update Resource
//
// Renames, replaces the spec, changes an application's apps.dekka.cloud
// subdomain, or moves a service to another region. Spec changes apply on the
// next deploy; a subdomain change re-routes a running service at once. A
// schedule in the spec turns a service into a scheduled job and clearing it
// turns it back, which is audited as resource.kind_changed.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/resources/{resource_id} (the `UpdateResource` operationId).
UpdateResourceWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateResource Update Resource
//
// Renames, replaces the spec, changes an application's apps.dekka.cloud
// subdomain, or moves a service to another region. Spec changes apply on the
// next deploy; a subdomain change re-routes a running service at once. A
// schedule in the spec turns a service into a scheduled job and clearing it
// turns it back, which is audited as resource.kind_changed.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/resources/{resource_id} (the `UpdateResource` operationId).
UpdateResource(ctx context.Context, resourceId openapi_types.UUID, body UpdateResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunResourceAction Run Resource Action
//
// Corresponds with POST /v1/resources/{resource_id}/actions/{action} (the `RunResourceAction` operationId).
RunResourceAction(ctx context.Context, resourceId openapi_types.UUID, action RunResourceActionParamsAction, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseBackups List Database Backups
//
// A Postgres database's or a Redis cache's backups, newest first: the
// ones taken on request and the ones taken every night, read from the
// engine. Each says where it is kept.
//
// Corresponds with GET /v1/resources/{resource_id}/backups (the `ListDatabaseBackups` operationId).
ListDatabaseBackups(ctx context.Context, resourceId openapi_types.UUID, params *ListDatabaseBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatabaseBackup Create Database Backup
//
// Takes a manual backup of a database or a cache now (backup.create). It
// is kept for 30 days.
//
// Corresponds with POST /v1/resources/{resource_id}/backups (the `CreateDatabaseBackup` operationId).
CreateDatabaseBackup(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlanDeclaredServices Plan Declared Services
//
// Plans what the service's dekka.toml declares and the environment lacks:
// the missing databases, caches, buckets and queues, and a connection from
// the service to each declared one. Nothing changes until the changeset is
// deployed with POST /v1/changesets/{id}/deploy. Answers 409 nothing_to_plan
// when everything is already here and connected.
//
// Corresponds with POST /v1/resources/{resource_id}/config/plan (the `PlanDeclaredServices` operationId).
PlanDeclaredServices(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeclaredServices Declared Services
//
// The databases, caches, buckets and queues the service's dekka.toml (or
// dekka.json) declares under [services.<name>], read at its latest deployed
// commit, and whether each exists in the environment and is connected.
//
// Corresponds with GET /v1/resources/{resource_id}/config/services (the `DeclaredServices` operationId).
DeclaredServices(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListConnectionStrings List Connection Strings
//
// One row per app connected to this database, with the variable it was
// given and the URL with its password masked. The full value comes from
// POST /v1/resources/{app_id}/env/{env_key}/reveal, which is audited.
//
// Corresponds with GET /v1/resources/{resource_id}/connection-strings (the `ListConnectionStrings` operationId).
ListConnectionStrings(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDataLocations List Data Locations
//
// Corresponds with GET /v1/resources/{resource_id}/data-locations (the `ListDataLocations` operationId).
ListDataLocations(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunDatabaseQueryWithBody Run Database Query
//
// Runs one read-only statement. Anything else is refused here with 422
// (empty_query, multiple_statements or query_not_read_only) before it
// reaches the engine, which also runs it in a READ ONLY transaction. Rows
// are capped at 500 and the timeout at 10 seconds. Every query is audited
// with its length and SHA-256, never its text or result.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/resources/{resource_id}/database/query (the `RunDatabaseQuery` operationId).
RunDatabaseQueryWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunDatabaseQuery Run Database Query
//
// Runs one read-only statement. Anything else is refused here with 422
// (empty_query, multiple_statements or query_not_read_only) before it
// reaches the engine, which also runs it in a READ ONLY transaction. Rows
// are capped at 500 and the timeout at 10 seconds. Every query is audited
// with its length and SHA-256, never its text or result.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/resources/{resource_id}/database/query (the `RunDatabaseQuery` operationId).
RunDatabaseQuery(ctx context.Context, resourceId openapi_types.UUID, body RunDatabaseQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseTables List Database Tables
//
// Corresponds with GET /v1/resources/{resource_id}/database/tables (the `ListDatabaseTables` operationId).
ListDatabaseTables(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListResourceDeployments List Resource Deployments
//
// Corresponds with GET /v1/resources/{resource_id}/deployments (the `ListResourceDeployments` operationId).
ListResourceDeployments(ctx context.Context, resourceId openapi_types.UUID, params *ListResourceDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDeploymentWithBody Create Deployment
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/resources/{resource_id}/deployments (the `CreateDeployment` operationId).
CreateDeploymentWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDeployment Create Deployment
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/resources/{resource_id}/deployments (the `CreateDeployment` operationId).
CreateDeployment(ctx context.Context, resourceId openapi_types.UUID, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDomains List Domains
//
// Corresponds with GET /v1/resources/{resource_id}/domains (the `ListDomains` operationId).
ListDomains(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDomainWithBody Create Domain
//
// Adds a custom domain to an application. The response names the CNAME
// and TXT records to create before verifying. Needs a plan with custom_domains.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/resources/{resource_id}/domains (the `CreateDomain` operationId).
CreateDomainWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDomain Create Domain
//
// Adds a custom domain to an application. The response names the CNAME
// and TXT records to create before verifying. Needs a plan with custom_domains.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/resources/{resource_id}/domains (the `CreateDomain` operationId).
CreateDomain(ctx context.Context, resourceId openapi_types.UUID, body CreateDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEnv List Env
//
// Stored variables, then the system variables Dekka sets (PORT,
// DEKKA_PRIVATE_DOMAIN, DEKKA_PUBLIC_DOMAIN, DEKKA_ENVIRONMENT) with
// `source: "system"`, unless a stored variable of the same name overrides one.
//
// Corresponds with GET /v1/resources/{resource_id}/env (the `ListEnv` operationId).
ListEnv(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutEnvWithBody Put Env
//
// Creates or updates the given variables. Others are left alone, and
// connection-managed keys are read-only. References are checked and refused
// with 422 unknown_reference when they do not resolve. A reference to a
// database, cache, bucket or queue the service is not connected to connects
// it, so `${{db.DATABASE_URL}}` reads the service's own credentials. Changes
// apply on the next restart or deploy.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/resources/{resource_id}/env (the `PutEnv` operationId).
PutEnvWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutEnv Put Env
//
// Creates or updates the given variables. Others are left alone, and
// connection-managed keys are read-only. References are checked and refused
// with 422 unknown_reference when they do not resolve. A reference to a
// database, cache, bucket or queue the service is not connected to connects
// it, so `${{db.DATABASE_URL}}` reads the service's own credentials. Changes
// apply on the next restart or deploy.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/resources/{resource_id}/env (the `PutEnv` operationId).
PutEnv(ctx context.Context, resourceId openapi_types.UUID, body PutEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRawEnv Get Raw Env
//
// The service's own variables as dotenv text. Secret, sealed and
// connection-managed values are left out, each with a comment line naming it.
//
// Corresponds with GET /v1/resources/{resource_id}/env/raw (the `GetRawEnv` operationId).
GetRawEnv(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutRawEnvWithBody Put Raw Env
//
// Saves dotenv text. Existing variables keep their secret flag and new
// ones are not secret. With `replace`, user variables missing from the text
// are deleted, except sealed ones; connection-managed keys cannot be set here.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/resources/{resource_id}/env/raw (the `PutRawEnv` operationId).
PutRawEnvWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutRawEnv Put Raw Env
//
// Saves dotenv text. Existing variables keep their secret flag and new
// ones are not secret. With `replace`, user variables missing from the text
// are deleted, except sealed ones; connection-managed keys cannot be set here.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/resources/{resource_id}/env/raw (the `PutRawEnv` operationId).
PutRawEnv(ctx context.Context, resourceId openapi_types.UUID, body PutRawEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResourceReferenceTargets Resource Reference Targets
//
// The services, databases and shared variables this service's variables can
// reference as ${{name.KEY}}, with the keys each offers, for autocomplete.
// Names only; values are never returned.
//
// Corresponds with GET /v1/resources/{resource_id}/env/references (the `ResourceReferenceTargets` operationId).
ResourceReferenceTargets(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnvVar Delete Env Var
//
// Corresponds with DELETE /v1/resources/{resource_id}/env/{key} (the `DeleteEnvVar` operationId).
DeleteEnvVar(ctx context.Context, resourceId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevealEnvVar Reveal Env Var
//
// Returns a secret value in plain text. Every reveal is audited, and a
// sealed variable answers 409 variable_sealed.
//
// Corresponds with POST /v1/resources/{resource_id}/env/{key}/reveal (the `RevealEnvVar` operationId).
RevealEnvVar(ctx context.Context, resourceId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetResourceHttpLogs Get Resource Http Logs
//
// HTTP request logs for an application, read from the engine, oldest
// first after `after`. Poll with `after=next_after` for new requests.
//
// Corresponds with GET /v1/resources/{resource_id}/http-logs (the `GetResourceHttpLogs` operationId).
GetResourceHttpLogs(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceHttpLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetResourceLogs Get Resource Logs
//
// Runtime logs, read from the engine.
//
// Corresponds with GET /v1/resources/{resource_id}/logs (the `GetResourceLogs` operationId).
GetResourceLogs(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetResourceMetrics Get Resource Metrics
//
// Metrics from the engine over `window`. `simulated` is true when the engine is the mock.
//
// Corresponds with GET /v1/resources/{resource_id}/metrics (the `GetResourceMetrics` operationId).
GetResourceMetrics(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRedisKeys List Redis Keys
//
// A page of keys matching `pattern` (glob syntax), read with SCAN.
//
// Corresponds with GET /v1/resources/{resource_id}/redis/keys (the `ListRedisKeys` operationId).
ListRedisKeys(ctx context.Context, resourceId openapi_types.UUID, params *ListRedisKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreDatabaseWithBody Restore Database
//
// Restores a Postgres database to `target_time`, or to its latest backup
// when `target_time` is left out (backup.restore). The time must fall within
// the days the database's `backups.retention_days` keeps, and `confirm`
// must be the database's name. Returns the operation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/resources/{resource_id}/restore (the `RestoreDatabase` operationId).
RestoreDatabaseWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreDatabase Restore Database
//
// Restores a Postgres database to `target_time`, or to its latest backup
// when `target_time` is left out (backup.restore). The time must fall within
// the days the database's `backups.retention_days` keeps, and `confirm`
// must be the database's name. Returns the operation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/resources/{resource_id}/restore (the `RestoreDatabase` operationId).
RestoreDatabase(ctx context.Context, resourceId openapi_types.UUID, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateDatabaseCredentials Rotate Database Credentials
//
// Issues new credentials for every active connection to this database,
// cache, bucket or queue. Each connection goes active, pending, active: the
// engine rotates (connection.configure with rotate: true) and revokes the old
// credential, and Dekka rebinds the app's variables and restarts it. With no
// active connection it answers 409 no_connections.
//
// Corresponds with POST /v1/resources/{resource_id}/rotate-credentials (the `RotateDatabaseCredentials` operationId).
RotateDatabaseCredentials(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListJobRuns List Job Runs
//
// Runs newest first, skipped scheduled runs included.
//
// Corresponds with GET /v1/resources/{resource_id}/runs (the `ListJobRuns` operationId).
ListJobRuns(ctx context.Context, resourceId openapi_types.UUID, params *ListJobRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateJobRun Create Job Run
//
// Runs a scheduled job now with its start command. A job that has not
// been deployed answers 409 job_not_deployed, and one whose last run is
// still going 409 run_in_progress.
//
// Corresponds with POST /v1/resources/{resource_id}/runs (the `CreateJobRun` operationId).
CreateJobRun(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVolume Get Volume
//
// The service's volume, or null when it has none.
//
// Corresponds with GET /v1/resources/{resource_id}/volume (the `GetVolume` operationId).
GetVolume(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVolumeWithBody Create Volume
//
// Attaches a new volume to a service and queues volume.create.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/resources/{resource_id}/volume (the `CreateVolume` operationId).
CreateVolumeWithBody(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVolume Create Volume
//
// Attaches a new volume to a service and queues volume.create.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/resources/{resource_id}/volume (the `CreateVolume` operationId).
CreateVolume(ctx context.Context, resourceId openapi_types.UUID, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteServer Delete Server
//
// Starts deleting the server and its disk; `?confirm=<name>` is required.
// Billing stops at the end of the hour the engine confirms the delete in.
//
// Corresponds with DELETE /v1/servers/{server_id} (the `DeleteServer` operationId).
DeleteServer(ctx context.Context, serverId openapi_types.UUID, params *DeleteServerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServer Get Server
//
// Corresponds with GET /v1/servers/{server_id} (the `GetServer` operationId).
GetServer(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunServerAction Run Server Action
//
// start needs a stopped or failed server; stop and reboot a running one.
// Another vm operation in progress answers 409 operation_in_progress.
//
// Corresponds with POST /v1/servers/{server_id}/actions/{action} (the `RunServerAction` operationId).
RunServerAction(ctx context.Context, serverId openapi_types.UUID, action RunServerActionParamsAction, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebuildServerWithBody Rebuild Server
//
// Wipes the disk and installs the image, keeping the address, size, SSH
// keys and user data. `confirm` must be the server's name.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{server_id}/rebuild (the `RebuildServer` operationId).
RebuildServerWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebuildServer Rebuild Server
//
// Wipes the disk and installs the image, keeping the address, size, SSH
// keys and user data. `confirm` must be the server's name.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{server_id}/rebuild (the `RebuildServer` operationId).
RebuildServer(ctx context.Context, serverId openapi_types.UUID, body RebuildServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeServerWithBody Resize Server
//
// Needs a stopped server, and a size from the same runtime profile whose
// disk is at least as large, because disks never shrink. The server stays
// stopped afterwards.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{server_id}/resize (the `ResizeServer` operationId).
ResizeServerWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeServer Resize Server
//
// Needs a stopped server, and a size from the same runtime profile whose
// disk is at least as large, because disks never shrink. The server stays
// stopped afterwards.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{server_id}/resize (the `ResizeServer` operationId).
ResizeServer(ctx context.Context, serverId openapi_types.UUID, body ResizeServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetServerRootPasswordWithBody Set Server Root Password
//
// Sets root's password on a KVM server. It takes effect the next time the
// server is started after being stopped, and is asked for on the server's
// console and nowhere else, since SSH takes keys only. The password is
// hashed here and is never stored or logged. Like the console it opens,
// this takes a signed-in person and not an API key.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/servers/{server_id}/root-password (the `SetServerRootPassword` operationId).
SetServerRootPasswordWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetServerRootPassword Set Server Root Password
//
// Sets root's password on a KVM server. It takes effect the next time the
// server is started after being stopped, and is asked for on the server's
// console and nowhere else, since SSH takes keys only. The password is
// hashed here and is never stored or logged. Like the console it opens,
// this takes a signed-in person and not an API key.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/servers/{server_id}/root-password (the `SetServerRootPassword` operationId).
SetServerRootPassword(ctx context.Context, serverId openapi_types.UUID, body SetServerRootPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SwitchServerShellOff Switch Server Shell Off
//
// Switches the shell off. The key that signs for the server is deleted
// and any shell open on it ends, so nothing can sign in that way until it
// is switched on again, which makes a new key.
//
// Corresponds with DELETE /v1/servers/{server_id}/shell (the `SwitchServerShellOff` operationId).
SwitchServerShellOff(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SwitchServerShellOn Switch Server Shell On
//
// Switches the shell on for a KVM server: a terminal from its page,
// signed in as root with a certificate that is signed for the one session
// and lasts two minutes, so no key or password of the customer's is used.
// A server created with the shell on trusts it already. One that was not
// is given a command here to run once as root. Asking again answers the
// same command and changes nothing. Like the shell it opens, this takes a
// signed-in person and not an API key.
//
// Corresponds with PUT /v1/servers/{server_id}/shell (the `SwitchServerShellOn` operationId).
SwitchServerShellOn(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServerSnapshots List Server Snapshots
//
// A KVM server's disk snapshots and whether one is taken each night. A
// snapshot lives on the same host as the disk: it undoes a change in
// seconds and is not a backup. A server that takes none answers with an
// empty list.
//
// Corresponds with GET /v1/servers/{server_id}/snapshots (the `ListServerSnapshots` operationId).
ListServerSnapshots(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServerSnapshotWithBody Create Server Snapshot
//
// Takes a snapshot of the disk, with the server running or stopped. A server holds at most ten.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{server_id}/snapshots (the `CreateServerSnapshot` operationId).
CreateServerSnapshotWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServerSnapshot Create Server Snapshot
//
// Takes a snapshot of the disk, with the server running or stopped. A server holds at most ten.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{server_id}/snapshots (the `CreateServerSnapshot` operationId).
CreateServerSnapshot(ctx context.Context, serverId openapi_types.UUID, body CreateServerSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetServerSnapshotScheduleWithBody Set Server Snapshot Schedule
//
// Turns the nightly snapshot on or off. The newest `keep` nightly
// snapshots are kept, and the ones people took are left alone.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/servers/{server_id}/snapshots/schedule (the `SetServerSnapshotSchedule` operationId).
SetServerSnapshotScheduleWithBody(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetServerSnapshotSchedule Set Server Snapshot Schedule
//
// Turns the nightly snapshot on or off. The newest `keep` nightly
// snapshots are kept, and the ones people took are left alone.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/servers/{server_id}/snapshots/schedule (the `SetServerSnapshotSchedule` operationId).
SetServerSnapshotSchedule(ctx context.Context, serverId openapi_types.UUID, body SetServerSnapshotScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteServerSnapshot Delete Server Snapshot
//
// Deletes one snapshot. The disk as it is now is not touched.
//
// Corresponds with DELETE /v1/servers/{server_id}/snapshots/{snapshot_id} (the `DeleteServerSnapshot` operationId).
DeleteServerSnapshot(ctx context.Context, serverId openapi_types.UUID, snapshotId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevertServerSnapshotWithBody Revert Server Snapshot
//
// Puts the disk back as the snapshot holds it. The server has to be
// stopped, what was written since is lost, and `confirm` must be the
// server's name.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{server_id}/snapshots/{snapshot_id}/revert (the `RevertServerSnapshot` operationId).
RevertServerSnapshotWithBody(ctx context.Context, serverId openapi_types.UUID, snapshotId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevertServerSnapshot Revert Server Snapshot
//
// Puts the disk back as the snapshot holds it. The server has to be
// stopped, what was written since is lost, and `confirm` must be the
// server's name.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{server_id}/snapshots/{snapshot_id}/revert (the `RevertServerSnapshot` operationId).
RevertServerSnapshot(ctx context.Context, serverId openapi_types.UUID, snapshotId int, body RevertServerSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSshKey Delete Ssh Key
//
// Servers created with this key keep it.
//
// Corresponds with DELETE /v1/ssh-keys/{key_id} (the `DeleteSshKey` operationId).
DeleteSshKey(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSupportTickets List Support Tickets
//
// Corresponds with GET /v1/support/tickets (the `ListSupportTickets` operationId).
ListSupportTickets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OpenSupportTicketWithBody Open Support Ticket
//
// Opens a request with its first message. Dekka staff are emailed straight away.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/support/tickets (the `OpenSupportTicket` operationId).
OpenSupportTicketWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OpenSupportTicket Open Support Ticket
//
// Opens a request with its first message. Dekka staff are emailed straight away.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/support/tickets (the `OpenSupportTicket` operationId).
OpenSupportTicket(ctx context.Context, body OpenSupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSupportTicket Get Support Ticket
//
// Corresponds with GET /v1/support/tickets/{ticket_id} (the `GetSupportTicket` operationId).
GetSupportTicket(ctx context.Context, ticketId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CloseSupportTicket Close Support Ticket
//
// Corresponds with POST /v1/support/tickets/{ticket_id}/close (the `CloseSupportTicket` operationId).
CloseSupportTicket(ctx context.Context, ticketId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplySupportTicketWithBody Reply Support Ticket
//
// Adds to the conversation and reopens it if it was closed.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/support/tickets/{ticket_id}/messages (the `ReplySupportTicket` operationId).
ReplySupportTicketWithBody(ctx context.Context, ticketId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplySupportTicket Reply Support Ticket
//
// Adds to the conversation and reopens it if it was closed.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/support/tickets/{ticket_id}/messages (the `ReplySupportTicket` operationId).
ReplySupportTicket(ctx context.Context, ticketId openapi_types.UUID, body ReplySupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVolume Delete Volume
//
// Starts deleting the volume and its data. It disappears once the engine confirms.
//
// Corresponds with DELETE /v1/volumes/{volume_id} (the `DeleteVolume` operationId).
DeleteVolume(ctx context.Context, volumeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVolumeBackups List Volume Backups
//
// A volume's backups, newest first: the ones taken on request and the
// ones taken every night, read from the engine.
//
// Corresponds with GET /v1/volumes/{volume_id}/backups (the `ListVolumeBackups` operationId).
ListVolumeBackups(ctx context.Context, volumeId openapi_types.UUID, params *ListVolumeBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVolumeBackup Create Volume Backup
//
// Backs the volume up now (backup.create). It is kept for 30 days. The
// engine also backs up every attached volume each night.
//
// Corresponds with POST /v1/volumes/{volume_id}/backups (the `CreateVolumeBackup` operationId).
CreateVolumeBackup(ctx context.Context, volumeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeVolumeWithBody Resize Volume
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/volumes/{volume_id}/resize (the `ResizeVolume` operationId).
ResizeVolumeWithBody(ctx context.Context, volumeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeVolume Resize Volume
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/volumes/{volume_id}/resize (the `ResizeVolume` operationId).
ResizeVolume(ctx context.Context, volumeId openapi_types.UUID, body ResizeVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RedeliverWebhookDelivery Redeliver Webhook Delivery
//
// Queues a delivered or failed delivery again, with the same id and body
// and a fresh set of attempts. 409 delivery_pending while it is still being sent.
//
// Corresponds with POST /v1/webhook-deliveries/{delivery_id}/redeliver (the `RedeliverWebhookDelivery` operationId).
RedeliverWebhookDelivery(ctx context.Context, deliveryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWebhook Delete Webhook
//
// Deletes the webhook and its delivery history.
//
// Corresponds with DELETE /v1/webhooks/{webhook_id} (the `DeleteWebhook` operationId).
DeleteWebhook(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWebhookWithBody Update Webhook
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/webhooks/{webhook_id} (the `UpdateWebhook` operationId).
UpdateWebhookWithBody(ctx context.Context, webhookId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWebhook Update Webhook
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/webhooks/{webhook_id} (the `UpdateWebhook` operationId).
UpdateWebhook(ctx context.Context, webhookId openapi_types.UUID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWebhookDeliveries List Webhook Deliveries
//
// Newest first.
//
// Corresponds with GET /v1/webhooks/{webhook_id}/deliveries (the `ListWebhookDeliveries` operationId).
ListWebhookDeliveries(ctx context.Context, webhookId openapi_types.UUID, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateWebhookSecret Rotate Webhook Secret
//
// Replaces the signing secret at once. The new one is in `secret`, and only in this response.
//
// Corresponds with POST /v1/webhooks/{webhook_id}/rotate-secret (the `RotateWebhookSecret` operationId).
RotateWebhookSecret(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestWebhook Test Webhook
//
// Sends a `webhook.test` event now, even when the webhook is turned off,
// and returns the delivery with the endpoint's answer. A failed test is not
// retried.
//
// Corresponds with POST /v1/webhooks/{webhook_id}/test (the `TestWebhook` operationId).
TestWebhook(ctx context.Context, webhookId openapi_types.UUID, 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) AcceptInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) AcceptInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)
AcceptInvitationWithBodyWithResponse Accept Invitation
Joins the organization as the invited role. Needs a signed-in session whose verified email is the invited address (403 invitation_email_mismatch). 400 invalid_invitation when it expired, was revoked or was used. Someone who is already a member keeps their role.
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 /v1/invitations/accept (the `AcceptInvitation` operationId).
func (*ClientWithResponses) AcceptInvitationWithResponse ¶
func (c *ClientWithResponses) AcceptInvitationWithResponse(ctx context.Context, body AcceptInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)
AcceptInvitationWithResponse Accept Invitation
Joins the organization as the invited role. Needs a signed-in session whose verified email is the invited address (403 invitation_email_mismatch). 400 invalid_invitation when it expired, was revoked or was used. Someone who is already a member keeps their role.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
func (*ClientWithResponses) AcceptTermsWithBodyWithResponse ¶
func (c *ClientWithResponses) AcceptTermsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptTermsResponse, error)
AcceptTermsWithBodyWithResponse Accept Terms
Accept the current terms of use. A person does this in the dashboard, so an API key can't.
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 /v1/me/terms (the `AcceptTerms` operationId).
func (*ClientWithResponses) AcceptTermsWithResponse ¶
func (c *ClientWithResponses) AcceptTermsWithResponse(ctx context.Context, body AcceptTermsJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptTermsResponse, error)
AcceptTermsWithResponse Accept Terms
Accept the current terms of use. A person does this in the dashboard, so an API key can't.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/me/terms (the `AcceptTerms` operationId).
func (*ClientWithResponses) ApplyForEarlyAccessWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplyForEarlyAccessWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyForEarlyAccessResponse, error)
ApplyForEarlyAccessWithBodyWithResponse Apply For Early Access
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 /v1/early-access (the `ApplyForEarlyAccess` operationId).
func (*ClientWithResponses) ApplyForEarlyAccessWithResponse ¶
func (c *ClientWithResponses) ApplyForEarlyAccessWithResponse(ctx context.Context, body ApplyForEarlyAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyForEarlyAccessResponse, error)
ApplyForEarlyAccessWithResponse Apply For Early Access
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/early-access (the `ApplyForEarlyAccess` operationId).
func (*ClientWithResponses) ApproveCliLoginWithBodyWithResponse ¶
func (c *ClientWithResponses) ApproveCliLoginWithBodyWithResponse(ctx context.Context, userCode string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveCliLoginResponse, error)
ApproveCliLoginWithBodyWithResponse Approve Cli Login
Approve a sign-in for one organisation, which needs the admin role there, as creating a key does. It mints a key with the read and write scopes, named after the machine.
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 /v1/cli/logins/{user_code}/approve (the `ApproveCliLogin` operationId).
func (*ClientWithResponses) ApproveCliLoginWithResponse ¶
func (c *ClientWithResponses) ApproveCliLoginWithResponse(ctx context.Context, userCode string, body ApproveCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveCliLoginResponse, error)
ApproveCliLoginWithResponse Approve Cli Login
Approve a sign-in for one organisation, which needs the admin role there, as creating a key does. It mints a key with the read and write scopes, named after the machine.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/cli/logins/{user_code}/approve (the `ApproveCliLogin` operationId).
func (*ClientWithResponses) CancelDeploymentWithResponse ¶
func (c *ClientWithResponses) CancelDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelDeploymentResponse, error)
CancelDeploymentWithResponse Cancel Deployment
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/deployments/{deployment_id}/cancel (the `CancelDeployment` operationId).
func (*ClientWithResponses) CancelSubscriptionWithResponse ¶
func (c *ClientWithResponses) CancelSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelSubscriptionResponse, error)
CancelSubscriptionWithResponse Cancel Subscription
Ends the paid plan when the current period ends; the org then moves to Free.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/billing/subscription/cancel (the `CancelSubscription` operationId).
func (*ClientWithResponses) CloseSupportTicketWithResponse ¶
func (c *ClientWithResponses) CloseSupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CloseSupportTicketResponse, error)
CloseSupportTicketWithResponse Close Support Ticket
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/support/tickets/{ticket_id}/close (the `CloseSupportTicket` operationId).
func (*ClientWithResponses) CollectCliLoginWithBodyWithResponse ¶
func (c *ClientWithResponses) CollectCliLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CollectCliLoginResponse, error)
CollectCliLoginWithBodyWithResponse Collect Cli Login
Collect the key once the person has approved. Until then this answers 400 with the code `authorization_pending`, and the CLI asks again. It answers `access_denied` if they refused and `expired_token` once the attempt is over or the key has been collected.
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 /v1/cli/logins/token (the `CollectCliLogin` operationId).
func (*ClientWithResponses) CollectCliLoginWithResponse ¶
func (c *ClientWithResponses) CollectCliLoginWithResponse(ctx context.Context, body CollectCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*CollectCliLoginResponse, error)
CollectCliLoginWithResponse Collect Cli Login
Collect the key once the person has approved. Until then this answers 400 with the code `authorization_pending`, and the CLI asks again. It answers `access_denied` if they refused and `expired_token` once the attempt is over or the key has been collected.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/cli/logins/token (the `CollectCliLogin` operationId).
func (*ClientWithResponses) ConsumeMagicLinkWithBodyWithResponse ¶
func (c *ClientWithResponses) ConsumeMagicLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConsumeMagicLinkResponse, error)
ConsumeMagicLinkWithBodyWithResponse Consume Magic Link
Opens a sign-in or sign-up link and sets the session cookie. A sign-up link creates the account first (verified email, personal organization, Free plan), and `new_account` is true. Opened in a browser other than the one that asked for it, the link answers 409 `confirm_sign_in` with the account's `email` in details until it is sent again with `confirm: true`.
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 /v1/auth/magic-link/consume (the `ConsumeMagicLink` operationId).
func (*ClientWithResponses) ConsumeMagicLinkWithResponse ¶
func (c *ClientWithResponses) ConsumeMagicLinkWithResponse(ctx context.Context, body ConsumeMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*ConsumeMagicLinkResponse, error)
ConsumeMagicLinkWithResponse Consume Magic Link
Opens a sign-in or sign-up link and sets the session cookie. A sign-up link creates the account first (verified email, personal organization, Free plan), and `new_account` is true. Opened in a browser other than the one that asked for it, the link answers 409 `confirm_sign_in` with the account's `email` in details until it is sent again with `confirm: true`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/magic-link/consume (the `ConsumeMagicLink` operationId).
func (*ClientWithResponses) CreateApiKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
CreateApiKeyWithBodyWithResponse Create Api Key
`project_id` is only for gateway keys, whose scopes are exactly ["ai"]: their requests are logged against that project and follow its routing policy. The key is in `key`, and only in this response.
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 /v1/orgs/{org_id}/api-keys (the `CreateApiKey` operationId).
func (*ClientWithResponses) CreateApiKeyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
CreateApiKeyWithResponse Create Api Key
`project_id` is only for gateway keys, whose scopes are exactly ["ai"]: their requests are logged against that project and follow its routing policy. The key is in `key`, and only in this response.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/api-keys (the `CreateApiKey` operationId).
func (*ClientWithResponses) CreateChatCompletionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateChatCompletionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChatCompletionResponse, error)
CreateChatCompletionWithBodyWithResponse Create Chat Completion
OpenAI-compatible chat completions. Set `model` to a catalogue id such as openai/gpt-4.1-mini. With `stream: true` the reply is server-sent events ending in `data: [DONE]`, and the last chunk before it carries usage. The response headers X-Dekka-Provider and X-Dekka-Model say what answered.
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 /v1/ai/chat/completions (the `CreateChatCompletion` operationId).
func (*ClientWithResponses) CreateChatCompletionWithResponse ¶
func (c *ClientWithResponses) CreateChatCompletionWithResponse(ctx context.Context, body CreateChatCompletionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChatCompletionResponse, error)
CreateChatCompletionWithResponse Create Chat Completion
OpenAI-compatible chat completions. Set `model` to a catalogue id such as openai/gpt-4.1-mini. With `stream: true` the reply is server-sent events ending in `data: [DONE]`, and the last chunk before it carries usage. The response headers X-Dekka-Provider and X-Dekka-Model say what answered.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/chat/completions (the `CreateChatCompletion` operationId).
func (*ClientWithResponses) CreateConnectionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateConnectionWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateConnectionResponse, error)
CreateConnectionWithBodyWithResponse Create Connection
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 /v1/projects/{project_id}/connections (the `CreateConnection` operationId).
func (*ClientWithResponses) CreateConnectionWithResponse ¶
func (c *ClientWithResponses) CreateConnectionWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateConnectionResponse, error)
CreateConnectionWithResponse Create Connection
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_id}/connections (the `CreateConnection` operationId).
func (*ClientWithResponses) CreateDatabaseBackupWithResponse ¶
func (c *ClientWithResponses) CreateDatabaseBackupWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateDatabaseBackupResponse, error)
CreateDatabaseBackupWithResponse Create Database Backup
Takes a manual backup of a database or a cache now (backup.create). It is kept for 30 days.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/backups (the `CreateDatabaseBackup` operationId).
func (*ClientWithResponses) CreateDeploymentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDeploymentWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error)
CreateDeploymentWithBodyWithResponse Create Deployment
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 /v1/resources/{resource_id}/deployments (the `CreateDeployment` operationId).
func (*ClientWithResponses) CreateDeploymentWithResponse ¶
func (c *ClientWithResponses) CreateDeploymentWithResponse(ctx context.Context, resourceId openapi_types.UUID, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error)
CreateDeploymentWithResponse Create Deployment
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/deployments (the `CreateDeployment` operationId).
func (*ClientWithResponses) CreateDomainWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDomainWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDomainResponse, error)
CreateDomainWithBodyWithResponse Create Domain
Adds a custom domain to an application. The response names the CNAME and TXT records to create before verifying. Needs a plan with custom_domains.
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 /v1/resources/{resource_id}/domains (the `CreateDomain` operationId).
func (*ClientWithResponses) CreateDomainWithResponse ¶
func (c *ClientWithResponses) CreateDomainWithResponse(ctx context.Context, resourceId openapi_types.UUID, body CreateDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDomainResponse, error)
CreateDomainWithResponse Create Domain
Adds a custom domain to an application. The response names the CNAME and TXT records to create before verifying. Needs a plan with custom_domains.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/domains (the `CreateDomain` operationId).
func (*ClientWithResponses) CreateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
CreateEnvironmentWithBodyWithResponse Create Environment
Creates an empty environment, or forks one with `fork_from`. A fork queues the same provisioning, deployments and connection configuration a person would by hand, and each copy counts against the plan's limits.
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 /v1/projects/{project_id}/environments (the `CreateEnvironment` operationId).
func (*ClientWithResponses) CreateEnvironmentWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
CreateEnvironmentWithResponse Create Environment
Creates an empty environment, or forks one with `fork_from`. A fork queues the same provisioning, deployments and connection configuration a person would by hand, and each copy counts against the plan's limits.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_id}/environments (the `CreateEnvironment` operationId).
func (*ClientWithResponses) CreateGpuRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateGpuRequestWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGpuRequestResponse, error)
CreateGpuRequestWithBodyWithResponse Create Gpu Request
Join the waitlist for a GPU instance, or ask to reserve some. The request is received, Dekka contacts the organization when capacity is available, and then closes it. Nothing is provisioned or billed.
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 /v1/orgs/{org_id}/gpu/requests (the `CreateGpuRequest` operationId).
func (*ClientWithResponses) CreateGpuRequestWithResponse ¶
func (c *ClientWithResponses) CreateGpuRequestWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateGpuRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGpuRequestResponse, error)
CreateGpuRequestWithResponse Create Gpu Request
Join the waitlist for a GPU instance, or ask to reserve some. The request is received, Dekka contacts the organization when capacity is available, and then closes it. Nothing is provisioned or billed.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/gpu/requests (the `CreateGpuRequest` operationId).
func (*ClientWithResponses) CreateImageWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateImageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageResponse, error)
CreateImageWithBodyWithResponse Create Image
OpenAI-compatible image generation with an image model such as openai/gpt-image-2. Images come back as base64 in `b64_json` and are never stored, so `response_format: url` answers 422. Usage counts the prompt's text tokens and the image tokens the provider reports.
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 /v1/ai/images/generations (the `CreateImage` operationId).
func (*ClientWithResponses) CreateImageWithResponse ¶
func (c *ClientWithResponses) CreateImageWithResponse(ctx context.Context, body CreateImageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageResponse, error)
CreateImageWithResponse Create Image
OpenAI-compatible image generation with an image model such as openai/gpt-image-2. Images come back as base64 in `b64_json` and are never stored, so `response_format: url` answers 422. Usage counts the prompt's text tokens and the image tokens the provider reports.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/images/generations (the `CreateImage` operationId).
func (*ClientWithResponses) CreateInferenceEndpointWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInferenceEndpointWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInferenceEndpointResponse, error)
CreateInferenceEndpointWithBodyWithResponse Create Inference Endpoint
Create a private inference endpoint for an open-weights model. It is waitlisted at once, because no GPU capacity is available yet. Outside production the AI gateway answers `private/<name>` with a simulated reply, so an app can be built against it now.
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 /v1/orgs/{org_id}/inference-endpoints (the `CreateInferenceEndpoint` operationId).
func (*ClientWithResponses) CreateInferenceEndpointWithResponse ¶
func (c *ClientWithResponses) CreateInferenceEndpointWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateInferenceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInferenceEndpointResponse, error)
CreateInferenceEndpointWithResponse Create Inference Endpoint
Create a private inference endpoint for an open-weights model. It is waitlisted at once, because no GPU capacity is available yet. Outside production the AI gateway answers `private/<name>` with a simulated reply, so an app can be built against it now.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/inference-endpoints (the `CreateInferenceEndpoint` operationId).
func (*ClientWithResponses) CreateJobRunWithResponse ¶
func (c *ClientWithResponses) CreateJobRunWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateJobRunResponse, error)
CreateJobRunWithResponse Create Job Run
Runs a scheduled job now with its start command. A job that has not been deployed answers 409 job_not_deployed, and one whose last run is still going 409 run_in_progress.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/runs (the `CreateJobRun` operationId).
func (*ClientWithResponses) CreateOrgInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrgInvitationWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgInvitationResponse, error)
CreateOrgInvitationWithBodyWithResponse Create Org Invitation
Emails a link to WEB_URL/invite?token=… that works once for seven days. Only owners may invite owners (403 owner_required). Refused with 409 already_member or invitation_exists, and with 403 entitlement_exceeded (team_members) when members plus open invitations would pass the plan.
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 /v1/orgs/{org_id}/invitations (the `CreateOrgInvitation` operationId).
func (*ClientWithResponses) CreateOrgInvitationWithResponse ¶
func (c *ClientWithResponses) CreateOrgInvitationWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateOrgInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgInvitationResponse, error)
CreateOrgInvitationWithResponse Create Org Invitation
Emails a link to WEB_URL/invite?token=… that works once for seven days. Only owners may invite owners (403 owner_required). Refused with 409 already_member or invitation_exists, and with 403 entitlement_exceeded (team_members) when members plus open invitations would pass the plan.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/invitations (the `CreateOrgInvitation` operationId).
func (*ClientWithResponses) CreateProjectTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectTokenWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectTokenResponse, error)
CreateProjectTokenWithBodyWithResponse Create Project Token
A token for CI that reaches only this project: its resources, deployments, environments and variables. Every org-level route and every other project answer 404 to it. `read` acts as a viewer and `write` as a developer, never above the creator's own role. The token is in `key`, and only in this response.
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 /v1/projects/{project_id}/tokens (the `CreateProjectToken` operationId).
func (*ClientWithResponses) CreateProjectTokenWithResponse ¶
func (c *ClientWithResponses) CreateProjectTokenWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateProjectTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectTokenResponse, error)
CreateProjectTokenWithResponse Create Project Token
A token for CI that reaches only this project: its resources, deployments, environments and variables. Every org-level route and every other project answer 404 to it. `read` acts as a viewer and `write` as a developer, never above the creator's own role. The token is in `key`, and only in this response.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_id}/tokens (the `CreateProjectToken` operationId).
func (*ClientWithResponses) CreateProjectWebhookWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectWebhookWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectWebhookResponse, error)
CreateProjectWebhookWithBodyWithResponse Create Project Webhook
Posts signed deploy events to `url`. The signing secret is in `secret`, and only in this response. Refused with 422 invalid_webhook_url for a URL that is not http(s), or in production not https or not public.
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 /v1/projects/{project_id}/webhooks (the `CreateProjectWebhook` operationId).
func (*ClientWithResponses) CreateProjectWebhookWithResponse ¶
func (c *ClientWithResponses) CreateProjectWebhookWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateProjectWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectWebhookResponse, error)
CreateProjectWebhookWithResponse Create Project Webhook
Posts signed deploy events to `url`. The signing secret is in `secret`, and only in this response. Refused with 422 invalid_webhook_url for a URL that is not http(s), or in production not https or not public.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_id}/webhooks (the `CreateProjectWebhook` operationId).
func (*ClientWithResponses) CreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithBodyWithResponse Create Project
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 /v1/orgs/{org_id}/projects (the `CreateProject` operationId).
func (*ClientWithResponses) CreateProjectWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithResponse Create Project
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/projects (the `CreateProject` operationId).
func (*ClientWithResponses) CreateProviderKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProviderKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProviderKeyResponse, error)
CreateProviderKeyWithBodyWithResponse Create Provider Key
Stores the key encrypted and replaces the provider's current key, if any. OpenAI keys start with sk- and Anthropic keys with sk-ant-. Only the last four characters are shown again.
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 /v1/orgs/{org_id}/ai/provider-keys (the `CreateProviderKey` operationId).
func (*ClientWithResponses) CreateProviderKeyWithResponse ¶
func (c *ClientWithResponses) CreateProviderKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateProviderKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProviderKeyResponse, error)
CreateProviderKeyWithResponse Create Provider Key
Stores the key encrypted and replaces the provider's current key, if any. OpenAI keys start with sk- and Anthropic keys with sk-ant-. Only the last four characters are shown again.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/ai/provider-keys (the `CreateProviderKey` operationId).
func (*ClientWithResponses) CreateRegistryCredentialWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRegistryCredentialWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRegistryCredentialResponse, error)
CreateRegistryCredentialWithBodyWithResponse Create Registry Credential
Stores a username and password or token for a private registry. The password is encrypted and only its last four characters are returned.
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 /v1/orgs/{org_id}/registry-credentials (the `CreateRegistryCredential` operationId).
func (*ClientWithResponses) CreateRegistryCredentialWithResponse ¶
func (c *ClientWithResponses) CreateRegistryCredentialWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateRegistryCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRegistryCredentialResponse, error)
CreateRegistryCredentialWithResponse Create Registry Credential
Stores a username and password or token for a private registry. The password is encrypted and only its last four characters are returned.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/registry-credentials (the `CreateRegistryCredential` operationId).
func (*ClientWithResponses) CreateResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateResourceWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceResponse, error)
CreateResourceWithBodyWithResponse Create Resource
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 /v1/projects/{project_id}/resources (the `CreateResource` operationId).
func (*ClientWithResponses) CreateResourceWithResponse ¶
func (c *ClientWithResponses) CreateResourceWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceResponse, error)
CreateResourceWithResponse Create Resource
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_id}/resources (the `CreateResource` operationId).
func (*ClientWithResponses) CreateServerSnapshotWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServerSnapshotWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServerSnapshotResponse, error)
CreateServerSnapshotWithBodyWithResponse Create Server Snapshot
Takes a snapshot of the disk, with the server running or stopped. A server holds at most ten.
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 /v1/servers/{server_id}/snapshots (the `CreateServerSnapshot` operationId).
func (*ClientWithResponses) CreateServerSnapshotWithResponse ¶
func (c *ClientWithResponses) CreateServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, body CreateServerSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServerSnapshotResponse, error)
CreateServerSnapshotWithResponse Create Server Snapshot
Takes a snapshot of the disk, with the server running or stopped. A server holds at most ten.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{server_id}/snapshots (the `CreateServerSnapshot` operationId).
func (*ClientWithResponses) CreateServerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServerWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServerResponse, error)
CreateServerWithBodyWithResponse Create Server
Creates a virtual_machine resource and queues vm.provision. The same as POST /v1/projects/{project_id}/resources with kind virtual_machine. The runtime profile is fixed from here on, and the size and image must belong to 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 POST /v1/projects/{project_id}/servers (the `CreateServer` operationId).
func (*ClientWithResponses) CreateServerWithResponse ¶
func (c *ClientWithResponses) CreateServerWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServerResponse, error)
CreateServerWithResponse Create Server
Creates a virtual_machine resource and queues vm.provision. The same as POST /v1/projects/{project_id}/resources with kind virtual_machine. The runtime profile is fixed from here on, and the size and image must belong to it.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_id}/servers (the `CreateServer` operationId).
func (*ClientWithResponses) CreateSpeechWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSpeechWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSpeechResponse, error)
CreateSpeechWithBodyWithResponse Create Speech
OpenAI-compatible text to speech with a speech model such as openai/gpt-4o-mini-tts. The reply body is the audio itself, and the X-Dekka-Provider and X-Dekka-Model headers say what answered.
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 /v1/ai/audio/speech (the `CreateSpeech` operationId).
func (*ClientWithResponses) CreateSpeechWithResponse ¶
func (c *ClientWithResponses) CreateSpeechWithResponse(ctx context.Context, body CreateSpeechJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSpeechResponse, error)
CreateSpeechWithResponse Create Speech
OpenAI-compatible text to speech with a speech model such as openai/gpt-4o-mini-tts. The reply body is the audio itself, and the X-Dekka-Provider and X-Dekka-Model headers say what answered.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/audio/speech (the `CreateSpeech` operationId).
func (*ClientWithResponses) CreateSshKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSshKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)
CreateSshKeyWithBodyWithResponse Create Ssh Key
Saves a public key for new servers. Private keys are refused with 422 private_key_rejected, and the same key twice with 409 ssh_key_exists.
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 /v1/orgs/{org_id}/ssh-keys (the `CreateSshKey` operationId).
func (*ClientWithResponses) CreateSshKeyWithResponse ¶
func (c *ClientWithResponses) CreateSshKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)
CreateSshKeyWithResponse Create Ssh Key
Saves a public key for new servers. Private keys are refused with 422 private_key_rejected, and the same key twice with 409 ssh_key_exists.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/ssh-keys (the `CreateSshKey` operationId).
func (*ClientWithResponses) CreateTranscriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTranscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTranscriptionResponse, error)
CreateTranscriptionWithBodyWithResponse Create Transcription
OpenAI-compatible transcription, sent as multipart form data with a transcription model such as openai/gpt-4o-mini-transcribe. The audio is passed to the provider and never stored.
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 /v1/ai/audio/transcriptions (the `CreateTranscription` operationId).
func (*ClientWithResponses) CreateVolumeBackupWithResponse ¶
func (c *ClientWithResponses) CreateVolumeBackupWithResponse(ctx context.Context, volumeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateVolumeBackupResponse, error)
CreateVolumeBackupWithResponse Create Volume Backup
Backs the volume up now (backup.create). It is kept for 30 days. The engine also backs up every attached volume each night.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/volumes/{volume_id}/backups (the `CreateVolumeBackup` operationId).
func (*ClientWithResponses) CreateVolumeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVolumeWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)
CreateVolumeWithBodyWithResponse Create Volume
Attaches a new volume to a service and queues volume.create.
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 /v1/resources/{resource_id}/volume (the `CreateVolume` operationId).
func (*ClientWithResponses) CreateVolumeWithResponse ¶
func (c *ClientWithResponses) CreateVolumeWithResponse(ctx context.Context, resourceId openapi_types.UUID, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)
CreateVolumeWithResponse Create Volume
Attaches a new volume to a service and queues volume.create.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/volume (the `CreateVolume` operationId).
func (*ClientWithResponses) DeclaredServicesWithResponse ¶
func (c *ClientWithResponses) DeclaredServicesWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeclaredServicesResponse, error)
DeclaredServicesWithResponse Declared Services
The databases, caches, buckets and queues the service's dekka.toml (or dekka.json) declares under [services.<name>], read at its latest deployed commit, and whether each exists in the environment and is connected.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/config/services (the `DeclaredServices` operationId).
func (*ClientWithResponses) DeleteChangesetChangeWithResponse ¶
func (c *ClientWithResponses) DeleteChangesetChangeWithResponse(ctx context.Context, changeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteChangesetChangeResponse, error)
DeleteChangesetChangeWithResponse Delete Changeset Change
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/changeset-changes/{change_id} (the `DeleteChangesetChange` operationId).
func (*ClientWithResponses) DeleteConnectionWithResponse ¶
func (c *ClientWithResponses) DeleteConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteConnectionResponse, error)
DeleteConnectionWithResponse Delete Connection
Starts disconnecting. The variables are removed once the engine confirms.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/connections/{connection_id} (the `DeleteConnection` operationId).
func (*ClientWithResponses) DeleteDomainWithResponse ¶
func (c *ClientWithResponses) DeleteDomainWithResponse(ctx context.Context, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDomainResponse, error)
DeleteDomainWithResponse Delete Domain
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/domains/{domain_id} (the `DeleteDomain` operationId).
func (*ClientWithResponses) DeleteEnvVarWithResponse ¶
func (c *ClientWithResponses) DeleteEnvVarWithResponse(ctx context.Context, resourceId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*DeleteEnvVarResponse, error)
DeleteEnvVarWithResponse Delete Env Var
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/resources/{resource_id}/env/{key} (the `DeleteEnvVar` operationId).
func (*ClientWithResponses) DeleteEnvironmentWithResponse ¶
func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
DeleteEnvironmentWithResponse Delete Environment
Starts deleting every resource in the environment, databases included, and marks it `deleting`. The environment disappears once the engine has deleted them all. The default environment cannot be deleted.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/environments/{environment_id} (the `DeleteEnvironment` operationId).
func (*ClientWithResponses) DeleteInferenceEndpointWithResponse ¶
func (c *ClientWithResponses) DeleteInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteInferenceEndpointResponse, error)
DeleteInferenceEndpointWithResponse Delete Inference Endpoint
Delete the endpoint. The gateway stops answering its model at once.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/inference-endpoints/{endpoint_id} (the `DeleteInferenceEndpoint` operationId).
func (*ClientWithResponses) DeleteMyPasskeyWithResponse ¶
func (c *ClientWithResponses) DeleteMyPasskeyWithResponse(ctx context.Context, passkeyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteMyPasskeyResponse, error)
DeleteMyPasskeyWithResponse Delete My Passkey
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/me/passkeys/{passkey_id} (the `DeleteMyPasskey` operationId).
func (*ClientWithResponses) DeletePreviewWithResponse ¶
func (c *ClientWithResponses) DeletePreviewWithResponse(ctx context.Context, previewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePreviewResponse, error)
DeletePreviewWithResponse Delete Preview
Closes the preview and deletes its environment, as closing the pull request would. A later push to the pull request opens a new one.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/previews/{preview_id} (the `DeletePreview` operationId).
func (*ClientWithResponses) DeleteProjectWithResponse ¶
func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
DeleteProjectWithResponse Delete Project
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{project_id} (the `DeleteProject` operationId).
func (*ClientWithResponses) DeleteRegistryCredentialWithResponse ¶
func (c *ClientWithResponses) DeleteRegistryCredentialWithResponse(ctx context.Context, orgId openapi_types.UUID, credentialId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRegistryCredentialResponse, error)
DeleteRegistryCredentialWithResponse Delete Registry Credential
Refused with 409 registry_credential_in_use while a service's image source names it.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/orgs/{org_id}/registry-credentials/{credential_id} (the `DeleteRegistryCredential` operationId).
func (*ClientWithResponses) DeleteResourceWithResponse ¶
func (c *ClientWithResponses) DeleteResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *DeleteResourceParams, reqEditors ...RequestEditorFn) (*DeleteResourceResponse, error)
DeleteResourceWithResponse Delete Resource
Starts deletion. Postgres needs `?confirm=<resource name>`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/resources/{resource_id} (the `DeleteResource` operationId).
func (*ClientWithResponses) DeleteServerSnapshotWithResponse ¶
func (c *ClientWithResponses) DeleteServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, reqEditors ...RequestEditorFn) (*DeleteServerSnapshotResponse, error)
DeleteServerSnapshotWithResponse Delete Server Snapshot
Deletes one snapshot. The disk as it is now is not touched.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/servers/{server_id}/snapshots/{snapshot_id} (the `DeleteServerSnapshot` operationId).
func (*ClientWithResponses) DeleteServerWithResponse ¶
func (c *ClientWithResponses) DeleteServerWithResponse(ctx context.Context, serverId openapi_types.UUID, params *DeleteServerParams, reqEditors ...RequestEditorFn) (*DeleteServerResponse, error)
DeleteServerWithResponse Delete Server
Starts deleting the server and its disk; `?confirm=<name>` is required. Billing stops at the end of the hour the engine confirms the delete in.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/servers/{server_id} (the `DeleteServer` operationId).
func (*ClientWithResponses) DeleteSharedVariableWithResponse ¶
func (c *ClientWithResponses) DeleteSharedVariableWithResponse(ctx context.Context, environmentId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*DeleteSharedVariableResponse, error)
DeleteSharedVariableWithResponse Delete Shared Variable
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/environments/{environment_id}/variables/{key} (the `DeleteSharedVariable` operationId).
func (*ClientWithResponses) DeleteSshKeyWithResponse ¶
func (c *ClientWithResponses) DeleteSshKeyWithResponse(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)
DeleteSshKeyWithResponse Delete Ssh Key
Servers created with this key keep it.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/ssh-keys/{key_id} (the `DeleteSshKey` operationId).
func (*ClientWithResponses) DeleteVolumeWithResponse ¶
func (c *ClientWithResponses) DeleteVolumeWithResponse(ctx context.Context, volumeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteVolumeResponse, error)
DeleteVolumeWithResponse Delete Volume
Starts deleting the volume and its data. It disappears once the engine confirms.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/volumes/{volume_id} (the `DeleteVolume` operationId).
func (*ClientWithResponses) DeleteWebhookWithResponse ¶
func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)
DeleteWebhookWithResponse Delete Webhook
Deletes the webhook and its delivery history.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/webhooks/{webhook_id} (the `DeleteWebhook` operationId).
func (*ClientWithResponses) DenyCliLoginWithResponse ¶
func (c *ClientWithResponses) DenyCliLoginWithResponse(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*DenyCliLoginResponse, error)
DenyCliLoginWithResponse Deny Cli Login
Refuse a sign-in, so the CLI that asked stops waiting.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/cli/logins/{user_code}/deny (the `DenyCliLogin` operationId).
func (*ClientWithResponses) DeployChangesetWithBodyWithResponse ¶
func (c *ClientWithResponses) DeployChangesetWithBodyWithResponse(ctx context.Context, changesetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeployChangesetResponse, error)
DeployChangesetWithBodyWithResponse Deploy Changeset
Applies every change in one transaction through the same services as the direct endpoints, then creates one deployment (trigger config_change) per existing service whose settings or variables changed. New services get their initial deployment. Returns the changeset with each change's result and every operation queued. A blueprint or template plan whose environment changed since it was computed is marked stale and answers 409 plan_stale; an error in any change answers that change's error, with its id in the details, and applies nothing.
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 /v1/changesets/{changeset_id}/deploy (the `DeployChangeset` operationId).
func (*ClientWithResponses) DeployChangesetWithResponse ¶
func (c *ClientWithResponses) DeployChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, body DeployChangesetJSONRequestBody, reqEditors ...RequestEditorFn) (*DeployChangesetResponse, error)
DeployChangesetWithResponse Deploy Changeset
Applies every change in one transaction through the same services as the direct endpoints, then creates one deployment (trigger config_change) per existing service whose settings or variables changed. New services get their initial deployment. Returns the changeset with each change's result and every operation queued. A blueprint or template plan whose environment changed since it was computed is marked stale and answers 409 plan_stale; an error in any change answers that change's error, with its id in the details, and applies nothing.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/changesets/{changeset_id}/deploy (the `DeployChangeset` operationId).
func (*ClientWithResponses) DetectGithubSettingsWithResponse ¶
func (c *ClientWithResponses) DetectGithubSettingsWithResponse(ctx context.Context, installationId int, repoId int, params *DetectGithubSettingsParams, reqEditors ...RequestEditorFn) (*DetectGithubSettingsResponse, error)
DetectGithubSettingsWithResponse Detect Github Settings
How Dekka would build and run this branch, from the files at its root: the framework, build strategy, port, start command and health path, plus any Compose file or dekka.toml found. Nothing is run; the files are only read.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/github/installations/{installation_id}/repos/{repo_id}/detect (the `DetectGithubSettings` operationId).
func (*ClientWithResponses) DiscardChangesetWithResponse ¶
func (c *ClientWithResponses) DiscardChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DiscardChangesetResponse, error)
DiscardChangesetWithResponse Discard Changeset
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/changesets/{changeset_id}/discard (the `DiscardChangeset` operationId).
func (*ClientWithResponses) DowngradeSubscriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) DowngradeSubscriptionWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DowngradeSubscriptionResponse, error)
DowngradeSubscriptionWithBodyWithResponse Downgrade Subscription
Schedules a cheaper plan to start when the current period ends.
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 /v1/orgs/{org_id}/billing/subscription/downgrade (the `DowngradeSubscription` operationId).
func (*ClientWithResponses) DowngradeSubscriptionWithResponse ¶
func (c *ClientWithResponses) DowngradeSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, body DowngradeSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*DowngradeSubscriptionResponse, error)
DowngradeSubscriptionWithResponse Downgrade Subscription
Schedules a cheaper plan to start when the current period ends.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/billing/subscription/downgrade (the `DowngradeSubscription` operationId).
func (*ClientWithResponses) DownloadInvoiceWithResponse ¶
func (c *ClientWithResponses) DownloadInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DownloadInvoiceResponse, error)
DownloadInvoiceWithResponse Download Invoice
A plain-text invoice, standing in for a PDF.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/invoices/{invoice_id}/download (the `DownloadInvoice` operationId).
func (*ClientWithResponses) EnvironmentReferenceTargetsWithResponse ¶
func (c *ClientWithResponses) EnvironmentReferenceTargetsWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnvironmentReferenceTargetsResponse, error)
EnvironmentReferenceTargetsWithResponse Environment Reference Targets
What shared variables can reference, for autocomplete. A database's connection variables are left out, since they belong to the service that connects. Names only; values are never returned.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/environments/{environment_id}/variables/references (the `EnvironmentReferenceTargets` operationId).
func (*ClientWithResponses) EstimateWithBodyWithResponse ¶
func (c *ClientWithResponses) EstimateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EstimateResponse, error)
EstimateWithBodyWithResponse Estimate
What a proposed resource, a resize or a changeset costs, as a monthly equivalent in the catalogue's currency with a line for each part, what goes on being charged while stopped, and the usage metered on top. It reads app/catalog/plans.yaml, servers.yaml and prices.yaml and counts the organization's plan allowances when it is known. It changes nothing.
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 /v1/estimates (the `Estimate` operationId).
func (*ClientWithResponses) EstimateWithResponse ¶
func (c *ClientWithResponses) EstimateWithResponse(ctx context.Context, body EstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*EstimateResponse, error)
EstimateWithResponse Estimate
What a proposed resource, a resize or a changeset costs, as a monthly equivalent in the catalogue's currency with a line for each part, what goes on being charged while stopped, and the usage metered on top. It reads app/catalog/plans.yaml, servers.yaml and prices.yaml and counts the organization's plan allowances when it is known. It changes nothing.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/estimates (the `Estimate` operationId).
func (*ClientWithResponses) GetAiMetricsWithResponse ¶
func (c *ClientWithResponses) GetAiMetricsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *GetAiMetricsParams, reqEditors ...RequestEditorFn) (*GetAiMetricsResponse, error)
GetAiMetricsWithResponse Get Ai Metrics
Requests, tokens, spend at list price and errors per UTC day (every day in the range, zeros included) and per model, with totals. `end` is inclusive and the range defaults to the last 14 days.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/ai/metrics (the `GetAiMetrics` operationId).
func (*ClientWithResponses) GetAiPolicyWithResponse ¶
func (c *ClientWithResponses) GetAiPolicyWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAiPolicyResponse, error)
GetAiPolicyWithResponse Get Ai Policy
The project's routing rules. A project that never saved any allows every available model from both providers, with no fallback and no cap.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/ai/policy (the `GetAiPolicy` operationId).
func (*ClientWithResponses) GetAiPrivacyWithResponse ¶
func (c *ClientWithResponses) GetAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAiPrivacyResponse, error)
GetAiPrivacyWithResponse Get Ai Privacy
The project's Veil settings for the gateway. Off until someone turns it on.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/ai/privacy (the `GetAiPrivacy` operationId).
func (*ClientWithResponses) GetAnalyticsSummaryWithResponse ¶
func (c *ClientWithResponses) GetAnalyticsSummaryWithResponse(ctx context.Context, params *GetAnalyticsSummaryParams, reqEditors ...RequestEditorFn) (*GetAnalyticsSummaryResponse, error)
GetAnalyticsSummaryWithResponse Get Analytics Summary
Daily counts by event name, top paths and top referrers. Staff only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/analytics/summary (the `GetAnalyticsSummary` operationId).
func (*ClientWithResponses) GetAnnouncementWithResponse ¶
func (c *ClientWithResponses) GetAnnouncementWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAnnouncementResponse, error)
GetAnnouncementWithResponse Get Announcement
The line an admin has set to show across the top of the dashboard, if any.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/announcement (the `GetAnnouncement` operationId).
func (*ClientWithResponses) GetBackupWithResponse ¶
func (c *ClientWithResponses) GetBackupWithResponse(ctx context.Context, backupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBackupResponse, error)
GetBackupWithResponse Get Backup
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/backups/{backup_id} (the `GetBackup` operationId).
func (*ClientWithResponses) GetBillingCheckoutWithResponse ¶
func (c *ClientWithResponses) GetBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, reference string, reqEditors ...RequestEditorFn) (*GetBillingCheckoutResponse, error)
GetBillingCheckoutWithResponse Get Billing Checkout
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/checkout/{reference} (the `GetBillingCheckout` operationId).
func (*ClientWithResponses) GetBillingDetailsWithResponse ¶
func (c *ClientWithResponses) GetBillingDetailsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBillingDetailsResponse, error)
GetBillingDetailsWithResponse Get Billing Details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/details (the `GetBillingDetails` operationId).
func (*ClientWithResponses) GetCanvasWithResponse ¶
func (c *ClientWithResponses) GetCanvasWithResponse(ctx context.Context, projectId openapi_types.UUID, params *GetCanvasParams, reqEditors ...RequestEditorFn) (*GetCanvasResponse, error)
GetCanvasWithResponse Get Canvas
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/canvas (the `GetCanvas` operationId).
func (*ClientWithResponses) GetChangesetWithResponse ¶
func (c *ClientWithResponses) GetChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChangesetResponse, error)
GetChangesetWithResponse Get Changeset
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/changesets/{changeset_id} (the `GetChangeset` operationId).
func (*ClientWithResponses) GetCliLoginWithResponse ¶
func (c *ClientWithResponses) GetCliLoginWithResponse(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*GetCliLoginResponse, error)
GetCliLoginWithResponse Get Cli Login
What the dashboard shows before a sign-in is approved: the machine that asked, when, and whether the attempt is still open.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/cli/logins/{user_code} (the `GetCliLogin` operationId).
func (*ClientWithResponses) GetCsrfTokenWithResponse ¶
func (c *ClientWithResponses) GetCsrfTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCsrfTokenResponse, error)
GetCsrfTokenWithResponse Get Csrf Token
Returns the CSRF token and sets the CSRF cookie if needed (`__Host-dekka_csrf` in production). Send the token as `X-CSRF-Token` on every mutating request.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/csrf (the `GetCsrfToken` operationId).
func (*ClientWithResponses) GetDeploymentLogsWithResponse ¶
func (c *ClientWithResponses) GetDeploymentLogsWithResponse(ctx context.Context, deploymentId openapi_types.UUID, params *GetDeploymentLogsParams, reqEditors ...RequestEditorFn) (*GetDeploymentLogsResponse, error)
GetDeploymentLogsWithResponse Get Deployment Logs
Build and deploy log lines after `after` (a sequence number).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/deployments/{deployment_id}/logs (the `GetDeploymentLogs` operationId).
func (*ClientWithResponses) GetDeploymentWithResponse ¶
func (c *ClientWithResponses) GetDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDeploymentResponse, error)
GetDeploymentWithResponse Get Deployment
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/deployments/{deployment_id} (the `GetDeployment` operationId).
func (*ClientWithResponses) GetEnvironmentChangesetWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentChangesetWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentChangesetResponse, error)
GetEnvironmentChangesetWithResponse Get Environment Changeset
The environment's manual draft: staged changes with a summary each and `pending_count` for the pending-changes bar. An environment with nothing staged returns an empty draft whose id is null. A `changeset` event on the project's SSE channel says when it changes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/environments/{environment_id}/changeset (the `GetEnvironmentChangeset` operationId).
func (*ClientWithResponses) GetEnvironmentFirewallWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentFirewallWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentFirewallResponse, error)
GetEnvironmentFirewallWithResponse Get Environment Firewall
The inbound rules on the environment's private network, which its KVM servers share. An environment gets the network with its first such server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/environments/{environment_id}/firewall (the `GetEnvironmentFirewall` operationId).
func (*ClientWithResponses) GetEnvironmentWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
GetEnvironmentWithResponse Get Environment
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/environments/{environment_id} (the `GetEnvironment` operationId).
func (*ClientWithResponses) GetGithubInstallUrlWithResponse ¶
func (c *ClientWithResponses) GetGithubInstallUrlWithResponse(ctx context.Context, orgId openapi_types.UUID, params *GetGithubInstallUrlParams, reqEditors ...RequestEditorFn) (*GetGithubInstallUrlResponse, error)
GetGithubInstallUrlWithResponse Get Github Install Url
Where to send the browser to install the GitHub App for this org. It comes back to /v1/github/setup, which links the installation.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/github/install-url (the `GetGithubInstallUrl` operationId).
func (*ClientWithResponses) GetInferenceEndpointWithResponse ¶
func (c *ClientWithResponses) GetInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetInferenceEndpointResponse, error)
GetInferenceEndpointWithResponse Get Inference Endpoint
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/inference-endpoints/{endpoint_id} (the `GetInferenceEndpoint` operationId).
func (*ClientWithResponses) GetInvoiceWithResponse ¶
func (c *ClientWithResponses) GetInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetInvoiceResponse, error)
GetInvoiceWithResponse Get Invoice
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/invoices/{invoice_id} (the `GetInvoice` operationId).
func (*ClientWithResponses) GetJobRunLogsWithResponse ¶
func (c *ClientWithResponses) GetJobRunLogsWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetJobRunLogsParams, reqEditors ...RequestEditorFn) (*GetJobRunLogsResponse, error)
GetJobRunLogsWithResponse Get Job Run Logs
The run's output after `after` (a sequence number).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/job-runs/{run_id}/logs (the `GetJobRunLogs` operationId).
func (*ClientWithResponses) GetJobRunWithResponse ¶
func (c *ClientWithResponses) GetJobRunWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJobRunResponse, error)
GetJobRunWithResponse Get Job Run
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/job-runs/{run_id} (the `GetJobRun` operationId).
func (*ClientWithResponses) GetMeWithResponse ¶
func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
GetMeWithResponse Get Me
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/me (the `GetMe` operationId).
func (*ClientWithResponses) GetNotificationPreferencesWithResponse ¶
func (c *ClientWithResponses) GetNotificationPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNotificationPreferencesResponse, error)
GetNotificationPreferencesWithResponse Get Notification Preferences
Both are on until the user turns them off.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/me/notifications (the `GetNotificationPreferences` operationId).
func (*ClientWithResponses) GetOperationWithResponse ¶
func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, operationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
GetOperationWithResponse Get Operation
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/operations/{operation_id} (the `GetOperation` operationId).
func (*ClientWithResponses) GetOrgOverviewWithResponse ¶
func (c *ClientWithResponses) GetOrgOverviewWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgOverviewResponse, error)
GetOrgOverviewWithResponse Get Org Overview
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/overview (the `GetOrgOverview` operationId).
func (*ClientWithResponses) GetOrgSubscriptionWithResponse ¶
func (c *ClientWithResponses) GetOrgSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgSubscriptionResponse, error)
GetOrgSubscriptionWithResponse Get Org Subscription
The plan, its period, any scheduled change, and current usage. An ended period is rolled forward here as well as by the reconciler.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/subscription (the `GetOrgSubscription` operationId).
func (*ClientWithResponses) GetOrgWithResponse ¶
func (c *ClientWithResponses) GetOrgWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)
GetOrgWithResponse Get Org
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id} (the `GetOrg` operationId).
func (*ClientWithResponses) GetPreviewWithResponse ¶
func (c *ClientWithResponses) GetPreviewWithResponse(ctx context.Context, previewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPreviewResponse, error)
GetPreviewWithResponse Get Preview
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/previews/{preview_id} (the `GetPreview` operationId).
func (*ClientWithResponses) GetProjectWithResponse ¶
func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
GetProjectWithResponse Get Project
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id} (the `GetProject` operationId).
func (*ClientWithResponses) GetRawEnvWithResponse ¶
func (c *ClientWithResponses) GetRawEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRawEnvResponse, error)
GetRawEnvWithResponse Get Raw Env
The service's own variables as dotenv text. Secret, sealed and connection-managed values are left out, each with a comment line naming it.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/env/raw (the `GetRawEnv` operationId).
func (*ClientWithResponses) GetRawSharedVariablesWithResponse ¶
func (c *ClientWithResponses) GetRawSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRawSharedVariablesResponse, error)
GetRawSharedVariablesWithResponse Get Raw Shared Variables
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/environments/{environment_id}/variables/raw (the `GetRawSharedVariables` operationId).
func (*ClientWithResponses) GetResourceHttpLogsWithResponse ¶
func (c *ClientWithResponses) GetResourceHttpLogsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceHttpLogsParams, reqEditors ...RequestEditorFn) (*GetResourceHttpLogsResponse, error)
GetResourceHttpLogsWithResponse Get Resource Http Logs
HTTP request logs for an application, read from the engine, oldest first after `after`. Poll with `after=next_after` for new requests.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/http-logs (the `GetResourceHttpLogs` operationId).
func (*ClientWithResponses) GetResourceLogsWithResponse ¶
func (c *ClientWithResponses) GetResourceLogsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceLogsParams, reqEditors ...RequestEditorFn) (*GetResourceLogsResponse, error)
GetResourceLogsWithResponse Get Resource Logs
Runtime logs, read from the engine.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/logs (the `GetResourceLogs` operationId).
func (*ClientWithResponses) GetResourceMetricsWithResponse ¶
func (c *ClientWithResponses) GetResourceMetricsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceMetricsParams, reqEditors ...RequestEditorFn) (*GetResourceMetricsResponse, error)
GetResourceMetricsWithResponse Get Resource Metrics
Metrics from the engine over `window`. `simulated` is true when the engine is the mock.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/metrics (the `GetResourceMetrics` operationId).
func (*ClientWithResponses) GetResourceWithResponse ¶
func (c *ClientWithResponses) GetResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetResourceResponse, error)
GetResourceWithResponse Get Resource
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id} (the `GetResource` operationId).
func (*ClientWithResponses) GetServerWithResponse ¶
func (c *ClientWithResponses) GetServerWithResponse(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServerResponse, error)
GetServerWithResponse Get Server
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{server_id} (the `GetServer` operationId).
func (*ClientWithResponses) GetSpendLimitWithResponse ¶
func (c *ClientWithResponses) GetSpendLimitWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSpendLimitResponse, error)
GetSpendLimitWithResponse Get Spend Limit
Usage alerts, the hard spend limit, this period's estimate and whether the limit is reached.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/spend-limit (the `GetSpendLimit` operationId).
func (*ClientWithResponses) GetSupportTicketWithResponse ¶
func (c *ClientWithResponses) GetSupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSupportTicketResponse, error)
GetSupportTicketWithResponse Get Support Ticket
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/support/tickets/{ticket_id} (the `GetSupportTicket` operationId).
func (*ClientWithResponses) GetTemplateWithResponse ¶
func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)
GetTemplateWithResponse Get Template
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/catalog/templates/{template_id} (the `GetTemplate` operationId).
func (*ClientWithResponses) GetUpcomingInvoiceWithResponse ¶
func (c *ClientWithResponses) GetUpcomingInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUpcomingInvoiceResponse, error)
GetUpcomingInvoiceWithResponse Get Upcoming Invoice
What the current period would bill if it ended now. Nothing is stored.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/upcoming-invoice (the `GetUpcomingInvoice` operationId).
func (*ClientWithResponses) GetUsageSummaryWithResponse ¶
func (c *ClientWithResponses) GetUsageSummaryWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUsageSummaryResponse, error)
GetUsageSummaryWithResponse Get Usage Summary
Each meter for the current period: quantity, included allowance and estimated charge.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/usage (the `GetUsageSummary` operationId).
func (*ClientWithResponses) GetVolumeWithResponse ¶
func (c *ClientWithResponses) GetVolumeWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVolumeResponse, error)
GetVolumeWithResponse Get Volume
The service's volume, or null when it has none.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/volume (the `GetVolume` operationId).
func (*ClientWithResponses) GithubLoginCallbackWithResponse ¶
func (c *ClientWithResponses) GithubLoginCallbackWithResponse(ctx context.Context, params *GithubLoginCallbackParams, reqEditors ...RequestEditorFn) (*GithubLoginCallbackResponse, error)
GithubLoginCallbackWithResponse Github Login Callback
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/github/callback (the `GithubLoginCallback` operationId).
func (*ClientWithResponses) GithubLoginStartWithResponse ¶
func (c *ClientWithResponses) GithubLoginStartWithResponse(ctx context.Context, params *GithubLoginStartParams, reqEditors ...RequestEditorFn) (*GithubLoginStartResponse, error)
GithubLoginStartWithResponse Github Login Start
Redirects to GitHub's authorization page (or straight back with the fake provider). Started while signed in, it links GitHub to that account, and the state records which session asked so the callback can't link to anyone else.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/github/start (the `GithubLoginStart` operationId).
func (*ClientWithResponses) GithubSetupAuthorizedWithResponse ¶
func (c *ClientWithResponses) GithubSetupAuthorizedWithResponse(ctx context.Context, params *GithubSetupAuthorizedParams, reqEditors ...RequestEditorFn) (*GithubSetupAuthorizedResponse, error)
GithubSetupAuthorizedWithResponse Github Setup Authorized
Second half of the installation callback: GitHub has authorised the user, so link the installation only if that user administers it.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/github/setup/authorized (the `GithubSetupAuthorized` operationId).
func (*ClientWithResponses) GithubSetupCallbackWithResponse ¶
func (c *ClientWithResponses) GithubSetupCallbackWithResponse(ctx context.Context, params *GithubSetupCallbackParams, reqEditors ...RequestEditorFn) (*GithubSetupCallbackResponse, error)
GithubSetupCallbackWithResponse Github Setup Callback
GitHub App installation callback (the app's Setup URL).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/github/setup (the `GithubSetupCallback` operationId).
func (*ClientWithResponses) GoogleLoginCallbackWithResponse ¶
func (c *ClientWithResponses) GoogleLoginCallbackWithResponse(ctx context.Context, params *GoogleLoginCallbackParams, reqEditors ...RequestEditorFn) (*GoogleLoginCallbackResponse, error)
GoogleLoginCallbackWithResponse Google Login Callback
Google's redirect target. Failures go to `/login?error=google_<reason>` on the web app, with reason one of denied, state, unavailable, exchange or email_unverified.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/google/callback (the `GoogleLoginCallback` operationId).
func (*ClientWithResponses) GoogleLoginStartWithResponse ¶
func (c *ClientWithResponses) GoogleLoginStartWithResponse(ctx context.Context, params *GoogleLoginStartParams, reqEditors ...RequestEditorFn) (*GoogleLoginStartResponse, error)
GoogleLoginStartWithResponse Google Login Start
Redirects to Google's consent screen (or straight back with the fake provider). Started while signed in, it links Google to that account only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/google/start (the `GoogleLoginStart` operationId).
func (*ClientWithResponses) GpuCatalogWithResponse ¶
func (c *ClientWithResponses) GpuCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GpuCatalogResponse, error)
GpuCatalogWithResponse Gpu Catalog
GPU instances Dekka plans to offer. None can be provisioned yet, so every entry is on the waitlist and has no price until a host quotes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/catalog/gpu-instances (the `GpuCatalog` operationId).
func (*ClientWithResponses) HealthzWithResponse ¶
func (c *ClientWithResponses) HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthzResponse, error)
HealthzWithResponse Healthz
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/healthz (the `Healthz` operationId).
func (*ClientWithResponses) LeaveAMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) LeaveAMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LeaveAMessageResponse, error)
LeaveAMessageWithBodyWithResponse Leave A Message
A message from the marketing site. It opens a support request that staff answer by email.
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 /v1/contact (the `LeaveAMessage` operationId).
func (*ClientWithResponses) LeaveAMessageWithResponse ¶
func (c *ClientWithResponses) LeaveAMessageWithResponse(ctx context.Context, body LeaveAMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*LeaveAMessageResponse, error)
LeaveAMessageWithResponse Leave A Message
A message from the marketing site. It opens a support request that staff answer by email.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/contact (the `LeaveAMessage` operationId).
func (*ClientWithResponses) ListAiModelsWithResponse ¶
func (c *ClientWithResponses) ListAiModelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAiModelsResponse, error)
ListAiModelsWithResponse List Ai Models
Every model in the catalogue at the providers' list prices in US dollars, which are a snapshot to check before launch. Both providers process requests in the United States, outside Ghana.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/catalog/ai-models (the `ListAiModels` operationId).
func (*ClientWithResponses) ListAiRequestsWithResponse ¶
func (c *ClientWithResponses) ListAiRequestsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListAiRequestsParams, reqEditors ...RequestEditorFn) (*ListAiRequestsResponse, error)
ListAiRequestsWithResponse List Ai Requests
Gateway requests, newest first. `model` matches the requested or the serving model. Prompts and replies are never stored.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/ai/requests (the `ListAiRequests` operationId).
func (*ClientWithResponses) ListApiKeysWithResponse ¶
func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
ListApiKeysWithResponse List Api Keys
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/api-keys (the `ListApiKeys` operationId).
func (*ClientWithResponses) ListConnectionStringsWithResponse ¶
func (c *ClientWithResponses) ListConnectionStringsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListConnectionStringsResponse, error)
ListConnectionStringsWithResponse List Connection Strings
One row per app connected to this database, with the variable it was given and the URL with its password masked. The full value comes from POST /v1/resources/{app_id}/env/{env_key}/reveal, which is audited.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/connection-strings (the `ListConnectionStrings` operationId).
func (*ClientWithResponses) ListConnectionsWithResponse ¶
func (c *ClientWithResponses) ListConnectionsWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListConnectionsResponse, error)
ListConnectionsWithResponse List Connections
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/connections (the `ListConnections` operationId).
func (*ClientWithResponses) ListDataLocationsWithResponse ¶
func (c *ClientWithResponses) ListDataLocationsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListDataLocationsResponse, error)
ListDataLocationsWithResponse List Data Locations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/data-locations (the `ListDataLocations` operationId).
func (*ClientWithResponses) ListDatabaseBackupsWithResponse ¶
func (c *ClientWithResponses) ListDatabaseBackupsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListDatabaseBackupsParams, reqEditors ...RequestEditorFn) (*ListDatabaseBackupsResponse, error)
ListDatabaseBackupsWithResponse List Database Backups
A Postgres database's or a Redis cache's backups, newest first: the ones taken on request and the ones taken every night, read from the engine. Each says where it is kept.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/backups (the `ListDatabaseBackups` operationId).
func (*ClientWithResponses) ListDatabaseTablesWithResponse ¶
func (c *ClientWithResponses) ListDatabaseTablesWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListDatabaseTablesResponse, error)
ListDatabaseTablesWithResponse List Database Tables
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/database/tables (the `ListDatabaseTables` operationId).
func (*ClientWithResponses) ListDomainsWithResponse ¶
func (c *ClientWithResponses) ListDomainsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListDomainsResponse, error)
ListDomainsWithResponse List Domains
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/domains (the `ListDomains` operationId).
func (*ClientWithResponses) ListEnvWithResponse ¶
func (c *ClientWithResponses) ListEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListEnvResponse, error)
ListEnvWithResponse List Env
Stored variables, then the system variables Dekka sets (PORT, DEKKA_PRIVATE_DOMAIN, DEKKA_PUBLIC_DOMAIN, DEKKA_ENVIRONMENT) with `source: "system"`, unless a stored variable of the same name overrides one.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/env (the `ListEnv` operationId).
func (*ClientWithResponses) ListEnvironmentChangesetsWithResponse ¶
func (c *ClientWithResponses) ListEnvironmentChangesetsWithResponse(ctx context.Context, environmentId openapi_types.UUID, params *ListEnvironmentChangesetsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentChangesetsResponse, error)
ListEnvironmentChangesetsWithResponse List Environment Changesets
Changesets of every source (manual drafts, blueprint and template plans), newest first, optionally filtered by status.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/environments/{environment_id}/changesets (the `ListEnvironmentChangesets` operationId).
func (*ClientWithResponses) ListEnvironmentsWithResponse ¶
func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)
ListEnvironmentsWithResponse List Environments
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/environments (the `ListEnvironments` operationId).
func (*ClientWithResponses) ListGatewayModelsWithResponse ¶
func (c *ClientWithResponses) ListGatewayModelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListGatewayModelsResponse, error)
ListGatewayModelsWithResponse List Gateway Models
OpenAI's model list: the available models this key's project may use, then the organization's private inference endpoints as private/<slug>, owned by `private`. Those are waitlisted and get a simulated reply outside production.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ai/models (the `ListGatewayModels` operationId).
func (*ClientWithResponses) ListGithubBranchesWithResponse ¶
func (c *ClientWithResponses) ListGithubBranchesWithResponse(ctx context.Context, installationId int, repoId int, reqEditors ...RequestEditorFn) (*ListGithubBranchesResponse, error)
ListGithubBranchesWithResponse List Github Branches
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/github/installations/{installation_id}/repos/{repo_id}/branches (the `ListGithubBranches` operationId).
func (*ClientWithResponses) ListGithubInstallationsWithResponse ¶
func (c *ClientWithResponses) ListGithubInstallationsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGithubInstallationsResponse, error)
ListGithubInstallationsWithResponse List Github Installations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/github/installations (the `ListGithubInstallations` operationId).
func (*ClientWithResponses) ListGithubReposWithResponse ¶
func (c *ClientWithResponses) ListGithubReposWithResponse(ctx context.Context, installationId int, reqEditors ...RequestEditorFn) (*ListGithubReposResponse, error)
ListGithubReposWithResponse List Github Repos
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/github/installations/{installation_id}/repos (the `ListGithubRepos` operationId).
func (*ClientWithResponses) ListGpuRequestsWithResponse ¶
func (c *ClientWithResponses) ListGpuRequestsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGpuRequestsResponse, error)
ListGpuRequestsWithResponse List Gpu Requests
The organization's waitlist and reservation requests, newest first, without withdrawn ones.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/gpu/requests (the `ListGpuRequests` operationId).
func (*ClientWithResponses) ListInferenceEndpointsWithResponse ¶
func (c *ClientWithResponses) ListInferenceEndpointsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListInferenceEndpointsResponse, error)
ListInferenceEndpointsWithResponse List Inference Endpoints
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/inference-endpoints (the `ListInferenceEndpoints` operationId).
func (*ClientWithResponses) ListInvoicesWithResponse ¶
func (c *ClientWithResponses) ListInvoicesWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*ListInvoicesResponse, error)
ListInvoicesWithResponse List Invoices
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/invoices (the `ListInvoices` operationId).
func (*ClientWithResponses) ListJobRunsWithResponse ¶
func (c *ClientWithResponses) ListJobRunsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListJobRunsParams, reqEditors ...RequestEditorFn) (*ListJobRunsResponse, error)
ListJobRunsWithResponse List Job Runs
Runs newest first, skipped scheduled runs included.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/runs (the `ListJobRuns` operationId).
func (*ClientWithResponses) ListMembersWithResponse ¶
func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
ListMembersWithResponse List Members
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/members (the `ListMembers` operationId).
func (*ClientWithResponses) ListMyPasskeysWithResponse ¶
func (c *ClientWithResponses) ListMyPasskeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMyPasskeysResponse, error)
ListMyPasskeysWithResponse List My Passkeys
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/me/passkeys (the `ListMyPasskeys` operationId).
func (*ClientWithResponses) ListMySessionsWithResponse ¶
func (c *ClientWithResponses) ListMySessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMySessionsResponse, error)
ListMySessionsWithResponse List My Sessions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/me/sessions (the `ListMySessions` operationId).
func (*ClientWithResponses) ListOrgActivityWithResponse ¶
func (c *ClientWithResponses) ListOrgActivityWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListOrgActivityParams, reqEditors ...RequestEditorFn) (*ListOrgActivityResponse, error)
ListOrgActivityWithResponse List Org Activity
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/activity (the `ListOrgActivity` operationId).
func (*ClientWithResponses) ListOrgInvitationsWithResponse ¶
func (c *ClientWithResponses) ListOrgInvitationsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListOrgInvitationsResponse, error)
ListOrgInvitationsWithResponse List Org Invitations
Open invitations, newest first. Expired ones stay listed with status expired until they are revoked or the address is invited again.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/invitations (the `ListOrgInvitations` operationId).
func (*ClientWithResponses) ListPaymentMethodsWithResponse ¶
func (c *ClientWithResponses) ListPaymentMethodsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListPaymentMethodsResponse, error)
ListPaymentMethodsWithResponse List Payment Methods
Saved Paystack authorizations. Added by a successful checkout; the authorization code never leaves the API.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/payment-methods (the `ListPaymentMethods` operationId).
func (*ClientWithResponses) ListPlansWithResponse ¶
func (c *ClientWithResponses) ListPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlansResponse, error)
ListPlansWithResponse List Plans
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/catalog/plans (the `ListPlans` operationId).
func (*ClientWithResponses) ListPreviewsWithResponse ¶
func (c *ClientWithResponses) ListPreviewsWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListPreviewsResponse, error)
ListPreviewsWithResponse List Previews
Pull request previews, newest first, closed ones included.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/previews (the `ListPreviews` operationId).
func (*ClientWithResponses) ListPricesWithResponse ¶
func (c *ClientWithResponses) ListPricesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPricesResponse, error)
ListPricesWithResponse List Prices
PostgreSQL and Redis tiers, object storage rates, and what goes on being charged while a resource is stopped, from app/catalog/prices.yaml. The prices are a hypothesis in GHS, before tax. A tier id is a SKU that POST /v1/resources accepts as `spec.sku`, and POST /v1/estimates prices with these. Billing moves to them once the migration in docs/billing-catalogue-migration.md is approved.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/catalog/prices (the `ListPrices` operationId).
func (*ClientWithResponses) ListProjectDeploymentsWithResponse ¶
func (c *ClientWithResponses) ListProjectDeploymentsWithResponse(ctx context.Context, projectId openapi_types.UUID, params *ListProjectDeploymentsParams, reqEditors ...RequestEditorFn) (*ListProjectDeploymentsResponse, error)
ListProjectDeploymentsWithResponse List Project Deployments
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/deployments (the `ListProjectDeployments` operationId).
func (*ClientWithResponses) ListProjectOperationsWithResponse ¶
func (c *ClientWithResponses) ListProjectOperationsWithResponse(ctx context.Context, projectId openapi_types.UUID, params *ListProjectOperationsParams, reqEditors ...RequestEditorFn) (*ListProjectOperationsResponse, error)
ListProjectOperationsWithResponse List Project Operations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/operations (the `ListProjectOperations` operationId).
func (*ClientWithResponses) ListProjectTokensWithResponse ¶
func (c *ClientWithResponses) ListProjectTokensWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProjectTokensResponse, error)
ListProjectTokensWithResponse List Project Tokens
Tokens that reach only this project, newest first, revoked ones included.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/tokens (the `ListProjectTokens` operationId).
func (*ClientWithResponses) ListProjectWebhooksWithResponse ¶
func (c *ClientWithResponses) ListProjectWebhooksWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProjectWebhooksResponse, error)
ListProjectWebhooksWithResponse List Project Webhooks
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/webhooks (the `ListProjectWebhooks` operationId).
func (*ClientWithResponses) ListProjectsWithResponse ¶
func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
ListProjectsWithResponse List Projects
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/projects (the `ListProjects` operationId).
func (*ClientWithResponses) ListProviderKeysWithResponse ¶
func (c *ClientWithResponses) ListProviderKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProviderKeysResponse, error)
ListProviderKeysWithResponse List Provider Keys
The org's own OpenAI and Anthropic keys, newest first, revoked ones included.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/ai/provider-keys (the `ListProviderKeys` operationId).
func (*ClientWithResponses) ListRedisKeysWithResponse ¶
func (c *ClientWithResponses) ListRedisKeysWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListRedisKeysParams, reqEditors ...RequestEditorFn) (*ListRedisKeysResponse, error)
ListRedisKeysWithResponse List Redis Keys
A page of keys matching `pattern` (glob syntax), read with SCAN.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/redis/keys (the `ListRedisKeys` operationId).
func (*ClientWithResponses) ListRegionsWithResponse ¶
func (c *ClientWithResponses) ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error)
ListRegionsWithResponse List Regions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/regions (the `ListRegions` operationId).
func (*ClientWithResponses) ListRegistryCredentialsWithResponse ¶
func (c *ClientWithResponses) ListRegistryCredentialsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListRegistryCredentialsResponse, error)
ListRegistryCredentialsWithResponse List Registry Credentials
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/registry-credentials (the `ListRegistryCredentials` operationId).
func (*ClientWithResponses) ListResourceDeploymentsWithResponse ¶
func (c *ClientWithResponses) ListResourceDeploymentsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListResourceDeploymentsParams, reqEditors ...RequestEditorFn) (*ListResourceDeploymentsResponse, error)
ListResourceDeploymentsWithResponse List Resource Deployments
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/deployments (the `ListResourceDeployments` operationId).
func (*ClientWithResponses) ListResourcesWithResponse ¶
func (c *ClientWithResponses) ListResourcesWithResponse(ctx context.Context, projectId openapi_types.UUID, params *ListResourcesParams, reqEditors ...RequestEditorFn) (*ListResourcesResponse, error)
ListResourcesWithResponse List Resources
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/resources (the `ListResources` operationId).
func (*ClientWithResponses) ListServerSnapshotsWithResponse ¶
func (c *ClientWithResponses) ListServerSnapshotsWithResponse(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListServerSnapshotsResponse, error)
ListServerSnapshotsWithResponse List Server Snapshots
A KVM server's disk snapshots and whether one is taken each night. A snapshot lives on the same host as the disk: it undoes a change in seconds and is not a backup. A server that takes none answers with an empty list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{server_id}/snapshots (the `ListServerSnapshots` operationId).
func (*ClientWithResponses) ListServersWithResponse ¶
func (c *ClientWithResponses) ListServersWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListServersResponse, error)
ListServersWithResponse List Servers
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/servers (the `ListServers` operationId).
func (*ClientWithResponses) ListSharedVariablesWithResponse ¶
func (c *ClientWithResponses) ListSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListSharedVariablesResponse, error)
ListSharedVariablesWithResponse List Shared Variables
Variables shared by the environment's services. A service uses one through a `${{shared.KEY}}` reference; they are not added to every service.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/environments/{environment_id}/variables (the `ListSharedVariables` operationId).
func (*ClientWithResponses) ListSshKeysWithResponse ¶
func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)
ListSshKeysWithResponse List Ssh Keys
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/ssh-keys (the `ListSshKeys` operationId).
func (*ClientWithResponses) ListSupportTicketsWithResponse ¶
func (c *ClientWithResponses) ListSupportTicketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSupportTicketsResponse, error)
ListSupportTicketsWithResponse List Support Tickets
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/support/tickets (the `ListSupportTickets` operationId).
func (*ClientWithResponses) ListTemplatesWithResponse ¶
func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)
ListTemplatesWithResponse List Templates
Templates that can be planned into an environment, featured ones first. Public.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/catalog/templates (the `ListTemplates` operationId).
func (*ClientWithResponses) ListUsageRecordsWithResponse ¶
func (c *ClientWithResponses) ListUsageRecordsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListUsageRecordsParams, reqEditors ...RequestEditorFn) (*ListUsageRecordsResponse, error)
ListUsageRecordsWithResponse List Usage Records
Usage records for the current period, newest first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/orgs/{org_id}/billing/usage/records (the `ListUsageRecords` operationId).
func (*ClientWithResponses) ListVolumeBackupsWithResponse ¶
func (c *ClientWithResponses) ListVolumeBackupsWithResponse(ctx context.Context, volumeId openapi_types.UUID, params *ListVolumeBackupsParams, reqEditors ...RequestEditorFn) (*ListVolumeBackupsResponse, error)
ListVolumeBackupsWithResponse List Volume Backups
A volume's backups, newest first: the ones taken on request and the ones taken every night, read from the engine.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/volumes/{volume_id}/backups (the `ListVolumeBackups` operationId).
func (*ClientWithResponses) ListWebhookDeliveriesWithResponse ¶
func (c *ClientWithResponses) ListWebhookDeliveriesWithResponse(ctx context.Context, webhookId openapi_types.UUID, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*ListWebhookDeliveriesResponse, error)
ListWebhookDeliveriesWithResponse List Webhook Deliveries
Newest first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/webhooks/{webhook_id}/deliveries (the `ListWebhookDeliveries` operationId).
func (*ClientWithResponses) LogoutWithResponse ¶
func (c *ClientWithResponses) LogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutResponse, error)
LogoutWithResponse Logout
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/logout (the `Logout` operationId).
func (*ClientWithResponses) OpenSupportTicketWithBodyWithResponse ¶
func (c *ClientWithResponses) OpenSupportTicketWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OpenSupportTicketResponse, error)
OpenSupportTicketWithBodyWithResponse Open Support Ticket
Opens a request with its first message. Dekka staff are emailed straight away.
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 /v1/support/tickets (the `OpenSupportTicket` operationId).
func (*ClientWithResponses) OpenSupportTicketWithResponse ¶
func (c *ClientWithResponses) OpenSupportTicketWithResponse(ctx context.Context, body OpenSupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*OpenSupportTicketResponse, error)
OpenSupportTicketWithResponse Open Support Ticket
Opens a request with its first message. Dekka staff are emailed straight away.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/support/tickets (the `OpenSupportTicket` operationId).
func (*ClientWithResponses) PasskeyRegistrationOptionsWithResponse ¶
func (c *ClientWithResponses) PasskeyRegistrationOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PasskeyRegistrationOptionsResponse, error)
PasskeyRegistrationOptionsWithResponse Passkey Registration Options
PublicKeyCredentialCreationOptions JSON for `navigator.credentials.create()`.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/me/passkeys/options (the `PasskeyRegistrationOptions` operationId).
func (*ClientWithResponses) PasskeySignInOptionsWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeySignInOptionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeySignInOptionsResponse, error)
PasskeySignInOptionsWithBodyWithResponse Passkey Sign In Options
PublicKeyCredentialRequestOptions JSON for `navigator.credentials.get()`. Without an email, `allowCredentials` is empty and the browser offers any passkey it holds for this site.
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 /v1/auth/passkey/options (the `PasskeySignInOptions` operationId).
func (*ClientWithResponses) PasskeySignInOptionsWithResponse ¶
func (c *ClientWithResponses) PasskeySignInOptionsWithResponse(ctx context.Context, body PasskeySignInOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeySignInOptionsResponse, error)
PasskeySignInOptionsWithResponse Passkey Sign In Options
PublicKeyCredentialRequestOptions JSON for `navigator.credentials.get()`. Without an email, `allowCredentials` is empty and the browser offers any passkey it holds for this site.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/passkey/options (the `PasskeySignInOptions` operationId).
func (*ClientWithResponses) PasskeySignInWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeySignInWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeySignInResponse, error)
PasskeySignInWithBodyWithResponse Passkey Sign In
Verifies the assertion from `navigator.credentials.get()` and sets the session cookie.
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 /v1/auth/passkey (the `PasskeySignIn` operationId).
func (*ClientWithResponses) PasskeySignInWithResponse ¶
func (c *ClientWithResponses) PasskeySignInWithResponse(ctx context.Context, body PasskeySignInJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeySignInResponse, error)
PasskeySignInWithResponse Passkey Sign In
Verifies the assertion from `navigator.credentials.get()` and sets the session cookie.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/passkey (the `PasskeySignIn` operationId).
func (*ClientWithResponses) PaystackCheckoutCallbackWithResponse ¶
func (c *ClientWithResponses) PaystackCheckoutCallbackWithResponse(ctx context.Context, params *PaystackCheckoutCallbackParams, reqEditors ...RequestEditorFn) (*PaystackCheckoutCallbackResponse, error)
PaystackCheckoutCallbackWithResponse Paystack Checkout Callback
Paystack's callback_url. Verifies the transaction with Paystack, applies it, and redirects to the dashboard with `?billing=<status>&reference=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/billing/paystack/callback (the `PaystackCheckoutCallback` operationId).
func (*ClientWithResponses) PlanBlueprintWithBodyWithResponse ¶
func (c *ClientWithResponses) PlanBlueprintWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlanBlueprintResponse, error)
PlanBlueprintWithBodyWithResponse Plan Blueprint
Compares a blueprint with the environment and returns the plan as a changeset (source blueprint) of creates, updates and, with `prune`, deletes. Nothing changes until it is deployed with POST /v1/changesets/{id}/deploy, which answers 409 plan_stale if the environment changed in between. An invalid blueprint answers 422 invalid_blueprint with every error.
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 /v1/environments/{environment_id}/blueprint/plan (the `PlanBlueprint` operationId).
func (*ClientWithResponses) PlanBlueprintWithResponse ¶
func (c *ClientWithResponses) PlanBlueprintWithResponse(ctx context.Context, environmentId openapi_types.UUID, body PlanBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*PlanBlueprintResponse, error)
PlanBlueprintWithResponse Plan Blueprint
Compares a blueprint with the environment and returns the plan as a changeset (source blueprint) of creates, updates and, with `prune`, deletes. Nothing changes until it is deployed with POST /v1/changesets/{id}/deploy, which answers 409 plan_stale if the environment changed in between. An invalid blueprint answers 422 invalid_blueprint with every error.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/environments/{environment_id}/blueprint/plan (the `PlanBlueprint` operationId).
func (*ClientWithResponses) PlanComposeWithBodyWithResponse ¶
func (c *ClientWithResponses) PlanComposeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlanComposeResponse, error)
PlanComposeWithBodyWithResponse Plan Compose
Translates a Docker Compose file and plans it into the environment as a changeset (source blueprint), to confirm with POST /v1/changesets/{id}/deploy. The file is `content`, or with `path` it is read from `repository` as POST .../compose/read does. Services with a build section are built from `repository`; leaving it out answers 422 repository_required. A translation that doesn't validate answers 422 invalid_blueprint.
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 /v1/environments/{environment_id}/compose/plan (the `PlanCompose` operationId).
func (*ClientWithResponses) PlanComposeWithResponse ¶
func (c *ClientWithResponses) PlanComposeWithResponse(ctx context.Context, environmentId openapi_types.UUID, body PlanComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*PlanComposeResponse, error)
PlanComposeWithResponse Plan Compose
Translates a Docker Compose file and plans it into the environment as a changeset (source blueprint), to confirm with POST /v1/changesets/{id}/deploy. The file is `content`, or with `path` it is read from `repository` as POST .../compose/read does. Services with a build section are built from `repository`; leaving it out answers 422 repository_required. A translation that doesn't validate answers 422 invalid_blueprint.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/environments/{environment_id}/compose/plan (the `PlanCompose` operationId).
func (*ClientWithResponses) PlanDeclaredServicesWithResponse ¶
func (c *ClientWithResponses) PlanDeclaredServicesWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*PlanDeclaredServicesResponse, error)
PlanDeclaredServicesWithResponse Plan Declared Services
Plans what the service's dekka.toml declares and the environment lacks: the missing databases, caches, buckets and queues, and a connection from the service to each declared one. Nothing changes until the changeset is deployed with POST /v1/changesets/{id}/deploy. Answers 409 nothing_to_plan when everything is already here and connected.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/config/plan (the `PlanDeclaredServices` operationId).
func (*ClientWithResponses) PlanTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) PlanTemplateWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, templateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlanTemplateResponse, error)
PlanTemplateWithBodyWithResponse Plan Template
Plans a template into the environment as a changeset (source template) to confirm with POST /v1/changesets/{id}/deploy. Supply the template's inputs by key; a required one left out answers 422 missing_input. Secrets the template generates are created now, stored as secrets and never shown in the plan. Templates only add, so a resource name already in use answers 409 name_taken. Plan limits are checked when it is deployed.
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 /v1/environments/{environment_id}/templates/{template_id}/plan (the `PlanTemplate` operationId).
func (*ClientWithResponses) PlanTemplateWithResponse ¶
func (c *ClientWithResponses) PlanTemplateWithResponse(ctx context.Context, environmentId openapi_types.UUID, templateId string, body PlanTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PlanTemplateResponse, error)
PlanTemplateWithResponse Plan Template
Plans a template into the environment as a changeset (source template) to confirm with POST /v1/changesets/{id}/deploy. Supply the template's inputs by key; a required one left out answers 422 missing_input. Secrets the template generates are created now, stored as secrets and never shown in the plan. Templates only add, so a resource name already in use answers 409 name_taken. Plan limits are checked when it is deployed.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/environments/{environment_id}/templates/{template_id}/plan (the `PlanTemplate` operationId).
func (*ClientWithResponses) PreviewAiPrivacyWithBodyWithResponse ¶
func (c *ClientWithResponses) PreviewAiPrivacyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewAiPrivacyResponse, error)
PreviewAiPrivacyWithBodyWithResponse Preview Ai Privacy
Shows what Veil would do to sample text with the saved settings, or with unsaved ones in `policy`. With Veil off it previews protect mode. Nothing is stored.
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 /v1/projects/{project_id}/ai/privacy/preview (the `PreviewAiPrivacy` operationId).
func (*ClientWithResponses) PreviewAiPrivacyWithResponse ¶
func (c *ClientWithResponses) PreviewAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, body PreviewAiPrivacyJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewAiPrivacyResponse, error)
PreviewAiPrivacyWithResponse Preview Ai Privacy
Shows what Veil would do to sample text with the saved settings, or with unsaved ones in `policy`. With Veil off it previews protect mode. Nothing is stored.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_id}/ai/privacy/preview (the `PreviewAiPrivacy` operationId).
func (*ClientWithResponses) PreviewInvitationWithResponse ¶
func (c *ClientWithResponses) PreviewInvitationWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*PreviewInvitationResponse, error)
PreviewInvitationWithResponse Preview Invitation
Public. What the invitation is for, without accepting it. 400 invalid_invitation when it expired, was revoked or was used.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/invitations/{token}/preview (the `PreviewInvitation` operationId).
func (*ClientWithResponses) PutAiPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAiPolicyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAiPolicyResponse, error)
PutAiPolicyWithBodyWithResponse Put Ai Policy
Replaces the rules. Every model named must be in the catalogue and come from an allowed provider, and with allowed_models set, each fallback must be among them. The cap is in US dollars at list price per calendar month.
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 /v1/projects/{project_id}/ai/policy (the `PutAiPolicy` operationId).
func (*ClientWithResponses) PutAiPolicyWithResponse ¶
func (c *ClientWithResponses) PutAiPolicyWithResponse(ctx context.Context, projectId openapi_types.UUID, body PutAiPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAiPolicyResponse, error)
PutAiPolicyWithResponse Put Ai Policy
Replaces the rules. Every model named must be in the catalogue and come from an allowed provider, and with allowed_models set, each fallback must be among them. The cap is in US dollars at list price per calendar month.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{project_id}/ai/policy (the `PutAiPolicy` operationId).
func (*ClientWithResponses) PutAiPrivacyWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAiPrivacyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAiPrivacyResponse, error)
PutAiPrivacyWithBodyWithResponse Put Ai Privacy
Replaces the Veil settings. Custom policies are checked by Veil first, and every error comes back with its path in 422 invalid_privacy_policy.
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 /v1/projects/{project_id}/ai/privacy (the `PutAiPrivacy` operationId).
func (*ClientWithResponses) PutAiPrivacyWithResponse ¶
func (c *ClientWithResponses) PutAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, body PutAiPrivacyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAiPrivacyResponse, error)
PutAiPrivacyWithResponse Put Ai Privacy
Replaces the Veil settings. Custom policies are checked by Veil first, and every error comes back with its path in 422 invalid_privacy_policy.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{project_id}/ai/privacy (the `PutAiPrivacy` operationId).
func (*ClientWithResponses) PutBillingDetailsWithBodyWithResponse ¶
func (c *ClientWithResponses) PutBillingDetailsWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutBillingDetailsResponse, error)
PutBillingDetailsWithBodyWithResponse Put Billing Details
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 /v1/orgs/{org_id}/billing/details (the `PutBillingDetails` operationId).
func (*ClientWithResponses) PutBillingDetailsWithResponse ¶
func (c *ClientWithResponses) PutBillingDetailsWithResponse(ctx context.Context, orgId openapi_types.UUID, body PutBillingDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutBillingDetailsResponse, error)
PutBillingDetailsWithResponse Put Billing Details
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/orgs/{org_id}/billing/details (the `PutBillingDetails` operationId).
func (*ClientWithResponses) PutCanvasWithBodyWithResponse ¶
func (c *ClientWithResponses) PutCanvasWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCanvasResponse, error)
PutCanvasWithBodyWithResponse Put Canvas
Replaces the layout. Positions for resources outside this environment are dropped.
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 /v1/projects/{project_id}/canvas (the `PutCanvas` operationId).
func (*ClientWithResponses) PutCanvasWithResponse ¶
func (c *ClientWithResponses) PutCanvasWithResponse(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, body PutCanvasJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCanvasResponse, error)
PutCanvasWithResponse Put Canvas
Replaces the layout. Positions for resources outside this environment are dropped.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{project_id}/canvas (the `PutCanvas` operationId).
func (*ClientWithResponses) PutEnvWithBodyWithResponse ¶
func (c *ClientWithResponses) PutEnvWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutEnvResponse, error)
PutEnvWithBodyWithResponse Put Env
Creates or updates the given variables. Others are left alone, and connection-managed keys are read-only. References are checked and refused with 422 unknown_reference when they do not resolve. A reference to a database, cache, bucket or queue the service is not connected to connects it, so `${{db.DATABASE_URL}}` reads the service's own credentials. Changes apply on the next restart or deploy.
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 /v1/resources/{resource_id}/env (the `PutEnv` operationId).
func (*ClientWithResponses) PutEnvWithResponse ¶
func (c *ClientWithResponses) PutEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, body PutEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*PutEnvResponse, error)
PutEnvWithResponse Put Env
Creates or updates the given variables. Others are left alone, and connection-managed keys are read-only. References are checked and refused with 422 unknown_reference when they do not resolve. A reference to a database, cache, bucket or queue the service is not connected to connects it, so `${{db.DATABASE_URL}}` reads the service's own credentials. Changes apply on the next restart or deploy.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/resources/{resource_id}/env (the `PutEnv` operationId).
func (*ClientWithResponses) PutNotificationPreferencesWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNotificationPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNotificationPreferencesResponse, error)
PutNotificationPreferencesWithBodyWithResponse Put Notification Preferences
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 /v1/me/notifications (the `PutNotificationPreferences` operationId).
func (*ClientWithResponses) PutNotificationPreferencesWithResponse ¶
func (c *ClientWithResponses) PutNotificationPreferencesWithResponse(ctx context.Context, body PutNotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNotificationPreferencesResponse, error)
PutNotificationPreferencesWithResponse Put Notification Preferences
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/me/notifications (the `PutNotificationPreferences` operationId).
func (*ClientWithResponses) PutRawEnvWithBodyWithResponse ¶
func (c *ClientWithResponses) PutRawEnvWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutRawEnvResponse, error)
PutRawEnvWithBodyWithResponse Put Raw Env
Saves dotenv text. Existing variables keep their secret flag and new ones are not secret. With `replace`, user variables missing from the text are deleted, except sealed ones; connection-managed keys cannot be set here.
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 /v1/resources/{resource_id}/env/raw (the `PutRawEnv` operationId).
func (*ClientWithResponses) PutRawEnvWithResponse ¶
func (c *ClientWithResponses) PutRawEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, body PutRawEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*PutRawEnvResponse, error)
PutRawEnvWithResponse Put Raw Env
Saves dotenv text. Existing variables keep their secret flag and new ones are not secret. With `replace`, user variables missing from the text are deleted, except sealed ones; connection-managed keys cannot be set here.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/resources/{resource_id}/env/raw (the `PutRawEnv` operationId).
func (*ClientWithResponses) PutRawSharedVariablesWithBodyWithResponse ¶
func (c *ClientWithResponses) PutRawSharedVariablesWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutRawSharedVariablesResponse, error)
PutRawSharedVariablesWithBodyWithResponse Put Raw Shared Variables
Saves dotenv text as shared variables, the same way as a service's raw editor.
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 /v1/environments/{environment_id}/variables/raw (the `PutRawSharedVariables` operationId).
func (*ClientWithResponses) PutRawSharedVariablesWithResponse ¶
func (c *ClientWithResponses) PutRawSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, body PutRawSharedVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutRawSharedVariablesResponse, error)
PutRawSharedVariablesWithResponse Put Raw Shared Variables
Saves dotenv text as shared variables, the same way as a service's raw editor.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/environments/{environment_id}/variables/raw (the `PutRawSharedVariables` operationId).
func (*ClientWithResponses) PutSharedVariablesWithBodyWithResponse ¶
func (c *ClientWithResponses) PutSharedVariablesWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSharedVariablesResponse, error)
PutSharedVariablesWithBodyWithResponse Put Shared Variables
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 /v1/environments/{environment_id}/variables (the `PutSharedVariables` operationId).
func (*ClientWithResponses) PutSharedVariablesWithResponse ¶
func (c *ClientWithResponses) PutSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, body PutSharedVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSharedVariablesResponse, error)
PutSharedVariablesWithResponse Put Shared Variables
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/environments/{environment_id}/variables (the `PutSharedVariables` operationId).
func (*ClientWithResponses) PutSpendLimitWithBodyWithResponse ¶
func (c *ClientWithResponses) PutSpendLimitWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSpendLimitResponse, error)
PutSpendLimitWithBodyWithResponse Put Spend Limit
Replaces the alerts and the limit. Alerts already sent this period for amounts that are kept are not sent again.
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 /v1/orgs/{org_id}/billing/spend-limit (the `PutSpendLimit` operationId).
func (*ClientWithResponses) PutSpendLimitWithResponse ¶
func (c *ClientWithResponses) PutSpendLimitWithResponse(ctx context.Context, orgId openapi_types.UUID, body PutSpendLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSpendLimitResponse, error)
PutSpendLimitWithResponse Put Spend Limit
Replaces the alerts and the limit. Alerts already sent this period for amounts that are kept are not sent again.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/orgs/{org_id}/billing/spend-limit (the `PutSpendLimit` operationId).
func (*ClientWithResponses) ReadComposeWithBodyWithResponse ¶
func (c *ClientWithResponses) ReadComposeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReadComposeResponse, error)
ReadComposeWithBodyWithResponse Read Compose
Reads a Compose file from a GitHub repository the organization has connected and translates it as POST /v1/compose/translate does, with `path` saying which file was found. Services with a build section build from that repository and branch, with their context resolved against the file's directory. Nothing is created. A repository the GitHub App can't see answers 422 repo_not_found (or github_not_installed when the App isn't installed), and a branch without the file answers 422 compose_file_missing with the paths tried.
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 /v1/environments/{environment_id}/compose/read (the `ReadCompose` operationId).
func (*ClientWithResponses) ReadComposeWithResponse ¶
func (c *ClientWithResponses) ReadComposeWithResponse(ctx context.Context, environmentId openapi_types.UUID, body ReadComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*ReadComposeResponse, error)
ReadComposeWithResponse Read Compose
Reads a Compose file from a GitHub repository the organization has connected and translates it as POST /v1/compose/translate does, with `path` saying which file was found. Services with a build section build from that repository and branch, with their context resolved against the file's directory. Nothing is created. A repository the GitHub App can't see answers 422 repo_not_found (or github_not_installed when the App isn't installed), and a branch without the file answers 422 compose_file_missing with the paths tried.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/environments/{environment_id}/compose/read (the `ReadCompose` operationId).
func (*ClientWithResponses) ReadyzWithResponse ¶
func (c *ClientWithResponses) ReadyzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadyzResponse, error)
ReadyzWithResponse Readyz
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/readyz (the `Readyz` operationId).
func (*ClientWithResponses) RebuildServerWithBodyWithResponse ¶
func (c *ClientWithResponses) RebuildServerWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebuildServerResponse, error)
RebuildServerWithBodyWithResponse Rebuild Server
Wipes the disk and installs the image, keeping the address, size, SSH keys and user data. `confirm` must be the server's name.
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 /v1/servers/{server_id}/rebuild (the `RebuildServer` operationId).
func (*ClientWithResponses) RebuildServerWithResponse ¶
func (c *ClientWithResponses) RebuildServerWithResponse(ctx context.Context, serverId openapi_types.UUID, body RebuildServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RebuildServerResponse, error)
RebuildServerWithResponse Rebuild Server
Wipes the disk and installs the image, keeping the address, size, SSH keys and user data. `confirm` must be the server's name.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{server_id}/rebuild (the `RebuildServer` operationId).
func (*ClientWithResponses) ReceiveGithubWebhookWithResponse ¶
func (c *ClientWithResponses) ReceiveGithubWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReceiveGithubWebhookResponse, error)
ReceiveGithubWebhookWithResponse Receive Github Webhook
GitHub App webhook. Verified with X-Hub-Signature-256 and deduplicated by X-GitHub-Delivery.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/github/webhook (the `ReceiveGithubWebhook` operationId).
func (*ClientWithResponses) ReceivePaystackWebhookWithResponse ¶
func (c *ClientWithResponses) ReceivePaystackWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReceivePaystackWebhookResponse, error)
ReceivePaystackWebhookWithResponse Receive Paystack Webhook
Paystack webhook. Verified with `x-paystack-signature` (HMAC-SHA512 of the raw body under the secret key) and deduplicated on the body's hash.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/billing/paystack/webhook (the `ReceivePaystackWebhook` operationId).
func (*ClientWithResponses) RecordAnalyticsEventWithBodyWithResponse ¶
func (c *ClientWithResponses) RecordAnalyticsEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecordAnalyticsEventResponse, error)
RecordAnalyticsEventWithBodyWithResponse Record Analytics Event
Beacon endpoint for `navigator.sendBeacon`. Public, without CSRF, and rate limited per IP. The body is JSON whatever the Content-Type, because sendBeacon with a string sends text/plain. No raw IP or user agent is stored; see ADR 0017.
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 /v1/analytics/events (the `RecordAnalyticsEvent` operationId).
func (*ClientWithResponses) RecordAnalyticsEventWithResponse ¶
func (c *ClientWithResponses) RecordAnalyticsEventWithResponse(ctx context.Context, body RecordAnalyticsEventJSONRequestBody, reqEditors ...RequestEditorFn) (*RecordAnalyticsEventResponse, error)
RecordAnalyticsEventWithResponse Record Analytics Event
Beacon endpoint for `navigator.sendBeacon`. Public, without CSRF, and rate limited per IP. The body is JSON whatever the Content-Type, because sendBeacon with a string sends text/plain. No raw IP or user agent is stored; see ADR 0017.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/analytics/events (the `RecordAnalyticsEvent` operationId).
func (*ClientWithResponses) RedeliverWebhookDeliveryWithResponse ¶
func (c *ClientWithResponses) RedeliverWebhookDeliveryWithResponse(ctx context.Context, deliveryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RedeliverWebhookDeliveryResponse, error)
RedeliverWebhookDeliveryWithResponse Redeliver Webhook Delivery
Queues a delivered or failed delivery again, with the same id and body and a fresh set of attempts. 409 delivery_pending while it is still being sent.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/webhook-deliveries/{delivery_id}/redeliver (the `RedeliverWebhookDelivery` operationId).
func (*ClientWithResponses) RegisterPasskeyWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterPasskeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterPasskeyResponse, error)
RegisterPasskeyWithBodyWithResponse Register Passkey
Verifies the credential from `navigator.credentials.create()` and stores the passkey.
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 /v1/me/passkeys (the `RegisterPasskey` operationId).
func (*ClientWithResponses) RegisterPasskeyWithResponse ¶
func (c *ClientWithResponses) RegisterPasskeyWithResponse(ctx context.Context, body RegisterPasskeyJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterPasskeyResponse, error)
RegisterPasskeyWithResponse Register Passkey
Verifies the credential from `navigator.credentials.create()` and stores the passkey.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/me/passkeys (the `RegisterPasskey` operationId).
func (*ClientWithResponses) RemoveDeploymentWithResponse ¶
func (c *ClientWithResponses) RemoveDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveDeploymentResponse, error)
RemoveDeploymentWithResponse Remove Deployment
Takes down the deployment that is serving by queueing application.stop. It becomes `removed` and the service `stopped` when the engine confirms. Any other deployment answers 409 not_active.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/deployments/{deployment_id}/remove (the `RemoveDeployment` operationId).
func (*ClientWithResponses) RemoveOrgMemberWithResponse ¶
func (c *ClientWithResponses) RemoveOrgMemberWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveOrgMemberResponse, error)
RemoveOrgMemberWithResponse Remove Org Member
Admins and owners remove others (only owners remove owners), and any member can remove themself to leave. 409 last_owner when it would leave no owner. The member's API keys for this organization are revoked.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/orgs/{org_id}/members/{user_id} (the `RemoveOrgMember` operationId).
func (*ClientWithResponses) RemovePaymentMethodWithResponse ¶
func (c *ClientWithResponses) RemovePaymentMethodWithResponse(ctx context.Context, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemovePaymentMethodResponse, error)
RemovePaymentMethodWithResponse Remove Payment Method
Deactivates the authorization at Paystack and removes it here.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/orgs/{org_id}/billing/payment-methods/{payment_method_id} (the `RemovePaymentMethod` operationId).
func (*ClientWithResponses) ReplaceEnvironmentFirewallWithBodyWithResponse ¶
func (c *ClientWithResponses) ReplaceEnvironmentFirewallWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceEnvironmentFirewallResponse, error)
ReplaceEnvironmentFirewallWithBodyWithResponse Replace Environment Firewall
Replaces every rule at once. The host takes the new rules within seconds. They judge new connections, and a connection that is already open is not cut.
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 /v1/environments/{environment_id}/firewall (the `ReplaceEnvironmentFirewall` operationId).
func (*ClientWithResponses) ReplaceEnvironmentFirewallWithResponse ¶
func (c *ClientWithResponses) ReplaceEnvironmentFirewallWithResponse(ctx context.Context, environmentId openapi_types.UUID, body ReplaceEnvironmentFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceEnvironmentFirewallResponse, error)
ReplaceEnvironmentFirewallWithResponse Replace Environment Firewall
Replaces every rule at once. The host takes the new rules within seconds. They judge new connections, and a connection that is already open is not cut.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/environments/{environment_id}/firewall (the `ReplaceEnvironmentFirewall` operationId).
func (*ClientWithResponses) ReplySupportTicketWithBodyWithResponse ¶
func (c *ClientWithResponses) ReplySupportTicketWithBodyWithResponse(ctx context.Context, ticketId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplySupportTicketResponse, error)
ReplySupportTicketWithBodyWithResponse Reply Support Ticket
Adds to the conversation and reopens it if it was closed.
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 /v1/support/tickets/{ticket_id}/messages (the `ReplySupportTicket` operationId).
func (*ClientWithResponses) ReplySupportTicketWithResponse ¶
func (c *ClientWithResponses) ReplySupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, body ReplySupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplySupportTicketResponse, error)
ReplySupportTicketWithResponse Reply Support Ticket
Adds to the conversation and reopens it if it was closed.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/support/tickets/{ticket_id}/messages (the `ReplySupportTicket` operationId).
func (*ClientWithResponses) RequestMagicLinkWithBodyWithResponse
deprecated
func (c *ClientWithResponses) RequestMagicLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestMagicLinkResponse, error)
RequestMagicLinkWithBodyWithResponse Request Magic Link
Alias of `POST /v1/auth/email`, kept for one release.
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 /v1/auth/magic-link (the `RequestMagicLink` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) RequestMagicLinkWithResponse ¶
func (c *ClientWithResponses) RequestMagicLinkWithResponse(ctx context.Context, body RequestMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestMagicLinkResponse, error)
RequestMagicLinkWithResponse Request Magic Link
Alias of `POST /v1/auth/email`, kept for one release.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/magic-link (the `RequestMagicLink` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ResizeServerWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeServerWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeServerResponse, error)
ResizeServerWithBodyWithResponse Resize Server
Needs a stopped server, and a size from the same runtime profile whose disk is at least as large, because disks never shrink. The server stays stopped afterwards.
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 /v1/servers/{server_id}/resize (the `ResizeServer` operationId).
func (*ClientWithResponses) ResizeServerWithResponse ¶
func (c *ClientWithResponses) ResizeServerWithResponse(ctx context.Context, serverId openapi_types.UUID, body ResizeServerJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeServerResponse, error)
ResizeServerWithResponse Resize Server
Needs a stopped server, and a size from the same runtime profile whose disk is at least as large, because disks never shrink. The server stays stopped afterwards.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{server_id}/resize (the `ResizeServer` operationId).
func (*ClientWithResponses) ResizeVolumeWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeVolumeWithBodyWithResponse(ctx context.Context, volumeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVolumeResponse, error)
ResizeVolumeWithBodyWithResponse Resize 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 /v1/volumes/{volume_id}/resize (the `ResizeVolume` operationId).
func (*ClientWithResponses) ResizeVolumeWithResponse ¶
func (c *ClientWithResponses) ResizeVolumeWithResponse(ctx context.Context, volumeId openapi_types.UUID, body ResizeVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVolumeResponse, error)
ResizeVolumeWithResponse Resize 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 /v1/volumes/{volume_id}/resize (the `ResizeVolume` operationId).
func (*ClientWithResponses) ResourceReferenceTargetsWithResponse ¶
func (c *ClientWithResponses) ResourceReferenceTargetsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResourceReferenceTargetsResponse, error)
ResourceReferenceTargetsWithResponse Resource Reference Targets
The services, databases and shared variables this service's variables can reference as ${{name.KEY}}, with the keys each offers, for autocomplete. Names only; values are never returned.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resources/{resource_id}/env/references (the `ResourceReferenceTargets` operationId).
func (*ClientWithResponses) RestoreBackupWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreBackupWithBodyWithResponse(ctx context.Context, backupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreBackupResponse, error)
RestoreBackupWithBodyWithResponse Restore Backup
Restores a completed backup over the current data (backup.restore). `confirm` must be the database's or the cache's name, or the volume's service's name; otherwise it answers 422 confirmation_required. A cache or a volume's service is stopped while its backup is put back. For a Postgres database, `target_time` restores to that moment instead of to the backup as taken. Returns the operation.
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 /v1/backups/{backup_id}/restore (the `RestoreBackup` operationId).
func (*ClientWithResponses) RestoreBackupWithResponse ¶
func (c *ClientWithResponses) RestoreBackupWithResponse(ctx context.Context, backupId openapi_types.UUID, body RestoreBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreBackupResponse, error)
RestoreBackupWithResponse Restore Backup
Restores a completed backup over the current data (backup.restore). `confirm` must be the database's or the cache's name, or the volume's service's name; otherwise it answers 422 confirmation_required. A cache or a volume's service is stopped while its backup is put back. For a Postgres database, `target_time` restores to that moment instead of to the backup as taken. Returns the operation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/backups/{backup_id}/restore (the `RestoreBackup` operationId).
func (*ClientWithResponses) RestoreDatabaseWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreDatabaseWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)
RestoreDatabaseWithBodyWithResponse Restore Database
Restores a Postgres database to `target_time`, or to its latest backup when `target_time` is left out (backup.restore). The time must fall within the days the database's `backups.retention_days` keeps, and `confirm` must be the database's name. Returns the operation.
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 /v1/resources/{resource_id}/restore (the `RestoreDatabase` operationId).
func (*ClientWithResponses) RestoreDatabaseWithResponse ¶
func (c *ClientWithResponses) RestoreDatabaseWithResponse(ctx context.Context, resourceId openapi_types.UUID, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)
RestoreDatabaseWithResponse Restore Database
Restores a Postgres database to `target_time`, or to its latest backup when `target_time` is left out (backup.restore). The time must fall within the days the database's `backups.retention_days` keeps, and `confirm` must be the database's name. Returns the operation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/restore (the `RestoreDatabase` operationId).
func (*ClientWithResponses) ResumeSubscriptionWithResponse ¶
func (c *ClientWithResponses) ResumeSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResumeSubscriptionResponse, error)
ResumeSubscriptionWithResponse Resume Subscription
Undoes a cancellation before the period ends.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/billing/subscription/resume (the `ResumeSubscription` operationId).
func (*ClientWithResponses) RetryConnectionWithResponse ¶
func (c *ClientWithResponses) RetryConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RetryConnectionResponse, error)
RetryConnectionWithResponse Retry Connection
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connections/{connection_id}/retry (the `RetryConnection` operationId).
func (*ClientWithResponses) RevealEnvVarWithResponse ¶
func (c *ClientWithResponses) RevealEnvVarWithResponse(ctx context.Context, resourceId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*RevealEnvVarResponse, error)
RevealEnvVarWithResponse Reveal Env Var
Returns a secret value in plain text. Every reveal is audited, and a sealed variable answers 409 variable_sealed.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/env/{key}/reveal (the `RevealEnvVar` operationId).
func (*ClientWithResponses) RevealSharedVariableWithResponse ¶
func (c *ClientWithResponses) RevealSharedVariableWithResponse(ctx context.Context, environmentId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*RevealSharedVariableResponse, error)
RevealSharedVariableWithResponse Reveal Shared Variable
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/environments/{environment_id}/variables/{key}/reveal (the `RevealSharedVariable` operationId).
func (*ClientWithResponses) RevertServerSnapshotWithBodyWithResponse ¶
func (c *ClientWithResponses) RevertServerSnapshotWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevertServerSnapshotResponse, error)
RevertServerSnapshotWithBodyWithResponse Revert Server Snapshot
Puts the disk back as the snapshot holds it. The server has to be stopped, what was written since is lost, and `confirm` must be the server's name.
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 /v1/servers/{server_id}/snapshots/{snapshot_id}/revert (the `RevertServerSnapshot` operationId).
func (*ClientWithResponses) RevertServerSnapshotWithResponse ¶
func (c *ClientWithResponses) RevertServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, body RevertServerSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*RevertServerSnapshotResponse, error)
RevertServerSnapshotWithResponse Revert Server Snapshot
Puts the disk back as the snapshot holds it. The server has to be stopped, what was written since is lost, and `confirm` must be the server's name.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{server_id}/snapshots/{snapshot_id}/revert (the `RevertServerSnapshot` operationId).
func (*ClientWithResponses) RevokeApiKeyWithResponse ¶
func (c *ClientWithResponses) RevokeApiKeyWithResponse(ctx context.Context, apiKeyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeApiKeyResponse, error)
RevokeApiKeyWithResponse Revoke Api Key
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/api-keys/{api_key_id} (the `RevokeApiKey` operationId).
func (*ClientWithResponses) RevokeInvitationWithResponse ¶
func (c *ClientWithResponses) RevokeInvitationWithResponse(ctx context.Context, invitationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)
RevokeInvitationWithResponse Revoke Invitation
Revoking twice is harmless. 409 invitation_accepted once it was used.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/invitations/{invitation_id} (the `RevokeInvitation` operationId).
func (*ClientWithResponses) RevokeMySessionWithResponse ¶
func (c *ClientWithResponses) RevokeMySessionWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeMySessionResponse, error)
RevokeMySessionWithResponse Revoke My Session
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/me/sessions/{session_id} (the `RevokeMySession` operationId).
func (*ClientWithResponses) RevokeProjectTokenWithResponse ¶
func (c *ClientWithResponses) RevokeProjectTokenWithResponse(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeProjectTokenResponse, error)
RevokeProjectTokenWithResponse Revoke Project Token
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/project-tokens/{token_id} (the `RevokeProjectToken` operationId).
func (*ClientWithResponses) RevokeProviderKeyWithResponse ¶
func (c *ClientWithResponses) RevokeProviderKeyWithResponse(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeProviderKeyResponse, error)
RevokeProviderKeyWithResponse Revoke Provider Key
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/ai/provider-keys/{key_id} (the `RevokeProviderKey` operationId).
func (*ClientWithResponses) RollbackDeploymentWithBodyWithResponse ¶
func (c *ClientWithResponses) RollbackDeploymentWithBodyWithResponse(ctx context.Context, deploymentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RollbackDeploymentResponse, error)
RollbackDeploymentWithBodyWithResponse Rollback Deployment
Deploys an earlier healthy deployment's image again, with the settings and the variables it ran with, or with the service's current variables when `keep_current_variables` is true. Databases, volumes and buckets are not changed, so their data and any migrations stay as they are. Returns the new deployment, whose trigger is `rollback`. A deployment without a recorded image answers 409 no_image, the one serving now 409 already_active, and one from before variables were recorded 409 variables_not_recorded unless the current variables are kept.
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 /v1/deployments/{deployment_id}/rollback (the `RollbackDeployment` operationId).
func (*ClientWithResponses) RollbackDeploymentWithResponse ¶
func (c *ClientWithResponses) RollbackDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, body RollbackDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*RollbackDeploymentResponse, error)
RollbackDeploymentWithResponse Rollback Deployment
Deploys an earlier healthy deployment's image again, with the settings and the variables it ran with, or with the service's current variables when `keep_current_variables` is true. Databases, volumes and buckets are not changed, so their data and any migrations stay as they are. Returns the new deployment, whose trigger is `rollback`. A deployment without a recorded image answers 409 no_image, the one serving now 409 already_active, and one from before variables were recorded 409 variables_not_recorded unless the current variables are kept.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/deployments/{deployment_id}/rollback (the `RollbackDeployment` operationId).
func (*ClientWithResponses) RotateDatabaseCredentialsWithResponse ¶
func (c *ClientWithResponses) RotateDatabaseCredentialsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RotateDatabaseCredentialsResponse, error)
RotateDatabaseCredentialsWithResponse Rotate Database Credentials
Issues new credentials for every active connection to this database, cache, bucket or queue. Each connection goes active, pending, active: the engine rotates (connection.configure with rotate: true) and revokes the old credential, and Dekka rebinds the app's variables and restarts it. With no active connection it answers 409 no_connections.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/rotate-credentials (the `RotateDatabaseCredentials` operationId).
func (*ClientWithResponses) RotateWebhookSecretWithResponse ¶
func (c *ClientWithResponses) RotateWebhookSecretWithResponse(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RotateWebhookSecretResponse, error)
RotateWebhookSecretWithResponse Rotate Webhook Secret
Replaces the signing secret at once. The new one is in `secret`, and only in this response.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/webhooks/{webhook_id}/rotate-secret (the `RotateWebhookSecret` operationId).
func (*ClientWithResponses) RunDatabaseQueryWithBodyWithResponse ¶
func (c *ClientWithResponses) RunDatabaseQueryWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunDatabaseQueryResponse, error)
RunDatabaseQueryWithBodyWithResponse Run Database Query
Runs one read-only statement. Anything else is refused here with 422 (empty_query, multiple_statements or query_not_read_only) before it reaches the engine, which also runs it in a READ ONLY transaction. Rows are capped at 500 and the timeout at 10 seconds. Every query is audited with its length and SHA-256, never its text or result.
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 /v1/resources/{resource_id}/database/query (the `RunDatabaseQuery` operationId).
func (*ClientWithResponses) RunDatabaseQueryWithResponse ¶
func (c *ClientWithResponses) RunDatabaseQueryWithResponse(ctx context.Context, resourceId openapi_types.UUID, body RunDatabaseQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*RunDatabaseQueryResponse, error)
RunDatabaseQueryWithResponse Run Database Query
Runs one read-only statement. Anything else is refused here with 422 (empty_query, multiple_statements or query_not_read_only) before it reaches the engine, which also runs it in a READ ONLY transaction. Rows are capped at 500 and the timeout at 10 seconds. Every query is audited with its length and SHA-256, never its text or result.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/database/query (the `RunDatabaseQuery` operationId).
func (*ClientWithResponses) RunResourceActionWithResponse ¶
func (c *ClientWithResponses) RunResourceActionWithResponse(ctx context.Context, resourceId openapi_types.UUID, action RunResourceActionParamsAction, reqEditors ...RequestEditorFn) (*RunResourceActionResponse, error)
RunResourceActionWithResponse Run Resource Action
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/resources/{resource_id}/actions/{action} (the `RunResourceAction` operationId).
func (*ClientWithResponses) RunServerActionWithResponse ¶
func (c *ClientWithResponses) RunServerActionWithResponse(ctx context.Context, serverId openapi_types.UUID, action RunServerActionParamsAction, reqEditors ...RequestEditorFn) (*RunServerActionResponse, error)
RunServerActionWithResponse Run Server Action
start needs a stopped or failed server; stop and reboot a running one. Another vm operation in progress answers 409 operation_in_progress.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{server_id}/actions/{action} (the `RunServerAction` operationId).
func (*ClientWithResponses) SearchLogsWithResponse ¶
func (c *ClientWithResponses) SearchLogsWithResponse(ctx context.Context, projectId openapi_types.UUID, params *SearchLogsParams, reqEditors ...RequestEditorFn) (*SearchLogsResponse, error)
SearchLogsWithResponse Search Logs
Deployment and job run log lines in the project, newest first, paged with a keyset cursor.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/logs/search (the `SearchLogs` operationId).
func (*ClientWithResponses) ServerCatalogWithResponse ¶
func (c *ClientWithResponses) ServerCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerCatalogResponse, error)
ServerCatalogWithResponse Server Catalog
Runtime profiles, sizes and images for virtual servers. Prices are a hypothesis in GHS, and a server is billed at the hourly price for every hour it exists. A profile is `offered` when the engine advertises it right now, and a size is `available` when a ready host has room for it; when the engine cannot be reached nothing is offered or available, and `capacity_known` says so.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/catalog/servers (the `ServerCatalog` operationId).
func (*ClientWithResponses) SetDefaultPaymentMethodWithResponse ¶
func (c *ClientWithResponses) SetDefaultPaymentMethodWithResponse(ctx context.Context, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SetDefaultPaymentMethodResponse, error)
SetDefaultPaymentMethodWithResponse Set Default Payment Method
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/billing/payment-methods/{payment_method_id}/default (the `SetDefaultPaymentMethod` operationId).
func (*ClientWithResponses) SetServerRootPasswordWithBodyWithResponse ¶
func (c *ClientWithResponses) SetServerRootPasswordWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetServerRootPasswordResponse, error)
SetServerRootPasswordWithBodyWithResponse Set Server Root Password
Sets root's password on a KVM server. It takes effect the next time the server is started after being stopped, and is asked for on the server's console and nowhere else, since SSH takes keys only. The password is hashed here and is never stored or logged. Like the console it opens, this takes a signed-in person and not an 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 PUT /v1/servers/{server_id}/root-password (the `SetServerRootPassword` operationId).
func (*ClientWithResponses) SetServerRootPasswordWithResponse ¶
func (c *ClientWithResponses) SetServerRootPasswordWithResponse(ctx context.Context, serverId openapi_types.UUID, body SetServerRootPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*SetServerRootPasswordResponse, error)
SetServerRootPasswordWithResponse Set Server Root Password
Sets root's password on a KVM server. It takes effect the next time the server is started after being stopped, and is asked for on the server's console and nowhere else, since SSH takes keys only. The password is hashed here and is never stored or logged. Like the console it opens, this takes a signed-in person and not an 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 PUT /v1/servers/{server_id}/root-password (the `SetServerRootPassword` operationId).
func (*ClientWithResponses) SetServerSnapshotScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) SetServerSnapshotScheduleWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetServerSnapshotScheduleResponse, error)
SetServerSnapshotScheduleWithBodyWithResponse Set Server Snapshot Schedule
Turns the nightly snapshot on or off. The newest `keep` nightly snapshots are kept, and the ones people took are left alone.
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 /v1/servers/{server_id}/snapshots/schedule (the `SetServerSnapshotSchedule` operationId).
func (*ClientWithResponses) SetServerSnapshotScheduleWithResponse ¶
func (c *ClientWithResponses) SetServerSnapshotScheduleWithResponse(ctx context.Context, serverId openapi_types.UUID, body SetServerSnapshotScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetServerSnapshotScheduleResponse, error)
SetServerSnapshotScheduleWithResponse Set Server Snapshot Schedule
Turns the nightly snapshot on or off. The newest `keep` nightly snapshots are kept, and the ones people took are left alone.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/servers/{server_id}/snapshots/schedule (the `SetServerSnapshotSchedule` operationId).
func (*ClientWithResponses) SimulateGithubPullRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) SimulateGithubPullRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulateGithubPullRequestResponse, error)
SimulateGithubPullRequestWithBodyWithResponse Simulate Github Pull Request
Development only. Builds a signed pull_request delivery and sends it through the same webhook handling as GitHub's.
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 /v1/dev/github/simulate-pull-request (the `SimulateGithubPullRequest` operationId).
func (*ClientWithResponses) SimulateGithubPullRequestWithResponse ¶
func (c *ClientWithResponses) SimulateGithubPullRequestWithResponse(ctx context.Context, body SimulateGithubPullRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulateGithubPullRequestResponse, error)
SimulateGithubPullRequestWithResponse Simulate Github Pull Request
Development only. Builds a signed pull_request delivery and sends it through the same webhook handling as GitHub's.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/dev/github/simulate-pull-request (the `SimulateGithubPullRequest` operationId).
func (*ClientWithResponses) SimulateGithubPushWithBodyWithResponse ¶
func (c *ClientWithResponses) SimulateGithubPushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulateGithubPushResponse, error)
SimulateGithubPushWithBodyWithResponse Simulate Github Push
Development only. Builds a signed push delivery and sends it through the same webhook handling as GitHub's.
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 /v1/dev/github/simulate-push (the `SimulateGithubPush` operationId).
func (*ClientWithResponses) SimulateGithubPushWithResponse ¶
func (c *ClientWithResponses) SimulateGithubPushWithResponse(ctx context.Context, body SimulateGithubPushJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulateGithubPushResponse, error)
SimulateGithubPushWithResponse Simulate Github Push
Development only. Builds a signed push delivery and sends it through the same webhook handling as GitHub's.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/dev/github/simulate-push (the `SimulateGithubPush` operationId).
func (*ClientWithResponses) StageChangeWithBodyWithResponse ¶
func (c *ClientWithResponses) StageChangeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StageChangeResponse, error)
StageChangeWithBodyWithResponse Stage Change
Stages one change in the environment's manual draft, validated as the direct endpoint would validate it (references included) against the environment plus what is already staged. Nothing changes until the changeset is deployed. A staged variable's value is encrypted and never returned.
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 /v1/environments/{environment_id}/changeset/changes (the `StageChange` operationId).
func (*ClientWithResponses) StageChangeWithResponse ¶
func (c *ClientWithResponses) StageChangeWithResponse(ctx context.Context, environmentId openapi_types.UUID, body StageChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*StageChangeResponse, error)
StageChangeWithResponse Stage Change
Stages one change in the environment's manual draft, validated as the direct endpoint would validate it (references included) against the environment plus what is already staged. Nothing changes until the changeset is deployed. A staged variable's value is encrypted and never returned.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/environments/{environment_id}/changeset/changes (the `StageChange` operationId).
func (*ClientWithResponses) StartBillingCheckoutWithBodyWithResponse ¶
func (c *ClientWithResponses) StartBillingCheckoutWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartBillingCheckoutResponse, error)
StartBillingCheckoutWithBodyWithResponse Start Billing Checkout
Starts a hosted checkout to move to a more expensive plan. Send the browser to `authorization_url`; Paystack returns it to the callback.
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 /v1/orgs/{org_id}/billing/checkout (the `StartBillingCheckout` operationId).
func (*ClientWithResponses) StartBillingCheckoutWithResponse ¶
func (c *ClientWithResponses) StartBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, body StartBillingCheckoutJSONRequestBody, reqEditors ...RequestEditorFn) (*StartBillingCheckoutResponse, error)
StartBillingCheckoutWithResponse Start Billing Checkout
Starts a hosted checkout to move to a more expensive plan. Send the browser to `authorization_url`; Paystack returns it to the callback.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/billing/checkout (the `StartBillingCheckout` operationId).
func (*ClientWithResponses) StartCliLoginWithBodyWithResponse ¶
func (c *ClientWithResponses) StartCliLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartCliLoginResponse, error)
StartCliLoginWithBodyWithResponse Start Cli Login
Start signing the CLI in. Needs no credentials. Show the person `user_code` and `verification_url`, then ask `POST /cli/logins/token` every `interval` seconds until it answers with the 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 /v1/cli/logins (the `StartCliLogin` operationId).
func (*ClientWithResponses) StartCliLoginWithResponse ¶
func (c *ClientWithResponses) StartCliLoginWithResponse(ctx context.Context, body StartCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*StartCliLoginResponse, error)
StartCliLoginWithResponse Start Cli Login
Start signing the CLI in. Needs no credentials. Show the person `user_code` and `verification_url`, then ask `POST /cli/logins/token` every `interval` seconds until it answers with the 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 /v1/cli/logins (the `StartCliLogin` operationId).
func (*ClientWithResponses) StartEmailSignInWithBodyWithResponse ¶
func (c *ClientWithResponses) StartEmailSignInWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartEmailSignInResponse, error)
StartEmailSignInWithBodyWithResponse Start Email Sign In
Emails a link to `WEB_URL/magic?token=…`. For an existing account the link signs in; otherwise it creates the account (with `name`, if given) when opened. The response is always 202 `{"sent": true}`, so it does not reveal whether an account exists.
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 /v1/auth/email (the `StartEmailSignIn` operationId).
func (*ClientWithResponses) StartEmailSignInWithResponse ¶
func (c *ClientWithResponses) StartEmailSignInWithResponse(ctx context.Context, body StartEmailSignInJSONRequestBody, reqEditors ...RequestEditorFn) (*StartEmailSignInResponse, error)
StartEmailSignInWithResponse Start Email Sign In
Emails a link to `WEB_URL/magic?token=…`. For an existing account the link signs in; otherwise it creates the account (with `name`, if given) when opened. The response is always 202 `{"sent": true}`, so it does not reveal whether an account exists.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/email (the `StartEmailSignIn` operationId).
func (*ClientWithResponses) StreamDeploymentLogsWithResponse ¶
func (c *ClientWithResponses) StreamDeploymentLogsWithResponse(ctx context.Context, deploymentId openapi_types.UUID, params *StreamDeploymentLogsParams, reqEditors ...RequestEditorFn) (*StreamDeploymentLogsResponse, error)
StreamDeploymentLogsWithResponse Stream Deployment Logs
Streams log lines as `event: log` (with `id: <seq>` so reconnects resume via Last-Event-ID), sends heartbeats, and ends with `event: end` once the deployment has finished.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/deployments/{deployment_id}/logs/stream (the `StreamDeploymentLogs` operationId).
func (*ClientWithResponses) StreamProjectEventsWithResponse ¶
func (c *ClientWithResponses) StreamProjectEventsWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*StreamProjectEventsResponse, error)
StreamProjectEventsWithResponse Stream Project Events
Operation, resource, connection and deployment changes as they commit. Each event's `data` is JSON with at least `type` and `id`; a comment line is sent every 15 seconds as a heartbeat.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_id}/events (the `StreamProjectEvents` operationId).
func (*ClientWithResponses) SubdomainAvailabilityWithResponse ¶
func (c *ClientWithResponses) SubdomainAvailabilityWithResponse(ctx context.Context, params *SubdomainAvailabilityParams, reqEditors ...RequestEditorFn) (*SubdomainAvailabilityResponse, error)
SubdomainAvailabilityWithResponse Subdomain Availability
Says whether a web service can take `subdomain`.apps.dekka.cloud. A label is lowercase letters, digits and hyphens, 3 to 40 characters, not one of Dekka's own names, and free across every organisation. The answer is a snapshot: creating the service with `subdomain` set is what claims it, and a label taken in between answers 409 subdomain_taken there.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/domains/availability (the `SubdomainAvailability` operationId).
func (*ClientWithResponses) SwitchServerShellOffWithResponse ¶
func (c *ClientWithResponses) SwitchServerShellOffWithResponse(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SwitchServerShellOffResponse, error)
SwitchServerShellOffWithResponse Switch Server Shell Off
Switches the shell off. The key that signs for the server is deleted and any shell open on it ends, so nothing can sign in that way until it is switched on again, which makes a new key.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/servers/{server_id}/shell (the `SwitchServerShellOff` operationId).
func (*ClientWithResponses) SwitchServerShellOnWithResponse ¶
func (c *ClientWithResponses) SwitchServerShellOnWithResponse(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SwitchServerShellOnResponse, error)
SwitchServerShellOnWithResponse Switch Server Shell On
Switches the shell on for a KVM server: a terminal from its page, signed in as root with a certificate that is signed for the one session and lasts two minutes, so no key or password of the customer's is used. A server created with the shell on trusts it already. One that was not is given a command here to run once as root. Asking again answers the same command and changes nothing. Like the shell it opens, this takes a signed-in person and not an API key.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/servers/{server_id}/shell (the `SwitchServerShellOn` operationId).
func (*ClientWithResponses) TestWebhookWithResponse ¶
func (c *ClientWithResponses) TestWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)
TestWebhookWithResponse Test Webhook
Sends a `webhook.test` event now, even when the webhook is turned off, and returns the delivery with the endpoint's answer. A failed test is not retried.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/webhooks/{webhook_id}/test (the `TestWebhook` operationId).
func (*ClientWithResponses) TranslateComposeWithBodyWithResponse ¶
func (c *ClientWithResponses) TranslateComposeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TranslateComposeResponse, error)
TranslateComposeWithBodyWithResponse Translate Compose
Translates a Docker Compose file into a dekka.yaml without an environment, with a report of what carried over (applied), what changed shape (adjusted, such as a postgres container becoming a managed database with a connection) and what was left out (unsupported). Nothing is created. A file that can't be read answers 422 invalid_compose.
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 /v1/compose/translate (the `TranslateCompose` operationId).
func (*ClientWithResponses) TranslateComposeWithResponse ¶
func (c *ClientWithResponses) TranslateComposeWithResponse(ctx context.Context, body TranslateComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*TranslateComposeResponse, error)
TranslateComposeWithResponse Translate Compose
Translates a Docker Compose file into a dekka.yaml without an environment, with a report of what carried over (applied), what changed shape (adjusted, such as a postgres container becoming a managed database with a connection) and what was left out (unsupported). Nothing is created. A file that can't be read answers 422 invalid_compose.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/compose/translate (the `TranslateCompose` operationId).
func (*ClientWithResponses) UpdateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
UpdateEnvironmentWithBodyWithResponse Update Environment
Renames the environment and its slug. DEKKA_ENVIRONMENT follows the new name from each service's next deploy. Private hostnames (`<slug>.internal.<region>.dekka.cloud`) carry no environment, so they stay.
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 /v1/environments/{environment_id} (the `UpdateEnvironment` operationId).
func (*ClientWithResponses) UpdateEnvironmentWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
UpdateEnvironmentWithResponse Update Environment
Renames the environment and its slug. DEKKA_ENVIRONMENT follows the new name from each service's next deploy. Private hostnames (`<slug>.internal.<region>.dekka.cloud`) carry no environment, so they stay.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/environments/{environment_id} (the `UpdateEnvironment` operationId).
func (*ClientWithResponses) UpdateInferenceEndpointWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateInferenceEndpointWithBodyWithResponse(ctx context.Context, endpointId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInferenceEndpointResponse, error)
UpdateInferenceEndpointWithBodyWithResponse Update Inference Endpoint
Change the model, GPU class or replica range. The name, and so the gateway model id, stays fixed.
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 /v1/inference-endpoints/{endpoint_id} (the `UpdateInferenceEndpoint` operationId).
func (*ClientWithResponses) UpdateInferenceEndpointWithResponse ¶
func (c *ClientWithResponses) UpdateInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, body UpdateInferenceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInferenceEndpointResponse, error)
UpdateInferenceEndpointWithResponse Update Inference Endpoint
Change the model, GPU class or replica range. The name, and so the gateway model id, stays fixed.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/inference-endpoints/{endpoint_id} (the `UpdateInferenceEndpoint` operationId).
func (*ClientWithResponses) UpdateMeWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMeResponse, error)
UpdateMeWithBodyWithResponse Update Me
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 /v1/me (the `UpdateMe` operationId).
func (*ClientWithResponses) UpdateMeWithResponse ¶
func (c *ClientWithResponses) UpdateMeWithResponse(ctx context.Context, body UpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMeResponse, error)
UpdateMeWithResponse Update Me
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/me (the `UpdateMe` operationId).
func (*ClientWithResponses) UpdateOrgMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrgMemberWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgMemberResponse, error)
UpdateOrgMemberWithBodyWithResponse Update Org Member
Only owners can make someone an owner or change an owner's role (403 owner_required). 409 last_owner when it would leave no owner.
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 /v1/orgs/{org_id}/members/{user_id} (the `UpdateOrgMember` operationId).
func (*ClientWithResponses) UpdateOrgMemberWithResponse ¶
func (c *ClientWithResponses) UpdateOrgMemberWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, body UpdateOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgMemberResponse, error)
UpdateOrgMemberWithResponse Update Org Member
Only owners can make someone an owner or change an owner's role (403 owner_required). 409 last_owner when it would leave no owner.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/orgs/{org_id}/members/{user_id} (the `UpdateOrgMember` operationId).
func (*ClientWithResponses) UpdateOrgWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrgWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)
UpdateOrgWithBodyWithResponse Update Org
Rename an organization or change its address (the part of the dashboard URL after /app/).
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 /v1/orgs/{org_id} (the `UpdateOrg` operationId).
func (*ClientWithResponses) UpdateOrgWithResponse ¶
func (c *ClientWithResponses) UpdateOrgWithResponse(ctx context.Context, orgId openapi_types.UUID, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)
UpdateOrgWithResponse Update Org
Rename an organization or change its address (the part of the dashboard URL after /app/).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/orgs/{org_id} (the `UpdateOrg` operationId).
func (*ClientWithResponses) UpdateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
UpdateProjectWithBodyWithResponse Update Project
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 /v1/projects/{project_id} (the `UpdateProject` operationId).
func (*ClientWithResponses) UpdateProjectWithResponse ¶
func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
UpdateProjectWithResponse Update Project
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{project_id} (the `UpdateProject` operationId).
func (*ClientWithResponses) UpdateResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateResourceWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResourceResponse, error)
UpdateResourceWithBodyWithResponse Update Resource
Renames, replaces the spec, changes an application's apps.dekka.cloud subdomain, or moves a service to another region. Spec changes apply on the next deploy; a subdomain change re-routes a running service at once. A schedule in the spec turns a service into a scheduled job and clearing it turns it back, which is audited as resource.kind_changed.
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 /v1/resources/{resource_id} (the `UpdateResource` operationId).
func (*ClientWithResponses) UpdateResourceWithResponse ¶
func (c *ClientWithResponses) UpdateResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, body UpdateResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResourceResponse, error)
UpdateResourceWithResponse Update Resource
Renames, replaces the spec, changes an application's apps.dekka.cloud subdomain, or moves a service to another region. Spec changes apply on the next deploy; a subdomain change re-routes a running service at once. A schedule in the spec turns a service into a scheduled job and clearing it turns it back, which is audited as resource.kind_changed.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/resources/{resource_id} (the `UpdateResource` operationId).
func (*ClientWithResponses) UpdateWebhookWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, webhookId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)
UpdateWebhookWithBodyWithResponse Update Webhook
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 /v1/webhooks/{webhook_id} (the `UpdateWebhook` operationId).
func (*ClientWithResponses) UpdateWebhookWithResponse ¶
func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)
UpdateWebhookWithResponse Update Webhook
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/webhooks/{webhook_id} (the `UpdateWebhook` operationId).
func (*ClientWithResponses) ValidateBlueprintWithBodyWithResponse ¶
func (c *ClientWithResponses) ValidateBlueprintWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidateBlueprintResponse, error)
ValidateBlueprintWithBodyWithResponse Validate Blueprint
Checks a blueprint without an environment. Every problem is listed with its path, and a valid blueprint comes back with every spec normalised (defaults filled in, kinds derived from cron schedules).
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 /v1/blueprints/validate (the `ValidateBlueprint` operationId).
func (*ClientWithResponses) ValidateBlueprintWithResponse ¶
func (c *ClientWithResponses) ValidateBlueprintWithResponse(ctx context.Context, body ValidateBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateBlueprintResponse, error)
ValidateBlueprintWithResponse Validate Blueprint
Checks a blueprint without an environment. Every problem is listed with its path, and a valid blueprint comes back with every spec normalised (defaults filled in, kinds derived from cron schedules).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/blueprints/validate (the `ValidateBlueprint` operationId).
func (*ClientWithResponses) VerifyBillingCheckoutWithResponse ¶
func (c *ClientWithResponses) VerifyBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, reference string, reqEditors ...RequestEditorFn) (*VerifyBillingCheckoutResponse, error)
VerifyBillingCheckoutWithResponse Verify Billing Checkout
Asks the provider for the checkout's outcome and applies it. Repeating it is harmless.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/orgs/{org_id}/billing/checkout/{reference}/verify (the `VerifyBillingCheckout` operationId).
func (*ClientWithResponses) VerifyDomainWithResponse ¶
func (c *ClientWithResponses) VerifyDomainWithResponse(ctx context.Context, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*VerifyDomainResponse, error)
VerifyDomainWithResponse Verify Domain
Looks up the TXT record now. Success makes the domain active and starts certificate issuance; otherwise the domain is failed with the reason, and verifying again after fixing DNS is fine.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains/{domain_id}/verify (the `VerifyDomain` operationId).
func (*ClientWithResponses) WithdrawGpuRequestWithResponse ¶
func (c *ClientWithResponses) WithdrawGpuRequestWithResponse(ctx context.Context, requestId openapi_types.UUID, reqEditors ...RequestEditorFn) (*WithdrawGpuRequestResponse, error)
WithdrawGpuRequestWithResponse Withdraw Gpu Request
Withdraw a request. It is closed and no longer listed.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/gpu-requests/{request_id} (the `WithdrawGpuRequest` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// CreateSpeechWithBodyWithResponse Create Speech
//
// OpenAI-compatible text to speech with a speech model such as
// openai/gpt-4o-mini-tts. The reply body is the audio itself, and the
// X-Dekka-Provider and X-Dekka-Model headers say what answered.
//
// 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 /v1/ai/audio/speech (the `CreateSpeech` operationId).
CreateSpeechWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSpeechResponse, error)
// CreateSpeechWithResponse Create Speech
//
// OpenAI-compatible text to speech with a speech model such as
// openai/gpt-4o-mini-tts. The reply body is the audio itself, and the
// X-Dekka-Provider and X-Dekka-Model headers say what answered.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/audio/speech (the `CreateSpeech` operationId).
CreateSpeechWithResponse(ctx context.Context, body CreateSpeechJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSpeechResponse, error)
// CreateTranscriptionWithBodyWithResponse Create Transcription
//
// OpenAI-compatible transcription, sent as multipart form data with a
// transcription model such as openai/gpt-4o-mini-transcribe. The audio is
// passed to the provider and never stored.
//
// 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 /v1/ai/audio/transcriptions (the `CreateTranscription` operationId).
CreateTranscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTranscriptionResponse, error)
// CreateChatCompletionWithBodyWithResponse Create Chat Completion
//
// OpenAI-compatible chat completions. Set `model` to a catalogue id such as
// openai/gpt-4.1-mini. With `stream: true` the reply is server-sent events
// ending in `data: [DONE]`, and the last chunk before it carries usage. The
// response headers X-Dekka-Provider and X-Dekka-Model say what answered.
//
// 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 /v1/ai/chat/completions (the `CreateChatCompletion` operationId).
CreateChatCompletionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChatCompletionResponse, error)
// CreateChatCompletionWithResponse Create Chat Completion
//
// OpenAI-compatible chat completions. Set `model` to a catalogue id such as
// openai/gpt-4.1-mini. With `stream: true` the reply is server-sent events
// ending in `data: [DONE]`, and the last chunk before it carries usage. The
// response headers X-Dekka-Provider and X-Dekka-Model say what answered.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/chat/completions (the `CreateChatCompletion` operationId).
CreateChatCompletionWithResponse(ctx context.Context, body CreateChatCompletionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChatCompletionResponse, error)
// CreateImageWithBodyWithResponse Create Image
//
// OpenAI-compatible image generation with an image model such as
// openai/gpt-image-2. Images come back as base64 in `b64_json` and are never
// stored, so `response_format: url` answers 422. Usage counts the prompt's
// text tokens and the image tokens the provider reports.
//
// 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 /v1/ai/images/generations (the `CreateImage` operationId).
CreateImageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageResponse, error)
// CreateImageWithResponse Create Image
//
// OpenAI-compatible image generation with an image model such as
// openai/gpt-image-2. Images come back as base64 in `b64_json` and are never
// stored, so `response_format: url` answers 422. Usage counts the prompt's
// text tokens and the image tokens the provider reports.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/images/generations (the `CreateImage` operationId).
CreateImageWithResponse(ctx context.Context, body CreateImageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageResponse, error)
// ListGatewayModelsWithResponse List Gateway Models
//
// OpenAI's model list: the available models this key's project may use,
// then the organization's private inference endpoints as private/<slug>,
// owned by `private`. Those are waitlisted and get a simulated reply
// outside production.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ai/models (the `ListGatewayModels` operationId).
ListGatewayModelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListGatewayModelsResponse, error)
// RevokeProviderKeyWithResponse Revoke Provider Key
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/ai/provider-keys/{key_id} (the `RevokeProviderKey` operationId).
RevokeProviderKeyWithResponse(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeProviderKeyResponse, error)
// RecordAnalyticsEventWithBodyWithResponse Record Analytics Event
//
// Beacon endpoint for `navigator.sendBeacon`. Public, without CSRF, and
// rate limited per IP. The body is JSON whatever the Content-Type, because
// sendBeacon with a string sends text/plain. No raw IP or user agent is
// stored; see ADR 0017.
//
// 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 /v1/analytics/events (the `RecordAnalyticsEvent` operationId).
RecordAnalyticsEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecordAnalyticsEventResponse, error)
// RecordAnalyticsEventWithResponse Record Analytics Event
//
// Beacon endpoint for `navigator.sendBeacon`. Public, without CSRF, and
// rate limited per IP. The body is JSON whatever the Content-Type, because
// sendBeacon with a string sends text/plain. No raw IP or user agent is
// stored; see ADR 0017.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/analytics/events (the `RecordAnalyticsEvent` operationId).
RecordAnalyticsEventWithResponse(ctx context.Context, body RecordAnalyticsEventJSONRequestBody, reqEditors ...RequestEditorFn) (*RecordAnalyticsEventResponse, error)
// GetAnalyticsSummaryWithResponse Get Analytics Summary
//
// Daily counts by event name, top paths and top referrers. Staff only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/analytics/summary (the `GetAnalyticsSummary` operationId).
GetAnalyticsSummaryWithResponse(ctx context.Context, params *GetAnalyticsSummaryParams, reqEditors ...RequestEditorFn) (*GetAnalyticsSummaryResponse, error)
// GetAnnouncementWithResponse Get Announcement
//
// The line an admin has set to show across the top of the dashboard, if any.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/announcement (the `GetAnnouncement` operationId).
GetAnnouncementWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAnnouncementResponse, error)
// RevokeApiKeyWithResponse Revoke Api Key
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/api-keys/{api_key_id} (the `RevokeApiKey` operationId).
RevokeApiKeyWithResponse(ctx context.Context, apiKeyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeApiKeyResponse, error)
// GetCsrfTokenWithResponse Get Csrf Token
//
// Returns the CSRF token and sets the CSRF cookie if needed (`__Host-dekka_csrf`
// in production). Send the token as `X-CSRF-Token` on every mutating request.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/csrf (the `GetCsrfToken` operationId).
GetCsrfTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCsrfTokenResponse, error)
// StartEmailSignInWithBodyWithResponse Start Email Sign In
//
// Emails a link to `WEB_URL/magic?token=…`. For an existing account the
// link signs in; otherwise it creates the account (with `name`, if given)
// when opened. The response is always 202 `{"sent": true}`, so it does not
// reveal whether an account exists.
//
// 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 /v1/auth/email (the `StartEmailSignIn` operationId).
StartEmailSignInWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartEmailSignInResponse, error)
// StartEmailSignInWithResponse Start Email Sign In
//
// Emails a link to `WEB_URL/magic?token=…`. For an existing account the
// link signs in; otherwise it creates the account (with `name`, if given)
// when opened. The response is always 202 `{"sent": true}`, so it does not
// reveal whether an account exists.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/email (the `StartEmailSignIn` operationId).
StartEmailSignInWithResponse(ctx context.Context, body StartEmailSignInJSONRequestBody, reqEditors ...RequestEditorFn) (*StartEmailSignInResponse, error)
// GithubLoginCallbackWithResponse Github Login Callback
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/github/callback (the `GithubLoginCallback` operationId).
GithubLoginCallbackWithResponse(ctx context.Context, params *GithubLoginCallbackParams, reqEditors ...RequestEditorFn) (*GithubLoginCallbackResponse, error)
// GithubLoginStartWithResponse Github Login Start
//
// Redirects to GitHub's authorization page (or straight back with the fake provider).
// Started while signed in, it links GitHub to that account, and the state records
// which session asked so the callback can't link to anyone else.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/github/start (the `GithubLoginStart` operationId).
GithubLoginStartWithResponse(ctx context.Context, params *GithubLoginStartParams, reqEditors ...RequestEditorFn) (*GithubLoginStartResponse, error)
// GoogleLoginCallbackWithResponse Google Login Callback
//
// Google's redirect target. Failures go to `/login?error=google_<reason>`
// on the web app, with reason one of denied, state, unavailable, exchange
// or email_unverified.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/google/callback (the `GoogleLoginCallback` operationId).
GoogleLoginCallbackWithResponse(ctx context.Context, params *GoogleLoginCallbackParams, reqEditors ...RequestEditorFn) (*GoogleLoginCallbackResponse, error)
// GoogleLoginStartWithResponse Google Login Start
//
// Redirects to Google's consent screen (or straight back with the fake provider).
// Started while signed in, it links Google to that account only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/google/start (the `GoogleLoginStart` operationId).
GoogleLoginStartWithResponse(ctx context.Context, params *GoogleLoginStartParams, reqEditors ...RequestEditorFn) (*GoogleLoginStartResponse, error)
// LogoutWithResponse Logout
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/logout (the `Logout` operationId).
LogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutResponse, error)
// RequestMagicLinkWithBodyWithResponse Request Magic Link
//
// Alias of `POST /v1/auth/email`, kept for one release.
//
// 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 /v1/auth/magic-link (the `RequestMagicLink` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
RequestMagicLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestMagicLinkResponse, error)
// RequestMagicLinkWithResponse Request Magic Link
//
// Alias of `POST /v1/auth/email`, kept for one release.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/magic-link (the `RequestMagicLink` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
RequestMagicLinkWithResponse(ctx context.Context, body RequestMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestMagicLinkResponse, error)
// ConsumeMagicLinkWithBodyWithResponse Consume Magic Link
//
// Opens a sign-in or sign-up link and sets the session cookie. A sign-up
// link creates the account first (verified email, personal organization,
// Free plan), and `new_account` is true. Opened in a browser other than the one
// that asked for it, the link answers 409 `confirm_sign_in` with the account's
// `email` in details until it is sent again with `confirm: true`.
//
// 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 /v1/auth/magic-link/consume (the `ConsumeMagicLink` operationId).
ConsumeMagicLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConsumeMagicLinkResponse, error)
// ConsumeMagicLinkWithResponse Consume Magic Link
//
// Opens a sign-in or sign-up link and sets the session cookie. A sign-up
// link creates the account first (verified email, personal organization,
// Free plan), and `new_account` is true. Opened in a browser other than the one
// that asked for it, the link answers 409 `confirm_sign_in` with the account's
// `email` in details until it is sent again with `confirm: true`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/magic-link/consume (the `ConsumeMagicLink` operationId).
ConsumeMagicLinkWithResponse(ctx context.Context, body ConsumeMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*ConsumeMagicLinkResponse, error)
// PasskeySignInWithBodyWithResponse Passkey Sign In
//
// Verifies the assertion from `navigator.credentials.get()` and sets the session cookie.
//
// 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 /v1/auth/passkey (the `PasskeySignIn` operationId).
PasskeySignInWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeySignInResponse, error)
// PasskeySignInWithResponse Passkey Sign In
//
// Verifies the assertion from `navigator.credentials.get()` and sets the session cookie.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/passkey (the `PasskeySignIn` operationId).
PasskeySignInWithResponse(ctx context.Context, body PasskeySignInJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeySignInResponse, error)
// PasskeySignInOptionsWithBodyWithResponse Passkey Sign In Options
//
// PublicKeyCredentialRequestOptions JSON for `navigator.credentials.get()`.
// Without an email, `allowCredentials` is empty and the browser offers any
// passkey it holds for this site.
//
// 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 /v1/auth/passkey/options (the `PasskeySignInOptions` operationId).
PasskeySignInOptionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeySignInOptionsResponse, error)
// PasskeySignInOptionsWithResponse Passkey Sign In Options
//
// PublicKeyCredentialRequestOptions JSON for `navigator.credentials.get()`.
// Without an email, `allowCredentials` is empty and the browser offers any
// passkey it holds for this site.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/passkey/options (the `PasskeySignInOptions` operationId).
PasskeySignInOptionsWithResponse(ctx context.Context, body PasskeySignInOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeySignInOptionsResponse, error)
// GetBackupWithResponse Get Backup
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/backups/{backup_id} (the `GetBackup` operationId).
GetBackupWithResponse(ctx context.Context, backupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBackupResponse, error)
// RestoreBackupWithBodyWithResponse Restore Backup
//
// Restores a completed backup over the current data (backup.restore).
// `confirm` must be the database's or the cache's name, or the volume's
// service's name; otherwise it answers 422 confirmation_required. A cache
// or a volume's service is stopped while its backup is put back. For a
// Postgres database, `target_time` restores to that moment instead of to
// the backup as taken. Returns the operation.
//
// 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 /v1/backups/{backup_id}/restore (the `RestoreBackup` operationId).
RestoreBackupWithBodyWithResponse(ctx context.Context, backupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreBackupResponse, error)
// RestoreBackupWithResponse Restore Backup
//
// Restores a completed backup over the current data (backup.restore).
// `confirm` must be the database's or the cache's name, or the volume's
// service's name; otherwise it answers 422 confirmation_required. A cache
// or a volume's service is stopped while its backup is put back. For a
// Postgres database, `target_time` restores to that moment instead of to
// the backup as taken. Returns the operation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/backups/{backup_id}/restore (the `RestoreBackup` operationId).
RestoreBackupWithResponse(ctx context.Context, backupId openapi_types.UUID, body RestoreBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreBackupResponse, error)
// PaystackCheckoutCallbackWithResponse Paystack Checkout Callback
//
// Paystack's callback_url. Verifies the transaction with Paystack, applies
// it, and redirects to the dashboard with `?billing=<status>&reference=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/billing/paystack/callback (the `PaystackCheckoutCallback` operationId).
PaystackCheckoutCallbackWithResponse(ctx context.Context, params *PaystackCheckoutCallbackParams, reqEditors ...RequestEditorFn) (*PaystackCheckoutCallbackResponse, error)
// ReceivePaystackWebhookWithResponse Receive Paystack Webhook
//
// Paystack webhook. Verified with `x-paystack-signature` (HMAC-SHA512 of the
// raw body under the secret key) and deduplicated on the body's hash.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/billing/paystack/webhook (the `ReceivePaystackWebhook` operationId).
ReceivePaystackWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReceivePaystackWebhookResponse, error)
// ValidateBlueprintWithBodyWithResponse Validate Blueprint
//
// Checks a blueprint without an environment. Every problem is listed
// with its path, and a valid blueprint comes back with every spec
// normalised (defaults filled in, kinds derived from cron schedules).
//
// 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 /v1/blueprints/validate (the `ValidateBlueprint` operationId).
ValidateBlueprintWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidateBlueprintResponse, error)
// ValidateBlueprintWithResponse Validate Blueprint
//
// Checks a blueprint without an environment. Every problem is listed
// with its path, and a valid blueprint comes back with every spec
// normalised (defaults filled in, kinds derived from cron schedules).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/blueprints/validate (the `ValidateBlueprint` operationId).
ValidateBlueprintWithResponse(ctx context.Context, body ValidateBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateBlueprintResponse, error)
// ListAiModelsWithResponse List Ai Models
//
// Every model in the catalogue at the providers' list prices in US
// dollars, which are a snapshot to check before launch. Both providers
// process requests in the United States, outside Ghana.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/catalog/ai-models (the `ListAiModels` operationId).
ListAiModelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAiModelsResponse, error)
// GpuCatalogWithResponse Gpu Catalog
//
// GPU instances Dekka plans to offer. None can be provisioned yet, so
// every entry is on the waitlist and has no price until a host quotes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/catalog/gpu-instances (the `GpuCatalog` operationId).
GpuCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GpuCatalogResponse, error)
// ListPlansWithResponse List Plans
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/catalog/plans (the `ListPlans` operationId).
ListPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlansResponse, error)
// ListPricesWithResponse List Prices
//
// PostgreSQL and Redis tiers, object storage rates, and what goes on
// being charged while a resource is stopped, from app/catalog/prices.yaml.
// The prices are a hypothesis in GHS, before tax. A tier id is a SKU that
// POST /v1/resources accepts as `spec.sku`, and POST /v1/estimates prices
// with these. Billing moves to them once the migration in
// docs/billing-catalogue-migration.md is approved.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/catalog/prices (the `ListPrices` operationId).
ListPricesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPricesResponse, error)
// ServerCatalogWithResponse Server Catalog
//
// Runtime profiles, sizes and images for virtual servers. Prices are a
// hypothesis in GHS, and a server is billed at the hourly price for every
// hour it exists. A profile is `offered` when the engine advertises it
// right now, and a size is `available` when a ready host has room for it;
// when the engine cannot be reached nothing is offered or available, and
// `capacity_known` says so.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/catalog/servers (the `ServerCatalog` operationId).
ServerCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerCatalogResponse, error)
// ListTemplatesWithResponse List Templates
//
// Templates that can be planned into an environment, featured ones first. Public.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/catalog/templates (the `ListTemplates` operationId).
ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)
// GetTemplateWithResponse Get Template
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/catalog/templates/{template_id} (the `GetTemplate` operationId).
GetTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)
// DeleteChangesetChangeWithResponse Delete Changeset Change
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/changeset-changes/{change_id} (the `DeleteChangesetChange` operationId).
DeleteChangesetChangeWithResponse(ctx context.Context, changeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteChangesetChangeResponse, error)
// GetChangesetWithResponse Get Changeset
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/changesets/{changeset_id} (the `GetChangeset` operationId).
GetChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChangesetResponse, error)
// DeployChangesetWithBodyWithResponse Deploy Changeset
//
// Applies every change in one transaction through the same services as
// the direct endpoints, then creates one deployment (trigger config_change)
// per existing service whose settings or variables changed. New services
// get their initial deployment. Returns the changeset with each change's
// result and every operation queued. A blueprint or template plan whose
// environment changed since it was computed is marked stale and answers 409
// plan_stale; an error in any change answers that change's error, with its
// id in the details, and applies nothing.
//
// 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 /v1/changesets/{changeset_id}/deploy (the `DeployChangeset` operationId).
DeployChangesetWithBodyWithResponse(ctx context.Context, changesetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeployChangesetResponse, error)
// DeployChangesetWithResponse Deploy Changeset
//
// Applies every change in one transaction through the same services as
// the direct endpoints, then creates one deployment (trigger config_change)
// per existing service whose settings or variables changed. New services
// get their initial deployment. Returns the changeset with each change's
// result and every operation queued. A blueprint or template plan whose
// environment changed since it was computed is marked stale and answers 409
// plan_stale; an error in any change answers that change's error, with its
// id in the details, and applies nothing.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/changesets/{changeset_id}/deploy (the `DeployChangeset` operationId).
DeployChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, body DeployChangesetJSONRequestBody, reqEditors ...RequestEditorFn) (*DeployChangesetResponse, error)
// DiscardChangesetWithResponse Discard Changeset
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/changesets/{changeset_id}/discard (the `DiscardChangeset` operationId).
DiscardChangesetWithResponse(ctx context.Context, changesetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DiscardChangesetResponse, error)
// StartCliLoginWithBodyWithResponse Start Cli Login
//
// Start signing the CLI in. Needs no credentials. Show the person
// `user_code` and `verification_url`, then ask `POST /cli/logins/token`
// every `interval` seconds until it answers with the 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 /v1/cli/logins (the `StartCliLogin` operationId).
StartCliLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartCliLoginResponse, error)
// StartCliLoginWithResponse Start Cli Login
//
// Start signing the CLI in. Needs no credentials. Show the person
// `user_code` and `verification_url`, then ask `POST /cli/logins/token`
// every `interval` seconds until it answers with the 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 /v1/cli/logins (the `StartCliLogin` operationId).
StartCliLoginWithResponse(ctx context.Context, body StartCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*StartCliLoginResponse, error)
// CollectCliLoginWithBodyWithResponse Collect Cli Login
//
// Collect the key once the person has approved. Until then this answers
// 400 with the code `authorization_pending`, and the CLI asks again. It
// answers `access_denied` if they refused and `expired_token` once the
// attempt is over or the key has been collected.
//
// 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 /v1/cli/logins/token (the `CollectCliLogin` operationId).
CollectCliLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CollectCliLoginResponse, error)
// CollectCliLoginWithResponse Collect Cli Login
//
// Collect the key once the person has approved. Until then this answers
// 400 with the code `authorization_pending`, and the CLI asks again. It
// answers `access_denied` if they refused and `expired_token` once the
// attempt is over or the key has been collected.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/cli/logins/token (the `CollectCliLogin` operationId).
CollectCliLoginWithResponse(ctx context.Context, body CollectCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*CollectCliLoginResponse, error)
// GetCliLoginWithResponse Get Cli Login
//
// What the dashboard shows before a sign-in is approved: the machine that
// asked, when, and whether the attempt is still open.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/cli/logins/{user_code} (the `GetCliLogin` operationId).
GetCliLoginWithResponse(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*GetCliLoginResponse, error)
// ApproveCliLoginWithBodyWithResponse Approve Cli Login
//
// Approve a sign-in for one organisation, which needs the admin role
// there, as creating a key does. It mints a key with the read and write
// scopes, named after the machine.
//
// 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 /v1/cli/logins/{user_code}/approve (the `ApproveCliLogin` operationId).
ApproveCliLoginWithBodyWithResponse(ctx context.Context, userCode string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveCliLoginResponse, error)
// ApproveCliLoginWithResponse Approve Cli Login
//
// Approve a sign-in for one organisation, which needs the admin role
// there, as creating a key does. It mints a key with the read and write
// scopes, named after the machine.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/cli/logins/{user_code}/approve (the `ApproveCliLogin` operationId).
ApproveCliLoginWithResponse(ctx context.Context, userCode string, body ApproveCliLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveCliLoginResponse, error)
// DenyCliLoginWithResponse Deny Cli Login
//
// Refuse a sign-in, so the CLI that asked stops waiting.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/cli/logins/{user_code}/deny (the `DenyCliLogin` operationId).
DenyCliLoginWithResponse(ctx context.Context, userCode string, reqEditors ...RequestEditorFn) (*DenyCliLoginResponse, error)
// TranslateComposeWithBodyWithResponse Translate Compose
//
// Translates a Docker Compose file into a dekka.yaml without an
// environment, with a report of what carried over (applied), what changed
// shape (adjusted, such as a postgres container becoming a managed database
// with a connection) and what was left out (unsupported). Nothing is created.
// A file that can't be read answers 422 invalid_compose.
//
// 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 /v1/compose/translate (the `TranslateCompose` operationId).
TranslateComposeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TranslateComposeResponse, error)
// TranslateComposeWithResponse Translate Compose
//
// Translates a Docker Compose file into a dekka.yaml without an
// environment, with a report of what carried over (applied), what changed
// shape (adjusted, such as a postgres container becoming a managed database
// with a connection) and what was left out (unsupported). Nothing is created.
// A file that can't be read answers 422 invalid_compose.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/compose/translate (the `TranslateCompose` operationId).
TranslateComposeWithResponse(ctx context.Context, body TranslateComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*TranslateComposeResponse, error)
// DeleteConnectionWithResponse Delete Connection
//
// Starts disconnecting. The variables are removed once the engine confirms.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/connections/{connection_id} (the `DeleteConnection` operationId).
DeleteConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteConnectionResponse, error)
// RetryConnectionWithResponse Retry Connection
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connections/{connection_id}/retry (the `RetryConnection` operationId).
RetryConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RetryConnectionResponse, error)
// LeaveAMessageWithBodyWithResponse Leave A Message
//
// A message from the marketing site. It opens a support request that staff answer by email.
//
// 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 /v1/contact (the `LeaveAMessage` operationId).
LeaveAMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LeaveAMessageResponse, error)
// LeaveAMessageWithResponse Leave A Message
//
// A message from the marketing site. It opens a support request that staff answer by email.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/contact (the `LeaveAMessage` operationId).
LeaveAMessageWithResponse(ctx context.Context, body LeaveAMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*LeaveAMessageResponse, error)
// GetDeploymentWithResponse Get Deployment
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/deployments/{deployment_id} (the `GetDeployment` operationId).
GetDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDeploymentResponse, error)
// CancelDeploymentWithResponse Cancel Deployment
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/deployments/{deployment_id}/cancel (the `CancelDeployment` operationId).
CancelDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelDeploymentResponse, error)
// GetDeploymentLogsWithResponse Get Deployment Logs
//
// Build and deploy log lines after `after` (a sequence number).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/deployments/{deployment_id}/logs (the `GetDeploymentLogs` operationId).
GetDeploymentLogsWithResponse(ctx context.Context, deploymentId openapi_types.UUID, params *GetDeploymentLogsParams, reqEditors ...RequestEditorFn) (*GetDeploymentLogsResponse, error)
// StreamDeploymentLogsWithResponse Stream Deployment Logs
//
// Streams log lines as `event: log` (with `id: <seq>` so reconnects resume
// via Last-Event-ID), sends heartbeats, and ends with `event: end` once the
// deployment has finished.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/deployments/{deployment_id}/logs/stream (the `StreamDeploymentLogs` operationId).
StreamDeploymentLogsWithResponse(ctx context.Context, deploymentId openapi_types.UUID, params *StreamDeploymentLogsParams, reqEditors ...RequestEditorFn) (*StreamDeploymentLogsResponse, error)
// RemoveDeploymentWithResponse Remove Deployment
//
// Takes down the deployment that is serving by queueing application.stop.
// It becomes `removed` and the service `stopped` when the engine confirms.
// Any other deployment answers 409 not_active.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/deployments/{deployment_id}/remove (the `RemoveDeployment` operationId).
RemoveDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveDeploymentResponse, error)
// RollbackDeploymentWithBodyWithResponse Rollback Deployment
//
// Deploys an earlier healthy deployment's image again, with the settings
// and the variables it ran with, or with the service's current variables
// when `keep_current_variables` is true. Databases, volumes and buckets are
// not changed, so their data and any migrations stay as they are. Returns
// the new deployment, whose trigger is `rollback`. A deployment without a
// recorded image answers 409 no_image, the one serving now 409
// already_active, and one from before variables were recorded 409
// variables_not_recorded unless the current variables are kept.
//
// 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 /v1/deployments/{deployment_id}/rollback (the `RollbackDeployment` operationId).
RollbackDeploymentWithBodyWithResponse(ctx context.Context, deploymentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RollbackDeploymentResponse, error)
// RollbackDeploymentWithResponse Rollback Deployment
//
// Deploys an earlier healthy deployment's image again, with the settings
// and the variables it ran with, or with the service's current variables
// when `keep_current_variables` is true. Databases, volumes and buckets are
// not changed, so their data and any migrations stay as they are. Returns
// the new deployment, whose trigger is `rollback`. A deployment without a
// recorded image answers 409 no_image, the one serving now 409
// already_active, and one from before variables were recorded 409
// variables_not_recorded unless the current variables are kept.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/deployments/{deployment_id}/rollback (the `RollbackDeployment` operationId).
RollbackDeploymentWithResponse(ctx context.Context, deploymentId openapi_types.UUID, body RollbackDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*RollbackDeploymentResponse, error)
// SimulateGithubPullRequestWithBodyWithResponse Simulate Github Pull Request
//
// Development only. Builds a signed pull_request delivery and sends it
// through the same webhook handling as GitHub's.
//
// 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 /v1/dev/github/simulate-pull-request (the `SimulateGithubPullRequest` operationId).
SimulateGithubPullRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulateGithubPullRequestResponse, error)
// SimulateGithubPullRequestWithResponse Simulate Github Pull Request
//
// Development only. Builds a signed pull_request delivery and sends it
// through the same webhook handling as GitHub's.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/dev/github/simulate-pull-request (the `SimulateGithubPullRequest` operationId).
SimulateGithubPullRequestWithResponse(ctx context.Context, body SimulateGithubPullRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulateGithubPullRequestResponse, error)
// SimulateGithubPushWithBodyWithResponse Simulate Github Push
//
// Development only. Builds a signed push delivery and sends it through
// the same webhook handling as GitHub's.
//
// 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 /v1/dev/github/simulate-push (the `SimulateGithubPush` operationId).
SimulateGithubPushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulateGithubPushResponse, error)
// SimulateGithubPushWithResponse Simulate Github Push
//
// Development only. Builds a signed push delivery and sends it through
// the same webhook handling as GitHub's.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/dev/github/simulate-push (the `SimulateGithubPush` operationId).
SimulateGithubPushWithResponse(ctx context.Context, body SimulateGithubPushJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulateGithubPushResponse, error)
// SubdomainAvailabilityWithResponse Subdomain Availability
//
// Says whether a web service can take `subdomain`.apps.dekka.cloud. A label
// is lowercase letters, digits and hyphens, 3 to 40 characters, not one of
// Dekka's own names, and free across every organisation. The answer is a
// snapshot: creating the service with `subdomain` set is what claims it, and
// a label taken in between answers 409 subdomain_taken there.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/domains/availability (the `SubdomainAvailability` operationId).
SubdomainAvailabilityWithResponse(ctx context.Context, params *SubdomainAvailabilityParams, reqEditors ...RequestEditorFn) (*SubdomainAvailabilityResponse, error)
// DeleteDomainWithResponse Delete Domain
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/domains/{domain_id} (the `DeleteDomain` operationId).
DeleteDomainWithResponse(ctx context.Context, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDomainResponse, error)
// VerifyDomainWithResponse Verify Domain
//
// Looks up the TXT record now. Success makes the domain active and starts
// certificate issuance; otherwise the domain is failed with the reason, and
// verifying again after fixing DNS is fine.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains/{domain_id}/verify (the `VerifyDomain` operationId).
VerifyDomainWithResponse(ctx context.Context, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*VerifyDomainResponse, error)
// ApplyForEarlyAccessWithBodyWithResponse Apply For Early Access
//
// 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 /v1/early-access (the `ApplyForEarlyAccess` operationId).
ApplyForEarlyAccessWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyForEarlyAccessResponse, error)
// ApplyForEarlyAccessWithResponse Apply For Early Access
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/early-access (the `ApplyForEarlyAccess` operationId).
ApplyForEarlyAccessWithResponse(ctx context.Context, body ApplyForEarlyAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyForEarlyAccessResponse, error)
// DeleteEnvironmentWithResponse Delete Environment
//
// Starts deleting every resource in the environment, databases included,
// and marks it `deleting`. The environment disappears once the engine has
// deleted them all. The default environment cannot be deleted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/environments/{environment_id} (the `DeleteEnvironment` operationId).
DeleteEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
// GetEnvironmentWithResponse Get Environment
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/environments/{environment_id} (the `GetEnvironment` operationId).
GetEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
// UpdateEnvironmentWithBodyWithResponse Update Environment
//
// Renames the environment and its slug. DEKKA_ENVIRONMENT follows the new
// name from each service's next deploy. Private hostnames
// (`<slug>.internal.<region>.dekka.cloud`) carry no environment, so they stay.
//
// 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 /v1/environments/{environment_id} (the `UpdateEnvironment` operationId).
UpdateEnvironmentWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
// UpdateEnvironmentWithResponse Update Environment
//
// Renames the environment and its slug. DEKKA_ENVIRONMENT follows the new
// name from each service's next deploy. Private hostnames
// (`<slug>.internal.<region>.dekka.cloud`) carry no environment, so they stay.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/environments/{environment_id} (the `UpdateEnvironment` operationId).
UpdateEnvironmentWithResponse(ctx context.Context, environmentId openapi_types.UUID, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
// PlanBlueprintWithBodyWithResponse Plan Blueprint
//
// Compares a blueprint with the environment and returns the plan as a
// changeset (source blueprint) of creates, updates and, with `prune`,
// deletes. Nothing changes until it is deployed with
// POST /v1/changesets/{id}/deploy, which answers 409 plan_stale if the
// environment changed in between. An invalid blueprint answers 422
// invalid_blueprint with every error.
//
// 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 /v1/environments/{environment_id}/blueprint/plan (the `PlanBlueprint` operationId).
PlanBlueprintWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlanBlueprintResponse, error)
// PlanBlueprintWithResponse Plan Blueprint
//
// Compares a blueprint with the environment and returns the plan as a
// changeset (source blueprint) of creates, updates and, with `prune`,
// deletes. Nothing changes until it is deployed with
// POST /v1/changesets/{id}/deploy, which answers 409 plan_stale if the
// environment changed in between. An invalid blueprint answers 422
// invalid_blueprint with every error.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/environments/{environment_id}/blueprint/plan (the `PlanBlueprint` operationId).
PlanBlueprintWithResponse(ctx context.Context, environmentId openapi_types.UUID, body PlanBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*PlanBlueprintResponse, error)
// GetEnvironmentChangesetWithResponse Get Environment Changeset
//
// The environment's manual draft: staged changes with a summary each and
// `pending_count` for the pending-changes bar. An environment with nothing
// staged returns an empty draft whose id is null. A `changeset` event on
// the project's SSE channel says when it changes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/environments/{environment_id}/changeset (the `GetEnvironmentChangeset` operationId).
GetEnvironmentChangesetWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentChangesetResponse, error)
// StageChangeWithBodyWithResponse Stage Change
//
// Stages one change in the environment's manual draft, validated as the
// direct endpoint would validate it (references included) against the
// environment plus what is already staged. Nothing changes until the
// changeset is deployed. A staged variable's value is encrypted and never
// returned.
//
// 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 /v1/environments/{environment_id}/changeset/changes (the `StageChange` operationId).
StageChangeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StageChangeResponse, error)
// StageChangeWithResponse Stage Change
//
// Stages one change in the environment's manual draft, validated as the
// direct endpoint would validate it (references included) against the
// environment plus what is already staged. Nothing changes until the
// changeset is deployed. A staged variable's value is encrypted and never
// returned.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/environments/{environment_id}/changeset/changes (the `StageChange` operationId).
StageChangeWithResponse(ctx context.Context, environmentId openapi_types.UUID, body StageChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*StageChangeResponse, error)
// ListEnvironmentChangesetsWithResponse List Environment Changesets
//
// Changesets of every source (manual drafts, blueprint and template
// plans), newest first, optionally filtered by status.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/environments/{environment_id}/changesets (the `ListEnvironmentChangesets` operationId).
ListEnvironmentChangesetsWithResponse(ctx context.Context, environmentId openapi_types.UUID, params *ListEnvironmentChangesetsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentChangesetsResponse, error)
// PlanComposeWithBodyWithResponse Plan Compose
//
// Translates a Docker Compose file and plans it into the environment as
// a changeset (source blueprint), to confirm with
// POST /v1/changesets/{id}/deploy. The file is `content`, or with `path`
// it is read from `repository` as POST .../compose/read does. Services with
// a build section are built from `repository`; leaving it out answers 422
// repository_required. A translation that doesn't validate answers 422
// invalid_blueprint.
//
// 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 /v1/environments/{environment_id}/compose/plan (the `PlanCompose` operationId).
PlanComposeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlanComposeResponse, error)
// PlanComposeWithResponse Plan Compose
//
// Translates a Docker Compose file and plans it into the environment as
// a changeset (source blueprint), to confirm with
// POST /v1/changesets/{id}/deploy. The file is `content`, or with `path`
// it is read from `repository` as POST .../compose/read does. Services with
// a build section are built from `repository`; leaving it out answers 422
// repository_required. A translation that doesn't validate answers 422
// invalid_blueprint.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/environments/{environment_id}/compose/plan (the `PlanCompose` operationId).
PlanComposeWithResponse(ctx context.Context, environmentId openapi_types.UUID, body PlanComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*PlanComposeResponse, error)
// ReadComposeWithBodyWithResponse Read Compose
//
// Reads a Compose file from a GitHub repository the organization has
// connected and translates it as POST /v1/compose/translate does, with
// `path` saying which file was found. Services with a build section build
// from that repository and branch, with their context resolved against the
// file's directory. Nothing is created. A repository the GitHub App can't
// see answers 422 repo_not_found (or github_not_installed when the App isn't
// installed), and a branch without the file answers 422 compose_file_missing
// with the paths tried.
//
// 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 /v1/environments/{environment_id}/compose/read (the `ReadCompose` operationId).
ReadComposeWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReadComposeResponse, error)
// ReadComposeWithResponse Read Compose
//
// Reads a Compose file from a GitHub repository the organization has
// connected and translates it as POST /v1/compose/translate does, with
// `path` saying which file was found. Services with a build section build
// from that repository and branch, with their context resolved against the
// file's directory. Nothing is created. A repository the GitHub App can't
// see answers 422 repo_not_found (or github_not_installed when the App isn't
// installed), and a branch without the file answers 422 compose_file_missing
// with the paths tried.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/environments/{environment_id}/compose/read (the `ReadCompose` operationId).
ReadComposeWithResponse(ctx context.Context, environmentId openapi_types.UUID, body ReadComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*ReadComposeResponse, error)
// GetEnvironmentFirewallWithResponse Get Environment Firewall
//
// The inbound rules on the environment's private network, which its KVM
// servers share. An environment gets the network with its first such server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/environments/{environment_id}/firewall (the `GetEnvironmentFirewall` operationId).
GetEnvironmentFirewallWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentFirewallResponse, error)
// ReplaceEnvironmentFirewallWithBodyWithResponse Replace Environment Firewall
//
// Replaces every rule at once. The host takes the new rules within
// seconds. They judge new connections, and a connection that is already
// open is not cut.
//
// 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 /v1/environments/{environment_id}/firewall (the `ReplaceEnvironmentFirewall` operationId).
ReplaceEnvironmentFirewallWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceEnvironmentFirewallResponse, error)
// ReplaceEnvironmentFirewallWithResponse Replace Environment Firewall
//
// Replaces every rule at once. The host takes the new rules within
// seconds. They judge new connections, and a connection that is already
// open is not cut.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/environments/{environment_id}/firewall (the `ReplaceEnvironmentFirewall` operationId).
ReplaceEnvironmentFirewallWithResponse(ctx context.Context, environmentId openapi_types.UUID, body ReplaceEnvironmentFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceEnvironmentFirewallResponse, error)
// PlanTemplateWithBodyWithResponse Plan Template
//
// Plans a template into the environment as a changeset (source template)
// to confirm with POST /v1/changesets/{id}/deploy. Supply the template's
// inputs by key; a required one left out answers 422 missing_input. Secrets
// the template generates are created now, stored as secrets and never shown
// in the plan. Templates only add, so a resource name already in use answers
// 409 name_taken. Plan limits are checked when it is deployed.
//
// 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 /v1/environments/{environment_id}/templates/{template_id}/plan (the `PlanTemplate` operationId).
PlanTemplateWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, templateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlanTemplateResponse, error)
// PlanTemplateWithResponse Plan Template
//
// Plans a template into the environment as a changeset (source template)
// to confirm with POST /v1/changesets/{id}/deploy. Supply the template's
// inputs by key; a required one left out answers 422 missing_input. Secrets
// the template generates are created now, stored as secrets and never shown
// in the plan. Templates only add, so a resource name already in use answers
// 409 name_taken. Plan limits are checked when it is deployed.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/environments/{environment_id}/templates/{template_id}/plan (the `PlanTemplate` operationId).
PlanTemplateWithResponse(ctx context.Context, environmentId openapi_types.UUID, templateId string, body PlanTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PlanTemplateResponse, error)
//
// Variables shared by the environment's services. A service uses one
// through a `${{shared.KEY}}` reference; they are not added to every service.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/environments/{environment_id}/variables (the `ListSharedVariables` operationId).
ListSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListSharedVariablesResponse, error)
//
// 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 /v1/environments/{environment_id}/variables (the `PutSharedVariables` operationId).
PutSharedVariablesWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSharedVariablesResponse, error)
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/environments/{environment_id}/variables (the `PutSharedVariables` operationId).
PutSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, body PutSharedVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSharedVariablesResponse, error)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/environments/{environment_id}/variables/raw (the `GetRawSharedVariables` operationId).
GetRawSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRawSharedVariablesResponse, error)
//
// Saves dotenv text as shared variables, the same way as a service's raw editor.
//
// 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 /v1/environments/{environment_id}/variables/raw (the `PutRawSharedVariables` operationId).
PutRawSharedVariablesWithBodyWithResponse(ctx context.Context, environmentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutRawSharedVariablesResponse, error)
//
// Saves dotenv text as shared variables, the same way as a service's raw editor.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/environments/{environment_id}/variables/raw (the `PutRawSharedVariables` operationId).
PutRawSharedVariablesWithResponse(ctx context.Context, environmentId openapi_types.UUID, body PutRawSharedVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutRawSharedVariablesResponse, error)
// EnvironmentReferenceTargetsWithResponse Environment Reference Targets
//
// What shared variables can reference, for autocomplete. A database's
// connection variables are left out, since they belong to the service that
// connects. Names only; values are never returned.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/environments/{environment_id}/variables/references (the `EnvironmentReferenceTargets` operationId).
EnvironmentReferenceTargetsWithResponse(ctx context.Context, environmentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnvironmentReferenceTargetsResponse, error)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/environments/{environment_id}/variables/{key} (the `DeleteSharedVariable` operationId).
DeleteSharedVariableWithResponse(ctx context.Context, environmentId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*DeleteSharedVariableResponse, error)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/environments/{environment_id}/variables/{key}/reveal (the `RevealSharedVariable` operationId).
RevealSharedVariableWithResponse(ctx context.Context, environmentId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*RevealSharedVariableResponse, error)
// EstimateWithBodyWithResponse Estimate
//
// What a proposed resource, a resize or a changeset costs, as a monthly
// equivalent in the catalogue's currency with a line for each part, what
// goes on being charged while stopped, and the usage metered on top. It
// reads app/catalog/plans.yaml, servers.yaml and prices.yaml and counts the
// organization's plan allowances when it is known. It changes nothing.
//
// 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 /v1/estimates (the `Estimate` operationId).
EstimateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EstimateResponse, error)
// EstimateWithResponse Estimate
//
// What a proposed resource, a resize or a changeset costs, as a monthly
// equivalent in the catalogue's currency with a line for each part, what
// goes on being charged while stopped, and the usage metered on top. It
// reads app/catalog/plans.yaml, servers.yaml and prices.yaml and counts the
// organization's plan allowances when it is known. It changes nothing.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/estimates (the `Estimate` operationId).
EstimateWithResponse(ctx context.Context, body EstimateJSONRequestBody, reqEditors ...RequestEditorFn) (*EstimateResponse, error)
// ListGithubReposWithResponse List Github Repos
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/github/installations/{installation_id}/repos (the `ListGithubRepos` operationId).
ListGithubReposWithResponse(ctx context.Context, installationId int, reqEditors ...RequestEditorFn) (*ListGithubReposResponse, error)
// ListGithubBranchesWithResponse List Github Branches
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/github/installations/{installation_id}/repos/{repo_id}/branches (the `ListGithubBranches` operationId).
ListGithubBranchesWithResponse(ctx context.Context, installationId int, repoId int, reqEditors ...RequestEditorFn) (*ListGithubBranchesResponse, error)
// DetectGithubSettingsWithResponse Detect Github Settings
//
// How Dekka would build and run this branch, from the files at its root: the
// framework, build strategy, port, start command and health path, plus any
// Compose file or dekka.toml found. Nothing is run; the files are only read.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/github/installations/{installation_id}/repos/{repo_id}/detect (the `DetectGithubSettings` operationId).
DetectGithubSettingsWithResponse(ctx context.Context, installationId int, repoId int, params *DetectGithubSettingsParams, reqEditors ...RequestEditorFn) (*DetectGithubSettingsResponse, error)
// GithubSetupCallbackWithResponse Github Setup Callback
//
// GitHub App installation callback (the app's Setup URL).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/github/setup (the `GithubSetupCallback` operationId).
GithubSetupCallbackWithResponse(ctx context.Context, params *GithubSetupCallbackParams, reqEditors ...RequestEditorFn) (*GithubSetupCallbackResponse, error)
// GithubSetupAuthorizedWithResponse Github Setup Authorized
//
// Second half of the installation callback: GitHub has authorised the user, so
// link the installation only if that user administers it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/github/setup/authorized (the `GithubSetupAuthorized` operationId).
GithubSetupAuthorizedWithResponse(ctx context.Context, params *GithubSetupAuthorizedParams, reqEditors ...RequestEditorFn) (*GithubSetupAuthorizedResponse, error)
// ReceiveGithubWebhookWithResponse Receive Github Webhook
//
// GitHub App webhook. Verified with X-Hub-Signature-256 and deduplicated by X-GitHub-Delivery.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/github/webhook (the `ReceiveGithubWebhook` operationId).
ReceiveGithubWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReceiveGithubWebhookResponse, error)
// WithdrawGpuRequestWithResponse Withdraw Gpu Request
//
// Withdraw a request. It is closed and no longer listed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/gpu-requests/{request_id} (the `WithdrawGpuRequest` operationId).
WithdrawGpuRequestWithResponse(ctx context.Context, requestId openapi_types.UUID, reqEditors ...RequestEditorFn) (*WithdrawGpuRequestResponse, error)
// HealthzWithResponse Healthz
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/healthz (the `Healthz` operationId).
HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthzResponse, error)
// DeleteInferenceEndpointWithResponse Delete Inference Endpoint
//
// Delete the endpoint. The gateway stops answering its model at once.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/inference-endpoints/{endpoint_id} (the `DeleteInferenceEndpoint` operationId).
DeleteInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteInferenceEndpointResponse, error)
// GetInferenceEndpointWithResponse Get Inference Endpoint
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/inference-endpoints/{endpoint_id} (the `GetInferenceEndpoint` operationId).
GetInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetInferenceEndpointResponse, error)
// UpdateInferenceEndpointWithBodyWithResponse Update Inference Endpoint
//
// Change the model, GPU class or replica range. The name, and so the
// gateway model id, stays fixed.
//
// 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 /v1/inference-endpoints/{endpoint_id} (the `UpdateInferenceEndpoint` operationId).
UpdateInferenceEndpointWithBodyWithResponse(ctx context.Context, endpointId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInferenceEndpointResponse, error)
// UpdateInferenceEndpointWithResponse Update Inference Endpoint
//
// Change the model, GPU class or replica range. The name, and so the
// gateway model id, stays fixed.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/inference-endpoints/{endpoint_id} (the `UpdateInferenceEndpoint` operationId).
UpdateInferenceEndpointWithResponse(ctx context.Context, endpointId openapi_types.UUID, body UpdateInferenceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInferenceEndpointResponse, error)
// AcceptInvitationWithBodyWithResponse Accept Invitation
//
// Joins the organization as the invited role. Needs a signed-in session
// whose verified email is the invited address (403
// invitation_email_mismatch). 400 invalid_invitation when it expired, was
// revoked or was used. Someone who is already a member keeps their role.
//
// 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 /v1/invitations/accept (the `AcceptInvitation` operationId).
AcceptInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)
// AcceptInvitationWithResponse Accept Invitation
//
// Joins the organization as the invited role. Needs a signed-in session
// whose verified email is the invited address (403
// invitation_email_mismatch). 400 invalid_invitation when it expired, was
// revoked or was used. Someone who is already a member keeps their role.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
AcceptInvitationWithResponse(ctx context.Context, body AcceptInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)
// RevokeInvitationWithResponse Revoke Invitation
//
// Revoking twice is harmless. 409 invitation_accepted once it was used.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/invitations/{invitation_id} (the `RevokeInvitation` operationId).
RevokeInvitationWithResponse(ctx context.Context, invitationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)
// PreviewInvitationWithResponse Preview Invitation
//
// Public. What the invitation is for, without accepting it. 400
// invalid_invitation when it expired, was revoked or was used.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/invitations/{token}/preview (the `PreviewInvitation` operationId).
PreviewInvitationWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*PreviewInvitationResponse, error)
// GetJobRunWithResponse Get Job Run
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/job-runs/{run_id} (the `GetJobRun` operationId).
GetJobRunWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJobRunResponse, error)
// GetJobRunLogsWithResponse Get Job Run Logs
//
// The run's output after `after` (a sequence number).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/job-runs/{run_id}/logs (the `GetJobRunLogs` operationId).
GetJobRunLogsWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetJobRunLogsParams, reqEditors ...RequestEditorFn) (*GetJobRunLogsResponse, error)
// GetMeWithResponse Get Me
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/me (the `GetMe` operationId).
GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
// UpdateMeWithBodyWithResponse Update Me
//
// 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 /v1/me (the `UpdateMe` operationId).
UpdateMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMeResponse, error)
// UpdateMeWithResponse Update Me
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/me (the `UpdateMe` operationId).
UpdateMeWithResponse(ctx context.Context, body UpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMeResponse, error)
// GetNotificationPreferencesWithResponse Get Notification Preferences
//
// Both are on until the user turns them off.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/me/notifications (the `GetNotificationPreferences` operationId).
GetNotificationPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNotificationPreferencesResponse, error)
// PutNotificationPreferencesWithBodyWithResponse Put Notification Preferences
//
// 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 /v1/me/notifications (the `PutNotificationPreferences` operationId).
PutNotificationPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNotificationPreferencesResponse, error)
// PutNotificationPreferencesWithResponse Put Notification Preferences
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/me/notifications (the `PutNotificationPreferences` operationId).
PutNotificationPreferencesWithResponse(ctx context.Context, body PutNotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNotificationPreferencesResponse, error)
// ListMyPasskeysWithResponse List My Passkeys
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/me/passkeys (the `ListMyPasskeys` operationId).
ListMyPasskeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMyPasskeysResponse, error)
// RegisterPasskeyWithBodyWithResponse Register Passkey
//
// Verifies the credential from `navigator.credentials.create()` and stores the passkey.
//
// 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 /v1/me/passkeys (the `RegisterPasskey` operationId).
RegisterPasskeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterPasskeyResponse, error)
// RegisterPasskeyWithResponse Register Passkey
//
// Verifies the credential from `navigator.credentials.create()` and stores the passkey.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/me/passkeys (the `RegisterPasskey` operationId).
RegisterPasskeyWithResponse(ctx context.Context, body RegisterPasskeyJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterPasskeyResponse, error)
// PasskeyRegistrationOptionsWithResponse Passkey Registration Options
//
// PublicKeyCredentialCreationOptions JSON for `navigator.credentials.create()`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/me/passkeys/options (the `PasskeyRegistrationOptions` operationId).
PasskeyRegistrationOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PasskeyRegistrationOptionsResponse, error)
// DeleteMyPasskeyWithResponse Delete My Passkey
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/me/passkeys/{passkey_id} (the `DeleteMyPasskey` operationId).
DeleteMyPasskeyWithResponse(ctx context.Context, passkeyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteMyPasskeyResponse, error)
// ListMySessionsWithResponse List My Sessions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/me/sessions (the `ListMySessions` operationId).
ListMySessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMySessionsResponse, error)
// RevokeMySessionWithResponse Revoke My Session
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/me/sessions/{session_id} (the `RevokeMySession` operationId).
RevokeMySessionWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeMySessionResponse, error)
// AcceptTermsWithBodyWithResponse Accept Terms
//
// Accept the current terms of use. A person does this in the dashboard, so an API key can't.
//
// 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 /v1/me/terms (the `AcceptTerms` operationId).
AcceptTermsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptTermsResponse, error)
// AcceptTermsWithResponse Accept Terms
//
// Accept the current terms of use. A person does this in the dashboard, so an API key can't.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/me/terms (the `AcceptTerms` operationId).
AcceptTermsWithResponse(ctx context.Context, body AcceptTermsJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptTermsResponse, error)
// GetOperationWithResponse Get Operation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/operations/{operation_id} (the `GetOperation` operationId).
GetOperationWithResponse(ctx context.Context, operationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
// GetOrgWithResponse Get Org
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id} (the `GetOrg` operationId).
GetOrgWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)
// UpdateOrgWithBodyWithResponse Update Org
//
// Rename an organization or change its address (the part of the dashboard URL after /app/).
//
// 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 /v1/orgs/{org_id} (the `UpdateOrg` operationId).
UpdateOrgWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)
// UpdateOrgWithResponse Update Org
//
// Rename an organization or change its address (the part of the dashboard URL after /app/).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/orgs/{org_id} (the `UpdateOrg` operationId).
UpdateOrgWithResponse(ctx context.Context, orgId openapi_types.UUID, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)
// ListOrgActivityWithResponse List Org Activity
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/activity (the `ListOrgActivity` operationId).
ListOrgActivityWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListOrgActivityParams, reqEditors ...RequestEditorFn) (*ListOrgActivityResponse, error)
// GetAiMetricsWithResponse Get Ai Metrics
//
// Requests, tokens, spend at list price and errors per UTC day (every day
// in the range, zeros included) and per model, with totals. `end` is
// inclusive and the range defaults to the last 14 days.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/ai/metrics (the `GetAiMetrics` operationId).
GetAiMetricsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *GetAiMetricsParams, reqEditors ...RequestEditorFn) (*GetAiMetricsResponse, error)
// ListProviderKeysWithResponse List Provider Keys
//
// The org's own OpenAI and Anthropic keys, newest first, revoked ones included.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/ai/provider-keys (the `ListProviderKeys` operationId).
ListProviderKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProviderKeysResponse, error)
// CreateProviderKeyWithBodyWithResponse Create Provider Key
//
// Stores the key encrypted and replaces the provider's current key, if
// any. OpenAI keys start with sk- and Anthropic keys with sk-ant-. Only the
// last four characters are shown again.
//
// 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 /v1/orgs/{org_id}/ai/provider-keys (the `CreateProviderKey` operationId).
CreateProviderKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProviderKeyResponse, error)
// CreateProviderKeyWithResponse Create Provider Key
//
// Stores the key encrypted and replaces the provider's current key, if
// any. OpenAI keys start with sk- and Anthropic keys with sk-ant-. Only the
// last four characters are shown again.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/ai/provider-keys (the `CreateProviderKey` operationId).
CreateProviderKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateProviderKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProviderKeyResponse, error)
// ListAiRequestsWithResponse List Ai Requests
//
// Gateway requests, newest first. `model` matches the requested or the
// serving model. Prompts and replies are never stored.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/ai/requests (the `ListAiRequests` operationId).
ListAiRequestsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListAiRequestsParams, reqEditors ...RequestEditorFn) (*ListAiRequestsResponse, error)
// ListApiKeysWithResponse List Api Keys
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/api-keys (the `ListApiKeys` operationId).
ListApiKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
// CreateApiKeyWithBodyWithResponse Create Api Key
//
// `project_id` is only for gateway keys, whose scopes are exactly
// ["ai"]: their requests are logged against that project and follow its
// routing policy. The key is in `key`, and only in this response.
//
// 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 /v1/orgs/{org_id}/api-keys (the `CreateApiKey` operationId).
CreateApiKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
// CreateApiKeyWithResponse Create Api Key
//
// `project_id` is only for gateway keys, whose scopes are exactly
// ["ai"]: their requests are logged against that project and follow its
// routing policy. The key is in `key`, and only in this response.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/api-keys (the `CreateApiKey` operationId).
CreateApiKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
// StartBillingCheckoutWithBodyWithResponse Start Billing Checkout
//
// Starts a hosted checkout to move to a more expensive plan. Send the
// browser to `authorization_url`; Paystack returns it to the callback.
//
// 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 /v1/orgs/{org_id}/billing/checkout (the `StartBillingCheckout` operationId).
StartBillingCheckoutWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartBillingCheckoutResponse, error)
// StartBillingCheckoutWithResponse Start Billing Checkout
//
// Starts a hosted checkout to move to a more expensive plan. Send the
// browser to `authorization_url`; Paystack returns it to the callback.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/billing/checkout (the `StartBillingCheckout` operationId).
StartBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, body StartBillingCheckoutJSONRequestBody, reqEditors ...RequestEditorFn) (*StartBillingCheckoutResponse, error)
// GetBillingCheckoutWithResponse Get Billing Checkout
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/checkout/{reference} (the `GetBillingCheckout` operationId).
GetBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, reference string, reqEditors ...RequestEditorFn) (*GetBillingCheckoutResponse, error)
// VerifyBillingCheckoutWithResponse Verify Billing Checkout
//
// Asks the provider for the checkout's outcome and applies it. Repeating it is harmless.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/billing/checkout/{reference}/verify (the `VerifyBillingCheckout` operationId).
VerifyBillingCheckoutWithResponse(ctx context.Context, orgId openapi_types.UUID, reference string, reqEditors ...RequestEditorFn) (*VerifyBillingCheckoutResponse, error)
// GetBillingDetailsWithResponse Get Billing Details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/details (the `GetBillingDetails` operationId).
GetBillingDetailsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBillingDetailsResponse, error)
// PutBillingDetailsWithBodyWithResponse Put Billing Details
//
// 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 /v1/orgs/{org_id}/billing/details (the `PutBillingDetails` operationId).
PutBillingDetailsWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutBillingDetailsResponse, error)
// PutBillingDetailsWithResponse Put Billing Details
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/orgs/{org_id}/billing/details (the `PutBillingDetails` operationId).
PutBillingDetailsWithResponse(ctx context.Context, orgId openapi_types.UUID, body PutBillingDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutBillingDetailsResponse, error)
// ListInvoicesWithResponse List Invoices
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/invoices (the `ListInvoices` operationId).
ListInvoicesWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*ListInvoicesResponse, error)
// GetInvoiceWithResponse Get Invoice
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/invoices/{invoice_id} (the `GetInvoice` operationId).
GetInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetInvoiceResponse, error)
// DownloadInvoiceWithResponse Download Invoice
//
// A plain-text invoice, standing in for a PDF.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/invoices/{invoice_id}/download (the `DownloadInvoice` operationId).
DownloadInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, invoiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DownloadInvoiceResponse, error)
// ListPaymentMethodsWithResponse List Payment Methods
//
// Saved Paystack authorizations. Added by a successful checkout; the authorization code never leaves the API.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/payment-methods (the `ListPaymentMethods` operationId).
ListPaymentMethodsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListPaymentMethodsResponse, error)
// RemovePaymentMethodWithResponse Remove Payment Method
//
// Deactivates the authorization at Paystack and removes it here.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/orgs/{org_id}/billing/payment-methods/{payment_method_id} (the `RemovePaymentMethod` operationId).
RemovePaymentMethodWithResponse(ctx context.Context, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemovePaymentMethodResponse, error)
// SetDefaultPaymentMethodWithResponse Set Default Payment Method
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/billing/payment-methods/{payment_method_id}/default (the `SetDefaultPaymentMethod` operationId).
SetDefaultPaymentMethodWithResponse(ctx context.Context, orgId openapi_types.UUID, paymentMethodId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SetDefaultPaymentMethodResponse, error)
// GetSpendLimitWithResponse Get Spend Limit
//
// Usage alerts, the hard spend limit, this period's estimate and whether the limit is reached.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/spend-limit (the `GetSpendLimit` operationId).
GetSpendLimitWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSpendLimitResponse, error)
// PutSpendLimitWithBodyWithResponse Put Spend Limit
//
// Replaces the alerts and the limit. Alerts already sent this period
// for amounts that are kept are not sent again.
//
// 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 /v1/orgs/{org_id}/billing/spend-limit (the `PutSpendLimit` operationId).
PutSpendLimitWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSpendLimitResponse, error)
// PutSpendLimitWithResponse Put Spend Limit
//
// Replaces the alerts and the limit. Alerts already sent this period
// for amounts that are kept are not sent again.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/orgs/{org_id}/billing/spend-limit (the `PutSpendLimit` operationId).
PutSpendLimitWithResponse(ctx context.Context, orgId openapi_types.UUID, body PutSpendLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSpendLimitResponse, error)
// CancelSubscriptionWithResponse Cancel Subscription
//
// Ends the paid plan when the current period ends; the org then moves to Free.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/billing/subscription/cancel (the `CancelSubscription` operationId).
CancelSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelSubscriptionResponse, error)
// DowngradeSubscriptionWithBodyWithResponse Downgrade Subscription
//
// Schedules a cheaper plan to start when the current period ends.
//
// 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 /v1/orgs/{org_id}/billing/subscription/downgrade (the `DowngradeSubscription` operationId).
DowngradeSubscriptionWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DowngradeSubscriptionResponse, error)
// DowngradeSubscriptionWithResponse Downgrade Subscription
//
// Schedules a cheaper plan to start when the current period ends.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/billing/subscription/downgrade (the `DowngradeSubscription` operationId).
DowngradeSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, body DowngradeSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*DowngradeSubscriptionResponse, error)
// ResumeSubscriptionWithResponse Resume Subscription
//
// Undoes a cancellation before the period ends.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/billing/subscription/resume (the `ResumeSubscription` operationId).
ResumeSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResumeSubscriptionResponse, error)
// GetUpcomingInvoiceWithResponse Get Upcoming Invoice
//
// What the current period would bill if it ended now. Nothing is stored.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/upcoming-invoice (the `GetUpcomingInvoice` operationId).
GetUpcomingInvoiceWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUpcomingInvoiceResponse, error)
// GetUsageSummaryWithResponse Get Usage Summary
//
// Each meter for the current period: quantity, included allowance and estimated charge.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/usage (the `GetUsageSummary` operationId).
GetUsageSummaryWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUsageSummaryResponse, error)
// ListUsageRecordsWithResponse List Usage Records
//
// Usage records for the current period, newest first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/billing/usage/records (the `ListUsageRecords` operationId).
ListUsageRecordsWithResponse(ctx context.Context, orgId openapi_types.UUID, params *ListUsageRecordsParams, reqEditors ...RequestEditorFn) (*ListUsageRecordsResponse, error)
// GetGithubInstallUrlWithResponse Get Github Install Url
//
// Where to send the browser to install the GitHub App for this org. It
// comes back to /v1/github/setup, which links the installation.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/github/install-url (the `GetGithubInstallUrl` operationId).
GetGithubInstallUrlWithResponse(ctx context.Context, orgId openapi_types.UUID, params *GetGithubInstallUrlParams, reqEditors ...RequestEditorFn) (*GetGithubInstallUrlResponse, error)
// ListGithubInstallationsWithResponse List Github Installations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/github/installations (the `ListGithubInstallations` operationId).
ListGithubInstallationsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGithubInstallationsResponse, error)
// ListGpuRequestsWithResponse List Gpu Requests
//
// The organization's waitlist and reservation requests, newest first,
// without withdrawn ones.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/gpu/requests (the `ListGpuRequests` operationId).
ListGpuRequestsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGpuRequestsResponse, error)
// CreateGpuRequestWithBodyWithResponse Create Gpu Request
//
// Join the waitlist for a GPU instance, or ask to reserve some. The
// request is received, Dekka contacts the organization when capacity is
// available, and then closes it. Nothing is provisioned or billed.
//
// 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 /v1/orgs/{org_id}/gpu/requests (the `CreateGpuRequest` operationId).
CreateGpuRequestWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGpuRequestResponse, error)
// CreateGpuRequestWithResponse Create Gpu Request
//
// Join the waitlist for a GPU instance, or ask to reserve some. The
// request is received, Dekka contacts the organization when capacity is
// available, and then closes it. Nothing is provisioned or billed.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/gpu/requests (the `CreateGpuRequest` operationId).
CreateGpuRequestWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateGpuRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGpuRequestResponse, error)
// ListInferenceEndpointsWithResponse List Inference Endpoints
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/inference-endpoints (the `ListInferenceEndpoints` operationId).
ListInferenceEndpointsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListInferenceEndpointsResponse, error)
// CreateInferenceEndpointWithBodyWithResponse Create Inference Endpoint
//
// Create a private inference endpoint for an open-weights model. It is
// waitlisted at once, because no GPU capacity is available yet. Outside
// production the AI gateway answers `private/<name>` with a simulated
// reply, so an app can be built against it now.
//
// 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 /v1/orgs/{org_id}/inference-endpoints (the `CreateInferenceEndpoint` operationId).
CreateInferenceEndpointWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInferenceEndpointResponse, error)
// CreateInferenceEndpointWithResponse Create Inference Endpoint
//
// Create a private inference endpoint for an open-weights model. It is
// waitlisted at once, because no GPU capacity is available yet. Outside
// production the AI gateway answers `private/<name>` with a simulated
// reply, so an app can be built against it now.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/inference-endpoints (the `CreateInferenceEndpoint` operationId).
CreateInferenceEndpointWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateInferenceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInferenceEndpointResponse, error)
// ListOrgInvitationsWithResponse List Org Invitations
//
// Open invitations, newest first. Expired ones stay listed with status
// expired until they are revoked or the address is invited again.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/invitations (the `ListOrgInvitations` operationId).
ListOrgInvitationsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListOrgInvitationsResponse, error)
// CreateOrgInvitationWithBodyWithResponse Create Org Invitation
//
// Emails a link to WEB_URL/invite?token=… that works once for seven days.
// Only owners may invite owners (403 owner_required). Refused with 409
// already_member or invitation_exists, and with 403 entitlement_exceeded
// (team_members) when members plus open invitations would pass the plan.
//
// 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 /v1/orgs/{org_id}/invitations (the `CreateOrgInvitation` operationId).
CreateOrgInvitationWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgInvitationResponse, error)
// CreateOrgInvitationWithResponse Create Org Invitation
//
// Emails a link to WEB_URL/invite?token=… that works once for seven days.
// Only owners may invite owners (403 owner_required). Refused with 409
// already_member or invitation_exists, and with 403 entitlement_exceeded
// (team_members) when members plus open invitations would pass the plan.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/invitations (the `CreateOrgInvitation` operationId).
CreateOrgInvitationWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateOrgInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgInvitationResponse, error)
// ListMembersWithResponse List Members
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/members (the `ListMembers` operationId).
ListMembersWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
// RemoveOrgMemberWithResponse Remove Org Member
//
// Admins and owners remove others (only owners remove owners), and any
// member can remove themself to leave. 409 last_owner when it would leave
// no owner. The member's API keys for this organization are revoked.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/orgs/{org_id}/members/{user_id} (the `RemoveOrgMember` operationId).
RemoveOrgMemberWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveOrgMemberResponse, error)
// UpdateOrgMemberWithBodyWithResponse Update Org Member
//
// Only owners can make someone an owner or change an owner's role (403
// owner_required). 409 last_owner when it would leave no owner.
//
// 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 /v1/orgs/{org_id}/members/{user_id} (the `UpdateOrgMember` operationId).
UpdateOrgMemberWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgMemberResponse, error)
// UpdateOrgMemberWithResponse Update Org Member
//
// Only owners can make someone an owner or change an owner's role (403
// owner_required). 409 last_owner when it would leave no owner.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/orgs/{org_id}/members/{user_id} (the `UpdateOrgMember` operationId).
UpdateOrgMemberWithResponse(ctx context.Context, orgId openapi_types.UUID, userId openapi_types.UUID, body UpdateOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgMemberResponse, error)
// GetOrgOverviewWithResponse Get Org Overview
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/overview (the `GetOrgOverview` operationId).
GetOrgOverviewWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgOverviewResponse, error)
// ListProjectsWithResponse List Projects
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/projects (the `ListProjects` operationId).
ListProjectsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
// CreateProjectWithBodyWithResponse Create Project
//
// 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 /v1/orgs/{org_id}/projects (the `CreateProject` operationId).
CreateProjectWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
// CreateProjectWithResponse Create Project
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/projects (the `CreateProject` operationId).
CreateProjectWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
// ListRegistryCredentialsWithResponse List Registry Credentials
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/registry-credentials (the `ListRegistryCredentials` operationId).
ListRegistryCredentialsWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListRegistryCredentialsResponse, error)
// CreateRegistryCredentialWithBodyWithResponse Create Registry Credential
//
// Stores a username and password or token for a private registry. The
// password is encrypted and only its last four characters are returned.
//
// 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 /v1/orgs/{org_id}/registry-credentials (the `CreateRegistryCredential` operationId).
CreateRegistryCredentialWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRegistryCredentialResponse, error)
// CreateRegistryCredentialWithResponse Create Registry Credential
//
// Stores a username and password or token for a private registry. The
// password is encrypted and only its last four characters are returned.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/registry-credentials (the `CreateRegistryCredential` operationId).
CreateRegistryCredentialWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateRegistryCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRegistryCredentialResponse, error)
// DeleteRegistryCredentialWithResponse Delete Registry Credential
//
// Refused with 409 registry_credential_in_use while a service's image source names it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/orgs/{org_id}/registry-credentials/{credential_id} (the `DeleteRegistryCredential` operationId).
DeleteRegistryCredentialWithResponse(ctx context.Context, orgId openapi_types.UUID, credentialId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRegistryCredentialResponse, error)
// ListSshKeysWithResponse List Ssh Keys
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/ssh-keys (the `ListSshKeys` operationId).
ListSshKeysWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)
// CreateSshKeyWithBodyWithResponse Create Ssh Key
//
// Saves a public key for new servers. Private keys are refused with 422
// private_key_rejected, and the same key twice with 409 ssh_key_exists.
//
// 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 /v1/orgs/{org_id}/ssh-keys (the `CreateSshKey` operationId).
CreateSshKeyWithBodyWithResponse(ctx context.Context, orgId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)
// CreateSshKeyWithResponse Create Ssh Key
//
// Saves a public key for new servers. Private keys are refused with 422
// private_key_rejected, and the same key twice with 409 ssh_key_exists.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/orgs/{org_id}/ssh-keys (the `CreateSshKey` operationId).
CreateSshKeyWithResponse(ctx context.Context, orgId openapi_types.UUID, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)
// GetOrgSubscriptionWithResponse Get Org Subscription
//
// The plan, its period, any scheduled change, and current usage. An ended
// period is rolled forward here as well as by the reconciler.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/orgs/{org_id}/subscription (the `GetOrgSubscription` operationId).
GetOrgSubscriptionWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrgSubscriptionResponse, error)
// DeletePreviewWithResponse Delete Preview
//
// Closes the preview and deletes its environment, as closing the pull
// request would. A later push to the pull request opens a new one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/previews/{preview_id} (the `DeletePreview` operationId).
DeletePreviewWithResponse(ctx context.Context, previewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePreviewResponse, error)
// GetPreviewWithResponse Get Preview
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/previews/{preview_id} (the `GetPreview` operationId).
GetPreviewWithResponse(ctx context.Context, previewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPreviewResponse, error)
// RevokeProjectTokenWithResponse Revoke Project Token
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/project-tokens/{token_id} (the `RevokeProjectToken` operationId).
RevokeProjectTokenWithResponse(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeProjectTokenResponse, error)
// DeleteProjectWithResponse Delete Project
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{project_id} (the `DeleteProject` operationId).
DeleteProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
// GetProjectWithResponse Get Project
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id} (the `GetProject` operationId).
GetProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
// UpdateProjectWithBodyWithResponse Update Project
//
// 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 /v1/projects/{project_id} (the `UpdateProject` operationId).
UpdateProjectWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
// UpdateProjectWithResponse Update Project
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{project_id} (the `UpdateProject` operationId).
UpdateProjectWithResponse(ctx context.Context, projectId openapi_types.UUID, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
// GetAiPolicyWithResponse Get Ai Policy
//
// The project's routing rules. A project that never saved any allows every
// available model from both providers, with no fallback and no cap.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/ai/policy (the `GetAiPolicy` operationId).
GetAiPolicyWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAiPolicyResponse, error)
// PutAiPolicyWithBodyWithResponse Put Ai Policy
//
// Replaces the rules. Every model named must be in the catalogue and come
// from an allowed provider, and with allowed_models set, each fallback must
// be among them. The cap is in US dollars at list price per calendar month.
//
// 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 /v1/projects/{project_id}/ai/policy (the `PutAiPolicy` operationId).
PutAiPolicyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAiPolicyResponse, error)
// PutAiPolicyWithResponse Put Ai Policy
//
// Replaces the rules. Every model named must be in the catalogue and come
// from an allowed provider, and with allowed_models set, each fallback must
// be among them. The cap is in US dollars at list price per calendar month.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{project_id}/ai/policy (the `PutAiPolicy` operationId).
PutAiPolicyWithResponse(ctx context.Context, projectId openapi_types.UUID, body PutAiPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAiPolicyResponse, error)
// GetAiPrivacyWithResponse Get Ai Privacy
//
// The project's Veil settings for the gateway. Off until someone turns it on.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/ai/privacy (the `GetAiPrivacy` operationId).
GetAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAiPrivacyResponse, error)
// PutAiPrivacyWithBodyWithResponse Put Ai Privacy
//
// Replaces the Veil settings. Custom policies are checked by Veil first, and
// every error comes back with its path in 422 invalid_privacy_policy.
//
// 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 /v1/projects/{project_id}/ai/privacy (the `PutAiPrivacy` operationId).
PutAiPrivacyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAiPrivacyResponse, error)
// PutAiPrivacyWithResponse Put Ai Privacy
//
// Replaces the Veil settings. Custom policies are checked by Veil first, and
// every error comes back with its path in 422 invalid_privacy_policy.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{project_id}/ai/privacy (the `PutAiPrivacy` operationId).
PutAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, body PutAiPrivacyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAiPrivacyResponse, error)
// PreviewAiPrivacyWithBodyWithResponse Preview Ai Privacy
//
// Shows what Veil would do to sample text with the saved settings, or with
// unsaved ones in `policy`. With Veil off it previews protect mode. Nothing
// is stored.
//
// 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 /v1/projects/{project_id}/ai/privacy/preview (the `PreviewAiPrivacy` operationId).
PreviewAiPrivacyWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewAiPrivacyResponse, error)
// PreviewAiPrivacyWithResponse Preview Ai Privacy
//
// Shows what Veil would do to sample text with the saved settings, or with
// unsaved ones in `policy`. With Veil off it previews protect mode. Nothing
// is stored.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_id}/ai/privacy/preview (the `PreviewAiPrivacy` operationId).
PreviewAiPrivacyWithResponse(ctx context.Context, projectId openapi_types.UUID, body PreviewAiPrivacyJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewAiPrivacyResponse, error)
// GetCanvasWithResponse Get Canvas
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/canvas (the `GetCanvas` operationId).
GetCanvasWithResponse(ctx context.Context, projectId openapi_types.UUID, params *GetCanvasParams, reqEditors ...RequestEditorFn) (*GetCanvasResponse, error)
// PutCanvasWithBodyWithResponse Put Canvas
//
// Replaces the layout. Positions for resources outside this environment are dropped.
//
// 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 /v1/projects/{project_id}/canvas (the `PutCanvas` operationId).
PutCanvasWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCanvasResponse, error)
// PutCanvasWithResponse Put Canvas
//
// Replaces the layout. Positions for resources outside this environment are dropped.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{project_id}/canvas (the `PutCanvas` operationId).
PutCanvasWithResponse(ctx context.Context, projectId openapi_types.UUID, params *PutCanvasParams, body PutCanvasJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCanvasResponse, error)
// ListConnectionsWithResponse List Connections
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/connections (the `ListConnections` operationId).
ListConnectionsWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListConnectionsResponse, error)
// CreateConnectionWithBodyWithResponse Create Connection
//
// 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 /v1/projects/{project_id}/connections (the `CreateConnection` operationId).
CreateConnectionWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateConnectionResponse, error)
// CreateConnectionWithResponse Create Connection
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_id}/connections (the `CreateConnection` operationId).
CreateConnectionWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateConnectionResponse, error)
// ListProjectDeploymentsWithResponse List Project Deployments
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/deployments (the `ListProjectDeployments` operationId).
ListProjectDeploymentsWithResponse(ctx context.Context, projectId openapi_types.UUID, params *ListProjectDeploymentsParams, reqEditors ...RequestEditorFn) (*ListProjectDeploymentsResponse, error)
// ListEnvironmentsWithResponse List Environments
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/environments (the `ListEnvironments` operationId).
ListEnvironmentsWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)
// CreateEnvironmentWithBodyWithResponse Create Environment
//
// Creates an empty environment, or forks one with `fork_from`. A fork
// queues the same provisioning, deployments and connection configuration a
// person would by hand, and each copy counts against the plan's limits.
//
// 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 /v1/projects/{project_id}/environments (the `CreateEnvironment` operationId).
CreateEnvironmentWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
// CreateEnvironmentWithResponse Create Environment
//
// Creates an empty environment, or forks one with `fork_from`. A fork
// queues the same provisioning, deployments and connection configuration a
// person would by hand, and each copy counts against the plan's limits.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_id}/environments (the `CreateEnvironment` operationId).
CreateEnvironmentWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
// StreamProjectEventsWithResponse Stream Project Events
//
// Operation, resource, connection and deployment changes as they commit.
// Each event's `data` is JSON with at least `type` and `id`; a comment line
// is sent every 15 seconds as a heartbeat.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/events (the `StreamProjectEvents` operationId).
StreamProjectEventsWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*StreamProjectEventsResponse, error)
// SearchLogsWithResponse Search Logs
//
// Deployment and job run log lines in the project, newest first, paged
// with a keyset cursor.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/logs/search (the `SearchLogs` operationId).
SearchLogsWithResponse(ctx context.Context, projectId openapi_types.UUID, params *SearchLogsParams, reqEditors ...RequestEditorFn) (*SearchLogsResponse, error)
// ListProjectOperationsWithResponse List Project Operations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/operations (the `ListProjectOperations` operationId).
ListProjectOperationsWithResponse(ctx context.Context, projectId openapi_types.UUID, params *ListProjectOperationsParams, reqEditors ...RequestEditorFn) (*ListProjectOperationsResponse, error)
// ListPreviewsWithResponse List Previews
//
// Pull request previews, newest first, closed ones included.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/previews (the `ListPreviews` operationId).
ListPreviewsWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListPreviewsResponse, error)
// ListResourcesWithResponse List Resources
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/resources (the `ListResources` operationId).
ListResourcesWithResponse(ctx context.Context, projectId openapi_types.UUID, params *ListResourcesParams, reqEditors ...RequestEditorFn) (*ListResourcesResponse, error)
// CreateResourceWithBodyWithResponse Create Resource
//
// 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 /v1/projects/{project_id}/resources (the `CreateResource` operationId).
CreateResourceWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceResponse, error)
// CreateResourceWithResponse Create Resource
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_id}/resources (the `CreateResource` operationId).
CreateResourceWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceResponse, error)
// ListServersWithResponse List Servers
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/servers (the `ListServers` operationId).
ListServersWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListServersResponse, error)
// CreateServerWithBodyWithResponse Create Server
//
// Creates a virtual_machine resource and queues vm.provision. The same
// as POST /v1/projects/{project_id}/resources with kind virtual_machine.
// The runtime profile is fixed from here on, and the size and image must
// belong to 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 POST /v1/projects/{project_id}/servers (the `CreateServer` operationId).
CreateServerWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServerResponse, error)
// CreateServerWithResponse Create Server
//
// Creates a virtual_machine resource and queues vm.provision. The same
// as POST /v1/projects/{project_id}/resources with kind virtual_machine.
// The runtime profile is fixed from here on, and the size and image must
// belong to it.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_id}/servers (the `CreateServer` operationId).
CreateServerWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServerResponse, error)
// ListProjectTokensWithResponse List Project Tokens
//
// Tokens that reach only this project, newest first, revoked ones included.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/tokens (the `ListProjectTokens` operationId).
ListProjectTokensWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProjectTokensResponse, error)
// CreateProjectTokenWithBodyWithResponse Create Project Token
//
// A token for CI that reaches only this project: its resources,
// deployments, environments and variables. Every org-level route and every
// other project answer 404 to it. `read` acts as a viewer and `write` as a
// developer, never above the creator's own role. The token is in `key`,
// and only in this response.
//
// 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 /v1/projects/{project_id}/tokens (the `CreateProjectToken` operationId).
CreateProjectTokenWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectTokenResponse, error)
// CreateProjectTokenWithResponse Create Project Token
//
// A token for CI that reaches only this project: its resources,
// deployments, environments and variables. Every org-level route and every
// other project answer 404 to it. `read` acts as a viewer and `write` as a
// developer, never above the creator's own role. The token is in `key`,
// and only in this response.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_id}/tokens (the `CreateProjectToken` operationId).
CreateProjectTokenWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateProjectTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectTokenResponse, error)
// ListProjectWebhooksWithResponse List Project Webhooks
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_id}/webhooks (the `ListProjectWebhooks` operationId).
ListProjectWebhooksWithResponse(ctx context.Context, projectId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListProjectWebhooksResponse, error)
// CreateProjectWebhookWithBodyWithResponse Create Project Webhook
//
// Posts signed deploy events to `url`. The signing secret is in
// `secret`, and only in this response. Refused with 422
// invalid_webhook_url for a URL that is not http(s), or in production not
// https or not public.
//
// 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 /v1/projects/{project_id}/webhooks (the `CreateProjectWebhook` operationId).
CreateProjectWebhookWithBodyWithResponse(ctx context.Context, projectId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectWebhookResponse, error)
// CreateProjectWebhookWithResponse Create Project Webhook
//
// Posts signed deploy events to `url`. The signing secret is in
// `secret`, and only in this response. Refused with 422
// invalid_webhook_url for a URL that is not http(s), or in production not
// https or not public.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_id}/webhooks (the `CreateProjectWebhook` operationId).
CreateProjectWebhookWithResponse(ctx context.Context, projectId openapi_types.UUID, body CreateProjectWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectWebhookResponse, error)
// ReadyzWithResponse Readyz
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/readyz (the `Readyz` operationId).
ReadyzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadyzResponse, error)
// ListRegionsWithResponse List Regions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/regions (the `ListRegions` operationId).
ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error)
// DeleteResourceWithResponse Delete Resource
//
// Starts deletion. Postgres needs `?confirm=<resource name>`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/resources/{resource_id} (the `DeleteResource` operationId).
DeleteResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *DeleteResourceParams, reqEditors ...RequestEditorFn) (*DeleteResourceResponse, error)
// GetResourceWithResponse Get Resource
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id} (the `GetResource` operationId).
GetResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetResourceResponse, error)
// UpdateResourceWithBodyWithResponse Update Resource
//
// Renames, replaces the spec, changes an application's apps.dekka.cloud
// subdomain, or moves a service to another region. Spec changes apply on the
// next deploy; a subdomain change re-routes a running service at once. A
// schedule in the spec turns a service into a scheduled job and clearing it
// turns it back, which is audited as resource.kind_changed.
//
// 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 /v1/resources/{resource_id} (the `UpdateResource` operationId).
UpdateResourceWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResourceResponse, error)
// UpdateResourceWithResponse Update Resource
//
// Renames, replaces the spec, changes an application's apps.dekka.cloud
// subdomain, or moves a service to another region. Spec changes apply on the
// next deploy; a subdomain change re-routes a running service at once. A
// schedule in the spec turns a service into a scheduled job and clearing it
// turns it back, which is audited as resource.kind_changed.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/resources/{resource_id} (the `UpdateResource` operationId).
UpdateResourceWithResponse(ctx context.Context, resourceId openapi_types.UUID, body UpdateResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResourceResponse, error)
// RunResourceActionWithResponse Run Resource Action
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/actions/{action} (the `RunResourceAction` operationId).
RunResourceActionWithResponse(ctx context.Context, resourceId openapi_types.UUID, action RunResourceActionParamsAction, reqEditors ...RequestEditorFn) (*RunResourceActionResponse, error)
// ListDatabaseBackupsWithResponse List Database Backups
//
// A Postgres database's or a Redis cache's backups, newest first: the
// ones taken on request and the ones taken every night, read from the
// engine. Each says where it is kept.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/backups (the `ListDatabaseBackups` operationId).
ListDatabaseBackupsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListDatabaseBackupsParams, reqEditors ...RequestEditorFn) (*ListDatabaseBackupsResponse, error)
// CreateDatabaseBackupWithResponse Create Database Backup
//
// Takes a manual backup of a database or a cache now (backup.create). It
// is kept for 30 days.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/backups (the `CreateDatabaseBackup` operationId).
CreateDatabaseBackupWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateDatabaseBackupResponse, error)
// PlanDeclaredServicesWithResponse Plan Declared Services
//
// Plans what the service's dekka.toml declares and the environment lacks:
// the missing databases, caches, buckets and queues, and a connection from
// the service to each declared one. Nothing changes until the changeset is
// deployed with POST /v1/changesets/{id}/deploy. Answers 409 nothing_to_plan
// when everything is already here and connected.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/config/plan (the `PlanDeclaredServices` operationId).
PlanDeclaredServicesWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*PlanDeclaredServicesResponse, error)
// DeclaredServicesWithResponse Declared Services
//
// The databases, caches, buckets and queues the service's dekka.toml (or
// dekka.json) declares under [services.<name>], read at its latest deployed
// commit, and whether each exists in the environment and is connected.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/config/services (the `DeclaredServices` operationId).
DeclaredServicesWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeclaredServicesResponse, error)
// ListConnectionStringsWithResponse List Connection Strings
//
// One row per app connected to this database, with the variable it was
// given and the URL with its password masked. The full value comes from
// POST /v1/resources/{app_id}/env/{env_key}/reveal, which is audited.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/connection-strings (the `ListConnectionStrings` operationId).
ListConnectionStringsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListConnectionStringsResponse, error)
// ListDataLocationsWithResponse List Data Locations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/data-locations (the `ListDataLocations` operationId).
ListDataLocationsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListDataLocationsResponse, error)
// RunDatabaseQueryWithBodyWithResponse Run Database Query
//
// Runs one read-only statement. Anything else is refused here with 422
// (empty_query, multiple_statements or query_not_read_only) before it
// reaches the engine, which also runs it in a READ ONLY transaction. Rows
// are capped at 500 and the timeout at 10 seconds. Every query is audited
// with its length and SHA-256, never its text or result.
//
// 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 /v1/resources/{resource_id}/database/query (the `RunDatabaseQuery` operationId).
RunDatabaseQueryWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunDatabaseQueryResponse, error)
// RunDatabaseQueryWithResponse Run Database Query
//
// Runs one read-only statement. Anything else is refused here with 422
// (empty_query, multiple_statements or query_not_read_only) before it
// reaches the engine, which also runs it in a READ ONLY transaction. Rows
// are capped at 500 and the timeout at 10 seconds. Every query is audited
// with its length and SHA-256, never its text or result.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/database/query (the `RunDatabaseQuery` operationId).
RunDatabaseQueryWithResponse(ctx context.Context, resourceId openapi_types.UUID, body RunDatabaseQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*RunDatabaseQueryResponse, error)
// ListDatabaseTablesWithResponse List Database Tables
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/database/tables (the `ListDatabaseTables` operationId).
ListDatabaseTablesWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListDatabaseTablesResponse, error)
// ListResourceDeploymentsWithResponse List Resource Deployments
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/deployments (the `ListResourceDeployments` operationId).
ListResourceDeploymentsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListResourceDeploymentsParams, reqEditors ...RequestEditorFn) (*ListResourceDeploymentsResponse, error)
// CreateDeploymentWithBodyWithResponse Create Deployment
//
// 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 /v1/resources/{resource_id}/deployments (the `CreateDeployment` operationId).
CreateDeploymentWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error)
// CreateDeploymentWithResponse Create Deployment
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/deployments (the `CreateDeployment` operationId).
CreateDeploymentWithResponse(ctx context.Context, resourceId openapi_types.UUID, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error)
// ListDomainsWithResponse List Domains
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/domains (the `ListDomains` operationId).
ListDomainsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListDomainsResponse, error)
// CreateDomainWithBodyWithResponse Create Domain
//
// Adds a custom domain to an application. The response names the CNAME
// and TXT records to create before verifying. Needs a plan with custom_domains.
//
// 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 /v1/resources/{resource_id}/domains (the `CreateDomain` operationId).
CreateDomainWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDomainResponse, error)
// CreateDomainWithResponse Create Domain
//
// Adds a custom domain to an application. The response names the CNAME
// and TXT records to create before verifying. Needs a plan with custom_domains.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/domains (the `CreateDomain` operationId).
CreateDomainWithResponse(ctx context.Context, resourceId openapi_types.UUID, body CreateDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDomainResponse, error)
// ListEnvWithResponse List Env
//
// Stored variables, then the system variables Dekka sets (PORT,
// DEKKA_PRIVATE_DOMAIN, DEKKA_PUBLIC_DOMAIN, DEKKA_ENVIRONMENT) with
// `source: "system"`, unless a stored variable of the same name overrides one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/env (the `ListEnv` operationId).
ListEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListEnvResponse, error)
// PutEnvWithBodyWithResponse Put Env
//
// Creates or updates the given variables. Others are left alone, and
// connection-managed keys are read-only. References are checked and refused
// with 422 unknown_reference when they do not resolve. A reference to a
// database, cache, bucket or queue the service is not connected to connects
// it, so `${{db.DATABASE_URL}}` reads the service's own credentials. Changes
// apply on the next restart or deploy.
//
// 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 /v1/resources/{resource_id}/env (the `PutEnv` operationId).
PutEnvWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutEnvResponse, error)
// PutEnvWithResponse Put Env
//
// Creates or updates the given variables. Others are left alone, and
// connection-managed keys are read-only. References are checked and refused
// with 422 unknown_reference when they do not resolve. A reference to a
// database, cache, bucket or queue the service is not connected to connects
// it, so `${{db.DATABASE_URL}}` reads the service's own credentials. Changes
// apply on the next restart or deploy.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/resources/{resource_id}/env (the `PutEnv` operationId).
PutEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, body PutEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*PutEnvResponse, error)
// GetRawEnvWithResponse Get Raw Env
//
// The service's own variables as dotenv text. Secret, sealed and
// connection-managed values are left out, each with a comment line naming it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/env/raw (the `GetRawEnv` operationId).
GetRawEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRawEnvResponse, error)
// PutRawEnvWithBodyWithResponse Put Raw Env
//
// Saves dotenv text. Existing variables keep their secret flag and new
// ones are not secret. With `replace`, user variables missing from the text
// are deleted, except sealed ones; connection-managed keys cannot be set here.
//
// 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 /v1/resources/{resource_id}/env/raw (the `PutRawEnv` operationId).
PutRawEnvWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutRawEnvResponse, error)
// PutRawEnvWithResponse Put Raw Env
//
// Saves dotenv text. Existing variables keep their secret flag and new
// ones are not secret. With `replace`, user variables missing from the text
// are deleted, except sealed ones; connection-managed keys cannot be set here.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/resources/{resource_id}/env/raw (the `PutRawEnv` operationId).
PutRawEnvWithResponse(ctx context.Context, resourceId openapi_types.UUID, body PutRawEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*PutRawEnvResponse, error)
// ResourceReferenceTargetsWithResponse Resource Reference Targets
//
// The services, databases and shared variables this service's variables can
// reference as ${{name.KEY}}, with the keys each offers, for autocomplete.
// Names only; values are never returned.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/env/references (the `ResourceReferenceTargets` operationId).
ResourceReferenceTargetsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResourceReferenceTargetsResponse, error)
// DeleteEnvVarWithResponse Delete Env Var
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/resources/{resource_id}/env/{key} (the `DeleteEnvVar` operationId).
DeleteEnvVarWithResponse(ctx context.Context, resourceId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*DeleteEnvVarResponse, error)
// RevealEnvVarWithResponse Reveal Env Var
//
// Returns a secret value in plain text. Every reveal is audited, and a
// sealed variable answers 409 variable_sealed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/env/{key}/reveal (the `RevealEnvVar` operationId).
RevealEnvVarWithResponse(ctx context.Context, resourceId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*RevealEnvVarResponse, error)
// GetResourceHttpLogsWithResponse Get Resource Http Logs
//
// HTTP request logs for an application, read from the engine, oldest
// first after `after`. Poll with `after=next_after` for new requests.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/http-logs (the `GetResourceHttpLogs` operationId).
GetResourceHttpLogsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceHttpLogsParams, reqEditors ...RequestEditorFn) (*GetResourceHttpLogsResponse, error)
// GetResourceLogsWithResponse Get Resource Logs
//
// Runtime logs, read from the engine.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/logs (the `GetResourceLogs` operationId).
GetResourceLogsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceLogsParams, reqEditors ...RequestEditorFn) (*GetResourceLogsResponse, error)
// GetResourceMetricsWithResponse Get Resource Metrics
//
// Metrics from the engine over `window`. `simulated` is true when the engine is the mock.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/metrics (the `GetResourceMetrics` operationId).
GetResourceMetricsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *GetResourceMetricsParams, reqEditors ...RequestEditorFn) (*GetResourceMetricsResponse, error)
// ListRedisKeysWithResponse List Redis Keys
//
// A page of keys matching `pattern` (glob syntax), read with SCAN.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/redis/keys (the `ListRedisKeys` operationId).
ListRedisKeysWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListRedisKeysParams, reqEditors ...RequestEditorFn) (*ListRedisKeysResponse, error)
// RestoreDatabaseWithBodyWithResponse Restore Database
//
// Restores a Postgres database to `target_time`, or to its latest backup
// when `target_time` is left out (backup.restore). The time must fall within
// the days the database's `backups.retention_days` keeps, and `confirm`
// must be the database's name. Returns the operation.
//
// 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 /v1/resources/{resource_id}/restore (the `RestoreDatabase` operationId).
RestoreDatabaseWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)
// RestoreDatabaseWithResponse Restore Database
//
// Restores a Postgres database to `target_time`, or to its latest backup
// when `target_time` is left out (backup.restore). The time must fall within
// the days the database's `backups.retention_days` keeps, and `confirm`
// must be the database's name. Returns the operation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/restore (the `RestoreDatabase` operationId).
RestoreDatabaseWithResponse(ctx context.Context, resourceId openapi_types.UUID, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)
// RotateDatabaseCredentialsWithResponse Rotate Database Credentials
//
// Issues new credentials for every active connection to this database,
// cache, bucket or queue. Each connection goes active, pending, active: the
// engine rotates (connection.configure with rotate: true) and revokes the old
// credential, and Dekka rebinds the app's variables and restarts it. With no
// active connection it answers 409 no_connections.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/rotate-credentials (the `RotateDatabaseCredentials` operationId).
RotateDatabaseCredentialsWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RotateDatabaseCredentialsResponse, error)
// ListJobRunsWithResponse List Job Runs
//
// Runs newest first, skipped scheduled runs included.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/runs (the `ListJobRuns` operationId).
ListJobRunsWithResponse(ctx context.Context, resourceId openapi_types.UUID, params *ListJobRunsParams, reqEditors ...RequestEditorFn) (*ListJobRunsResponse, error)
// CreateJobRunWithResponse Create Job Run
//
// Runs a scheduled job now with its start command. A job that has not
// been deployed answers 409 job_not_deployed, and one whose last run is
// still going 409 run_in_progress.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/runs (the `CreateJobRun` operationId).
CreateJobRunWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateJobRunResponse, error)
// GetVolumeWithResponse Get Volume
//
// The service's volume, or null when it has none.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resources/{resource_id}/volume (the `GetVolume` operationId).
GetVolumeWithResponse(ctx context.Context, resourceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVolumeResponse, error)
// CreateVolumeWithBodyWithResponse Create Volume
//
// Attaches a new volume to a service and queues volume.create.
//
// 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 /v1/resources/{resource_id}/volume (the `CreateVolume` operationId).
CreateVolumeWithBodyWithResponse(ctx context.Context, resourceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)
// CreateVolumeWithResponse Create Volume
//
// Attaches a new volume to a service and queues volume.create.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/resources/{resource_id}/volume (the `CreateVolume` operationId).
CreateVolumeWithResponse(ctx context.Context, resourceId openapi_types.UUID, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)
// DeleteServerWithResponse Delete Server
//
// Starts deleting the server and its disk; `?confirm=<name>` is required.
// Billing stops at the end of the hour the engine confirms the delete in.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/servers/{server_id} (the `DeleteServer` operationId).
DeleteServerWithResponse(ctx context.Context, serverId openapi_types.UUID, params *DeleteServerParams, reqEditors ...RequestEditorFn) (*DeleteServerResponse, error)
// GetServerWithResponse Get Server
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{server_id} (the `GetServer` operationId).
GetServerWithResponse(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServerResponse, error)
// RunServerActionWithResponse Run Server Action
//
// start needs a stopped or failed server; stop and reboot a running one.
// Another vm operation in progress answers 409 operation_in_progress.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{server_id}/actions/{action} (the `RunServerAction` operationId).
RunServerActionWithResponse(ctx context.Context, serverId openapi_types.UUID, action RunServerActionParamsAction, reqEditors ...RequestEditorFn) (*RunServerActionResponse, error)
// RebuildServerWithBodyWithResponse Rebuild Server
//
// Wipes the disk and installs the image, keeping the address, size, SSH
// keys and user data. `confirm` must be the server's name.
//
// 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 /v1/servers/{server_id}/rebuild (the `RebuildServer` operationId).
RebuildServerWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebuildServerResponse, error)
// RebuildServerWithResponse Rebuild Server
//
// Wipes the disk and installs the image, keeping the address, size, SSH
// keys and user data. `confirm` must be the server's name.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{server_id}/rebuild (the `RebuildServer` operationId).
RebuildServerWithResponse(ctx context.Context, serverId openapi_types.UUID, body RebuildServerJSONRequestBody, reqEditors ...RequestEditorFn) (*RebuildServerResponse, error)
// ResizeServerWithBodyWithResponse Resize Server
//
// Needs a stopped server, and a size from the same runtime profile whose
// disk is at least as large, because disks never shrink. The server stays
// stopped afterwards.
//
// 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 /v1/servers/{server_id}/resize (the `ResizeServer` operationId).
ResizeServerWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeServerResponse, error)
// ResizeServerWithResponse Resize Server
//
// Needs a stopped server, and a size from the same runtime profile whose
// disk is at least as large, because disks never shrink. The server stays
// stopped afterwards.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{server_id}/resize (the `ResizeServer` operationId).
ResizeServerWithResponse(ctx context.Context, serverId openapi_types.UUID, body ResizeServerJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeServerResponse, error)
// SetServerRootPasswordWithBodyWithResponse Set Server Root Password
//
// Sets root's password on a KVM server. It takes effect the next time the
// server is started after being stopped, and is asked for on the server's
// console and nowhere else, since SSH takes keys only. The password is
// hashed here and is never stored or logged. Like the console it opens,
// this takes a signed-in person and not an 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 PUT /v1/servers/{server_id}/root-password (the `SetServerRootPassword` operationId).
SetServerRootPasswordWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetServerRootPasswordResponse, error)
// SetServerRootPasswordWithResponse Set Server Root Password
//
// Sets root's password on a KVM server. It takes effect the next time the
// server is started after being stopped, and is asked for on the server's
// console and nowhere else, since SSH takes keys only. The password is
// hashed here and is never stored or logged. Like the console it opens,
// this takes a signed-in person and not an 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 PUT /v1/servers/{server_id}/root-password (the `SetServerRootPassword` operationId).
SetServerRootPasswordWithResponse(ctx context.Context, serverId openapi_types.UUID, body SetServerRootPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*SetServerRootPasswordResponse, error)
// SwitchServerShellOffWithResponse Switch Server Shell Off
//
// Switches the shell off. The key that signs for the server is deleted
// and any shell open on it ends, so nothing can sign in that way until it
// is switched on again, which makes a new key.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/servers/{server_id}/shell (the `SwitchServerShellOff` operationId).
SwitchServerShellOffWithResponse(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SwitchServerShellOffResponse, error)
// SwitchServerShellOnWithResponse Switch Server Shell On
//
// Switches the shell on for a KVM server: a terminal from its page,
// signed in as root with a certificate that is signed for the one session
// and lasts two minutes, so no key or password of the customer's is used.
// A server created with the shell on trusts it already. One that was not
// is given a command here to run once as root. Asking again answers the
// same command and changes nothing. Like the shell it opens, this takes a
// signed-in person and not an API key.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/servers/{server_id}/shell (the `SwitchServerShellOn` operationId).
SwitchServerShellOnWithResponse(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SwitchServerShellOnResponse, error)
// ListServerSnapshotsWithResponse List Server Snapshots
//
// A KVM server's disk snapshots and whether one is taken each night. A
// snapshot lives on the same host as the disk: it undoes a change in
// seconds and is not a backup. A server that takes none answers with an
// empty list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{server_id}/snapshots (the `ListServerSnapshots` operationId).
ListServerSnapshotsWithResponse(ctx context.Context, serverId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListServerSnapshotsResponse, error)
// CreateServerSnapshotWithBodyWithResponse Create Server Snapshot
//
// Takes a snapshot of the disk, with the server running or stopped. A server holds at most ten.
//
// 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 /v1/servers/{server_id}/snapshots (the `CreateServerSnapshot` operationId).
CreateServerSnapshotWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServerSnapshotResponse, error)
// CreateServerSnapshotWithResponse Create Server Snapshot
//
// Takes a snapshot of the disk, with the server running or stopped. A server holds at most ten.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{server_id}/snapshots (the `CreateServerSnapshot` operationId).
CreateServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, body CreateServerSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServerSnapshotResponse, error)
// SetServerSnapshotScheduleWithBodyWithResponse Set Server Snapshot Schedule
//
// Turns the nightly snapshot on or off. The newest `keep` nightly
// snapshots are kept, and the ones people took are left alone.
//
// 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 /v1/servers/{server_id}/snapshots/schedule (the `SetServerSnapshotSchedule` operationId).
SetServerSnapshotScheduleWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetServerSnapshotScheduleResponse, error)
// SetServerSnapshotScheduleWithResponse Set Server Snapshot Schedule
//
// Turns the nightly snapshot on or off. The newest `keep` nightly
// snapshots are kept, and the ones people took are left alone.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/servers/{server_id}/snapshots/schedule (the `SetServerSnapshotSchedule` operationId).
SetServerSnapshotScheduleWithResponse(ctx context.Context, serverId openapi_types.UUID, body SetServerSnapshotScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetServerSnapshotScheduleResponse, error)
// DeleteServerSnapshotWithResponse Delete Server Snapshot
//
// Deletes one snapshot. The disk as it is now is not touched.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/servers/{server_id}/snapshots/{snapshot_id} (the `DeleteServerSnapshot` operationId).
DeleteServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, reqEditors ...RequestEditorFn) (*DeleteServerSnapshotResponse, error)
// RevertServerSnapshotWithBodyWithResponse Revert Server Snapshot
//
// Puts the disk back as the snapshot holds it. The server has to be
// stopped, what was written since is lost, and `confirm` must be the
// server's name.
//
// 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 /v1/servers/{server_id}/snapshots/{snapshot_id}/revert (the `RevertServerSnapshot` operationId).
RevertServerSnapshotWithBodyWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevertServerSnapshotResponse, error)
// RevertServerSnapshotWithResponse Revert Server Snapshot
//
// Puts the disk back as the snapshot holds it. The server has to be
// stopped, what was written since is lost, and `confirm` must be the
// server's name.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{server_id}/snapshots/{snapshot_id}/revert (the `RevertServerSnapshot` operationId).
RevertServerSnapshotWithResponse(ctx context.Context, serverId openapi_types.UUID, snapshotId int, body RevertServerSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*RevertServerSnapshotResponse, error)
// DeleteSshKeyWithResponse Delete Ssh Key
//
// Servers created with this key keep it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/ssh-keys/{key_id} (the `DeleteSshKey` operationId).
DeleteSshKeyWithResponse(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)
// ListSupportTicketsWithResponse List Support Tickets
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/support/tickets (the `ListSupportTickets` operationId).
ListSupportTicketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSupportTicketsResponse, error)
// OpenSupportTicketWithBodyWithResponse Open Support Ticket
//
// Opens a request with its first message. Dekka staff are emailed straight away.
//
// 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 /v1/support/tickets (the `OpenSupportTicket` operationId).
OpenSupportTicketWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OpenSupportTicketResponse, error)
// OpenSupportTicketWithResponse Open Support Ticket
//
// Opens a request with its first message. Dekka staff are emailed straight away.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/support/tickets (the `OpenSupportTicket` operationId).
OpenSupportTicketWithResponse(ctx context.Context, body OpenSupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*OpenSupportTicketResponse, error)
// GetSupportTicketWithResponse Get Support Ticket
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/support/tickets/{ticket_id} (the `GetSupportTicket` operationId).
GetSupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSupportTicketResponse, error)
// CloseSupportTicketWithResponse Close Support Ticket
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/support/tickets/{ticket_id}/close (the `CloseSupportTicket` operationId).
CloseSupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CloseSupportTicketResponse, error)
// ReplySupportTicketWithBodyWithResponse Reply Support Ticket
//
// Adds to the conversation and reopens it if it was closed.
//
// 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 /v1/support/tickets/{ticket_id}/messages (the `ReplySupportTicket` operationId).
ReplySupportTicketWithBodyWithResponse(ctx context.Context, ticketId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplySupportTicketResponse, error)
// ReplySupportTicketWithResponse Reply Support Ticket
//
// Adds to the conversation and reopens it if it was closed.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/support/tickets/{ticket_id}/messages (the `ReplySupportTicket` operationId).
ReplySupportTicketWithResponse(ctx context.Context, ticketId openapi_types.UUID, body ReplySupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplySupportTicketResponse, error)
// DeleteVolumeWithResponse Delete Volume
//
// Starts deleting the volume and its data. It disappears once the engine confirms.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/volumes/{volume_id} (the `DeleteVolume` operationId).
DeleteVolumeWithResponse(ctx context.Context, volumeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteVolumeResponse, error)
// ListVolumeBackupsWithResponse List Volume Backups
//
// A volume's backups, newest first: the ones taken on request and the
// ones taken every night, read from the engine.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/volumes/{volume_id}/backups (the `ListVolumeBackups` operationId).
ListVolumeBackupsWithResponse(ctx context.Context, volumeId openapi_types.UUID, params *ListVolumeBackupsParams, reqEditors ...RequestEditorFn) (*ListVolumeBackupsResponse, error)
// CreateVolumeBackupWithResponse Create Volume Backup
//
// Backs the volume up now (backup.create). It is kept for 30 days. The
// engine also backs up every attached volume each night.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/volumes/{volume_id}/backups (the `CreateVolumeBackup` operationId).
CreateVolumeBackupWithResponse(ctx context.Context, volumeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateVolumeBackupResponse, error)
// ResizeVolumeWithBodyWithResponse Resize 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 /v1/volumes/{volume_id}/resize (the `ResizeVolume` operationId).
ResizeVolumeWithBodyWithResponse(ctx context.Context, volumeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVolumeResponse, error)
// ResizeVolumeWithResponse Resize 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 /v1/volumes/{volume_id}/resize (the `ResizeVolume` operationId).
ResizeVolumeWithResponse(ctx context.Context, volumeId openapi_types.UUID, body ResizeVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVolumeResponse, error)
// RedeliverWebhookDeliveryWithResponse Redeliver Webhook Delivery
//
// Queues a delivered or failed delivery again, with the same id and body
// and a fresh set of attempts. 409 delivery_pending while it is still being sent.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/webhook-deliveries/{delivery_id}/redeliver (the `RedeliverWebhookDelivery` operationId).
RedeliverWebhookDeliveryWithResponse(ctx context.Context, deliveryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RedeliverWebhookDeliveryResponse, error)
// DeleteWebhookWithResponse Delete Webhook
//
// Deletes the webhook and its delivery history.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/webhooks/{webhook_id} (the `DeleteWebhook` operationId).
DeleteWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)
// UpdateWebhookWithBodyWithResponse Update Webhook
//
// 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 /v1/webhooks/{webhook_id} (the `UpdateWebhook` operationId).
UpdateWebhookWithBodyWithResponse(ctx context.Context, webhookId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)
// UpdateWebhookWithResponse Update Webhook
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/webhooks/{webhook_id} (the `UpdateWebhook` operationId).
UpdateWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)
// ListWebhookDeliveriesWithResponse List Webhook Deliveries
//
// Newest first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/webhooks/{webhook_id}/deliveries (the `ListWebhookDeliveries` operationId).
ListWebhookDeliveriesWithResponse(ctx context.Context, webhookId openapi_types.UUID, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*ListWebhookDeliveriesResponse, error)
// RotateWebhookSecretWithResponse Rotate Webhook Secret
//
// Replaces the signing secret at once. The new one is in `secret`, and only in this response.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/webhooks/{webhook_id}/rotate-secret (the `RotateWebhookSecret` operationId).
RotateWebhookSecretWithResponse(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RotateWebhookSecretResponse, error)
// TestWebhookWithResponse Test Webhook
//
// Sends a `webhook.test` event now, even when the webhook is turned off,
// and returns the delivery with the endpoint's answer. A failed test is not
// retried.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/webhooks/{webhook_id}/test (the `TestWebhook` operationId).
TestWebhookWithResponse(ctx context.Context, webhookId openapi_types.UUID, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloseSupportTicketResponse ¶
type CloseSupportTicketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MyTicketDetail
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCloseSupportTicketResponse ¶
func ParseCloseSupportTicketResponse(rsp *http.Response) (*CloseSupportTicketResponse, error)
ParseCloseSupportTicketResponse parses an HTTP response from a CloseSupportTicketWithResponse call
func (CloseSupportTicketResponse) ContentType ¶
func (r CloseSupportTicketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CloseSupportTicketResponse) GetBody ¶
func (r CloseSupportTicketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CloseSupportTicketResponse) GetJSON4XX ¶
func (r CloseSupportTicketResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CloseSupportTicketResponse) GetJSON5XX ¶
func (r CloseSupportTicketResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CloseSupportTicketResponse) GetJSON200 ¶
func (r CloseSupportTicketResponse) GetJSON200() *MyTicketDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CloseSupportTicketResponse) Status ¶
func (r CloseSupportTicketResponse) Status() string
Status returns HTTPResponse.Status
func (CloseSupportTicketResponse) StatusCode ¶
func (r CloseSupportTicketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CollectCliLoginJSONRequestBody ¶
type CollectCliLoginJSONRequestBody = CollectCliLoginRequest
CollectCliLoginJSONRequestBody defines body for CollectCliLogin for application/json ContentType.
type CollectCliLoginRequest ¶
type CollectCliLoginRequest struct {
DeviceCode string `json:"device_code"`
}
CollectCliLoginRequest defines model for CollectCliLoginRequest.
type CollectCliLoginResponse ¶
type CollectCliLoginResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CliLoginKey
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCollectCliLoginResponse ¶
func ParseCollectCliLoginResponse(rsp *http.Response) (*CollectCliLoginResponse, error)
ParseCollectCliLoginResponse parses an HTTP response from a CollectCliLoginWithResponse call
func (CollectCliLoginResponse) ContentType ¶
func (r CollectCliLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CollectCliLoginResponse) GetBody ¶
func (r CollectCliLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CollectCliLoginResponse) GetJSON4XX ¶
func (r CollectCliLoginResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CollectCliLoginResponse) GetJSON5XX ¶
func (r CollectCliLoginResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CollectCliLoginResponse) GetJSON200 ¶
func (r CollectCliLoginResponse) GetJSON200() *CliLoginKey
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CollectCliLoginResponse) Status ¶
func (r CollectCliLoginResponse) Status() string
Status returns HTTPResponse.Status
func (CollectCliLoginResponse) StatusCode ¶
func (r CollectCliLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ComposeFileTranslation ¶
type ComposeFileTranslation struct {
// Blueprint The translated dekka.yaml
Blueprint string `json:"blueprint"`
// Inputs Values to supply when planning, from Compose interpolation
Inputs []TemplateInputOut `json:"inputs"`
// NeedsRepository Some services build from source, so planning needs a repository
NeedsRepository bool `json:"needs_repository"`
// Path The file that was read: the path asked for, or the compose.yml, docker-compose.yaml or compose.yaml found in its place when docker-compose.yml was absent
Path string `json:"path"`
// Report What carried over, what changed shape and what was left out
Report []ComposeNote `json:"report"`
Resources []ComposeResourceOut `json:"resources"`
}
ComposeFileTranslation defines model for ComposeFileTranslation.
type ComposeIn ¶
type ComposeIn struct {
// Content The docker-compose.yml text
Content string `json:"content"`
// Repository The GitHub repository that services with a build section are built from
Repository *ComposeRepository `json:"repository,omitempty"`
}
ComposeIn defines model for ComposeIn.
type ComposeNote ¶
type ComposeNote struct {
Level ComposeNoteLevel `json:"level"`
Message string `json:"message"`
// Service The Compose service, or null for the whole file
Service *string `json:"service"`
}
ComposeNote defines model for ComposeNote.
type ComposeNoteLevel ¶
type ComposeNoteLevel string
ComposeNoteLevel defines model for ComposeNote.Level.
const ( ComposeNoteLevelAdjusted ComposeNoteLevel = "adjusted" ComposeNoteLevelApplied ComposeNoteLevel = "applied" ComposeNoteLevelUnsupported ComposeNoteLevel = "unsupported" )
Defines values for ComposeNoteLevel.
func (ComposeNoteLevel) Valid ¶
func (e ComposeNoteLevel) Valid() bool
Valid indicates whether the value is a known member of the ComposeNoteLevel enum.
type ComposePlanRequest ¶
type ComposePlanRequest struct {
// Content The docker-compose.yml text. Leave it out to read `path` from `repository` instead.
Content *string `json:"content,omitempty"`
// Inputs Values for the translation's inputs, by key
Inputs *map[string]string `json:"inputs,omitempty"`
// Path The Compose file's path in `repository`, read through the GitHub App in place of `content`
Path *string `json:"path,omitempty"`
// Repository The GitHub repository that services with a build section are built from
Repository *ComposeRepository `json:"repository,omitempty"`
}
ComposePlanRequest defines model for ComposePlanRequest.
type ComposeReadRequest ¶
type ComposeReadRequest struct {
// Path The Compose file's path in the repository. When docker-compose.yml is absent, compose.yml, docker-compose.yaml and compose.yaml in the same directory are tried in turn.
Path *string `json:"path,omitempty"`
// Repository A GitHub repository the organization's GitHub App can see
Repository ComposeRepository `json:"repository"`
}
ComposeReadRequest defines model for ComposeReadRequest.
type ComposeRepository ¶
type ComposeRepository struct {
Branch *string `json:"branch,omitempty"`
// FullName owner/name on GitHub
FullName string `json:"full_name"`
}
ComposeRepository defines model for ComposeRepository.
type ComposeResourceOut ¶
ComposeResourceOut defines model for ComposeResourceOut.
type ComposeTranslation ¶
type ComposeTranslation struct {
// Blueprint The translated dekka.yaml
Blueprint string `json:"blueprint"`
// Inputs Values to supply when planning, from Compose interpolation
Inputs []TemplateInputOut `json:"inputs"`
// NeedsRepository Some services build from source, so planning needs a repository
NeedsRepository bool `json:"needs_repository"`
// Report What carried over, what changed shape and what was left out
Report []ComposeNote `json:"report"`
Resources []ComposeResourceOut `json:"resources"`
}
ComposeTranslation defines model for ComposeTranslation.
type ConfigServicesOut ¶
type ConfigServicesOut struct {
CommitSha *string `json:"commit_sha"`
// File dekka.toml or dekka.json, or null when the commit has neither
File *string `json:"file"`
// PlanNeeded Whether something declared is missing or not connected
PlanNeeded bool `json:"plan_needed"`
Services []DeclaredServiceOut `json:"services"`
}
ConfigServicesOut defines model for ConfigServicesOut.
type ConnectionOut ¶
type ConnectionOut struct {
ActiveOperation *ActiveOperation `json:"active_operation"`
Bindings []Binding `json:"bindings"`
CreatedAt time.Time `json:"created_at"`
EnvironmentId openapi_types.UUID `json:"environment_id"`
Error *string `json:"error"`
Id openapi_types.UUID `json:"id"`
ProjectId openapi_types.UUID `json:"project_id"`
SourceId openapi_types.UUID `json:"source_id"`
Status ConnectionStatus `json:"status"`
TargetId openapi_types.UUID `json:"target_id"`
UpdatedAt time.Time `json:"updated_at"`
}
ConnectionOut defines model for ConnectionOut.
type ConnectionStatus ¶
type ConnectionStatus string
ConnectionStatus defines model for ConnectionStatus.
const ( ConnectionStatusActive ConnectionStatus = "active" ConnectionStatusFailed ConnectionStatus = "failed" ConnectionStatusPending ConnectionStatus = "pending" ConnectionStatusRemoving ConnectionStatus = "removing" )
Defines values for ConnectionStatus.
func (ConnectionStatus) Valid ¶
func (e ConnectionStatus) Valid() bool
Valid indicates whether the value is a known member of the ConnectionStatus enum.
type ConnectionStringOut ¶
type ConnectionStringOut struct {
AppId openapi_types.UUID `json:"app_id"`
AppName string `json:"app_name"`
ConnectionId openapi_types.UUID `json:"connection_id"`
// EnvKey DATABASE_URL or REDIS_URL. Reveal it with the app's env reveal endpoint.
EnvKey string `json:"env_key"`
// MaskedUrl The URL with its password masked; null until the engine issued it
MaskedUrl *string `json:"masked_url"`
// Status The connection's status
Status string `json:"status"`
}
ConnectionStringOut defines model for ConnectionStringOut.
type ConsumeLinkRequest ¶
type ConsumeLinkRequest struct {
Confirm *bool `json:"confirm,omitempty"`
Token string `json:"token"`
}
ConsumeLinkRequest defines model for ConsumeLinkRequest.
type ConsumeMagicLinkJSONRequestBody ¶
type ConsumeMagicLinkJSONRequestBody = ConsumeLinkRequest
ConsumeMagicLinkJSONRequestBody defines body for ConsumeMagicLink for application/json ContentType.
type ConsumeMagicLinkResponse ¶
type ConsumeMagicLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MagicLinkResult
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseConsumeMagicLinkResponse ¶
func ParseConsumeMagicLinkResponse(rsp *http.Response) (*ConsumeMagicLinkResponse, error)
ParseConsumeMagicLinkResponse parses an HTTP response from a ConsumeMagicLinkWithResponse call
func (ConsumeMagicLinkResponse) ContentType ¶
func (r ConsumeMagicLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConsumeMagicLinkResponse) GetBody ¶
func (r ConsumeMagicLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ConsumeMagicLinkResponse) GetJSON4XX ¶
func (r ConsumeMagicLinkResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ConsumeMagicLinkResponse) GetJSON5XX ¶
func (r ConsumeMagicLinkResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ConsumeMagicLinkResponse) GetJSON200 ¶
func (r ConsumeMagicLinkResponse) GetJSON200() *MagicLinkResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConsumeMagicLinkResponse) Status ¶
func (r ConsumeMagicLinkResponse) Status() string
Status returns HTTPResponse.Status
func (ConsumeMagicLinkResponse) StatusCode ¶
func (r ConsumeMagicLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ContactIn ¶
type ContactIn struct {
Email openapi_types.Email `json:"email"`
Message string `json:"message"`
Name *string `json:"name,omitempty"`
// Website Honeypot. Leave empty.
Website *string `json:"website,omitempty"`
}
ContactIn A message left on the marketing site by someone who may not have an account.
type CreateApiKeyJSONRequestBody ¶
type CreateApiKeyJSONRequestBody = CreateApiKeyRequest
CreateApiKeyJSONRequestBody defines body for CreateApiKey for application/json ContentType.
type CreateApiKeyRequest ¶
type CreateApiKeyRequest struct {
ExpiresInDays *int `json:"expires_in_days,omitempty"`
Name string `json:"name"`
// ProjectId For a gateway key (scopes exactly ['ai']): log its requests against this project and apply the project's routing policy. Other keys reach a single project through project tokens instead.
ProjectId *openapi_types.UUID `json:"project_id,omitempty"`
Scopes *[]CreateApiKeyRequestScopes `json:"scopes,omitempty"`
}
CreateApiKeyRequest defines model for CreateApiKeyRequest.
type CreateApiKeyRequestScopes ¶
type CreateApiKeyRequestScopes string
CreateApiKeyRequestScopes defines model for CreateApiKeyRequest.Scopes.
const ( CreateApiKeyRequestScopesAdmin CreateApiKeyRequestScopes = "admin" CreateApiKeyRequestScopesAi CreateApiKeyRequestScopes = "ai" CreateApiKeyRequestScopesRead CreateApiKeyRequestScopes = "read" CreateApiKeyRequestScopesWrite CreateApiKeyRequestScopes = "write" )
Defines values for CreateApiKeyRequestScopes.
func (CreateApiKeyRequestScopes) Valid ¶
func (e CreateApiKeyRequestScopes) Valid() bool
Valid indicates whether the value is a known member of the CreateApiKeyRequestScopes enum.
type CreateApiKeyResponse ¶
type CreateApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ApiKeyCreated
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateApiKeyResponse ¶
func ParseCreateApiKeyResponse(rsp *http.Response) (*CreateApiKeyResponse, error)
ParseCreateApiKeyResponse parses an HTTP response from a CreateApiKeyWithResponse call
func (CreateApiKeyResponse) ContentType ¶
func (r CreateApiKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateApiKeyResponse) GetBody ¶
func (r CreateApiKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateApiKeyResponse) GetJSON4XX ¶
func (r CreateApiKeyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateApiKeyResponse) GetJSON5XX ¶
func (r CreateApiKeyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateApiKeyResponse) GetJSON201 ¶
func (r CreateApiKeyResponse) GetJSON201() *ApiKeyCreated
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateApiKeyResponse) Status ¶
func (r CreateApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateApiKeyResponse) StatusCode ¶
func (r CreateApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateChatCompletionJSONRequestBody ¶
type CreateChatCompletionJSONRequestBody = ChatCompletionIn
CreateChatCompletionJSONRequestBody defines body for CreateChatCompletion for application/json ContentType.
type CreateChatCompletionResponse ¶
type CreateChatCompletionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *interface{}
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateChatCompletionResponse ¶
func ParseCreateChatCompletionResponse(rsp *http.Response) (*CreateChatCompletionResponse, error)
ParseCreateChatCompletionResponse parses an HTTP response from a CreateChatCompletionWithResponse call
func (CreateChatCompletionResponse) ContentType ¶
func (r CreateChatCompletionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateChatCompletionResponse) GetBody ¶
func (r CreateChatCompletionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateChatCompletionResponse) GetJSON4XX ¶
func (r CreateChatCompletionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateChatCompletionResponse) GetJSON5XX ¶
func (r CreateChatCompletionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateChatCompletionResponse) GetJSON200 ¶
func (r CreateChatCompletionResponse) GetJSON200() *interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateChatCompletionResponse) Status ¶
func (r CreateChatCompletionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateChatCompletionResponse) StatusCode ¶
func (r CreateChatCompletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateConnectionJSONRequestBody ¶
type CreateConnectionJSONRequestBody = CreateConnectionRequest
CreateConnectionJSONRequestBody defines body for CreateConnection for application/json ContentType.
type CreateConnectionRequest ¶
type CreateConnectionRequest struct {
SourceId openapi_types.UUID `json:"source_id"`
TargetId openapi_types.UUID `json:"target_id"`
}
CreateConnectionRequest defines model for CreateConnectionRequest.
type CreateConnectionResponse ¶
type CreateConnectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ConnectionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateConnectionResponse ¶
func ParseCreateConnectionResponse(rsp *http.Response) (*CreateConnectionResponse, error)
ParseCreateConnectionResponse parses an HTTP response from a CreateConnectionWithResponse call
func (CreateConnectionResponse) ContentType ¶
func (r CreateConnectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateConnectionResponse) GetBody ¶
func (r CreateConnectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateConnectionResponse) GetJSON4XX ¶
func (r CreateConnectionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateConnectionResponse) GetJSON5XX ¶
func (r CreateConnectionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateConnectionResponse) GetJSON201 ¶
func (r CreateConnectionResponse) GetJSON201() *ConnectionOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateConnectionResponse) Status ¶
func (r CreateConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateConnectionResponse) StatusCode ¶
func (r CreateConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatabaseBackupResponse ¶
type CreateDatabaseBackupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *BackupOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateDatabaseBackupResponse ¶
func ParseCreateDatabaseBackupResponse(rsp *http.Response) (*CreateDatabaseBackupResponse, error)
ParseCreateDatabaseBackupResponse parses an HTTP response from a CreateDatabaseBackupWithResponse call
func (CreateDatabaseBackupResponse) ContentType ¶
func (r CreateDatabaseBackupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDatabaseBackupResponse) GetBody ¶
func (r CreateDatabaseBackupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDatabaseBackupResponse) GetJSON4XX ¶
func (r CreateDatabaseBackupResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateDatabaseBackupResponse) GetJSON5XX ¶
func (r CreateDatabaseBackupResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateDatabaseBackupResponse) GetJSON201 ¶
func (r CreateDatabaseBackupResponse) GetJSON201() *BackupOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDatabaseBackupResponse) Status ¶
func (r CreateDatabaseBackupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatabaseBackupResponse) StatusCode ¶
func (r CreateDatabaseBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDeploymentJSONRequestBody ¶
type CreateDeploymentJSONRequestBody = CreateDeploymentRequest
CreateDeploymentJSONRequestBody defines body for CreateDeployment for application/json ContentType.
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct {
// Branch Defaults to the app's configured branch
Branch *string `json:"branch,omitempty"`
// CommitSha Defaults to the branch head
CommitSha *string `json:"commit_sha,omitempty"`
}
CreateDeploymentRequest defines model for CreateDeploymentRequest.
type CreateDeploymentResponse ¶
type CreateDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DeploymentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateDeploymentResponse ¶
func ParseCreateDeploymentResponse(rsp *http.Response) (*CreateDeploymentResponse, error)
ParseCreateDeploymentResponse parses an HTTP response from a CreateDeploymentWithResponse call
func (CreateDeploymentResponse) ContentType ¶
func (r CreateDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDeploymentResponse) GetBody ¶
func (r CreateDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDeploymentResponse) GetJSON4XX ¶
func (r CreateDeploymentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateDeploymentResponse) GetJSON5XX ¶
func (r CreateDeploymentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateDeploymentResponse) GetJSON201 ¶
func (r CreateDeploymentResponse) GetJSON201() *DeploymentOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDeploymentResponse) Status ¶
func (r CreateDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDeploymentResponse) StatusCode ¶
func (r CreateDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDomainJSONRequestBody ¶
type CreateDomainJSONRequestBody = CreateDomainRequest
CreateDomainJSONRequestBody defines body for CreateDomain for application/json ContentType.
type CreateDomainRequest ¶
type CreateDomainRequest struct {
// Hostname For example shop.example.com
Hostname string `json:"hostname"`
}
CreateDomainRequest defines model for CreateDomainRequest.
type CreateDomainResponse ¶
type CreateDomainResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DomainOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateDomainResponse ¶
func ParseCreateDomainResponse(rsp *http.Response) (*CreateDomainResponse, error)
ParseCreateDomainResponse parses an HTTP response from a CreateDomainWithResponse call
func (CreateDomainResponse) ContentType ¶
func (r CreateDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDomainResponse) GetBody ¶
func (r CreateDomainResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDomainResponse) GetJSON4XX ¶
func (r CreateDomainResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateDomainResponse) GetJSON5XX ¶
func (r CreateDomainResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateDomainResponse) GetJSON201 ¶
func (r CreateDomainResponse) GetJSON201() *DomainOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDomainResponse) Status ¶
func (r CreateDomainResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDomainResponse) StatusCode ¶
func (r CreateDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEnvironmentJSONRequestBody ¶
type CreateEnvironmentJSONRequestBody = CreateEnvironmentRequest
CreateEnvironmentJSONRequestBody defines body for CreateEnvironment for application/json ContentType.
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct {
// ForkFrom Copy this environment's services, databases (empty, provisioned fresh), variables, shared variables and connections
ForkFrom *openapi_types.UUID `json:"fork_from,omitempty"`
// Name Lowercase letters, digits and dashes
Name string `json:"name"`
}
CreateEnvironmentRequest defines model for CreateEnvironmentRequest.
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *EnvironmentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateEnvironmentResponse ¶
func ParseCreateEnvironmentResponse(rsp *http.Response) (*CreateEnvironmentResponse, error)
ParseCreateEnvironmentResponse parses an HTTP response from a CreateEnvironmentWithResponse call
func (CreateEnvironmentResponse) ContentType ¶
func (r CreateEnvironmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateEnvironmentResponse) GetBody ¶
func (r CreateEnvironmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateEnvironmentResponse) GetJSON4XX ¶
func (r CreateEnvironmentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateEnvironmentResponse) GetJSON5XX ¶
func (r CreateEnvironmentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateEnvironmentResponse) GetJSON201 ¶
func (r CreateEnvironmentResponse) GetJSON201() *EnvironmentOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateEnvironmentResponse) Status ¶
func (r CreateEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEnvironmentResponse) StatusCode ¶
func (r CreateEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGpuRequestJSONRequestBody ¶
type CreateGpuRequestJSONRequestBody = CapacityRequestIn
CreateGpuRequestJSONRequestBody defines body for CreateGpuRequest for application/json ContentType.
type CreateGpuRequestResponse ¶
type CreateGpuRequestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CapacityRequestOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateGpuRequestResponse ¶
func ParseCreateGpuRequestResponse(rsp *http.Response) (*CreateGpuRequestResponse, error)
ParseCreateGpuRequestResponse parses an HTTP response from a CreateGpuRequestWithResponse call
func (CreateGpuRequestResponse) ContentType ¶
func (r CreateGpuRequestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateGpuRequestResponse) GetBody ¶
func (r CreateGpuRequestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateGpuRequestResponse) GetJSON4XX ¶
func (r CreateGpuRequestResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateGpuRequestResponse) GetJSON5XX ¶
func (r CreateGpuRequestResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateGpuRequestResponse) GetJSON201 ¶
func (r CreateGpuRequestResponse) GetJSON201() *CapacityRequestOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateGpuRequestResponse) Status ¶
func (r CreateGpuRequestResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGpuRequestResponse) StatusCode ¶
func (r CreateGpuRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateImageJSONRequestBody ¶
type CreateImageJSONRequestBody = ImageGenerationIn
CreateImageJSONRequestBody defines body for CreateImage for application/json ContentType.
type CreateImageResponse ¶
type CreateImageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *interface{}
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateImageResponse ¶
func ParseCreateImageResponse(rsp *http.Response) (*CreateImageResponse, error)
ParseCreateImageResponse parses an HTTP response from a CreateImageWithResponse call
func (CreateImageResponse) ContentType ¶
func (r CreateImageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateImageResponse) GetBody ¶
func (r CreateImageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateImageResponse) GetJSON4XX ¶
func (r CreateImageResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateImageResponse) GetJSON5XX ¶
func (r CreateImageResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateImageResponse) GetJSON200 ¶
func (r CreateImageResponse) GetJSON200() *interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateImageResponse) Status ¶
func (r CreateImageResponse) Status() string
Status returns HTTPResponse.Status
func (CreateImageResponse) StatusCode ¶
func (r CreateImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInferenceEndpointJSONRequestBody ¶
type CreateInferenceEndpointJSONRequestBody = InferenceEndpointIn
CreateInferenceEndpointJSONRequestBody defines body for CreateInferenceEndpoint for application/json ContentType.
type CreateInferenceEndpointResponse ¶
type CreateInferenceEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *InferenceEndpointOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateInferenceEndpointResponse ¶
func ParseCreateInferenceEndpointResponse(rsp *http.Response) (*CreateInferenceEndpointResponse, error)
ParseCreateInferenceEndpointResponse parses an HTTP response from a CreateInferenceEndpointWithResponse call
func (CreateInferenceEndpointResponse) ContentType ¶
func (r CreateInferenceEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateInferenceEndpointResponse) GetBody ¶
func (r CreateInferenceEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateInferenceEndpointResponse) GetJSON4XX ¶
func (r CreateInferenceEndpointResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateInferenceEndpointResponse) GetJSON5XX ¶
func (r CreateInferenceEndpointResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateInferenceEndpointResponse) GetJSON201 ¶
func (r CreateInferenceEndpointResponse) GetJSON201() *InferenceEndpointOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateInferenceEndpointResponse) Status ¶
func (r CreateInferenceEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInferenceEndpointResponse) StatusCode ¶
func (r CreateInferenceEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInvitationRequest ¶
type CreateInvitationRequest struct {
Email openapi_types.Email `json:"email"`
// Role Only owners may invite owners.
Role *Role `json:"role,omitempty"`
}
CreateInvitationRequest defines model for CreateInvitationRequest.
type CreateJobRunResponse ¶
type CreateJobRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *JobRunOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateJobRunResponse ¶
func ParseCreateJobRunResponse(rsp *http.Response) (*CreateJobRunResponse, error)
ParseCreateJobRunResponse parses an HTTP response from a CreateJobRunWithResponse call
func (CreateJobRunResponse) ContentType ¶
func (r CreateJobRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateJobRunResponse) GetBody ¶
func (r CreateJobRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateJobRunResponse) GetJSON4XX ¶
func (r CreateJobRunResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateJobRunResponse) GetJSON5XX ¶
func (r CreateJobRunResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateJobRunResponse) GetJSON201 ¶
func (r CreateJobRunResponse) GetJSON201() *JobRunOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateJobRunResponse) Status ¶
func (r CreateJobRunResponse) Status() string
Status returns HTTPResponse.Status
func (CreateJobRunResponse) StatusCode ¶
func (r CreateJobRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrgInvitationJSONRequestBody ¶
type CreateOrgInvitationJSONRequestBody = CreateInvitationRequest
CreateOrgInvitationJSONRequestBody defines body for CreateOrgInvitation for application/json ContentType.
type CreateOrgInvitationResponse ¶
type CreateOrgInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *InvitationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateOrgInvitationResponse ¶
func ParseCreateOrgInvitationResponse(rsp *http.Response) (*CreateOrgInvitationResponse, error)
ParseCreateOrgInvitationResponse parses an HTTP response from a CreateOrgInvitationWithResponse call
func (CreateOrgInvitationResponse) ContentType ¶
func (r CreateOrgInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOrgInvitationResponse) GetBody ¶
func (r CreateOrgInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOrgInvitationResponse) GetJSON4XX ¶
func (r CreateOrgInvitationResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateOrgInvitationResponse) GetJSON5XX ¶
func (r CreateOrgInvitationResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateOrgInvitationResponse) GetJSON201 ¶
func (r CreateOrgInvitationResponse) GetJSON201() *InvitationOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateOrgInvitationResponse) Status ¶
func (r CreateOrgInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrgInvitationResponse) StatusCode ¶
func (r CreateOrgInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectJSONRequestBody ¶
type CreateProjectJSONRequestBody = CreateProjectRequest
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateProjectRequest ¶
type CreateProjectRequest struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
// RegionId Defaults to the first available region
RegionId *string `json:"region_id,omitempty"`
}
CreateProjectRequest defines model for CreateProjectRequest.
type CreateProjectResponse ¶
type CreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ProjectOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateProjectResponse ¶
func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)
ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call
func (CreateProjectResponse) ContentType ¶
func (r CreateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProjectResponse) GetBody ¶
func (r CreateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateProjectResponse) GetJSON4XX ¶
func (r CreateProjectResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateProjectResponse) GetJSON5XX ¶
func (r CreateProjectResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateProjectResponse) GetJSON201 ¶
func (r CreateProjectResponse) GetJSON201() *ProjectOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateProjectResponse) Status ¶
func (r CreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectResponse) StatusCode ¶
func (r CreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectTokenJSONRequestBody ¶
type CreateProjectTokenJSONRequestBody = CreateProjectTokenRequest
CreateProjectTokenJSONRequestBody defines body for CreateProjectToken for application/json ContentType.
type CreateProjectTokenRequest ¶
type CreateProjectTokenRequest struct {
ExpiresInDays *int `json:"expires_in_days,omitempty"`
Name string `json:"name"`
// Scopes read reaches the project as a viewer, write as a developer, and ai reaches the AI gateway with requests logged against this project.
Scopes *[]CreateProjectTokenRequestScopes `json:"scopes,omitempty"`
}
CreateProjectTokenRequest defines model for CreateProjectTokenRequest.
type CreateProjectTokenRequestScopes ¶
type CreateProjectTokenRequestScopes string
CreateProjectTokenRequestScopes defines model for CreateProjectTokenRequest.Scopes.
const ( CreateProjectTokenRequestScopesAi CreateProjectTokenRequestScopes = "ai" CreateProjectTokenRequestScopesRead CreateProjectTokenRequestScopes = "read" CreateProjectTokenRequestScopesWrite CreateProjectTokenRequestScopes = "write" )
Defines values for CreateProjectTokenRequestScopes.
func (CreateProjectTokenRequestScopes) Valid ¶
func (e CreateProjectTokenRequestScopes) Valid() bool
Valid indicates whether the value is a known member of the CreateProjectTokenRequestScopes enum.
type CreateProjectTokenResponse ¶
type CreateProjectTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ApiKeyCreated
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateProjectTokenResponse ¶
func ParseCreateProjectTokenResponse(rsp *http.Response) (*CreateProjectTokenResponse, error)
ParseCreateProjectTokenResponse parses an HTTP response from a CreateProjectTokenWithResponse call
func (CreateProjectTokenResponse) ContentType ¶
func (r CreateProjectTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProjectTokenResponse) GetBody ¶
func (r CreateProjectTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateProjectTokenResponse) GetJSON4XX ¶
func (r CreateProjectTokenResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateProjectTokenResponse) GetJSON5XX ¶
func (r CreateProjectTokenResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateProjectTokenResponse) GetJSON201 ¶
func (r CreateProjectTokenResponse) GetJSON201() *ApiKeyCreated
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateProjectTokenResponse) Status ¶
func (r CreateProjectTokenResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectTokenResponse) StatusCode ¶
func (r CreateProjectTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectWebhookJSONRequestBody ¶
type CreateProjectWebhookJSONRequestBody = CreateWebhookRequest
CreateProjectWebhookJSONRequestBody defines body for CreateProjectWebhook for application/json ContentType.
type CreateProjectWebhookResponse ¶
type CreateProjectWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *WebhookCreated
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateProjectWebhookResponse ¶
func ParseCreateProjectWebhookResponse(rsp *http.Response) (*CreateProjectWebhookResponse, error)
ParseCreateProjectWebhookResponse parses an HTTP response from a CreateProjectWebhookWithResponse call
func (CreateProjectWebhookResponse) ContentType ¶
func (r CreateProjectWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProjectWebhookResponse) GetBody ¶
func (r CreateProjectWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateProjectWebhookResponse) GetJSON4XX ¶
func (r CreateProjectWebhookResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateProjectWebhookResponse) GetJSON5XX ¶
func (r CreateProjectWebhookResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateProjectWebhookResponse) GetJSON201 ¶
func (r CreateProjectWebhookResponse) GetJSON201() *WebhookCreated
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateProjectWebhookResponse) Status ¶
func (r CreateProjectWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectWebhookResponse) StatusCode ¶
func (r CreateProjectWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProviderKeyJSONRequestBody ¶
type CreateProviderKeyJSONRequestBody = ProviderKeyIn
CreateProviderKeyJSONRequestBody defines body for CreateProviderKey for application/json ContentType.
type CreateProviderKeyResponse ¶
type CreateProviderKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ProviderKeyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateProviderKeyResponse ¶
func ParseCreateProviderKeyResponse(rsp *http.Response) (*CreateProviderKeyResponse, error)
ParseCreateProviderKeyResponse parses an HTTP response from a CreateProviderKeyWithResponse call
func (CreateProviderKeyResponse) ContentType ¶
func (r CreateProviderKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProviderKeyResponse) GetBody ¶
func (r CreateProviderKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateProviderKeyResponse) GetJSON4XX ¶
func (r CreateProviderKeyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateProviderKeyResponse) GetJSON5XX ¶
func (r CreateProviderKeyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateProviderKeyResponse) GetJSON201 ¶
func (r CreateProviderKeyResponse) GetJSON201() *ProviderKeyOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateProviderKeyResponse) Status ¶
func (r CreateProviderKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProviderKeyResponse) StatusCode ¶
func (r CreateProviderKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRegistryCredentialJSONRequestBody ¶
type CreateRegistryCredentialJSONRequestBody = CreateRegistryCredentialRequest
CreateRegistryCredentialJSONRequestBody defines body for CreateRegistryCredential for application/json ContentType.
type CreateRegistryCredentialRequest ¶
type CreateRegistryCredentialRequest struct {
// Name A label, such as 'GitHub packages'
Name string `json:"name"`
// Password A password or access token. Never returned.
Password string `json:"password"`
// Registry The registry host, such as ghcr.io or docker.io
Registry string `json:"registry"`
Username string `json:"username"`
}
CreateRegistryCredentialRequest defines model for CreateRegistryCredentialRequest.
type CreateRegistryCredentialResponse ¶
type CreateRegistryCredentialResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *RegistryCredentialOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateRegistryCredentialResponse ¶
func ParseCreateRegistryCredentialResponse(rsp *http.Response) (*CreateRegistryCredentialResponse, error)
ParseCreateRegistryCredentialResponse parses an HTTP response from a CreateRegistryCredentialWithResponse call
func (CreateRegistryCredentialResponse) ContentType ¶
func (r CreateRegistryCredentialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateRegistryCredentialResponse) GetBody ¶
func (r CreateRegistryCredentialResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateRegistryCredentialResponse) GetJSON4XX ¶
func (r CreateRegistryCredentialResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateRegistryCredentialResponse) GetJSON5XX ¶
func (r CreateRegistryCredentialResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateRegistryCredentialResponse) GetJSON201 ¶
func (r CreateRegistryCredentialResponse) GetJSON201() *RegistryCredentialOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateRegistryCredentialResponse) Status ¶
func (r CreateRegistryCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRegistryCredentialResponse) StatusCode ¶
func (r CreateRegistryCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateResourceJSONRequestBody ¶
type CreateResourceJSONRequestBody = CreateResourceRequest
CreateResourceJSONRequestBody defines body for CreateResource for application/json ContentType.
type CreateResourceRequest ¶
type CreateResourceRequest struct {
// Deploy For a service, start its first deployment straight away. Send false to set its variables first, then start it with POST /v1/resources/{id}/deployments, which records it as the first deploy.
Deploy *bool `json:"deploy,omitempty"`
EnvironmentId *openapi_types.UUID `json:"environment_id,omitempty"`
// Kind The brief's resource kinds (section 25.2), plus Redis and queues.
Kind ResourceKind `json:"kind"`
// Name Lowercase letters, digits and dashes
Name string `json:"name"`
// RegionId Defaults to the project's region
RegionId *string `json:"region_id,omitempty"`
Spec CreateResourceRequest_Spec `json:"spec"`
// Subdomain Applications only. The first part of the service's apps.dekka.cloud address, in place of the generated <name>-<four characters>. Lowercase letters, digits and hyphens, 3 to 40 characters, and free across the platform: GET /v1/domains/availability says whether it is. A label that is taken answers 409 subdomain_taken.
Subdomain *string `json:"subdomain,omitempty"`
}
CreateResourceRequest A service spec with runtime.cron_schedule set creates a scheduled_job, whatever `kind` says.
type CreateResourceRequest_Spec ¶
type CreateResourceRequest_Spec struct {
// contains filtered or unexported fields
}
CreateResourceRequest_Spec defines model for CreateResourceRequest.Spec.
func (CreateResourceRequest_Spec) AsAiGatewayBindingSpec ¶
func (t CreateResourceRequest_Spec) AsAiGatewayBindingSpec() (AiGatewayBindingSpec, error)
AsAiGatewayBindingSpec returns the union data inside the CreateResourceRequest_Spec as a AiGatewayBindingSpec
func (CreateResourceRequest_Spec) AsApplicationSpec ¶
func (t CreateResourceRequest_Spec) AsApplicationSpec() (ApplicationSpec, error)
AsApplicationSpec returns the union data inside the CreateResourceRequest_Spec as a ApplicationSpec
func (CreateResourceRequest_Spec) AsGpuRuntimeSpec ¶
func (t CreateResourceRequest_Spec) AsGpuRuntimeSpec() (GpuRuntimeSpec, error)
AsGpuRuntimeSpec returns the union data inside the CreateResourceRequest_Spec as a GpuRuntimeSpec
func (CreateResourceRequest_Spec) AsObjectStorageSpec ¶
func (t CreateResourceRequest_Spec) AsObjectStorageSpec() (ObjectStorageSpec, error)
AsObjectStorageSpec returns the union data inside the CreateResourceRequest_Spec as a ObjectStorageSpec
func (CreateResourceRequest_Spec) AsPostgresSpec ¶
func (t CreateResourceRequest_Spec) AsPostgresSpec() (PostgresSpec, error)
AsPostgresSpec returns the union data inside the CreateResourceRequest_Spec as a PostgresSpec
func (CreateResourceRequest_Spec) AsQueueSpec ¶
func (t CreateResourceRequest_Spec) AsQueueSpec() (QueueSpec, error)
AsQueueSpec returns the union data inside the CreateResourceRequest_Spec as a QueueSpec
func (CreateResourceRequest_Spec) AsRedisSpec ¶
func (t CreateResourceRequest_Spec) AsRedisSpec() (RedisSpec, error)
AsRedisSpec returns the union data inside the CreateResourceRequest_Spec as a RedisSpec
func (CreateResourceRequest_Spec) AsScheduledJobSpec ¶
func (t CreateResourceRequest_Spec) AsScheduledJobSpec() (ScheduledJobSpec, error)
AsScheduledJobSpec returns the union data inside the CreateResourceRequest_Spec as a ScheduledJobSpec
func (CreateResourceRequest_Spec) AsVirtualMachineSpec ¶
func (t CreateResourceRequest_Spec) AsVirtualMachineSpec() (VirtualMachineSpec, error)
AsVirtualMachineSpec returns the union data inside the CreateResourceRequest_Spec as a VirtualMachineSpec
func (CreateResourceRequest_Spec) AsWorkerSpec ¶
func (t CreateResourceRequest_Spec) AsWorkerSpec() (WorkerSpec, error)
AsWorkerSpec returns the union data inside the CreateResourceRequest_Spec as a WorkerSpec
func (*CreateResourceRequest_Spec) FromAiGatewayBindingSpec ¶
func (t *CreateResourceRequest_Spec) FromAiGatewayBindingSpec(v AiGatewayBindingSpec) error
FromAiGatewayBindingSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided AiGatewayBindingSpec
func (*CreateResourceRequest_Spec) FromApplicationSpec ¶
func (t *CreateResourceRequest_Spec) FromApplicationSpec(v ApplicationSpec) error
FromApplicationSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided ApplicationSpec
func (*CreateResourceRequest_Spec) FromGpuRuntimeSpec ¶
func (t *CreateResourceRequest_Spec) FromGpuRuntimeSpec(v GpuRuntimeSpec) error
FromGpuRuntimeSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided GpuRuntimeSpec
func (*CreateResourceRequest_Spec) FromObjectStorageSpec ¶
func (t *CreateResourceRequest_Spec) FromObjectStorageSpec(v ObjectStorageSpec) error
FromObjectStorageSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided ObjectStorageSpec
func (*CreateResourceRequest_Spec) FromPostgresSpec ¶
func (t *CreateResourceRequest_Spec) FromPostgresSpec(v PostgresSpec) error
FromPostgresSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided PostgresSpec
func (*CreateResourceRequest_Spec) FromQueueSpec ¶
func (t *CreateResourceRequest_Spec) FromQueueSpec(v QueueSpec) error
FromQueueSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided QueueSpec
func (*CreateResourceRequest_Spec) FromRedisSpec ¶
func (t *CreateResourceRequest_Spec) FromRedisSpec(v RedisSpec) error
FromRedisSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided RedisSpec
func (*CreateResourceRequest_Spec) FromScheduledJobSpec ¶
func (t *CreateResourceRequest_Spec) FromScheduledJobSpec(v ScheduledJobSpec) error
FromScheduledJobSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided ScheduledJobSpec
func (*CreateResourceRequest_Spec) FromVirtualMachineSpec ¶
func (t *CreateResourceRequest_Spec) FromVirtualMachineSpec(v VirtualMachineSpec) error
FromVirtualMachineSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided VirtualMachineSpec
func (*CreateResourceRequest_Spec) FromWorkerSpec ¶
func (t *CreateResourceRequest_Spec) FromWorkerSpec(v WorkerSpec) error
FromWorkerSpec overwrites any union data inside the CreateResourceRequest_Spec as the provided WorkerSpec
func (CreateResourceRequest_Spec) MarshalJSON ¶
func (t CreateResourceRequest_Spec) MarshalJSON() ([]byte, error)
func (*CreateResourceRequest_Spec) MergeAiGatewayBindingSpec ¶
func (t *CreateResourceRequest_Spec) MergeAiGatewayBindingSpec(v AiGatewayBindingSpec) error
MergeAiGatewayBindingSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided AiGatewayBindingSpec
func (*CreateResourceRequest_Spec) MergeApplicationSpec ¶
func (t *CreateResourceRequest_Spec) MergeApplicationSpec(v ApplicationSpec) error
MergeApplicationSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided ApplicationSpec
func (*CreateResourceRequest_Spec) MergeGpuRuntimeSpec ¶
func (t *CreateResourceRequest_Spec) MergeGpuRuntimeSpec(v GpuRuntimeSpec) error
MergeGpuRuntimeSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided GpuRuntimeSpec
func (*CreateResourceRequest_Spec) MergeObjectStorageSpec ¶
func (t *CreateResourceRequest_Spec) MergeObjectStorageSpec(v ObjectStorageSpec) error
MergeObjectStorageSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided ObjectStorageSpec
func (*CreateResourceRequest_Spec) MergePostgresSpec ¶
func (t *CreateResourceRequest_Spec) MergePostgresSpec(v PostgresSpec) error
MergePostgresSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided PostgresSpec
func (*CreateResourceRequest_Spec) MergeQueueSpec ¶
func (t *CreateResourceRequest_Spec) MergeQueueSpec(v QueueSpec) error
MergeQueueSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided QueueSpec
func (*CreateResourceRequest_Spec) MergeRedisSpec ¶
func (t *CreateResourceRequest_Spec) MergeRedisSpec(v RedisSpec) error
MergeRedisSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided RedisSpec
func (*CreateResourceRequest_Spec) MergeScheduledJobSpec ¶
func (t *CreateResourceRequest_Spec) MergeScheduledJobSpec(v ScheduledJobSpec) error
MergeScheduledJobSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided ScheduledJobSpec
func (*CreateResourceRequest_Spec) MergeVirtualMachineSpec ¶
func (t *CreateResourceRequest_Spec) MergeVirtualMachineSpec(v VirtualMachineSpec) error
MergeVirtualMachineSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided VirtualMachineSpec
func (*CreateResourceRequest_Spec) MergeWorkerSpec ¶
func (t *CreateResourceRequest_Spec) MergeWorkerSpec(v WorkerSpec) error
MergeWorkerSpec performs a merge with any union data inside the CreateResourceRequest_Spec, using the provided WorkerSpec
func (*CreateResourceRequest_Spec) UnmarshalJSON ¶
func (t *CreateResourceRequest_Spec) UnmarshalJSON(b []byte) error
type CreateResourceResponse ¶
type CreateResourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ResourceOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateResourceResponse ¶
func ParseCreateResourceResponse(rsp *http.Response) (*CreateResourceResponse, error)
ParseCreateResourceResponse parses an HTTP response from a CreateResourceWithResponse call
func (CreateResourceResponse) ContentType ¶
func (r CreateResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateResourceResponse) GetBody ¶
func (r CreateResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateResourceResponse) GetJSON4XX ¶
func (r CreateResourceResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateResourceResponse) GetJSON5XX ¶
func (r CreateResourceResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateResourceResponse) GetJSON201 ¶
func (r CreateResourceResponse) GetJSON201() *ResourceOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateResourceResponse) Status ¶
func (r CreateResourceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateResourceResponse) StatusCode ¶
func (r CreateResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServerJSONRequestBody ¶
type CreateServerJSONRequestBody = CreateServerRequest
CreateServerJSONRequestBody defines body for CreateServer for application/json ContentType.
type CreateServerRequest ¶
type CreateServerRequest struct {
// EnvironmentId Defaults to the project's default environment
EnvironmentId *openapi_types.UUID `json:"environment_id,omitempty"`
// Hostname Defaults to the name
Hostname *string `json:"hostname,omitempty"`
ImageId string `json:"image_id"`
// Name Lowercase letters, digits and dashes
Name string `json:"name"`
// RegionId Defaults to the project's region
RegionId *string `json:"region_id,omitempty"`
// RuntimeProfile The runtime profile the server runs under, fixed after creation. Left out, it is the size's own profile. GET /v1/catalog/servers lists the profiles on offer, and the size and image must belong to it.
RuntimeProfile *CreateServerRequestRuntimeProfile `json:"runtime_profile,omitempty"`
// Shell Whether the server opens as a terminal from its page, signed in as root. Only a kvm-linux-v1 server has one, and it can be switched on and off afterwards.
Shell *bool `json:"shell,omitempty"`
SizeId string `json:"size_id"`
// SshKeyIds Installed for root
SshKeyIds []openapi_types.UUID `json:"ssh_key_ids"`
// UserData First-boot user data, up to 32 KiB. Stored encrypted and never returned.
UserData *string `json:"user_data,omitempty"`
}
CreateServerRequest defines model for CreateServerRequest.
type CreateServerRequestRuntimeProfile ¶
type CreateServerRequestRuntimeProfile string
CreateServerRequestRuntimeProfile defines model for CreateServerRequest.RuntimeProfile.
const ( CreateServerRequestRuntimeProfileFirecrackerLinuxV1 CreateServerRequestRuntimeProfile = "firecracker-linux-v1" CreateServerRequestRuntimeProfileGvisorSystemLinuxV1 CreateServerRequestRuntimeProfile = "gvisor-system-linux-v1" CreateServerRequestRuntimeProfileKvmLinuxV1 CreateServerRequestRuntimeProfile = "kvm-linux-v1" )
Defines values for CreateServerRequestRuntimeProfile.
func (CreateServerRequestRuntimeProfile) Valid ¶
func (e CreateServerRequestRuntimeProfile) Valid() bool
Valid indicates whether the value is a known member of the CreateServerRequestRuntimeProfile enum.
type CreateServerResponse ¶
type CreateServerResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServerOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateServerResponse ¶
func ParseCreateServerResponse(rsp *http.Response) (*CreateServerResponse, error)
ParseCreateServerResponse parses an HTTP response from a CreateServerWithResponse call
func (CreateServerResponse) ContentType ¶
func (r CreateServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateServerResponse) GetBody ¶
func (r CreateServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateServerResponse) GetJSON4XX ¶
func (r CreateServerResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateServerResponse) GetJSON5XX ¶
func (r CreateServerResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateServerResponse) GetJSON201 ¶
func (r CreateServerResponse) GetJSON201() *ServerOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateServerResponse) Status ¶
func (r CreateServerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServerResponse) StatusCode ¶
func (r CreateServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServerSnapshotJSONRequestBody ¶
type CreateServerSnapshotJSONRequestBody = CreateSnapshotRequest
CreateServerSnapshotJSONRequestBody defines body for CreateServerSnapshot for application/json ContentType.
type CreateServerSnapshotResponse ¶
type CreateServerSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *SnapshotsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateServerSnapshotResponse ¶
func ParseCreateServerSnapshotResponse(rsp *http.Response) (*CreateServerSnapshotResponse, error)
ParseCreateServerSnapshotResponse parses an HTTP response from a CreateServerSnapshotWithResponse call
func (CreateServerSnapshotResponse) ContentType ¶
func (r CreateServerSnapshotResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateServerSnapshotResponse) GetBody ¶
func (r CreateServerSnapshotResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateServerSnapshotResponse) GetJSON4XX ¶
func (r CreateServerSnapshotResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateServerSnapshotResponse) GetJSON5XX ¶
func (r CreateServerSnapshotResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateServerSnapshotResponse) GetJSON202 ¶
func (r CreateServerSnapshotResponse) GetJSON202() *SnapshotsOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (CreateServerSnapshotResponse) Status ¶
func (r CreateServerSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServerSnapshotResponse) StatusCode ¶
func (r CreateServerSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct {
// Name One line, without quotes, backslashes or dollar signs
Name string `json:"name"`
}
CreateSnapshotRequest defines model for CreateSnapshotRequest.
type CreateSpeechJSONRequestBody ¶
type CreateSpeechJSONRequestBody = SpeechIn
CreateSpeechJSONRequestBody defines body for CreateSpeech for application/json ContentType.
type CreateSpeechResponse ¶
type CreateSpeechResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *interface{}
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateSpeechResponse ¶
func ParseCreateSpeechResponse(rsp *http.Response) (*CreateSpeechResponse, error)
ParseCreateSpeechResponse parses an HTTP response from a CreateSpeechWithResponse call
func (CreateSpeechResponse) ContentType ¶
func (r CreateSpeechResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSpeechResponse) GetBody ¶
func (r CreateSpeechResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSpeechResponse) GetJSON4XX ¶
func (r CreateSpeechResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateSpeechResponse) GetJSON5XX ¶
func (r CreateSpeechResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateSpeechResponse) GetJSON200 ¶
func (r CreateSpeechResponse) GetJSON200() *interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateSpeechResponse) Status ¶
func (r CreateSpeechResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSpeechResponse) StatusCode ¶
func (r CreateSpeechResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSshKeyJSONRequestBody ¶
type CreateSshKeyJSONRequestBody = CreateSshKeyRequest
CreateSshKeyJSONRequestBody defines body for CreateSshKey for application/json ContentType.
type CreateSshKeyRequest ¶
type CreateSshKeyRequest struct {
Name string `json:"name"`
// PublicKey One OpenSSH public key: ssh-ed25519, ecdsa-sha2-nistp256/384/521, or ssh-rsa of 2048 bits or more
PublicKey string `json:"public_key"`
}
CreateSshKeyRequest defines model for CreateSshKeyRequest.
type CreateSshKeyResponse ¶
type CreateSshKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *SshKeyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateSshKeyResponse ¶
func ParseCreateSshKeyResponse(rsp *http.Response) (*CreateSshKeyResponse, error)
ParseCreateSshKeyResponse parses an HTTP response from a CreateSshKeyWithResponse call
func (CreateSshKeyResponse) ContentType ¶
func (r CreateSshKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSshKeyResponse) GetBody ¶
func (r CreateSshKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSshKeyResponse) GetJSON4XX ¶
func (r CreateSshKeyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateSshKeyResponse) GetJSON5XX ¶
func (r CreateSshKeyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateSshKeyResponse) GetJSON201 ¶
func (r CreateSshKeyResponse) GetJSON201() *SshKeyOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSshKeyResponse) Status ¶
func (r CreateSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSshKeyResponse) StatusCode ¶
func (r CreateSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTranscriptionMultipartRequestBody ¶
type CreateTranscriptionMultipartRequestBody = BodyCreateTranscription
CreateTranscriptionMultipartRequestBody defines body for CreateTranscription for multipart/form-data ContentType.
type CreateTranscriptionResponse ¶
type CreateTranscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *interface{}
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateTranscriptionResponse ¶
func ParseCreateTranscriptionResponse(rsp *http.Response) (*CreateTranscriptionResponse, error)
ParseCreateTranscriptionResponse parses an HTTP response from a CreateTranscriptionWithResponse call
func (CreateTranscriptionResponse) ContentType ¶
func (r CreateTranscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTranscriptionResponse) GetBody ¶
func (r CreateTranscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateTranscriptionResponse) GetJSON4XX ¶
func (r CreateTranscriptionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateTranscriptionResponse) GetJSON5XX ¶
func (r CreateTranscriptionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateTranscriptionResponse) GetJSON200 ¶
func (r CreateTranscriptionResponse) GetJSON200() *interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateTranscriptionResponse) Status ¶
func (r CreateTranscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTranscriptionResponse) StatusCode ¶
func (r CreateTranscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVolumeBackupResponse ¶
type CreateVolumeBackupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *BackupOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateVolumeBackupResponse ¶
func ParseCreateVolumeBackupResponse(rsp *http.Response) (*CreateVolumeBackupResponse, error)
ParseCreateVolumeBackupResponse parses an HTTP response from a CreateVolumeBackupWithResponse call
func (CreateVolumeBackupResponse) ContentType ¶
func (r CreateVolumeBackupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVolumeBackupResponse) GetBody ¶
func (r CreateVolumeBackupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVolumeBackupResponse) GetJSON4XX ¶
func (r CreateVolumeBackupResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateVolumeBackupResponse) GetJSON5XX ¶
func (r CreateVolumeBackupResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateVolumeBackupResponse) GetJSON201 ¶
func (r CreateVolumeBackupResponse) GetJSON201() *BackupOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateVolumeBackupResponse) Status ¶
func (r CreateVolumeBackupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVolumeBackupResponse) StatusCode ¶
func (r CreateVolumeBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVolumeJSONRequestBody ¶
type CreateVolumeJSONRequestBody = CreateVolumeRequest
CreateVolumeJSONRequestBody defines body for CreateVolume for application/json ContentType.
type CreateVolumeRequest ¶
type CreateVolumeRequest struct {
MountPath *string `json:"mount_path,omitempty"`
Name *string `json:"name,omitempty"`
// SizeGb Counted against the plan's volume_gb, or volume_gb_max on plans with overage
SizeGb *int `json:"size_gb,omitempty"`
}
CreateVolumeRequest defines model for CreateVolumeRequest.
type CreateVolumeResponse ¶
type CreateVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AppDomainsVolumesSchemasVolumeOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseCreateVolumeResponse ¶
func ParseCreateVolumeResponse(rsp *http.Response) (*CreateVolumeResponse, error)
ParseCreateVolumeResponse parses an HTTP response from a CreateVolumeWithResponse call
func (CreateVolumeResponse) ContentType ¶
func (r CreateVolumeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVolumeResponse) GetBody ¶
func (r CreateVolumeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVolumeResponse) GetJSON4XX ¶
func (r CreateVolumeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (CreateVolumeResponse) GetJSON5XX ¶
func (r CreateVolumeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (CreateVolumeResponse) GetJSON201 ¶
func (r CreateVolumeResponse) GetJSON201() *AppDomainsVolumesSchemasVolumeOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateVolumeResponse) Status ¶
func (r CreateVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVolumeResponse) StatusCode ¶
func (r CreateVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWebhookRequest ¶
type CreateWebhookRequest struct {
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Events *[]WebhookEvent `json:"events,omitempty"`
// Url Where events are posted. Production accepts https URLs only.
Url string `json:"url"`
}
CreateWebhookRequest defines model for CreateWebhookRequest.
type CsrfResponse ¶
type CsrfResponse struct {
CsrfToken string `json:"csrf_token"`
}
CsrfResponse defines model for CsrfResponse.
type DailyCount ¶
type DailyCount struct {
Day openapi_types.Date `json:"day"`
Events int `json:"events"`
Name DailyCountName `json:"name"`
// Visitors Distinct visitors that day. Visitors cannot be linked across days.
Visitors int `json:"visitors"`
}
DailyCount defines model for DailyCount.
type DailyCountName ¶
type DailyCountName string
DailyCountName defines model for DailyCount.Name.
const ( DailyCountNamePageview DailyCountName = "pageview" DailyCountNamePilotApplication DailyCountName = "pilot_application" )
Defines values for DailyCountName.
func (DailyCountName) Valid ¶
func (e DailyCountName) Valid() bool
Valid indicates whether the value is a known member of the DailyCountName enum.
type DataCategory ¶
type DataCategory string
DataCategory defines model for DataCategory.
const ( Backup DataCategory = "backup" ExternalProcessing DataCategory = "external_processing" Logs DataCategory = "logs" Metrics DataCategory = "metrics" PrimaryData DataCategory = "primary_data" Workload DataCategory = "workload" )
Defines values for DataCategory.
func (DataCategory) Valid ¶
func (e DataCategory) Valid() bool
Valid indicates whether the value is a known member of the DataCategory enum.
type DataLocationOut ¶
type DataLocationOut struct {
Category DataCategory `json:"category"`
Notes *string `json:"notes"`
ProviderId *openapi_types.UUID `json:"provider_id"`
ProviderName *string `json:"provider_name"`
ProviderRef *string `json:"provider_ref"`
RegionId *string `json:"region_id"`
RegionName *string `json:"region_name"`
Source DataLocationSource `json:"source"`
UpdatedAt time.Time `json:"updated_at"`
Verified bool `json:"verified"`
}
DataLocationOut defines model for DataLocationOut.
type DataLocationSource ¶
type DataLocationSource string
DataLocationSource defines model for DataLocationSource.
const ( Config DataLocationSource = "config" Engine DataLocationSource = "engine" )
Defines values for DataLocationSource.
func (DataLocationSource) Valid ¶
func (e DataLocationSource) Valid() bool
Valid indicates whether the value is a known member of the DataLocationSource enum.
type DataTier ¶
type DataTier struct {
// Id An immutable SKU. A change of price or allocation is a new id.
Id string `json:"id"`
MemoryMib int `json:"memory_mib"`
MonthlyPrice string `json:"monthly_price"`
Name string `json:"name"`
// StorageGb Postgres only
StorageGb *int `json:"storage_gb,omitempty"`
Tier string `json:"tier"`
}
DataTier defines model for DataTier.
type DayMetrics ¶
type DayMetrics struct {
CostUsd *string `json:"cost_usd,omitempty"`
Day openapi_types.Date `json:"day"`
// Errors Requests that failed or were refused.
Errors *int `json:"errors,omitempty"`
InputTokens *int `json:"input_tokens,omitempty"`
OutputTokens *int `json:"output_tokens,omitempty"`
Requests *int `json:"requests,omitempty"`
}
DayMetrics defines model for DayMetrics.
type DeclaredServiceOut ¶
type DeclaredServiceOut struct {
Connected bool `json:"connected"`
Exists bool `json:"exists"`
Kind string `json:"kind"`
Name string `json:"name"`
Tier *string `json:"tier,omitempty"`
}
DeclaredServiceOut A database, cache, bucket or queue a service's dekka.toml declares.
type DeclaredServicesResponse ¶
type DeclaredServicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConfigServicesOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeclaredServicesResponse ¶
func ParseDeclaredServicesResponse(rsp *http.Response) (*DeclaredServicesResponse, error)
ParseDeclaredServicesResponse parses an HTTP response from a DeclaredServicesWithResponse call
func (DeclaredServicesResponse) ContentType ¶
func (r DeclaredServicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeclaredServicesResponse) GetBody ¶
func (r DeclaredServicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeclaredServicesResponse) GetJSON4XX ¶
func (r DeclaredServicesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeclaredServicesResponse) GetJSON5XX ¶
func (r DeclaredServicesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeclaredServicesResponse) GetJSON200 ¶
func (r DeclaredServicesResponse) GetJSON200() *ConfigServicesOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeclaredServicesResponse) Status ¶
func (r DeclaredServicesResponse) Status() string
Status returns HTTPResponse.Status
func (DeclaredServicesResponse) StatusCode ¶
func (r DeclaredServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteChangesetChangeResponse ¶
type DeleteChangesetChangeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteChangesetChangeResponse ¶
func ParseDeleteChangesetChangeResponse(rsp *http.Response) (*DeleteChangesetChangeResponse, error)
ParseDeleteChangesetChangeResponse parses an HTTP response from a DeleteChangesetChangeWithResponse call
func (DeleteChangesetChangeResponse) ContentType ¶
func (r DeleteChangesetChangeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteChangesetChangeResponse) GetBody ¶
func (r DeleteChangesetChangeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteChangesetChangeResponse) GetJSON4XX ¶
func (r DeleteChangesetChangeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteChangesetChangeResponse) GetJSON5XX ¶
func (r DeleteChangesetChangeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteChangesetChangeResponse) Status ¶
func (r DeleteChangesetChangeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteChangesetChangeResponse) StatusCode ¶
func (r DeleteChangesetChangeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteConnectionResponse ¶
type DeleteConnectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ConnectionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteConnectionResponse ¶
func ParseDeleteConnectionResponse(rsp *http.Response) (*DeleteConnectionResponse, error)
ParseDeleteConnectionResponse parses an HTTP response from a DeleteConnectionWithResponse call
func (DeleteConnectionResponse) ContentType ¶
func (r DeleteConnectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteConnectionResponse) GetBody ¶
func (r DeleteConnectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteConnectionResponse) GetJSON4XX ¶
func (r DeleteConnectionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteConnectionResponse) GetJSON5XX ¶
func (r DeleteConnectionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteConnectionResponse) GetJSON202 ¶
func (r DeleteConnectionResponse) GetJSON202() *ConnectionOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteConnectionResponse) Status ¶
func (r DeleteConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteConnectionResponse) StatusCode ¶
func (r DeleteConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDomainResponse ¶
type DeleteDomainResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteDomainResponse ¶
func ParseDeleteDomainResponse(rsp *http.Response) (*DeleteDomainResponse, error)
ParseDeleteDomainResponse parses an HTTP response from a DeleteDomainWithResponse call
func (DeleteDomainResponse) ContentType ¶
func (r DeleteDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDomainResponse) GetBody ¶
func (r DeleteDomainResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDomainResponse) GetJSON4XX ¶
func (r DeleteDomainResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteDomainResponse) GetJSON5XX ¶
func (r DeleteDomainResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteDomainResponse) Status ¶
func (r DeleteDomainResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDomainResponse) StatusCode ¶
func (r DeleteDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnvVarResponse ¶
type DeleteEnvVarResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteEnvVarResponse ¶
func ParseDeleteEnvVarResponse(rsp *http.Response) (*DeleteEnvVarResponse, error)
ParseDeleteEnvVarResponse parses an HTTP response from a DeleteEnvVarWithResponse call
func (DeleteEnvVarResponse) ContentType ¶
func (r DeleteEnvVarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEnvVarResponse) GetBody ¶
func (r DeleteEnvVarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEnvVarResponse) GetJSON4XX ¶
func (r DeleteEnvVarResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteEnvVarResponse) GetJSON5XX ¶
func (r DeleteEnvVarResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteEnvVarResponse) Status ¶
func (r DeleteEnvVarResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnvVarResponse) StatusCode ¶
func (r DeleteEnvVarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnvironmentResponse ¶
type DeleteEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *EnvironmentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteEnvironmentResponse ¶
func ParseDeleteEnvironmentResponse(rsp *http.Response) (*DeleteEnvironmentResponse, error)
ParseDeleteEnvironmentResponse parses an HTTP response from a DeleteEnvironmentWithResponse call
func (DeleteEnvironmentResponse) ContentType ¶
func (r DeleteEnvironmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEnvironmentResponse) GetBody ¶
func (r DeleteEnvironmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEnvironmentResponse) GetJSON4XX ¶
func (r DeleteEnvironmentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteEnvironmentResponse) GetJSON5XX ¶
func (r DeleteEnvironmentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteEnvironmentResponse) GetJSON202 ¶
func (r DeleteEnvironmentResponse) GetJSON202() *EnvironmentOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteEnvironmentResponse) Status ¶
func (r DeleteEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnvironmentResponse) StatusCode ¶
func (r DeleteEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInferenceEndpointResponse ¶
type DeleteInferenceEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteInferenceEndpointResponse ¶
func ParseDeleteInferenceEndpointResponse(rsp *http.Response) (*DeleteInferenceEndpointResponse, error)
ParseDeleteInferenceEndpointResponse parses an HTTP response from a DeleteInferenceEndpointWithResponse call
func (DeleteInferenceEndpointResponse) ContentType ¶
func (r DeleteInferenceEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteInferenceEndpointResponse) GetBody ¶
func (r DeleteInferenceEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteInferenceEndpointResponse) GetJSON4XX ¶
func (r DeleteInferenceEndpointResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteInferenceEndpointResponse) GetJSON5XX ¶
func (r DeleteInferenceEndpointResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteInferenceEndpointResponse) Status ¶
func (r DeleteInferenceEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInferenceEndpointResponse) StatusCode ¶
func (r DeleteInferenceEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMyPasskeyResponse ¶
type DeleteMyPasskeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteMyPasskeyResponse ¶
func ParseDeleteMyPasskeyResponse(rsp *http.Response) (*DeleteMyPasskeyResponse, error)
ParseDeleteMyPasskeyResponse parses an HTTP response from a DeleteMyPasskeyWithResponse call
func (DeleteMyPasskeyResponse) ContentType ¶
func (r DeleteMyPasskeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMyPasskeyResponse) GetBody ¶
func (r DeleteMyPasskeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMyPasskeyResponse) GetJSON4XX ¶
func (r DeleteMyPasskeyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteMyPasskeyResponse) GetJSON5XX ¶
func (r DeleteMyPasskeyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteMyPasskeyResponse) Status ¶
func (r DeleteMyPasskeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMyPasskeyResponse) StatusCode ¶
func (r DeleteMyPasskeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePreviewResponse ¶
type DeletePreviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *PreviewOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeletePreviewResponse ¶
func ParseDeletePreviewResponse(rsp *http.Response) (*DeletePreviewResponse, error)
ParseDeletePreviewResponse parses an HTTP response from a DeletePreviewWithResponse call
func (DeletePreviewResponse) ContentType ¶
func (r DeletePreviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePreviewResponse) GetBody ¶
func (r DeletePreviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePreviewResponse) GetJSON4XX ¶
func (r DeletePreviewResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeletePreviewResponse) GetJSON5XX ¶
func (r DeletePreviewResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeletePreviewResponse) GetJSON202 ¶
func (r DeletePreviewResponse) GetJSON202() *PreviewOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeletePreviewResponse) Status ¶
func (r DeletePreviewResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePreviewResponse) StatusCode ¶
func (r DeletePreviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectResponse ¶
type DeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteProjectResponse ¶
func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)
ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call
func (DeleteProjectResponse) ContentType ¶
func (r DeleteProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteProjectResponse) GetBody ¶
func (r DeleteProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteProjectResponse) GetJSON4XX ¶
func (r DeleteProjectResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteProjectResponse) GetJSON5XX ¶
func (r DeleteProjectResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteProjectResponse) Status ¶
func (r DeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectResponse) StatusCode ¶
func (r DeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRegistryCredentialResponse ¶
type DeleteRegistryCredentialResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteRegistryCredentialResponse ¶
func ParseDeleteRegistryCredentialResponse(rsp *http.Response) (*DeleteRegistryCredentialResponse, error)
ParseDeleteRegistryCredentialResponse parses an HTTP response from a DeleteRegistryCredentialWithResponse call
func (DeleteRegistryCredentialResponse) ContentType ¶
func (r DeleteRegistryCredentialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteRegistryCredentialResponse) GetBody ¶
func (r DeleteRegistryCredentialResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteRegistryCredentialResponse) GetJSON4XX ¶
func (r DeleteRegistryCredentialResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteRegistryCredentialResponse) GetJSON5XX ¶
func (r DeleteRegistryCredentialResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteRegistryCredentialResponse) Status ¶
func (r DeleteRegistryCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRegistryCredentialResponse) StatusCode ¶
func (r DeleteRegistryCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteResourceParams ¶
type DeleteResourceParams struct {
Confirm *string `form:"confirm,omitempty" json:"confirm,omitempty"`
}
DeleteResourceParams defines parameters for DeleteResource.
type DeleteResourceResponse ¶
type DeleteResourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ResourceOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteResourceResponse ¶
func ParseDeleteResourceResponse(rsp *http.Response) (*DeleteResourceResponse, error)
ParseDeleteResourceResponse parses an HTTP response from a DeleteResourceWithResponse call
func (DeleteResourceResponse) ContentType ¶
func (r DeleteResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteResourceResponse) GetBody ¶
func (r DeleteResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteResourceResponse) GetJSON4XX ¶
func (r DeleteResourceResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteResourceResponse) GetJSON5XX ¶
func (r DeleteResourceResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteResourceResponse) GetJSON202 ¶
func (r DeleteResourceResponse) GetJSON202() *ResourceOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteResourceResponse) Status ¶
func (r DeleteResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteResourceResponse) StatusCode ¶
func (r DeleteResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteServerParams ¶
type DeleteServerParams struct {
Confirm *string `form:"confirm,omitempty" json:"confirm,omitempty"`
}
DeleteServerParams defines parameters for DeleteServer.
type DeleteServerResponse ¶
type DeleteServerResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ServerOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteServerResponse ¶
func ParseDeleteServerResponse(rsp *http.Response) (*DeleteServerResponse, error)
ParseDeleteServerResponse parses an HTTP response from a DeleteServerWithResponse call
func (DeleteServerResponse) ContentType ¶
func (r DeleteServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteServerResponse) GetBody ¶
func (r DeleteServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteServerResponse) GetJSON4XX ¶
func (r DeleteServerResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteServerResponse) GetJSON5XX ¶
func (r DeleteServerResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteServerResponse) GetJSON202 ¶
func (r DeleteServerResponse) GetJSON202() *ServerOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteServerResponse) Status ¶
func (r DeleteServerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteServerResponse) StatusCode ¶
func (r DeleteServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteServerSnapshotResponse ¶
type DeleteServerSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *SnapshotsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteServerSnapshotResponse ¶
func ParseDeleteServerSnapshotResponse(rsp *http.Response) (*DeleteServerSnapshotResponse, error)
ParseDeleteServerSnapshotResponse parses an HTTP response from a DeleteServerSnapshotWithResponse call
func (DeleteServerSnapshotResponse) ContentType ¶
func (r DeleteServerSnapshotResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteServerSnapshotResponse) GetBody ¶
func (r DeleteServerSnapshotResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteServerSnapshotResponse) GetJSON4XX ¶
func (r DeleteServerSnapshotResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteServerSnapshotResponse) GetJSON5XX ¶
func (r DeleteServerSnapshotResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteServerSnapshotResponse) GetJSON202 ¶
func (r DeleteServerSnapshotResponse) GetJSON202() *SnapshotsOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteServerSnapshotResponse) Status ¶
func (r DeleteServerSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteServerSnapshotResponse) StatusCode ¶
func (r DeleteServerSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSharedVariableResponse ¶
type DeleteSharedVariableResponse struct {
JSON4XX *ErrorEnvelope
JSON5XX *ErrorEnvelope
}
func ParseDeleteSharedVariableResponse ¶
func ParseDeleteSharedVariableResponse(rsp *http.Response) (*DeleteSharedVariableResponse, error)
ParseDeleteSharedVariableResponse parses an HTTP response from a DeleteSharedVariableWithResponse call
func (DeleteSharedVariableResponse) ContentType ¶
func (r DeleteSharedVariableResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSharedVariableResponse) GetBody ¶
func (r DeleteSharedVariableResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSharedVariableResponse) GetJSON4XX ¶
func (r DeleteSharedVariableResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteSharedVariableResponse) GetJSON5XX ¶
func (r DeleteSharedVariableResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteSharedVariableResponse) Status ¶
func (r DeleteSharedVariableResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSharedVariableResponse) StatusCode ¶
func (r DeleteSharedVariableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSshKeyResponse ¶
type DeleteSshKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteSshKeyResponse ¶
func ParseDeleteSshKeyResponse(rsp *http.Response) (*DeleteSshKeyResponse, error)
ParseDeleteSshKeyResponse parses an HTTP response from a DeleteSshKeyWithResponse call
func (DeleteSshKeyResponse) ContentType ¶
func (r DeleteSshKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSshKeyResponse) GetBody ¶
func (r DeleteSshKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSshKeyResponse) GetJSON4XX ¶
func (r DeleteSshKeyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteSshKeyResponse) GetJSON5XX ¶
func (r DeleteSshKeyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteSshKeyResponse) Status ¶
func (r DeleteSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSshKeyResponse) StatusCode ¶
func (r DeleteSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVolumeResponse ¶
type DeleteVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *AppDomainsVolumesSchemasVolumeOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteVolumeResponse ¶
func ParseDeleteVolumeResponse(rsp *http.Response) (*DeleteVolumeResponse, error)
ParseDeleteVolumeResponse parses an HTTP response from a DeleteVolumeWithResponse call
func (DeleteVolumeResponse) ContentType ¶
func (r DeleteVolumeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVolumeResponse) GetBody ¶
func (r DeleteVolumeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVolumeResponse) GetJSON4XX ¶
func (r DeleteVolumeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteVolumeResponse) GetJSON5XX ¶
func (r DeleteVolumeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteVolumeResponse) GetJSON202 ¶
func (r DeleteVolumeResponse) GetJSON202() *AppDomainsVolumesSchemasVolumeOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteVolumeResponse) Status ¶
func (r DeleteVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVolumeResponse) StatusCode ¶
func (r DeleteVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWebhookResponse ¶
type DeleteWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeleteWebhookResponse ¶
func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)
ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call
func (DeleteWebhookResponse) ContentType ¶
func (r DeleteWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWebhookResponse) GetBody ¶
func (r DeleteWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteWebhookResponse) GetJSON4XX ¶
func (r DeleteWebhookResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeleteWebhookResponse) GetJSON5XX ¶
func (r DeleteWebhookResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeleteWebhookResponse) Status ¶
func (r DeleteWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWebhookResponse) StatusCode ¶
func (r DeleteWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeliveryOut ¶
type DeliveryOut struct {
Attempts int `json:"attempts"`
CreatedAt time.Time `json:"created_at"`
DeliveredAt *time.Time `json:"delivered_at"`
Error *string `json:"error"`
Event string `json:"event"`
// Id Also sent as X-Dekka-Delivery and as `id` in the body
Id openapi_types.UUID `json:"id"`
// NextAttemptAt When the next try is due, while the delivery is pending
NextAttemptAt *time.Time `json:"next_attempt_at"`
// Payload The JSON body that is sent, without secrets
Payload map[string]interface{} `json:"payload"`
// ResponseExcerpt The first 500 characters of the last response body
ResponseExcerpt *string `json:"response_excerpt"`
ResponseStatus *int `json:"response_status"`
Status DeliveryStatus `json:"status"`
WebhookId openapi_types.UUID `json:"webhook_id"`
}
DeliveryOut defines model for DeliveryOut.
type DeliveryStatus ¶
type DeliveryStatus string
DeliveryStatus defines model for DeliveryStatus.
const ( DeliveryStatusDelivered DeliveryStatus = "delivered" DeliveryStatusFailed DeliveryStatus = "failed" DeliveryStatusPending DeliveryStatus = "pending" )
Defines values for DeliveryStatus.
func (DeliveryStatus) Valid ¶
func (e DeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the DeliveryStatus enum.
type DenyCliLoginResponse ¶
type DenyCliLoginResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CliLoginOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDenyCliLoginResponse ¶
func ParseDenyCliLoginResponse(rsp *http.Response) (*DenyCliLoginResponse, error)
ParseDenyCliLoginResponse parses an HTTP response from a DenyCliLoginWithResponse call
func (DenyCliLoginResponse) ContentType ¶
func (r DenyCliLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DenyCliLoginResponse) GetBody ¶
func (r DenyCliLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DenyCliLoginResponse) GetJSON4XX ¶
func (r DenyCliLoginResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DenyCliLoginResponse) GetJSON5XX ¶
func (r DenyCliLoginResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DenyCliLoginResponse) GetJSON200 ¶
func (r DenyCliLoginResponse) GetJSON200() *CliLoginOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DenyCliLoginResponse) Status ¶
func (r DenyCliLoginResponse) Status() string
Status returns HTTPResponse.Status
func (DenyCliLoginResponse) StatusCode ¶
func (r DenyCliLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeployChangesetJSONRequestBody ¶
type DeployChangesetJSONRequestBody = DeployChangesetRequest
DeployChangesetJSONRequestBody defines body for DeployChangeset for application/json ContentType.
type DeployChangesetRequest ¶
type DeployChangesetRequest struct {
// Confirm Must be true. Deploying applies every change and cannot be undone as a whole.
Confirm bool `json:"confirm"`
}
DeployChangesetRequest defines model for DeployChangesetRequest.
type DeployChangesetResponse ¶
type DeployChangesetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDeployChangesetResponse ¶
func ParseDeployChangesetResponse(rsp *http.Response) (*DeployChangesetResponse, error)
ParseDeployChangesetResponse parses an HTTP response from a DeployChangesetWithResponse call
func (DeployChangesetResponse) ContentType ¶
func (r DeployChangesetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeployChangesetResponse) GetBody ¶
func (r DeployChangesetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeployChangesetResponse) GetJSON4XX ¶
func (r DeployChangesetResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DeployChangesetResponse) GetJSON5XX ¶
func (r DeployChangesetResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DeployChangesetResponse) GetJSON200 ¶
func (r DeployChangesetResponse) GetJSON200() *ChangesetOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeployChangesetResponse) Status ¶
func (r DeployChangesetResponse) Status() string
Status returns HTTPResponse.Status
func (DeployChangesetResponse) StatusCode ¶
func (r DeployChangesetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeploymentError ¶
type DeploymentError struct {
Code string `json:"code"`
Message *string `json:"message"`
Phase *string `json:"phase"`
}
DeploymentError defines model for DeploymentError.
type DeploymentLogLine ¶
type DeploymentLogLine struct {
Line string `json:"line"`
Seq int `json:"seq"`
Stream string `json:"stream"`
Ts time.Time `json:"ts"`
}
DeploymentLogLine defines model for DeploymentLogLine.
type DeploymentLogPage ¶
type DeploymentLogPage struct {
// Complete True once the deployment finished and every line has been returned
Complete bool `json:"complete"`
Lines []DeploymentLogLine `json:"lines"`
NextAfter int `json:"next_after"`
}
DeploymentLogPage defines model for DeploymentLogPage.
type DeploymentOut ¶
type DeploymentOut struct {
ActiveOperation *ActiveOperation `json:"active_operation"`
Branch *string `json:"branch"`
BuildSeconds *float32 `json:"build_seconds"`
CancelReason *string `json:"cancel_reason"`
CommitAuthor *string `json:"commit_author"`
CommitMessage *string `json:"commit_message"`
CommitSha *string `json:"commit_sha"`
// ConfigSources Each build and runtime setting (such as build.start_command) and where its value came from: dekka.toml, dekka.json, service settings or default
ConfigSources *map[string]string `json:"config_sources"`
CreatedAt time.Time `json:"created_at"`
CreatedByUserId *openapi_types.UUID `json:"created_by_user_id"`
// EffectiveSpec The spec sent to the engine: the stored spec with dekka.toml or dekka.json merged over it
EffectiveSpec *map[string]interface{} `json:"effective_spec"`
Error *DeploymentError `json:"error"`
FinishedAt *time.Time `json:"finished_at"`
Id openapi_types.UUID `json:"id"`
// ImageRef The image deployed. For image sources it is the image named in the spec (branch and commit are null); for GitHub sources it is the image the engine built, recorded once the deployment is healthy.
ImageRef *string `json:"image_ref"`
// KeepCurrentVariables For rollbacks, true when it ran with the service's variables of the time rather than the variables of the deployment it rolled back to
KeepCurrentVariables bool `json:"keep_current_variables"`
OperationId *openapi_types.UUID `json:"operation_id"`
ProjectId openapi_types.UUID `json:"project_id"`
ResourceId openapi_types.UUID `json:"resource_id"`
ResourceName string `json:"resource_name"`
// RollbackOfId For rollbacks, the deployment whose image this redeployed
RollbackOfId *openapi_types.UUID `json:"rollback_of_id"`
StartedAt *time.Time `json:"started_at"`
Status DeploymentStatus `json:"status"`
Trigger DeploymentTrigger `json:"trigger"`
UpdatedAt time.Time `json:"updated_at"`
// VariablesChanged Whether the service's variables now differ from the ones this deployment was sent with. Null when they were not recorded, the service is deleted, or a reference no longer resolves.
VariablesChanged *bool `json:"variables_changed"`
// VariablesRecorded Whether Dekka recorded the variables this deployment was sent with, which a rollback to it restores. Values are never returned.
VariablesRecorded bool `json:"variables_recorded"`
}
DeploymentOut defines model for DeploymentOut.
type DeploymentStatus ¶
type DeploymentStatus string
DeploymentStatus defines model for DeploymentStatus.
const ( DeploymentStatusBuilding DeploymentStatus = "building" DeploymentStatusCancelled DeploymentStatus = "cancelled" DeploymentStatusDeploying DeploymentStatus = "deploying" DeploymentStatusFailed DeploymentStatus = "failed" DeploymentStatusHealthy DeploymentStatus = "healthy" DeploymentStatusPreparing DeploymentStatus = "preparing" DeploymentStatusQueued DeploymentStatus = "queued" DeploymentStatusRemoved DeploymentStatus = "removed" DeploymentStatusStarting DeploymentStatus = "starting" )
Defines values for DeploymentStatus.
func (DeploymentStatus) Valid ¶
func (e DeploymentStatus) Valid() bool
Valid indicates whether the value is a known member of the DeploymentStatus enum.
type DeploymentSummary ¶
type DeploymentSummary struct {
Branch *string `json:"branch"`
CommitMessage *string `json:"commit_message"`
CommitSha *string `json:"commit_sha"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
ProjectId openapi_types.UUID `json:"project_id"`
ProjectName string `json:"project_name"`
ResourceId openapi_types.UUID `json:"resource_id"`
ResourceName string `json:"resource_name"`
Status string `json:"status"`
}
DeploymentSummary defines model for DeploymentSummary.
type DeploymentTrigger ¶
type DeploymentTrigger string
DeploymentTrigger defines model for DeploymentTrigger.
const ( DeploymentTriggerConfigChange DeploymentTrigger = "config_change" DeploymentTriggerInitial DeploymentTrigger = "initial" DeploymentTriggerManual DeploymentTrigger = "manual" DeploymentTriggerPreview DeploymentTrigger = "preview" DeploymentTriggerPush DeploymentTrigger = "push" DeploymentTriggerRedeploy DeploymentTrigger = "redeploy" DeploymentTriggerRollback DeploymentTrigger = "rollback" )
Defines values for DeploymentTrigger.
func (DeploymentTrigger) Valid ¶
func (e DeploymentTrigger) Valid() bool
Valid indicates whether the value is a known member of the DeploymentTrigger enum.
type DetectGithubSettingsParams ¶
type DetectGithubSettingsParams struct {
Branch string `form:"branch" json:"branch"`
RootDir *string `form:"root_dir,omitempty" json:"root_dir,omitempty"`
}
DetectGithubSettingsParams defines parameters for DetectGithubSettings.
type DetectGithubSettingsResponse ¶
type DetectGithubSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Detection
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDetectGithubSettingsResponse ¶
func ParseDetectGithubSettingsResponse(rsp *http.Response) (*DetectGithubSettingsResponse, error)
ParseDetectGithubSettingsResponse parses an HTTP response from a DetectGithubSettingsWithResponse call
func (DetectGithubSettingsResponse) ContentType ¶
func (r DetectGithubSettingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DetectGithubSettingsResponse) GetBody ¶
func (r DetectGithubSettingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DetectGithubSettingsResponse) GetJSON4XX ¶
func (r DetectGithubSettingsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DetectGithubSettingsResponse) GetJSON5XX ¶
func (r DetectGithubSettingsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DetectGithubSettingsResponse) GetJSON200 ¶
func (r DetectGithubSettingsResponse) GetJSON200() *Detection
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DetectGithubSettingsResponse) Status ¶
func (r DetectGithubSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (DetectGithubSettingsResponse) StatusCode ¶
func (r DetectGithubSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Detection ¶
type Detection struct {
BuildCommand *string `json:"build_command,omitempty"`
ComposeFile *string `json:"compose_file,omitempty"`
ConfigFile *string `json:"config_file,omitempty"`
DockerfilePath *string `json:"dockerfile_path,omitempty"`
Found *[]string `json:"found,omitempty"`
Framework *string `json:"framework,omitempty"`
HealthCheckPath *string `json:"health_check_path,omitempty"`
Port *int `json:"port,omitempty"`
StartCommand *string `json:"start_command,omitempty"`
StaticPublishDir *string `json:"static_publish_dir,omitempty"`
Strategy *string `json:"strategy,omitempty"`
}
Detection What the branch looks like and the settings Dekka would start from.
type DiscardChangesetResponse ¶
type DiscardChangesetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDiscardChangesetResponse ¶
func ParseDiscardChangesetResponse(rsp *http.Response) (*DiscardChangesetResponse, error)
ParseDiscardChangesetResponse parses an HTTP response from a DiscardChangesetWithResponse call
func (DiscardChangesetResponse) ContentType ¶
func (r DiscardChangesetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DiscardChangesetResponse) GetBody ¶
func (r DiscardChangesetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DiscardChangesetResponse) GetJSON4XX ¶
func (r DiscardChangesetResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DiscardChangesetResponse) GetJSON5XX ¶
func (r DiscardChangesetResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DiscardChangesetResponse) GetJSON200 ¶
func (r DiscardChangesetResponse) GetJSON200() *ChangesetOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DiscardChangesetResponse) Status ¶
func (r DiscardChangesetResponse) Status() string
Status returns HTTPResponse.Status
func (DiscardChangesetResponse) StatusCode ¶
func (r DiscardChangesetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsRecordOut ¶
type DnsRecordOut struct {
Name string `json:"name"`
Type DnsRecordOutType `json:"type"`
Value string `json:"value"`
}
DnsRecordOut defines model for DnsRecordOut.
type DnsRecordOutType ¶
type DnsRecordOutType string
DnsRecordOutType defines model for DnsRecordOut.Type.
const ( CNAME DnsRecordOutType = "CNAME" TXT DnsRecordOutType = "TXT" )
Defines values for DnsRecordOutType.
func (DnsRecordOutType) Valid ¶
func (e DnsRecordOutType) Valid() bool
Valid indicates whether the value is a known member of the DnsRecordOutType enum.
type DomainOut ¶
type DomainOut struct {
// CertificateStatus Certificates are issued by the engine or its edge. issuing starts once the domain is active. In development a periodic job marks it active; in production it stays issuing until the engine reports that it serves the domain.
CertificateStatus CertificateStatus `json:"certificate_status"`
// Cname Points traffic at the service
Cname DnsRecordOut `json:"cname"`
// CnameConfigured Whether the CNAME pointed at the target at the last check
CnameConfigured *bool `json:"cname_configured"`
CreatedAt time.Time `json:"created_at"`
Error *string `json:"error"`
Hostname string `json:"hostname"`
Id openapi_types.UUID `json:"id"`
LastCheckedAt *time.Time `json:"last_checked_at"`
ResourceId openapi_types.UUID `json:"resource_id"`
// Status pending until checked, verifying during a check, active once the TXT record matched, failed when it did not (verify again after fixing DNS)
Status DomainStatus `json:"status"`
// Txt Proves you control the domain
Txt DnsRecordOut `json:"txt"`
VerifiedAt *time.Time `json:"verified_at"`
}
DomainOut defines model for DomainOut.
type DomainStatus ¶
type DomainStatus string
DomainStatus defines model for DomainStatus.
const ( DomainStatusActive DomainStatus = "active" DomainStatusFailed DomainStatus = "failed" DomainStatusPending DomainStatus = "pending" DomainStatusVerifying DomainStatus = "verifying" )
Defines values for DomainStatus.
func (DomainStatus) Valid ¶
func (e DomainStatus) Valid() bool
Valid indicates whether the value is a known member of the DomainStatus enum.
type DowngradeSubscriptionJSONRequestBody ¶
type DowngradeSubscriptionJSONRequestBody = ChangePlanRequest
DowngradeSubscriptionJSONRequestBody defines body for DowngradeSubscription for application/json ContentType.
type DowngradeSubscriptionResponse ¶
type DowngradeSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubscriptionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseDowngradeSubscriptionResponse ¶
func ParseDowngradeSubscriptionResponse(rsp *http.Response) (*DowngradeSubscriptionResponse, error)
ParseDowngradeSubscriptionResponse parses an HTTP response from a DowngradeSubscriptionWithResponse call
func (DowngradeSubscriptionResponse) ContentType ¶
func (r DowngradeSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DowngradeSubscriptionResponse) GetBody ¶
func (r DowngradeSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DowngradeSubscriptionResponse) GetJSON4XX ¶
func (r DowngradeSubscriptionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (DowngradeSubscriptionResponse) GetJSON5XX ¶
func (r DowngradeSubscriptionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (DowngradeSubscriptionResponse) GetJSON200 ¶
func (r DowngradeSubscriptionResponse) GetJSON200() *SubscriptionOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DowngradeSubscriptionResponse) Status ¶
func (r DowngradeSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (DowngradeSubscriptionResponse) StatusCode ¶
func (r DowngradeSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadInvoiceResponse ¶
func ParseDownloadInvoiceResponse ¶
func ParseDownloadInvoiceResponse(rsp *http.Response) (*DownloadInvoiceResponse, error)
ParseDownloadInvoiceResponse parses an HTTP response from a DownloadInvoiceWithResponse call
func (DownloadInvoiceResponse) ContentType ¶
func (r DownloadInvoiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadInvoiceResponse) GetBody ¶
func (r DownloadInvoiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadInvoiceResponse) Status ¶
func (r DownloadInvoiceResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadInvoiceResponse) StatusCode ¶
func (r DownloadInvoiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EarlyAccessRequestIn ¶
type EarlyAccessRequestIn struct {
// Building What they are building
Building *string `json:"building,omitempty"`
Company *string `json:"company,omitempty"`
CurrentHost *string `json:"current_host,omitempty"`
Email openapi_types.Email `json:"email"`
ExpectedTraffic *string `json:"expected_traffic,omitempty"`
Name string `json:"name"`
ProductInterest ProductInterest `json:"product_interest"`
// Sector The kind of product, if they chose one
Sector *PilotSector `json:"sector,omitempty"`
Stack *string `json:"stack,omitempty"`
// Website Honeypot. Leave empty; real people never see this field.
Website *string `json:"website,omitempty"`
}
EarlyAccessRequestIn defines model for EarlyAccessRequestIn.
type EmailSent ¶
type EmailSent struct {
Sent bool `json:"sent"`
}
EmailSent defines model for EmailSent.
type EmailSignInRequest ¶
type EmailSignInRequest struct {
Email openapi_types.Email `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailSignInRequest defines model for EmailSignInRequest.
type EndpointOut ¶
type EndpointOut struct {
Hostname string `json:"hostname"`
Kind string `json:"kind"`
Port int `json:"port"`
Url *string `json:"url,omitempty"`
}
EndpointOut defines model for EndpointOut.
type EndpointState ¶
type EndpointState string
EndpointState defines model for EndpointState.
const ( EndpointStateDeleted EndpointState = "deleted" EndpointStateFailed EndpointState = "failed" EndpointStateProvisioning EndpointState = "provisioning" EndpointStateRequested EndpointState = "requested" EndpointStateRunning EndpointState = "running" EndpointStateScaledToZero EndpointState = "scaled_to_zero" EndpointStateWaitlisted EndpointState = "waitlisted" )
Defines values for EndpointState.
func (EndpointState) Valid ¶
func (e EndpointState) Valid() bool
Valid indicates whether the value is a known member of the EndpointState enum.
type EngineInfo ¶
type EngineInfo struct {
Kind string `json:"kind"`
}
EngineInfo defines model for EngineInfo.
type Entitlements ¶
type Entitlements struct {
// ActiveServices Applications, workers and scheduled jobs that are not deleted or stopped. Scheduled jobs count because each one keeps a deployed image and runs on its schedule.
ActiveServices int `json:"active_services"`
// AiTokens AI Gateway tokens included per billing period
AiTokens *int `json:"ai_tokens,omitempty"`
BuildMinutes int `json:"build_minutes"`
// CustomDomains Whether services can have custom domains
CustomDomains *bool `json:"custom_domains,omitempty"`
// EgressGb Egress included per billing period
EgressGb *int `json:"egress_gb,omitempty"`
// EnvironmentsPerProject Environments in one project, the default included
EnvironmentsPerProject *int `json:"environments_per_project,omitempty"`
MemoryPerAppMib int `json:"memory_per_app_mib"`
// Overage Whether use beyond the included meters is billed (true) or refused (false)
Overage *bool `json:"overage,omitempty"`
PostgresMib int `json:"postgres_mib"`
Projects int `json:"projects"`
// Queues Queues that are not deleted
Queues *int `json:"queues,omitempty"`
// RedisMib Redis memory included: the sum of memory_mib across Redis databases. With overage, allocation beyond it is billed as redis_gb_hours up to redis_mib_max; without overage it is the limit.
RedisMib *int `json:"redis_mib,omitempty"`
// RedisMibMax The most Redis memory (sum of memory_mib) an organization can allocate when the plan has overage. Null means redis_mib is the maximum.
RedisMibMax *int `json:"redis_mib_max,omitempty"`
// ReplicasPerService runtime.replicas for one service
ReplicasPerService *int `json:"replicas_per_service,omitempty"`
// Servers Virtual servers that are not deleted
Servers *int `json:"servers,omitempty"`
StorageMib int `json:"storage_mib"`
// Support Display only for now
Support *string `json:"support,omitempty"`
// TeamMembers Members plus open invitations, checked on invite and on accept; null means no limit
TeamMembers *int `json:"team_members,omitempty"`
// VcpuPerService runtime.vcpu for one service
VcpuPerService *float32 `json:"vcpu_per_service,omitempty"`
// VolumeGb Volume size included: the sum of size_gb across volumes. With overage, allocation beyond it is billed as volume_gb_hours up to volume_gb_max; without overage it is the limit.
VolumeGb *int `json:"volume_gb,omitempty"`
// VolumeGbMax The most volume size (sum of size_gb) an organization can allocate when the plan has overage. Null means volume_gb is the maximum.
VolumeGbMax *int `json:"volume_gb_max,omitempty"`
}
Entitlements defines model for Entitlements.
type EnvVarIn ¶
type EnvVarIn struct {
Key string `json:"key"`
// Sealed Seal the value so it is never shown again. Sealing is permanent; false leaves a sealed variable sealed.
Sealed *bool `json:"sealed,omitempty"`
Secret *bool `json:"secret,omitempty"`
// Value May contain references: ${{<service>.<KEY>}} for another service in this environment, or ${{shared.<KEY>}} for a shared variable
Value string `json:"value"`
}
EnvVarIn defines model for EnvVarIn.
type EnvVarOut ¶
type EnvVarOut struct {
ConnectionId *openapi_types.UUID `json:"connection_id"`
Key string `json:"key"`
ReadOnly bool `json:"read_only"`
Sealed bool `json:"sealed"`
Secret bool `json:"secret"`
// Source user, connection (set by a connection, read-only) or system (computed by Dekka, read-only)
Source EnvVarOutSource `json:"source"`
// UpdatedAt Null for system variables
UpdatedAt *time.Time `json:"updated_at"`
// Value Null for secret and sealed values; secret ones can be revealed
Value *string `json:"value"`
}
EnvVarOut defines model for EnvVarOut.
type EnvVarOutSource ¶
type EnvVarOutSource string
EnvVarOutSource user, connection (set by a connection, read-only) or system (computed by Dekka, read-only)
const ( EnvVarOutSourceConnection EnvVarOutSource = "connection" EnvVarOutSourceSystem EnvVarOutSource = "system" EnvVarOutSourceUser EnvVarOutSource = "user" )
Defines values for EnvVarOutSource.
func (EnvVarOutSource) Valid ¶
func (e EnvVarOutSource) Valid() bool
Valid indicates whether the value is a known member of the EnvVarOutSource enum.
type EnvironmentOut ¶
type EnvironmentOut struct {
CreatedAt time.Time `json:"created_at"`
// Ephemeral Deleted automatically when what made it goes away
Ephemeral bool `json:"ephemeral"`
ForkedFromId *openapi_types.UUID `json:"forked_from_id"`
Id openapi_types.UUID `json:"id"`
IsDefault bool `json:"is_default"`
// Kind preview environments are made for pull requests
Kind EnvironmentOutKind `json:"kind"`
Name string `json:"name"`
ProjectId openapi_types.UUID `json:"project_id"`
Slug string `json:"slug"`
Status EnvironmentOutStatus `json:"status"`
UpdatedAt time.Time `json:"updated_at"`
}
EnvironmentOut defines model for EnvironmentOut.
type EnvironmentOutKind ¶
type EnvironmentOutKind string
EnvironmentOutKind preview environments are made for pull requests
const ( EnvironmentOutKindPreview EnvironmentOutKind = "preview" EnvironmentOutKindStandard EnvironmentOutKind = "standard" )
Defines values for EnvironmentOutKind.
func (EnvironmentOutKind) Valid ¶
func (e EnvironmentOutKind) Valid() bool
Valid indicates whether the value is a known member of the EnvironmentOutKind enum.
type EnvironmentOutStatus ¶
type EnvironmentOutStatus string
EnvironmentOutStatus defines model for EnvironmentOut.Status.
const ( EnvironmentOutStatusActive EnvironmentOutStatus = "active" EnvironmentOutStatusDeleting EnvironmentOutStatus = "deleting" )
Defines values for EnvironmentOutStatus.
func (EnvironmentOutStatus) Valid ¶
func (e EnvironmentOutStatus) Valid() bool
Valid indicates whether the value is a known member of the EnvironmentOutStatus enum.
type EnvironmentReferenceTargetsResponse ¶
type EnvironmentReferenceTargetsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReferenceTargetsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseEnvironmentReferenceTargetsResponse ¶
func ParseEnvironmentReferenceTargetsResponse(rsp *http.Response) (*EnvironmentReferenceTargetsResponse, error)
ParseEnvironmentReferenceTargetsResponse parses an HTTP response from a EnvironmentReferenceTargetsWithResponse call
func (EnvironmentReferenceTargetsResponse) ContentType ¶
func (r EnvironmentReferenceTargetsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentReferenceTargetsResponse) GetBody ¶
func (r EnvironmentReferenceTargetsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentReferenceTargetsResponse) GetJSON4XX ¶
func (r EnvironmentReferenceTargetsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (EnvironmentReferenceTargetsResponse) GetJSON5XX ¶
func (r EnvironmentReferenceTargetsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (EnvironmentReferenceTargetsResponse) GetJSON200 ¶
func (r EnvironmentReferenceTargetsResponse) GetJSON200() *ReferenceTargetsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EnvironmentReferenceTargetsResponse) Status ¶
func (r EnvironmentReferenceTargetsResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentReferenceTargetsResponse) StatusCode ¶
func (r EnvironmentReferenceTargetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorBody ¶
type ErrorBody struct {
Code string `json:"code"`
Details *map[string]interface{} `json:"details,omitempty"`
Message string `json:"message"`
RequestId string `json:"request_id"`
}
ErrorBody defines model for ErrorBody.
type ErrorEnvelope ¶
type ErrorEnvelope struct {
Error ErrorBody `json:"error"`
}
ErrorEnvelope defines model for ErrorEnvelope.
type EstimateJSONBody ¶
type EstimateJSONBody struct {
// contains filtered or unexported fields
}
EstimateJSONBody defines parameters for Estimate.
func (EstimateJSONBody) AsChangesetEstimateIn ¶
func (t EstimateJSONBody) AsChangesetEstimateIn() (ChangesetEstimateIn, error)
AsChangesetEstimateIn returns the union data inside the EstimateJSONBody as a ChangesetEstimateIn
func (EstimateJSONBody) AsResizeEstimateIn ¶
func (t EstimateJSONBody) AsResizeEstimateIn() (ResizeEstimateIn, error)
AsResizeEstimateIn returns the union data inside the EstimateJSONBody as a ResizeEstimateIn
func (EstimateJSONBody) AsResourceEstimateIn ¶
func (t EstimateJSONBody) AsResourceEstimateIn() (ResourceEstimateIn, error)
AsResourceEstimateIn returns the union data inside the EstimateJSONBody as a ResourceEstimateIn
func (EstimateJSONBody) Discriminator ¶
func (t EstimateJSONBody) Discriminator() (string, error)
func (*EstimateJSONBody) FromChangesetEstimateIn ¶
func (t *EstimateJSONBody) FromChangesetEstimateIn(v ChangesetEstimateIn) error
FromChangesetEstimateIn overwrites any union data inside the EstimateJSONBody as the provided ChangesetEstimateIn
func (*EstimateJSONBody) FromResizeEstimateIn ¶
func (t *EstimateJSONBody) FromResizeEstimateIn(v ResizeEstimateIn) error
FromResizeEstimateIn overwrites any union data inside the EstimateJSONBody as the provided ResizeEstimateIn
func (*EstimateJSONBody) FromResourceEstimateIn ¶
func (t *EstimateJSONBody) FromResourceEstimateIn(v ResourceEstimateIn) error
FromResourceEstimateIn overwrites any union data inside the EstimateJSONBody as the provided ResourceEstimateIn
func (EstimateJSONBody) MarshalJSON ¶
func (t EstimateJSONBody) MarshalJSON() ([]byte, error)
func (*EstimateJSONBody) MergeChangesetEstimateIn ¶
func (t *EstimateJSONBody) MergeChangesetEstimateIn(v ChangesetEstimateIn) error
MergeChangesetEstimateIn performs a merge with any union data inside the EstimateJSONBody, using the provided ChangesetEstimateIn
func (*EstimateJSONBody) MergeResizeEstimateIn ¶
func (t *EstimateJSONBody) MergeResizeEstimateIn(v ResizeEstimateIn) error
MergeResizeEstimateIn performs a merge with any union data inside the EstimateJSONBody, using the provided ResizeEstimateIn
func (*EstimateJSONBody) MergeResourceEstimateIn ¶
func (t *EstimateJSONBody) MergeResourceEstimateIn(v ResourceEstimateIn) error
MergeResourceEstimateIn performs a merge with any union data inside the EstimateJSONBody, using the provided ResourceEstimateIn
func (*EstimateJSONBody) UnmarshalJSON ¶
func (t *EstimateJSONBody) UnmarshalJSON(b []byte) error
func (EstimateJSONBody) ValueByDiscriminator ¶
func (t EstimateJSONBody) ValueByDiscriminator() (interface{}, error)
type EstimateJSONRequestBody ¶
type EstimateJSONRequestBody EstimateJSONBody
EstimateJSONRequestBody defines body for Estimate for application/json ContentType.
type EstimateLineOut ¶
type EstimateLineOut struct {
Action EstimateLineOutAction `json:"action"`
BillsWhileStopped bool `json:"bills_while_stopped"`
// CurrentMonthly Today, for resizes and changesets
CurrentMonthly *string `json:"current_monthly"`
Detail string `json:"detail"`
// Included Covered by the plan the organization already pays for
Included bool `json:"included"`
// Kind A resource kind, service for applications, workers and jobs, or volume
Kind string `json:"kind"`
Label string `json:"label"`
// Monthly After the change. Null when the catalogue has no price for it.
Monthly *string `json:"monthly"`
// Resource The resource's name, when it has one
Resource *string `json:"resource"`
// Sku The tier or server size it is priced at
Sku *string `json:"sku"`
}
EstimateLineOut defines model for EstimateLineOut.
type EstimateLineOutAction ¶
type EstimateLineOutAction string
EstimateLineOutAction defines model for EstimateLineOut.Action.
const ( EstimateLineOutActionCreate EstimateLineOutAction = "create" EstimateLineOutActionDelete EstimateLineOutAction = "delete" EstimateLineOutActionUpdate EstimateLineOutAction = "update" )
Defines values for EstimateLineOutAction.
func (EstimateLineOutAction) Valid ¶
func (e EstimateLineOutAction) Valid() bool
Valid indicates whether the value is a known member of the EstimateLineOutAction enum.
type EstimateOut ¶
type EstimateOut struct {
// Change monthly minus current_monthly
Change *string `json:"change"`
Currency string `json:"currency"`
// CurrentMonthly Resizes and changesets: the same resources today
CurrentMonthly *string `json:"current_monthly"`
Hypothesis bool `json:"hypothesis"`
Included []string `json:"included"`
Lines []EstimateLineOut `json:"lines"`
// Metered Usage charged on top, which the monthly figure leaves out
Metered []MeteredChargeOut `json:"metered"`
// Monthly The monthly equivalent (730 hours) of what is proposed
Monthly string `json:"monthly"`
// Plan The plan the estimate counts allowances from, when known
Plan *string `json:"plan"`
// Warnings Limits of the plan the proposal goes beyond, and anything unpriced
Warnings []string `json:"warnings"`
// WhileStopped The part of monthly that goes on being charged while stopped
WhileStopped string `json:"while_stopped"`
WhileStoppedNotes []string `json:"while_stopped_notes"`
}
EstimateOut An estimate at the catalogue's prices. Prices are a hypothesis during the pilot, and usage that depends on traffic is listed in `metered` rather than guessed.
type EstimateResponse ¶
type EstimateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EstimateOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseEstimateResponse ¶
func ParseEstimateResponse(rsp *http.Response) (*EstimateResponse, error)
ParseEstimateResponse parses an HTTP response from a EstimateWithResponse call
func (EstimateResponse) ContentType ¶
func (r EstimateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EstimateResponse) GetBody ¶
func (r EstimateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EstimateResponse) GetJSON4XX ¶
func (r EstimateResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (EstimateResponse) GetJSON5XX ¶
func (r EstimateResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (EstimateResponse) GetJSON200 ¶
func (r EstimateResponse) GetJSON200() *EstimateOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EstimateResponse) Status ¶
func (r EstimateResponse) Status() string
Status returns HTTPResponse.Status
func (EstimateResponse) StatusCode ¶
func (r EstimateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Features ¶
type Features struct {
AiGateway *bool `json:"ai_gateway,omitempty"`
// Gpu Whether GPU instances can be provisioned. False until capacity exists.
Gpu *bool `json:"gpu,omitempty"`
// GpuWaitlist Whether the GPU waitlist and waitlisted inference endpoints can be used
GpuWaitlist *bool `json:"gpu_waitlist,omitempty"`
Vps *bool `json:"vps,omitempty"`
}
Features defines model for Features.
type FirewallOut ¶
type FirewallOut struct {
// HasNetwork False until the environment has its first KVM server, which is when it gets a private network
HasNetwork bool `json:"has_network"`
// Range The private network's range, such as 10.64.0.0/16
Range *string `json:"range"`
Revision int `json:"revision"`
Rules []FirewallRule `json:"rules"`
}
FirewallOut defines model for FirewallOut.
type FirewallRule ¶
type FirewallRule struct {
Action FirewallRuleAction `json:"action"`
// Ports One port or a range such as 8000-8100, for tcp and udp
Ports *string `json:"ports,omitempty"`
Priority int `json:"priority"`
// Protocol Leave it out for every protocol
Protocol *FirewallRuleProtocol `json:"protocol,omitempty"`
// Source `vpc` for the network's own servers, `any`, or an IPv4 prefix such as 203.0.113.0/24
Source string `json:"source"`
// Target An IPv4 prefix inside the network, such as one server's private address with /32. Leave it out for every server
Target *string `json:"target,omitempty"`
}
FirewallRule One inbound rule on an environment's private network. The rule with the lowest priority that matches a new connection decides it, and a connection that no rule matches is dropped.
type FirewallRuleAction ¶
type FirewallRuleAction string
FirewallRuleAction defines model for FirewallRule.Action.
const ( Allow FirewallRuleAction = "allow" Deny FirewallRuleAction = "deny" )
Defines values for FirewallRuleAction.
func (FirewallRuleAction) Valid ¶
func (e FirewallRuleAction) Valid() bool
Valid indicates whether the value is a known member of the FirewallRuleAction enum.
type FirewallRuleProtocol ¶
type FirewallRuleProtocol string
FirewallRuleProtocol defines model for FirewallRule.Protocol.
const ( Icmp FirewallRuleProtocol = "icmp" Tcp FirewallRuleProtocol = "tcp" Udp FirewallRuleProtocol = "udp" )
Defines values for FirewallRuleProtocol.
func (FirewallRuleProtocol) Valid ¶
func (e FirewallRuleProtocol) Valid() bool
Valid indicates whether the value is a known member of the FirewallRuleProtocol enum.
type GetAiMetricsParams ¶
type GetAiMetricsParams struct {
Start *openapi_types.Date `form:"start,omitempty" json:"start,omitempty"`
End *openapi_types.Date `form:"end,omitempty" json:"end,omitempty"`
ProjectId *openapi_types.UUID `form:"project_id,omitempty" json:"project_id,omitempty"`
}
GetAiMetricsParams defines parameters for GetAiMetrics.
type GetAiMetricsResponse ¶
type GetAiMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AiMetricsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetAiMetricsResponse ¶
func ParseGetAiMetricsResponse(rsp *http.Response) (*GetAiMetricsResponse, error)
ParseGetAiMetricsResponse parses an HTTP response from a GetAiMetricsWithResponse call
func (GetAiMetricsResponse) ContentType ¶
func (r GetAiMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAiMetricsResponse) GetBody ¶
func (r GetAiMetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAiMetricsResponse) GetJSON4XX ¶
func (r GetAiMetricsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetAiMetricsResponse) GetJSON5XX ¶
func (r GetAiMetricsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetAiMetricsResponse) GetJSON200 ¶
func (r GetAiMetricsResponse) GetJSON200() *AiMetricsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAiMetricsResponse) Status ¶
func (r GetAiMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAiMetricsResponse) StatusCode ¶
func (r GetAiMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAiPolicyResponse ¶
type GetAiPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoutingPolicyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetAiPolicyResponse ¶
func ParseGetAiPolicyResponse(rsp *http.Response) (*GetAiPolicyResponse, error)
ParseGetAiPolicyResponse parses an HTTP response from a GetAiPolicyWithResponse call
func (GetAiPolicyResponse) ContentType ¶
func (r GetAiPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAiPolicyResponse) GetBody ¶
func (r GetAiPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAiPolicyResponse) GetJSON4XX ¶
func (r GetAiPolicyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetAiPolicyResponse) GetJSON5XX ¶
func (r GetAiPolicyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetAiPolicyResponse) GetJSON200 ¶
func (r GetAiPolicyResponse) GetJSON200() *RoutingPolicyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAiPolicyResponse) Status ¶
func (r GetAiPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (GetAiPolicyResponse) StatusCode ¶
func (r GetAiPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAiPrivacyResponse ¶
type GetAiPrivacyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PrivacyPolicyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetAiPrivacyResponse ¶
func ParseGetAiPrivacyResponse(rsp *http.Response) (*GetAiPrivacyResponse, error)
ParseGetAiPrivacyResponse parses an HTTP response from a GetAiPrivacyWithResponse call
func (GetAiPrivacyResponse) ContentType ¶
func (r GetAiPrivacyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAiPrivacyResponse) GetBody ¶
func (r GetAiPrivacyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAiPrivacyResponse) GetJSON4XX ¶
func (r GetAiPrivacyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetAiPrivacyResponse) GetJSON5XX ¶
func (r GetAiPrivacyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetAiPrivacyResponse) GetJSON200 ¶
func (r GetAiPrivacyResponse) GetJSON200() *PrivacyPolicyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAiPrivacyResponse) Status ¶
func (r GetAiPrivacyResponse) Status() string
Status returns HTTPResponse.Status
func (GetAiPrivacyResponse) StatusCode ¶
func (r GetAiPrivacyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAnalyticsSummaryParams ¶
type GetAnalyticsSummaryParams struct {
// Start First day, inclusive. Defaults to 29 days before end.
Start *openapi_types.Date `form:"start,omitempty" json:"start,omitempty"`
// End Last day, inclusive (UTC). Defaults to today.
End *openapi_types.Date `form:"end,omitempty" json:"end,omitempty"`
Top *int `form:"top,omitempty" json:"top,omitempty"`
}
GetAnalyticsSummaryParams defines parameters for GetAnalyticsSummary.
type GetAnalyticsSummaryResponse ¶
type GetAnalyticsSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AnalyticsSummary
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetAnalyticsSummaryResponse ¶
func ParseGetAnalyticsSummaryResponse(rsp *http.Response) (*GetAnalyticsSummaryResponse, error)
ParseGetAnalyticsSummaryResponse parses an HTTP response from a GetAnalyticsSummaryWithResponse call
func (GetAnalyticsSummaryResponse) ContentType ¶
func (r GetAnalyticsSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAnalyticsSummaryResponse) GetBody ¶
func (r GetAnalyticsSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAnalyticsSummaryResponse) GetJSON4XX ¶
func (r GetAnalyticsSummaryResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetAnalyticsSummaryResponse) GetJSON5XX ¶
func (r GetAnalyticsSummaryResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetAnalyticsSummaryResponse) GetJSON200 ¶
func (r GetAnalyticsSummaryResponse) GetJSON200() *AnalyticsSummary
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAnalyticsSummaryResponse) Status ¶
func (r GetAnalyticsSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetAnalyticsSummaryResponse) StatusCode ¶
func (r GetAnalyticsSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAnnouncementResponse ¶
type GetAnnouncementResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AnnouncementOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetAnnouncementResponse ¶
func ParseGetAnnouncementResponse(rsp *http.Response) (*GetAnnouncementResponse, error)
ParseGetAnnouncementResponse parses an HTTP response from a GetAnnouncementWithResponse call
func (GetAnnouncementResponse) ContentType ¶
func (r GetAnnouncementResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAnnouncementResponse) GetBody ¶
func (r GetAnnouncementResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAnnouncementResponse) GetJSON4XX ¶
func (r GetAnnouncementResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetAnnouncementResponse) GetJSON5XX ¶
func (r GetAnnouncementResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetAnnouncementResponse) GetJSON200 ¶
func (r GetAnnouncementResponse) GetJSON200() *AnnouncementOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAnnouncementResponse) Status ¶
func (r GetAnnouncementResponse) Status() string
Status returns HTTPResponse.Status
func (GetAnnouncementResponse) StatusCode ¶
func (r GetAnnouncementResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupResponse ¶
type GetBackupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BackupOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetBackupResponse ¶
func ParseGetBackupResponse(rsp *http.Response) (*GetBackupResponse, error)
ParseGetBackupResponse parses an HTTP response from a GetBackupWithResponse call
func (GetBackupResponse) ContentType ¶
func (r GetBackupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBackupResponse) GetBody ¶
func (r GetBackupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBackupResponse) GetJSON4XX ¶
func (r GetBackupResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetBackupResponse) GetJSON5XX ¶
func (r GetBackupResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetBackupResponse) GetJSON200 ¶
func (r GetBackupResponse) GetJSON200() *BackupOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBackupResponse) Status ¶
func (r GetBackupResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupResponse) StatusCode ¶
func (r GetBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBillingCheckoutResponse ¶
type GetBillingCheckoutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckoutOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetBillingCheckoutResponse ¶
func ParseGetBillingCheckoutResponse(rsp *http.Response) (*GetBillingCheckoutResponse, error)
ParseGetBillingCheckoutResponse parses an HTTP response from a GetBillingCheckoutWithResponse call
func (GetBillingCheckoutResponse) ContentType ¶
func (r GetBillingCheckoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBillingCheckoutResponse) GetBody ¶
func (r GetBillingCheckoutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBillingCheckoutResponse) GetJSON4XX ¶
func (r GetBillingCheckoutResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetBillingCheckoutResponse) GetJSON5XX ¶
func (r GetBillingCheckoutResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetBillingCheckoutResponse) GetJSON200 ¶
func (r GetBillingCheckoutResponse) GetJSON200() *CheckoutOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBillingCheckoutResponse) Status ¶
func (r GetBillingCheckoutResponse) Status() string
Status returns HTTPResponse.Status
func (GetBillingCheckoutResponse) StatusCode ¶
func (r GetBillingCheckoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBillingDetailsResponse ¶
type GetBillingDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BillingDetailsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetBillingDetailsResponse ¶
func ParseGetBillingDetailsResponse(rsp *http.Response) (*GetBillingDetailsResponse, error)
ParseGetBillingDetailsResponse parses an HTTP response from a GetBillingDetailsWithResponse call
func (GetBillingDetailsResponse) ContentType ¶
func (r GetBillingDetailsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBillingDetailsResponse) GetBody ¶
func (r GetBillingDetailsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBillingDetailsResponse) GetJSON4XX ¶
func (r GetBillingDetailsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetBillingDetailsResponse) GetJSON5XX ¶
func (r GetBillingDetailsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetBillingDetailsResponse) GetJSON200 ¶
func (r GetBillingDetailsResponse) GetJSON200() *BillingDetailsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBillingDetailsResponse) Status ¶
func (r GetBillingDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (GetBillingDetailsResponse) StatusCode ¶
func (r GetBillingDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCanvasParams ¶
type GetCanvasParams struct {
EnvironmentId *openapi_types.UUID `form:"environment_id,omitempty" json:"environment_id,omitempty"`
}
GetCanvasParams defines parameters for GetCanvas.
type GetCanvasResponse ¶
type GetCanvasResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CanvasOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetCanvasResponse ¶
func ParseGetCanvasResponse(rsp *http.Response) (*GetCanvasResponse, error)
ParseGetCanvasResponse parses an HTTP response from a GetCanvasWithResponse call
func (GetCanvasResponse) ContentType ¶
func (r GetCanvasResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCanvasResponse) GetBody ¶
func (r GetCanvasResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCanvasResponse) GetJSON4XX ¶
func (r GetCanvasResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetCanvasResponse) GetJSON5XX ¶
func (r GetCanvasResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetCanvasResponse) GetJSON200 ¶
func (r GetCanvasResponse) GetJSON200() *CanvasOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCanvasResponse) Status ¶
func (r GetCanvasResponse) Status() string
Status returns HTTPResponse.Status
func (GetCanvasResponse) StatusCode ¶
func (r GetCanvasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChangesetResponse ¶
type GetChangesetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetChangesetResponse ¶
func ParseGetChangesetResponse(rsp *http.Response) (*GetChangesetResponse, error)
ParseGetChangesetResponse parses an HTTP response from a GetChangesetWithResponse call
func (GetChangesetResponse) ContentType ¶
func (r GetChangesetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetChangesetResponse) GetBody ¶
func (r GetChangesetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetChangesetResponse) GetJSON4XX ¶
func (r GetChangesetResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetChangesetResponse) GetJSON5XX ¶
func (r GetChangesetResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetChangesetResponse) GetJSON200 ¶
func (r GetChangesetResponse) GetJSON200() *ChangesetOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetChangesetResponse) Status ¶
func (r GetChangesetResponse) Status() string
Status returns HTTPResponse.Status
func (GetChangesetResponse) StatusCode ¶
func (r GetChangesetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCliLoginResponse ¶
type GetCliLoginResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CliLoginOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetCliLoginResponse ¶
func ParseGetCliLoginResponse(rsp *http.Response) (*GetCliLoginResponse, error)
ParseGetCliLoginResponse parses an HTTP response from a GetCliLoginWithResponse call
func (GetCliLoginResponse) ContentType ¶
func (r GetCliLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCliLoginResponse) GetBody ¶
func (r GetCliLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCliLoginResponse) GetJSON4XX ¶
func (r GetCliLoginResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetCliLoginResponse) GetJSON5XX ¶
func (r GetCliLoginResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetCliLoginResponse) GetJSON200 ¶
func (r GetCliLoginResponse) GetJSON200() *CliLoginOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCliLoginResponse) Status ¶
func (r GetCliLoginResponse) Status() string
Status returns HTTPResponse.Status
func (GetCliLoginResponse) StatusCode ¶
func (r GetCliLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCsrfTokenResponse ¶
type GetCsrfTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CsrfResponse
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetCsrfTokenResponse ¶
func ParseGetCsrfTokenResponse(rsp *http.Response) (*GetCsrfTokenResponse, error)
ParseGetCsrfTokenResponse parses an HTTP response from a GetCsrfTokenWithResponse call
func (GetCsrfTokenResponse) ContentType ¶
func (r GetCsrfTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCsrfTokenResponse) GetBody ¶
func (r GetCsrfTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCsrfTokenResponse) GetJSON4XX ¶
func (r GetCsrfTokenResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetCsrfTokenResponse) GetJSON5XX ¶
func (r GetCsrfTokenResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetCsrfTokenResponse) GetJSON200 ¶
func (r GetCsrfTokenResponse) GetJSON200() *CsrfResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCsrfTokenResponse) Status ¶
func (r GetCsrfTokenResponse) Status() string
Status returns HTTPResponse.Status
func (GetCsrfTokenResponse) StatusCode ¶
func (r GetCsrfTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentLogsParams ¶
type GetDeploymentLogsParams struct {
After *int `form:"after,omitempty" json:"after,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetDeploymentLogsParams defines parameters for GetDeploymentLogs.
type GetDeploymentLogsResponse ¶
type GetDeploymentLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentLogPage
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetDeploymentLogsResponse ¶
func ParseGetDeploymentLogsResponse(rsp *http.Response) (*GetDeploymentLogsResponse, error)
ParseGetDeploymentLogsResponse parses an HTTP response from a GetDeploymentLogsWithResponse call
func (GetDeploymentLogsResponse) ContentType ¶
func (r GetDeploymentLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeploymentLogsResponse) GetBody ¶
func (r GetDeploymentLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeploymentLogsResponse) GetJSON4XX ¶
func (r GetDeploymentLogsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetDeploymentLogsResponse) GetJSON5XX ¶
func (r GetDeploymentLogsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetDeploymentLogsResponse) GetJSON200 ¶
func (r GetDeploymentLogsResponse) GetJSON200() *DeploymentLogPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeploymentLogsResponse) Status ¶
func (r GetDeploymentLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentLogsResponse) StatusCode ¶
func (r GetDeploymentLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentResponse ¶
type GetDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetDeploymentResponse ¶
func ParseGetDeploymentResponse(rsp *http.Response) (*GetDeploymentResponse, error)
ParseGetDeploymentResponse parses an HTTP response from a GetDeploymentWithResponse call
func (GetDeploymentResponse) ContentType ¶
func (r GetDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeploymentResponse) GetBody ¶
func (r GetDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeploymentResponse) GetJSON4XX ¶
func (r GetDeploymentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetDeploymentResponse) GetJSON5XX ¶
func (r GetDeploymentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetDeploymentResponse) GetJSON200 ¶
func (r GetDeploymentResponse) GetJSON200() *DeploymentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeploymentResponse) Status ¶
func (r GetDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentResponse) StatusCode ¶
func (r GetDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentChangesetResponse ¶
type GetEnvironmentChangesetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetEnvironmentChangesetResponse ¶
func ParseGetEnvironmentChangesetResponse(rsp *http.Response) (*GetEnvironmentChangesetResponse, error)
ParseGetEnvironmentChangesetResponse parses an HTTP response from a GetEnvironmentChangesetWithResponse call
func (GetEnvironmentChangesetResponse) ContentType ¶
func (r GetEnvironmentChangesetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEnvironmentChangesetResponse) GetBody ¶
func (r GetEnvironmentChangesetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEnvironmentChangesetResponse) GetJSON4XX ¶
func (r GetEnvironmentChangesetResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetEnvironmentChangesetResponse) GetJSON5XX ¶
func (r GetEnvironmentChangesetResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetEnvironmentChangesetResponse) GetJSON200 ¶
func (r GetEnvironmentChangesetResponse) GetJSON200() *ChangesetOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEnvironmentChangesetResponse) Status ¶
func (r GetEnvironmentChangesetResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentChangesetResponse) StatusCode ¶
func (r GetEnvironmentChangesetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentFirewallResponse ¶
type GetEnvironmentFirewallResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FirewallOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetEnvironmentFirewallResponse ¶
func ParseGetEnvironmentFirewallResponse(rsp *http.Response) (*GetEnvironmentFirewallResponse, error)
ParseGetEnvironmentFirewallResponse parses an HTTP response from a GetEnvironmentFirewallWithResponse call
func (GetEnvironmentFirewallResponse) ContentType ¶
func (r GetEnvironmentFirewallResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEnvironmentFirewallResponse) GetBody ¶
func (r GetEnvironmentFirewallResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEnvironmentFirewallResponse) GetJSON4XX ¶
func (r GetEnvironmentFirewallResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetEnvironmentFirewallResponse) GetJSON5XX ¶
func (r GetEnvironmentFirewallResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetEnvironmentFirewallResponse) GetJSON200 ¶
func (r GetEnvironmentFirewallResponse) GetJSON200() *FirewallOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEnvironmentFirewallResponse) Status ¶
func (r GetEnvironmentFirewallResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentFirewallResponse) StatusCode ¶
func (r GetEnvironmentFirewallResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentResponse ¶
type GetEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EnvironmentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetEnvironmentResponse ¶
func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)
ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call
func (GetEnvironmentResponse) ContentType ¶
func (r GetEnvironmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEnvironmentResponse) GetBody ¶
func (r GetEnvironmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEnvironmentResponse) GetJSON4XX ¶
func (r GetEnvironmentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetEnvironmentResponse) GetJSON5XX ¶
func (r GetEnvironmentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetEnvironmentResponse) GetJSON200 ¶
func (r GetEnvironmentResponse) GetJSON200() *EnvironmentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEnvironmentResponse) Status ¶
func (r GetEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentResponse) StatusCode ¶
func (r GetEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGithubInstallUrlParams ¶
type GetGithubInstallUrlParams struct {
Next *string `form:"next,omitempty" json:"next,omitempty"`
}
GetGithubInstallUrlParams defines parameters for GetGithubInstallUrl.
type GetGithubInstallUrlResponse ¶
type GetGithubInstallUrlResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InstallUrlOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetGithubInstallUrlResponse ¶
func ParseGetGithubInstallUrlResponse(rsp *http.Response) (*GetGithubInstallUrlResponse, error)
ParseGetGithubInstallUrlResponse parses an HTTP response from a GetGithubInstallUrlWithResponse call
func (GetGithubInstallUrlResponse) ContentType ¶
func (r GetGithubInstallUrlResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGithubInstallUrlResponse) GetBody ¶
func (r GetGithubInstallUrlResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGithubInstallUrlResponse) GetJSON4XX ¶
func (r GetGithubInstallUrlResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetGithubInstallUrlResponse) GetJSON5XX ¶
func (r GetGithubInstallUrlResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetGithubInstallUrlResponse) GetJSON200 ¶
func (r GetGithubInstallUrlResponse) GetJSON200() *InstallUrlOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetGithubInstallUrlResponse) Status ¶
func (r GetGithubInstallUrlResponse) Status() string
Status returns HTTPResponse.Status
func (GetGithubInstallUrlResponse) StatusCode ¶
func (r GetGithubInstallUrlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInferenceEndpointResponse ¶
type GetInferenceEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InferenceEndpointOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetInferenceEndpointResponse ¶
func ParseGetInferenceEndpointResponse(rsp *http.Response) (*GetInferenceEndpointResponse, error)
ParseGetInferenceEndpointResponse parses an HTTP response from a GetInferenceEndpointWithResponse call
func (GetInferenceEndpointResponse) ContentType ¶
func (r GetInferenceEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetInferenceEndpointResponse) GetBody ¶
func (r GetInferenceEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetInferenceEndpointResponse) GetJSON4XX ¶
func (r GetInferenceEndpointResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetInferenceEndpointResponse) GetJSON5XX ¶
func (r GetInferenceEndpointResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetInferenceEndpointResponse) GetJSON200 ¶
func (r GetInferenceEndpointResponse) GetJSON200() *InferenceEndpointOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetInferenceEndpointResponse) Status ¶
func (r GetInferenceEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (GetInferenceEndpointResponse) StatusCode ¶
func (r GetInferenceEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInvoiceResponse ¶
type GetInvoiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvoiceOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetInvoiceResponse ¶
func ParseGetInvoiceResponse(rsp *http.Response) (*GetInvoiceResponse, error)
ParseGetInvoiceResponse parses an HTTP response from a GetInvoiceWithResponse call
func (GetInvoiceResponse) ContentType ¶
func (r GetInvoiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetInvoiceResponse) GetBody ¶
func (r GetInvoiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetInvoiceResponse) GetJSON4XX ¶
func (r GetInvoiceResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetInvoiceResponse) GetJSON5XX ¶
func (r GetInvoiceResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetInvoiceResponse) GetJSON200 ¶
func (r GetInvoiceResponse) GetJSON200() *InvoiceOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetInvoiceResponse) Status ¶
func (r GetInvoiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetInvoiceResponse) StatusCode ¶
func (r GetInvoiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJobRunLogsParams ¶
type GetJobRunLogsParams struct {
After *int `form:"after,omitempty" json:"after,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetJobRunLogsParams defines parameters for GetJobRunLogs.
type GetJobRunLogsResponse ¶
type GetJobRunLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobRunLogPage
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetJobRunLogsResponse ¶
func ParseGetJobRunLogsResponse(rsp *http.Response) (*GetJobRunLogsResponse, error)
ParseGetJobRunLogsResponse parses an HTTP response from a GetJobRunLogsWithResponse call
func (GetJobRunLogsResponse) ContentType ¶
func (r GetJobRunLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetJobRunLogsResponse) GetBody ¶
func (r GetJobRunLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetJobRunLogsResponse) GetJSON4XX ¶
func (r GetJobRunLogsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetJobRunLogsResponse) GetJSON5XX ¶
func (r GetJobRunLogsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetJobRunLogsResponse) GetJSON200 ¶
func (r GetJobRunLogsResponse) GetJSON200() *JobRunLogPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetJobRunLogsResponse) Status ¶
func (r GetJobRunLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetJobRunLogsResponse) StatusCode ¶
func (r GetJobRunLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJobRunResponse ¶
type GetJobRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobRunOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetJobRunResponse ¶
func ParseGetJobRunResponse(rsp *http.Response) (*GetJobRunResponse, error)
ParseGetJobRunResponse parses an HTTP response from a GetJobRunWithResponse call
func (GetJobRunResponse) ContentType ¶
func (r GetJobRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetJobRunResponse) GetBody ¶
func (r GetJobRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetJobRunResponse) GetJSON4XX ¶
func (r GetJobRunResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetJobRunResponse) GetJSON5XX ¶
func (r GetJobRunResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetJobRunResponse) GetJSON200 ¶
func (r GetJobRunResponse) GetJSON200() *JobRunOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetJobRunResponse) Status ¶
func (r GetJobRunResponse) Status() string
Status returns HTTPResponse.Status
func (GetJobRunResponse) StatusCode ¶
func (r GetJobRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMeResponse ¶
type GetMeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MeResponse
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetMeResponse ¶
func ParseGetMeResponse(rsp *http.Response) (*GetMeResponse, error)
ParseGetMeResponse parses an HTTP response from a GetMeWithResponse call
func (GetMeResponse) ContentType ¶
func (r GetMeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMeResponse) GetBody ¶
func (r GetMeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMeResponse) GetJSON4XX ¶
func (r GetMeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetMeResponse) GetJSON5XX ¶
func (r GetMeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetMeResponse) GetJSON200 ¶
func (r GetMeResponse) GetJSON200() *MeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMeResponse) Status ¶
func (r GetMeResponse) Status() string
Status returns HTTPResponse.Status
func (GetMeResponse) StatusCode ¶
func (r GetMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNotificationPreferencesResponse ¶
type GetNotificationPreferencesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationPreferences
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetNotificationPreferencesResponse ¶
func ParseGetNotificationPreferencesResponse(rsp *http.Response) (*GetNotificationPreferencesResponse, error)
ParseGetNotificationPreferencesResponse parses an HTTP response from a GetNotificationPreferencesWithResponse call
func (GetNotificationPreferencesResponse) ContentType ¶
func (r GetNotificationPreferencesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNotificationPreferencesResponse) GetBody ¶
func (r GetNotificationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetNotificationPreferencesResponse) GetJSON4XX ¶
func (r GetNotificationPreferencesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetNotificationPreferencesResponse) GetJSON5XX ¶
func (r GetNotificationPreferencesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetNotificationPreferencesResponse) GetJSON200 ¶
func (r GetNotificationPreferencesResponse) GetJSON200() *NotificationPreferences
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetNotificationPreferencesResponse) Status ¶
func (r GetNotificationPreferencesResponse) Status() string
Status returns HTTPResponse.Status
func (GetNotificationPreferencesResponse) StatusCode ¶
func (r GetNotificationPreferencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOperationResponse ¶
type GetOperationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OperationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetOperationResponse ¶
func ParseGetOperationResponse(rsp *http.Response) (*GetOperationResponse, error)
ParseGetOperationResponse parses an HTTP response from a GetOperationWithResponse call
func (GetOperationResponse) ContentType ¶
func (r GetOperationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOperationResponse) GetBody ¶
func (r GetOperationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOperationResponse) GetJSON4XX ¶
func (r GetOperationResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetOperationResponse) GetJSON5XX ¶
func (r GetOperationResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetOperationResponse) GetJSON200 ¶
func (r GetOperationResponse) GetJSON200() *OperationOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOperationResponse) Status ¶
func (r GetOperationResponse) Status() string
Status returns HTTPResponse.Status
func (GetOperationResponse) StatusCode ¶
func (r GetOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrgOverviewResponse ¶
type GetOrgOverviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OverviewOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetOrgOverviewResponse ¶
func ParseGetOrgOverviewResponse(rsp *http.Response) (*GetOrgOverviewResponse, error)
ParseGetOrgOverviewResponse parses an HTTP response from a GetOrgOverviewWithResponse call
func (GetOrgOverviewResponse) ContentType ¶
func (r GetOrgOverviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrgOverviewResponse) GetBody ¶
func (r GetOrgOverviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrgOverviewResponse) GetJSON4XX ¶
func (r GetOrgOverviewResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetOrgOverviewResponse) GetJSON5XX ¶
func (r GetOrgOverviewResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetOrgOverviewResponse) GetJSON200 ¶
func (r GetOrgOverviewResponse) GetJSON200() *OverviewOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrgOverviewResponse) Status ¶
func (r GetOrgOverviewResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrgOverviewResponse) StatusCode ¶
func (r GetOrgOverviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrgResponse ¶
type GetOrgResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetOrgResponse ¶
func ParseGetOrgResponse(rsp *http.Response) (*GetOrgResponse, error)
ParseGetOrgResponse parses an HTTP response from a GetOrgWithResponse call
func (GetOrgResponse) ContentType ¶
func (r GetOrgResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrgResponse) GetBody ¶
func (r GetOrgResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrgResponse) GetJSON4XX ¶
func (r GetOrgResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetOrgResponse) GetJSON5XX ¶
func (r GetOrgResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetOrgResponse) GetJSON200 ¶
func (r GetOrgResponse) GetJSON200() *OrgOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrgResponse) Status ¶
func (r GetOrgResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrgResponse) StatusCode ¶
func (r GetOrgResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrgSubscriptionResponse ¶
type GetOrgSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubscriptionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetOrgSubscriptionResponse ¶
func ParseGetOrgSubscriptionResponse(rsp *http.Response) (*GetOrgSubscriptionResponse, error)
ParseGetOrgSubscriptionResponse parses an HTTP response from a GetOrgSubscriptionWithResponse call
func (GetOrgSubscriptionResponse) ContentType ¶
func (r GetOrgSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrgSubscriptionResponse) GetBody ¶
func (r GetOrgSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrgSubscriptionResponse) GetJSON4XX ¶
func (r GetOrgSubscriptionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetOrgSubscriptionResponse) GetJSON5XX ¶
func (r GetOrgSubscriptionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetOrgSubscriptionResponse) GetJSON200 ¶
func (r GetOrgSubscriptionResponse) GetJSON200() *SubscriptionOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrgSubscriptionResponse) Status ¶
func (r GetOrgSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrgSubscriptionResponse) StatusCode ¶
func (r GetOrgSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPreviewResponse ¶
type GetPreviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreviewOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetPreviewResponse ¶
func ParseGetPreviewResponse(rsp *http.Response) (*GetPreviewResponse, error)
ParseGetPreviewResponse parses an HTTP response from a GetPreviewWithResponse call
func (GetPreviewResponse) ContentType ¶
func (r GetPreviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPreviewResponse) GetBody ¶
func (r GetPreviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPreviewResponse) GetJSON4XX ¶
func (r GetPreviewResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetPreviewResponse) GetJSON5XX ¶
func (r GetPreviewResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetPreviewResponse) GetJSON200 ¶
func (r GetPreviewResponse) GetJSON200() *PreviewOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPreviewResponse) Status ¶
func (r GetPreviewResponse) Status() string
Status returns HTTPResponse.Status
func (GetPreviewResponse) StatusCode ¶
func (r GetPreviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectResponse ¶
type GetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetProjectResponse ¶
func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)
ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call
func (GetProjectResponse) ContentType ¶
func (r GetProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectResponse) GetBody ¶
func (r GetProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectResponse) GetJSON4XX ¶
func (r GetProjectResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetProjectResponse) GetJSON5XX ¶
func (r GetProjectResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetProjectResponse) GetJSON200 ¶
func (r GetProjectResponse) GetJSON200() *ProjectOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectResponse) Status ¶
func (r GetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectResponse) StatusCode ¶
func (r GetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRawEnvResponse ¶
type GetRawEnvResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RawEnvOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetRawEnvResponse ¶
func ParseGetRawEnvResponse(rsp *http.Response) (*GetRawEnvResponse, error)
ParseGetRawEnvResponse parses an HTTP response from a GetRawEnvWithResponse call
func (GetRawEnvResponse) ContentType ¶
func (r GetRawEnvResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRawEnvResponse) GetBody ¶
func (r GetRawEnvResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRawEnvResponse) GetJSON4XX ¶
func (r GetRawEnvResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetRawEnvResponse) GetJSON5XX ¶
func (r GetRawEnvResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetRawEnvResponse) GetJSON200 ¶
func (r GetRawEnvResponse) GetJSON200() *RawEnvOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRawEnvResponse) Status ¶
func (r GetRawEnvResponse) Status() string
Status returns HTTPResponse.Status
func (GetRawEnvResponse) StatusCode ¶
func (r GetRawEnvResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRawSharedVariablesResponse ¶
type GetRawSharedVariablesResponse struct {
JSON200 *RawEnvOut
JSON4XX *ErrorEnvelope
JSON5XX *ErrorEnvelope
}
func ParseGetRawSharedVariablesResponse ¶
func ParseGetRawSharedVariablesResponse(rsp *http.Response) (*GetRawSharedVariablesResponse, error)
ParseGetRawSharedVariablesResponse parses an HTTP response from a GetRawSharedVariablesWithResponse call
func (GetRawSharedVariablesResponse) ContentType ¶
func (r GetRawSharedVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRawSharedVariablesResponse) GetBody ¶
func (r GetRawSharedVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRawSharedVariablesResponse) GetJSON4XX ¶
func (r GetRawSharedVariablesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetRawSharedVariablesResponse) GetJSON5XX ¶
func (r GetRawSharedVariablesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetRawSharedVariablesResponse) GetJSON200 ¶
func (r GetRawSharedVariablesResponse) GetJSON200() *RawEnvOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRawSharedVariablesResponse) Status ¶
func (r GetRawSharedVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (GetRawSharedVariablesResponse) StatusCode ¶
func (r GetRawSharedVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResourceHttpLogsParams ¶
type GetResourceHttpLogsParams struct {
After *int `form:"after,omitempty" json:"after,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Status A code such as 404, or a class such as 5xx
Status *string `form:"status,omitempty" json:"status,omitempty"`
PathPrefix *string `form:"path_prefix,omitempty" json:"path_prefix,omitempty"`
}
GetResourceHttpLogsParams defines parameters for GetResourceHttpLogs.
type GetResourceHttpLogsResponse ¶
type GetResourceHttpLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HttpLogPage
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetResourceHttpLogsResponse ¶
func ParseGetResourceHttpLogsResponse(rsp *http.Response) (*GetResourceHttpLogsResponse, error)
ParseGetResourceHttpLogsResponse parses an HTTP response from a GetResourceHttpLogsWithResponse call
func (GetResourceHttpLogsResponse) ContentType ¶
func (r GetResourceHttpLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetResourceHttpLogsResponse) GetBody ¶
func (r GetResourceHttpLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetResourceHttpLogsResponse) GetJSON4XX ¶
func (r GetResourceHttpLogsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetResourceHttpLogsResponse) GetJSON5XX ¶
func (r GetResourceHttpLogsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetResourceHttpLogsResponse) GetJSON200 ¶
func (r GetResourceHttpLogsResponse) GetJSON200() *HttpLogPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetResourceHttpLogsResponse) Status ¶
func (r GetResourceHttpLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetResourceHttpLogsResponse) StatusCode ¶
func (r GetResourceHttpLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResourceLogsParams ¶
type GetResourceLogsParams struct {
After *int `form:"after,omitempty" json:"after,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetResourceLogsParams defines parameters for GetResourceLogs.
type GetResourceLogsResponse ¶
type GetResourceLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LogPage
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetResourceLogsResponse ¶
func ParseGetResourceLogsResponse(rsp *http.Response) (*GetResourceLogsResponse, error)
ParseGetResourceLogsResponse parses an HTTP response from a GetResourceLogsWithResponse call
func (GetResourceLogsResponse) ContentType ¶
func (r GetResourceLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetResourceLogsResponse) GetBody ¶
func (r GetResourceLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetResourceLogsResponse) GetJSON4XX ¶
func (r GetResourceLogsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetResourceLogsResponse) GetJSON5XX ¶
func (r GetResourceLogsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetResourceLogsResponse) GetJSON200 ¶
func (r GetResourceLogsResponse) GetJSON200() *LogPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetResourceLogsResponse) Status ¶
func (r GetResourceLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetResourceLogsResponse) StatusCode ¶
func (r GetResourceLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResourceMetricsParams ¶
type GetResourceMetricsParams struct {
Window *GetResourceMetricsParamsWindow `form:"window,omitempty" json:"window,omitempty"`
}
GetResourceMetricsParams defines parameters for GetResourceMetrics.
type GetResourceMetricsParamsWindow ¶
type GetResourceMetricsParamsWindow string
GetResourceMetricsParamsWindow defines parameters for GetResourceMetrics.
const ( GetResourceMetricsParamsWindowN1h GetResourceMetricsParamsWindow = "1h" GetResourceMetricsParamsWindowN24h GetResourceMetricsParamsWindow = "24h" GetResourceMetricsParamsWindowN6h GetResourceMetricsParamsWindow = "6h" GetResourceMetricsParamsWindowN7d GetResourceMetricsParamsWindow = "7d" )
Defines values for GetResourceMetricsParamsWindow.
func (GetResourceMetricsParamsWindow) Valid ¶
func (e GetResourceMetricsParamsWindow) Valid() bool
Valid indicates whether the value is a known member of the GetResourceMetricsParamsWindow enum.
type GetResourceMetricsResponse ¶
type GetResourceMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MetricsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetResourceMetricsResponse ¶
func ParseGetResourceMetricsResponse(rsp *http.Response) (*GetResourceMetricsResponse, error)
ParseGetResourceMetricsResponse parses an HTTP response from a GetResourceMetricsWithResponse call
func (GetResourceMetricsResponse) ContentType ¶
func (r GetResourceMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetResourceMetricsResponse) GetBody ¶
func (r GetResourceMetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetResourceMetricsResponse) GetJSON4XX ¶
func (r GetResourceMetricsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetResourceMetricsResponse) GetJSON5XX ¶
func (r GetResourceMetricsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetResourceMetricsResponse) GetJSON200 ¶
func (r GetResourceMetricsResponse) GetJSON200() *MetricsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetResourceMetricsResponse) Status ¶
func (r GetResourceMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetResourceMetricsResponse) StatusCode ¶
func (r GetResourceMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResourceResponse ¶
type GetResourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ResourceOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetResourceResponse ¶
func ParseGetResourceResponse(rsp *http.Response) (*GetResourceResponse, error)
ParseGetResourceResponse parses an HTTP response from a GetResourceWithResponse call
func (GetResourceResponse) ContentType ¶
func (r GetResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetResourceResponse) GetBody ¶
func (r GetResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetResourceResponse) GetJSON4XX ¶
func (r GetResourceResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetResourceResponse) GetJSON5XX ¶
func (r GetResourceResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetResourceResponse) GetJSON200 ¶
func (r GetResourceResponse) GetJSON200() *ResourceOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetResourceResponse) Status ¶
func (r GetResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetResourceResponse) StatusCode ¶
func (r GetResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServerResponse ¶
type GetServerResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetServerResponse ¶
func ParseGetServerResponse(rsp *http.Response) (*GetServerResponse, error)
ParseGetServerResponse parses an HTTP response from a GetServerWithResponse call
func (GetServerResponse) ContentType ¶
func (r GetServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServerResponse) GetBody ¶
func (r GetServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServerResponse) GetJSON4XX ¶
func (r GetServerResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetServerResponse) GetJSON5XX ¶
func (r GetServerResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetServerResponse) GetJSON200 ¶
func (r GetServerResponse) GetJSON200() *ServerOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServerResponse) Status ¶
func (r GetServerResponse) Status() string
Status returns HTTPResponse.Status
func (GetServerResponse) StatusCode ¶
func (r GetServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSpendLimitResponse ¶
type GetSpendLimitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SpendLimitOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetSpendLimitResponse ¶
func ParseGetSpendLimitResponse(rsp *http.Response) (*GetSpendLimitResponse, error)
ParseGetSpendLimitResponse parses an HTTP response from a GetSpendLimitWithResponse call
func (GetSpendLimitResponse) ContentType ¶
func (r GetSpendLimitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSpendLimitResponse) GetBody ¶
func (r GetSpendLimitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSpendLimitResponse) GetJSON4XX ¶
func (r GetSpendLimitResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetSpendLimitResponse) GetJSON5XX ¶
func (r GetSpendLimitResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetSpendLimitResponse) GetJSON200 ¶
func (r GetSpendLimitResponse) GetJSON200() *SpendLimitOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSpendLimitResponse) Status ¶
func (r GetSpendLimitResponse) Status() string
Status returns HTTPResponse.Status
func (GetSpendLimitResponse) StatusCode ¶
func (r GetSpendLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSupportTicketResponse ¶
type GetSupportTicketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MyTicketDetail
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetSupportTicketResponse ¶
func ParseGetSupportTicketResponse(rsp *http.Response) (*GetSupportTicketResponse, error)
ParseGetSupportTicketResponse parses an HTTP response from a GetSupportTicketWithResponse call
func (GetSupportTicketResponse) ContentType ¶
func (r GetSupportTicketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSupportTicketResponse) GetBody ¶
func (r GetSupportTicketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSupportTicketResponse) GetJSON4XX ¶
func (r GetSupportTicketResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetSupportTicketResponse) GetJSON5XX ¶
func (r GetSupportTicketResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetSupportTicketResponse) GetJSON200 ¶
func (r GetSupportTicketResponse) GetJSON200() *MyTicketDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSupportTicketResponse) Status ¶
func (r GetSupportTicketResponse) Status() string
Status returns HTTPResponse.Status
func (GetSupportTicketResponse) StatusCode ¶
func (r GetSupportTicketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplateResponse ¶
type GetTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TemplateOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetTemplateResponse ¶
func ParseGetTemplateResponse(rsp *http.Response) (*GetTemplateResponse, error)
ParseGetTemplateResponse parses an HTTP response from a GetTemplateWithResponse call
func (GetTemplateResponse) ContentType ¶
func (r GetTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTemplateResponse) GetBody ¶
func (r GetTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTemplateResponse) GetJSON4XX ¶
func (r GetTemplateResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetTemplateResponse) GetJSON5XX ¶
func (r GetTemplateResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetTemplateResponse) GetJSON200 ¶
func (r GetTemplateResponse) GetJSON200() *TemplateOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTemplateResponse) Status ¶
func (r GetTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplateResponse) StatusCode ¶
func (r GetTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUpcomingInvoiceResponse ¶
type GetUpcomingInvoiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvoiceOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetUpcomingInvoiceResponse ¶
func ParseGetUpcomingInvoiceResponse(rsp *http.Response) (*GetUpcomingInvoiceResponse, error)
ParseGetUpcomingInvoiceResponse parses an HTTP response from a GetUpcomingInvoiceWithResponse call
func (GetUpcomingInvoiceResponse) ContentType ¶
func (r GetUpcomingInvoiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUpcomingInvoiceResponse) GetBody ¶
func (r GetUpcomingInvoiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUpcomingInvoiceResponse) GetJSON4XX ¶
func (r GetUpcomingInvoiceResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetUpcomingInvoiceResponse) GetJSON5XX ¶
func (r GetUpcomingInvoiceResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetUpcomingInvoiceResponse) GetJSON200 ¶
func (r GetUpcomingInvoiceResponse) GetJSON200() *InvoiceOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetUpcomingInvoiceResponse) Status ¶
func (r GetUpcomingInvoiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetUpcomingInvoiceResponse) StatusCode ¶
func (r GetUpcomingInvoiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsageSummaryResponse ¶
type GetUsageSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UsageSummaryOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetUsageSummaryResponse ¶
func ParseGetUsageSummaryResponse(rsp *http.Response) (*GetUsageSummaryResponse, error)
ParseGetUsageSummaryResponse parses an HTTP response from a GetUsageSummaryWithResponse call
func (GetUsageSummaryResponse) ContentType ¶
func (r GetUsageSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUsageSummaryResponse) GetBody ¶
func (r GetUsageSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUsageSummaryResponse) GetJSON4XX ¶
func (r GetUsageSummaryResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetUsageSummaryResponse) GetJSON5XX ¶
func (r GetUsageSummaryResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetUsageSummaryResponse) GetJSON200 ¶
func (r GetUsageSummaryResponse) GetJSON200() *UsageSummaryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetUsageSummaryResponse) Status ¶
func (r GetUsageSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsageSummaryResponse) StatusCode ¶
func (r GetUsageSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVolumeResponse ¶
type GetVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppDomainsVolumesSchemasVolumeOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGetVolumeResponse ¶
func ParseGetVolumeResponse(rsp *http.Response) (*GetVolumeResponse, error)
ParseGetVolumeResponse parses an HTTP response from a GetVolumeWithResponse call
func (GetVolumeResponse) ContentType ¶
func (r GetVolumeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVolumeResponse) GetBody ¶
func (r GetVolumeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVolumeResponse) GetJSON4XX ¶
func (r GetVolumeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GetVolumeResponse) GetJSON5XX ¶
func (r GetVolumeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GetVolumeResponse) GetJSON200 ¶
func (r GetVolumeResponse) GetJSON200() *AppDomainsVolumesSchemasVolumeOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVolumeResponse) Status ¶
func (r GetVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (GetVolumeResponse) StatusCode ¶
func (r GetVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitHubSource ¶
type GitHubSource struct {
Branch string `json:"branch"`
InstallationId *int `json:"installation_id,omitempty"`
Provider *GitHubSourceProvider `json:"provider,omitempty"`
RepoFullName string `json:"repo_full_name"`
RepoId *int `json:"repo_id,omitempty"`
RootDir *string `json:"root_dir,omitempty"`
}
GitHubSource defines model for GitHubSource.
type GitHubSourceProvider ¶
type GitHubSourceProvider string
GitHubSourceProvider defines model for GitHubSource.Provider.
const (
GitHubSourceProviderGithub GitHubSourceProvider = "github"
)
Defines values for GitHubSourceProvider.
func (GitHubSourceProvider) Valid ¶
func (e GitHubSourceProvider) Valid() bool
Valid indicates whether the value is a known member of the GitHubSourceProvider enum.
type GithubLoginCallbackParams ¶
type GithubLoginCallbackParams struct {
Code *string `form:"code,omitempty" json:"code,omitempty"`
State *string `form:"state,omitempty" json:"state,omitempty"`
}
GithubLoginCallbackParams defines parameters for GithubLoginCallback.
type GithubLoginCallbackResponse ¶
type GithubLoginCallbackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGithubLoginCallbackResponse ¶
func ParseGithubLoginCallbackResponse(rsp *http.Response) (*GithubLoginCallbackResponse, error)
ParseGithubLoginCallbackResponse parses an HTTP response from a GithubLoginCallbackWithResponse call
func (GithubLoginCallbackResponse) ContentType ¶
func (r GithubLoginCallbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GithubLoginCallbackResponse) GetBody ¶
func (r GithubLoginCallbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GithubLoginCallbackResponse) GetJSON4XX ¶
func (r GithubLoginCallbackResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GithubLoginCallbackResponse) GetJSON5XX ¶
func (r GithubLoginCallbackResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GithubLoginCallbackResponse) Status ¶
func (r GithubLoginCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (GithubLoginCallbackResponse) StatusCode ¶
func (r GithubLoginCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GithubLoginStartParams ¶
type GithubLoginStartParams struct {
Next *string `form:"next,omitempty" json:"next,omitempty"`
}
GithubLoginStartParams defines parameters for GithubLoginStart.
type GithubLoginStartResponse ¶
type GithubLoginStartResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGithubLoginStartResponse ¶
func ParseGithubLoginStartResponse(rsp *http.Response) (*GithubLoginStartResponse, error)
ParseGithubLoginStartResponse parses an HTTP response from a GithubLoginStartWithResponse call
func (GithubLoginStartResponse) ContentType ¶
func (r GithubLoginStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GithubLoginStartResponse) GetBody ¶
func (r GithubLoginStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GithubLoginStartResponse) GetJSON4XX ¶
func (r GithubLoginStartResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GithubLoginStartResponse) GetJSON5XX ¶
func (r GithubLoginStartResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GithubLoginStartResponse) Status ¶
func (r GithubLoginStartResponse) Status() string
Status returns HTTPResponse.Status
func (GithubLoginStartResponse) StatusCode ¶
func (r GithubLoginStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GithubSetupAuthorizedParams ¶
type GithubSetupAuthorizedParams struct {
Code string `form:"code" json:"code"`
State string `form:"state" json:"state"`
}
GithubSetupAuthorizedParams defines parameters for GithubSetupAuthorized.
type GithubSetupAuthorizedResponse ¶
type GithubSetupAuthorizedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGithubSetupAuthorizedResponse ¶
func ParseGithubSetupAuthorizedResponse(rsp *http.Response) (*GithubSetupAuthorizedResponse, error)
ParseGithubSetupAuthorizedResponse parses an HTTP response from a GithubSetupAuthorizedWithResponse call
func (GithubSetupAuthorizedResponse) ContentType ¶
func (r GithubSetupAuthorizedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GithubSetupAuthorizedResponse) GetBody ¶
func (r GithubSetupAuthorizedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GithubSetupAuthorizedResponse) GetJSON4XX ¶
func (r GithubSetupAuthorizedResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GithubSetupAuthorizedResponse) GetJSON5XX ¶
func (r GithubSetupAuthorizedResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GithubSetupAuthorizedResponse) Status ¶
func (r GithubSetupAuthorizedResponse) Status() string
Status returns HTTPResponse.Status
func (GithubSetupAuthorizedResponse) StatusCode ¶
func (r GithubSetupAuthorizedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GithubSetupCallbackParams ¶
type GithubSetupCallbackParams struct {
InstallationId int `form:"installation_id" json:"installation_id"`
State string `form:"state" json:"state"`
SetupAction *string `form:"setup_action,omitempty" json:"setup_action,omitempty"`
}
GithubSetupCallbackParams defines parameters for GithubSetupCallback.
type GithubSetupCallbackResponse ¶
type GithubSetupCallbackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGithubSetupCallbackResponse ¶
func ParseGithubSetupCallbackResponse(rsp *http.Response) (*GithubSetupCallbackResponse, error)
ParseGithubSetupCallbackResponse parses an HTTP response from a GithubSetupCallbackWithResponse call
func (GithubSetupCallbackResponse) ContentType ¶
func (r GithubSetupCallbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GithubSetupCallbackResponse) GetBody ¶
func (r GithubSetupCallbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GithubSetupCallbackResponse) GetJSON4XX ¶
func (r GithubSetupCallbackResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GithubSetupCallbackResponse) GetJSON5XX ¶
func (r GithubSetupCallbackResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GithubSetupCallbackResponse) Status ¶
func (r GithubSetupCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (GithubSetupCallbackResponse) StatusCode ¶
func (r GithubSetupCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoogleLoginCallbackParams ¶
type GoogleLoginCallbackParams struct {
Code *string `form:"code,omitempty" json:"code,omitempty"`
State *string `form:"state,omitempty" json:"state,omitempty"`
Error *string `form:"error,omitempty" json:"error,omitempty"`
}
GoogleLoginCallbackParams defines parameters for GoogleLoginCallback.
type GoogleLoginCallbackResponse ¶
type GoogleLoginCallbackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGoogleLoginCallbackResponse ¶
func ParseGoogleLoginCallbackResponse(rsp *http.Response) (*GoogleLoginCallbackResponse, error)
ParseGoogleLoginCallbackResponse parses an HTTP response from a GoogleLoginCallbackWithResponse call
func (GoogleLoginCallbackResponse) ContentType ¶
func (r GoogleLoginCallbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GoogleLoginCallbackResponse) GetBody ¶
func (r GoogleLoginCallbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GoogleLoginCallbackResponse) GetJSON4XX ¶
func (r GoogleLoginCallbackResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GoogleLoginCallbackResponse) GetJSON5XX ¶
func (r GoogleLoginCallbackResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GoogleLoginCallbackResponse) Status ¶
func (r GoogleLoginCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (GoogleLoginCallbackResponse) StatusCode ¶
func (r GoogleLoginCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoogleLoginStartParams ¶
type GoogleLoginStartParams struct {
Next *string `form:"next,omitempty" json:"next,omitempty"`
}
GoogleLoginStartParams defines parameters for GoogleLoginStart.
type GoogleLoginStartResponse ¶
type GoogleLoginStartResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGoogleLoginStartResponse ¶
func ParseGoogleLoginStartResponse(rsp *http.Response) (*GoogleLoginStartResponse, error)
ParseGoogleLoginStartResponse parses an HTTP response from a GoogleLoginStartWithResponse call
func (GoogleLoginStartResponse) ContentType ¶
func (r GoogleLoginStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GoogleLoginStartResponse) GetBody ¶
func (r GoogleLoginStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GoogleLoginStartResponse) GetJSON4XX ¶
func (r GoogleLoginStartResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GoogleLoginStartResponse) GetJSON5XX ¶
func (r GoogleLoginStartResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GoogleLoginStartResponse) Status ¶
func (r GoogleLoginStartResponse) Status() string
Status returns HTTPResponse.Status
func (GoogleLoginStartResponse) StatusCode ¶
func (r GoogleLoginStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GpuCatalogResponse ¶
type GpuCatalogResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]GpuOfferingOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseGpuCatalogResponse ¶
func ParseGpuCatalogResponse(rsp *http.Response) (*GpuCatalogResponse, error)
ParseGpuCatalogResponse parses an HTTP response from a GpuCatalogWithResponse call
func (GpuCatalogResponse) ContentType ¶
func (r GpuCatalogResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GpuCatalogResponse) GetBody ¶
func (r GpuCatalogResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GpuCatalogResponse) GetJSON4XX ¶
func (r GpuCatalogResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (GpuCatalogResponse) GetJSON5XX ¶
func (r GpuCatalogResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (GpuCatalogResponse) GetJSON200 ¶
func (r GpuCatalogResponse) GetJSON200() *[]GpuOfferingOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GpuCatalogResponse) Status ¶
func (r GpuCatalogResponse) Status() string
Status returns HTTPResponse.Status
func (GpuCatalogResponse) StatusCode ¶
func (r GpuCatalogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GpuOfferingOut ¶
type GpuOfferingOut struct {
Availability GpuOfferingOutAvailability `json:"availability"`
// Available False for every entry until GPU capacity exists
Available bool `json:"available"`
Currency string `json:"currency"`
Description *string `json:"description,omitempty"`
DiskGb int `json:"disk_gb"`
// GpuClass l4, l40s or a100-80gb
GpuClass string `json:"gpu_class"`
GpuCount int `json:"gpu_count"`
// GpuMemoryGb GPU memory across all the instance's GPUs
GpuMemoryGb int `json:"gpu_memory_gb"`
Id string `json:"id"`
// IndicativeMonthlyPrice Null until a host quotes for the capacity
IndicativeMonthlyPrice *string `json:"indicative_monthly_price"`
IsHypothesis bool `json:"is_hypothesis"`
MemoryGib int `json:"memory_gib"`
Name string `json:"name"`
Notes *string `json:"notes"`
Vcpu int `json:"vcpu"`
}
GpuOfferingOut defines model for GpuOfferingOut.
type GpuOfferingOutAvailability ¶
type GpuOfferingOutAvailability string
GpuOfferingOutAvailability defines model for GpuOfferingOut.Availability.
const (
GpuOfferingOutAvailabilityWaitlist GpuOfferingOutAvailability = "waitlist"
)
Defines values for GpuOfferingOutAvailability.
func (GpuOfferingOutAvailability) Valid ¶
func (e GpuOfferingOutAvailability) Valid() bool
Valid indicates whether the value is a known member of the GpuOfferingOutAvailability enum.
type GpuRuntimeSpec ¶
type GpuRuntimeSpec struct {
// Image The container image to run
Image string `json:"image"`
// OfferingId An id from GET /v1/catalog/gpu-instances
OfferingId string `json:"offering_id"`
// Port A port to serve, or null for none
Port *int `json:"port,omitempty"`
RegistryCredentialId *openapi_types.UUID `json:"registry_credential_id,omitempty"`
StartCommand *string `json:"start_command,omitempty"`
}
GpuRuntimeSpec A GPU instance running a container image. Modelled so the schema is ready, and not creatable: no GPU capacity is available yet, so creating one answers 422 kind_not_available and points at the waitlist.
type HealthzResponse ¶
type HealthzResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppDomainsHealthRouterHealthOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseHealthzResponse ¶
func ParseHealthzResponse(rsp *http.Response) (*HealthzResponse, error)
ParseHealthzResponse parses an HTTP response from a HealthzWithResponse call
func (HealthzResponse) ContentType ¶
func (r HealthzResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HealthzResponse) GetBody ¶
func (r HealthzResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HealthzResponse) GetJSON4XX ¶
func (r HealthzResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (HealthzResponse) GetJSON5XX ¶
func (r HealthzResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (HealthzResponse) GetJSON200 ¶
func (r HealthzResponse) GetJSON200() *AppDomainsHealthRouterHealthOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HealthzResponse) Status ¶
func (r HealthzResponse) Status() string
Status returns HTTPResponse.Status
func (HealthzResponse) StatusCode ¶
func (r HealthzResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpLogLineOut ¶
type HttpLogLineOut struct {
Bytes int `json:"bytes"`
// ClientIpHash A salted hash of the client address; the address itself is never stored
ClientIpHash string `json:"client_ip_hash"`
DurationMs float32 `json:"duration_ms"`
Method string `json:"method"`
Path string `json:"path"`
Seq int `json:"seq"`
Status int `json:"status"`
Ts time.Time `json:"ts"`
}
HttpLogLineOut defines model for HttpLogLineOut.
type HttpLogPage ¶
type HttpLogPage struct {
EngineKind string `json:"engine_kind"`
Lines []HttpLogLineOut `json:"lines"`
NextAfter int `json:"next_after"`
Simulated bool `json:"simulated"`
}
HttpLogPage defines model for HttpLogPage.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImageGenerationIn ¶
type ImageGenerationIn struct {
Background *ImageGenerationInBackground `json:"background,omitempty"`
Model string `json:"model"`
N *int `json:"n,omitempty"`
OutputFormat *ImageGenerationInOutputFormat `json:"output_format,omitempty"`
Prompt string `json:"prompt"`
Quality *ImageGenerationInQuality `json:"quality,omitempty"`
ResponseFormat *ImageGenerationInResponseFormat `json:"response_format,omitempty"`
Size *ImageGenerationInSize `json:"size,omitempty"`
User *string `json:"user,omitempty"`
}
ImageGenerationIn OpenAI's image generation request. Images come back as base64 in `b64_json`; the gateway never stores them, so `response_format: url` answers 422 unsupported_feature.
type ImageGenerationInBackground ¶
type ImageGenerationInBackground string
ImageGenerationInBackground defines model for ImageGenerationIn.Background.
const ( ImageGenerationInBackgroundAuto ImageGenerationInBackground = "auto" ImageGenerationInBackgroundOpaque ImageGenerationInBackground = "opaque" ImageGenerationInBackgroundTransparent ImageGenerationInBackground = "transparent" )
Defines values for ImageGenerationInBackground.
func (ImageGenerationInBackground) Valid ¶
func (e ImageGenerationInBackground) Valid() bool
Valid indicates whether the value is a known member of the ImageGenerationInBackground enum.
type ImageGenerationInOutputFormat ¶
type ImageGenerationInOutputFormat string
ImageGenerationInOutputFormat defines model for ImageGenerationIn.OutputFormat.
const ( Jpeg ImageGenerationInOutputFormat = "jpeg" Png ImageGenerationInOutputFormat = "png" Webp ImageGenerationInOutputFormat = "webp" )
Defines values for ImageGenerationInOutputFormat.
func (ImageGenerationInOutputFormat) Valid ¶
func (e ImageGenerationInOutputFormat) Valid() bool
Valid indicates whether the value is a known member of the ImageGenerationInOutputFormat enum.
type ImageGenerationInQuality ¶
type ImageGenerationInQuality string
ImageGenerationInQuality defines model for ImageGenerationIn.Quality.
const ( ImageGenerationInQualityAuto ImageGenerationInQuality = "auto" ImageGenerationInQualityHigh ImageGenerationInQuality = "high" ImageGenerationInQualityLow ImageGenerationInQuality = "low" ImageGenerationInQualityMedium ImageGenerationInQuality = "medium" )
Defines values for ImageGenerationInQuality.
func (ImageGenerationInQuality) Valid ¶
func (e ImageGenerationInQuality) Valid() bool
Valid indicates whether the value is a known member of the ImageGenerationInQuality enum.
type ImageGenerationInResponseFormat ¶
type ImageGenerationInResponseFormat string
ImageGenerationInResponseFormat defines model for ImageGenerationIn.ResponseFormat.
const ( B64Json ImageGenerationInResponseFormat = "b64_json" Url ImageGenerationInResponseFormat = "url" )
Defines values for ImageGenerationInResponseFormat.
func (ImageGenerationInResponseFormat) Valid ¶
func (e ImageGenerationInResponseFormat) Valid() bool
Valid indicates whether the value is a known member of the ImageGenerationInResponseFormat enum.
type ImageGenerationInSize ¶
type ImageGenerationInSize string
ImageGenerationInSize defines model for ImageGenerationIn.Size.
const ( ImageGenerationInSizeAuto ImageGenerationInSize = "auto" ImageGenerationInSizeN1024x1024 ImageGenerationInSize = "1024x1024" ImageGenerationInSizeN1024x1536 ImageGenerationInSize = "1024x1536" ImageGenerationInSizeN1536x1024 ImageGenerationInSize = "1536x1024" )
Defines values for ImageGenerationInSize.
func (ImageGenerationInSize) Valid ¶
func (e ImageGenerationInSize) Valid() bool
Valid indicates whether the value is a known member of the ImageGenerationInSize enum.
type ImageSource ¶
type ImageSource struct {
// Image `registry/name:tag` or `registry/name@sha256:<digest>`. Docker Hub is assumed without a registry.
Image string `json:"image"`
Provider ImageSourceProvider `json:"provider"`
// RegistryCredentialId A registry credential in this organization, for private images
RegistryCredentialId *openapi_types.UUID `json:"registry_credential_id,omitempty"`
}
ImageSource defines model for ImageSource.
type ImageSourceProvider ¶
type ImageSourceProvider string
ImageSourceProvider defines model for ImageSource.Provider.
const (
ImageSourceProviderImage ImageSourceProvider = "image"
)
Defines values for ImageSourceProvider.
func (ImageSourceProvider) Valid ¶
func (e ImageSourceProvider) Valid() bool
Valid indicates whether the value is a known member of the ImageSourceProvider enum.
type InferenceEndpointIn ¶
type InferenceEndpointIn struct {
// GpuClass A gpu_class from GET /v1/catalog/gpu-instances
GpuClass string `json:"gpu_class"`
MaxReplicas *int `json:"max_replicas,omitempty"`
// MinReplicas Zero lets the endpoint scale to zero when idle
MinReplicas *int `json:"min_replicas,omitempty"`
// ModelId An open-weights model by its Hugging Face id, such as meta-llama/Llama-3.1-8B-Instruct
ModelId string `json:"model_id"`
// Name Lowercase letters, digits and dashes. The gateway model is private/<name>.
Name string `json:"name"`
// ProjectId Limit the endpoint to one project's keys
ProjectId *openapi_types.UUID `json:"project_id,omitempty"`
}
InferenceEndpointIn defines model for InferenceEndpointIn.
type InferenceEndpointOut ¶
type InferenceEndpointOut struct {
Availability InferenceEndpointOutAvailability `json:"availability"`
CreatedAt time.Time `json:"created_at"`
CreatedByUserId *openapi_types.UUID `json:"created_by_user_id"`
Description string `json:"description"`
// GatewayModel The model id to send to the AI gateway: private/<slug>
GatewayModel string `json:"gateway_model"`
GpuClass string `json:"gpu_class"`
Id openapi_types.UUID `json:"id"`
MaxReplicas int `json:"max_replicas"`
MinReplicas int `json:"min_replicas"`
ModelId string `json:"model_id"`
Name string `json:"name"`
ProjectId *openapi_types.UUID `json:"project_id"`
Slug string `json:"slug"`
State EndpointState `json:"state"`
StatusReason *string `json:"status_reason"`
UpdatedAt time.Time `json:"updated_at"`
}
InferenceEndpointOut defines model for InferenceEndpointOut.
type InferenceEndpointOutAvailability ¶
type InferenceEndpointOutAvailability string
InferenceEndpointOutAvailability defines model for InferenceEndpointOut.Availability.
const (
InferenceEndpointOutAvailabilityWaitlist InferenceEndpointOutAvailability = "waitlist"
)
Defines values for InferenceEndpointOutAvailability.
func (InferenceEndpointOutAvailability) Valid ¶
func (e InferenceEndpointOutAvailability) Valid() bool
Valid indicates whether the value is a known member of the InferenceEndpointOutAvailability enum.
type InferenceEndpointPatch ¶
type InferenceEndpointPatch struct {
GpuClass *string `json:"gpu_class,omitempty"`
MaxReplicas *int `json:"max_replicas,omitempty"`
MinReplicas *int `json:"min_replicas,omitempty"`
ModelId *string `json:"model_id,omitempty"`
}
InferenceEndpointPatch defines model for InferenceEndpointPatch.
type InstallUrlOut ¶
type InstallUrlOut struct {
// Provider `github` for the real GitHub App, `fake` for the built-in development provider
Provider string `json:"provider"`
Url string `json:"url"`
}
InstallUrlOut defines model for InstallUrlOut.
type InstallationOut ¶
type InstallationOut struct {
AccountLogin string `json:"account_login"`
AccountType string `json:"account_type"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
InstallationId int `json:"installation_id"`
Provider string `json:"provider"`
Suspended bool `json:"suspended"`
}
InstallationOut defines model for InstallationOut.
type InvitationOut ¶
type InvitationOut struct {
CreatedAt time.Time `json:"created_at"`
Email string `json:"email"`
ExpiresAt time.Time `json:"expires_at"`
Id openapi_types.UUID `json:"id"`
InvitedByName *string `json:"invited_by_name"`
InvitedByUserId *openapi_types.UUID `json:"invited_by_user_id"`
Role Role `json:"role"`
// Status Accepted and revoked invitations are not listed
Status InvitationOutStatus `json:"status"`
}
InvitationOut defines model for InvitationOut.
type InvitationOutStatus ¶
type InvitationOutStatus string
InvitationOutStatus Accepted and revoked invitations are not listed
const ( InvitationOutStatusExpired InvitationOutStatus = "expired" InvitationOutStatusPending InvitationOutStatus = "pending" )
Defines values for InvitationOutStatus.
func (InvitationOutStatus) Valid ¶
func (e InvitationOutStatus) Valid() bool
Valid indicates whether the value is a known member of the InvitationOutStatus enum.
type InvitationPreview ¶
type InvitationPreview struct {
InviterName *string `json:"inviter_name"`
OrgName string `json:"org_name"`
Role Role `json:"role"`
}
InvitationPreview defines model for InvitationPreview.
type InvoiceLineOut ¶
type InvoiceLineOut struct {
AmountMinor int `json:"amount_minor"`
Description string `json:"description"`
// Kind subscription, usage or adjustment
Kind string `json:"kind"`
Meter *string `json:"meter"`
Quantity string `json:"quantity"`
Unit *string `json:"unit"`
// UnitPriceMinor Decimal string, because usage prices can be fractions of a pesewa
UnitPriceMinor string `json:"unit_price_minor"`
}
InvoiceLineOut defines model for InvoiceLineOut.
type InvoiceOut ¶
type InvoiceOut struct {
Currency string `json:"currency"`
// DownloadUrl A plain-text rendering for now; a PDF will replace it
DownloadUrl *string `json:"download_url"`
DueAt *time.Time `json:"due_at"`
FailureReason *string `json:"failure_reason"`
// Id Null for the upcoming invoice, which is not stored yet
Id *openapi_types.UUID `json:"id"`
IssuedAt *time.Time `json:"issued_at"`
Lines []InvoiceLineOut `json:"lines"`
Number *string `json:"number"`
PaidAt *time.Time `json:"paid_at"`
PeriodEnd time.Time `json:"period_end"`
PeriodStart time.Time `json:"period_start"`
// Status draft, open, paid or void
Status string `json:"status"`
TotalMinor int `json:"total_minor"`
VoidedAt *time.Time `json:"voided_at"`
}
InvoiceOut defines model for InvoiceOut.
type InvoicePage ¶
type InvoicePage struct {
Items []InvoiceOut `json:"items"`
NextCursor *string `json:"next_cursor"`
}
InvoicePage defines model for InvoicePage.
type JobRunError ¶
JobRunError defines model for JobRunError.
type JobRunLogLine ¶
type JobRunLogLine struct {
Line string `json:"line"`
Seq int `json:"seq"`
Stream string `json:"stream"`
Ts time.Time `json:"ts"`
}
JobRunLogLine defines model for JobRunLogLine.
type JobRunLogPage ¶
type JobRunLogPage struct {
// Complete True once the run finished and every line has been returned
Complete bool `json:"complete"`
Lines []JobRunLogLine `json:"lines"`
NextAfter int `json:"next_after"`
}
JobRunLogPage defines model for JobRunLogPage.
type JobRunOut ¶
type JobRunOut struct {
ActiveOperation *ActiveOperation `json:"active_operation"`
Command string `json:"command"`
CreatedAt time.Time `json:"created_at"`
CreatedByUserId *openapi_types.UUID `json:"created_by_user_id"`
// Error Why it failed, or why a scheduled run was skipped
Error *JobRunError `json:"error"`
ExitCode *int `json:"exit_code"`
FinishedAt *time.Time `json:"finished_at"`
Id openapi_types.UUID `json:"id"`
OperationId *openapi_types.UUID `json:"operation_id"`
ResourceId openapi_types.UUID `json:"resource_id"`
// ScheduledFor The cron time the run is for; null for manual runs
ScheduledFor *time.Time `json:"scheduled_for"`
StartedAt *time.Time `json:"started_at"`
Status JobRunStatus `json:"status"`
Trigger JobRunTrigger `json:"trigger"`
}
JobRunOut defines model for JobRunOut.
type JobRunStatus ¶
type JobRunStatus string
JobRunStatus defines model for JobRunStatus.
const ( JobRunStatusCancelled JobRunStatus = "cancelled" JobRunStatusFailed JobRunStatus = "failed" JobRunStatusQueued JobRunStatus = "queued" JobRunStatusRunning JobRunStatus = "running" JobRunStatusSkipped JobRunStatus = "skipped" JobRunStatusSucceeded JobRunStatus = "succeeded" )
Defines values for JobRunStatus.
func (JobRunStatus) Valid ¶
func (e JobRunStatus) Valid() bool
Valid indicates whether the value is a known member of the JobRunStatus enum.
type JobRunTrigger ¶
type JobRunTrigger string
JobRunTrigger defines model for JobRunTrigger.
const ( JobRunTriggerManual JobRunTrigger = "manual" JobRunTriggerSchedule JobRunTrigger = "schedule" )
Defines values for JobRunTrigger.
func (JobRunTrigger) Valid ¶
func (e JobRunTrigger) Valid() bool
Valid indicates whether the value is a known member of the JobRunTrigger enum.
type LastDeployment ¶
type LastDeployment struct {
Branch *string `json:"branch"`
CommitSha *string `json:"commit_sha"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
ResourceId openapi_types.UUID `json:"resource_id"`
Status string `json:"status"`
}
LastDeployment defines model for LastDeployment.
type LeaveAMessageJSONRequestBody ¶
type LeaveAMessageJSONRequestBody = ContactIn
LeaveAMessageJSONRequestBody defines body for LeaveAMessage for application/json ContentType.
type LeaveAMessageResponse ¶
type LeaveAMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *Accepted
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseLeaveAMessageResponse ¶
func ParseLeaveAMessageResponse(rsp *http.Response) (*LeaveAMessageResponse, error)
ParseLeaveAMessageResponse parses an HTTP response from a LeaveAMessageWithResponse call
func (LeaveAMessageResponse) ContentType ¶
func (r LeaveAMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LeaveAMessageResponse) GetBody ¶
func (r LeaveAMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LeaveAMessageResponse) GetJSON4XX ¶
func (r LeaveAMessageResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (LeaveAMessageResponse) GetJSON5XX ¶
func (r LeaveAMessageResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (LeaveAMessageResponse) GetJSON202 ¶
func (r LeaveAMessageResponse) GetJSON202() *Accepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (LeaveAMessageResponse) Status ¶
func (r LeaveAMessageResponse) Status() string
Status returns HTTPResponse.Status
func (LeaveAMessageResponse) StatusCode ¶
func (r LeaveAMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAiModelsResponse ¶
type ListAiModelsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]AiModelOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListAiModelsResponse ¶
func ParseListAiModelsResponse(rsp *http.Response) (*ListAiModelsResponse, error)
ParseListAiModelsResponse parses an HTTP response from a ListAiModelsWithResponse call
func (ListAiModelsResponse) ContentType ¶
func (r ListAiModelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAiModelsResponse) GetBody ¶
func (r ListAiModelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAiModelsResponse) GetJSON4XX ¶
func (r ListAiModelsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListAiModelsResponse) GetJSON5XX ¶
func (r ListAiModelsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListAiModelsResponse) GetJSON200 ¶
func (r ListAiModelsResponse) GetJSON200() *[]AiModelOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAiModelsResponse) Status ¶
func (r ListAiModelsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAiModelsResponse) StatusCode ¶
func (r ListAiModelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAiRequestsParams ¶
type ListAiRequestsParams struct {
ProjectId *openapi_types.UUID `form:"project_id,omitempty" json:"project_id,omitempty"`
Model *string `form:"model,omitempty" json:"model,omitempty"`
Status *AiRequestStatus `form:"status,omitempty" json:"status,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAiRequestsParams defines parameters for ListAiRequests.
type ListAiRequestsResponse ¶
type ListAiRequestsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AiRequestPage
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListAiRequestsResponse ¶
func ParseListAiRequestsResponse(rsp *http.Response) (*ListAiRequestsResponse, error)
ParseListAiRequestsResponse parses an HTTP response from a ListAiRequestsWithResponse call
func (ListAiRequestsResponse) ContentType ¶
func (r ListAiRequestsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAiRequestsResponse) GetBody ¶
func (r ListAiRequestsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAiRequestsResponse) GetJSON4XX ¶
func (r ListAiRequestsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListAiRequestsResponse) GetJSON5XX ¶
func (r ListAiRequestsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListAiRequestsResponse) GetJSON200 ¶
func (r ListAiRequestsResponse) GetJSON200() *AiRequestPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAiRequestsResponse) Status ¶
func (r ListAiRequestsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAiRequestsResponse) StatusCode ¶
func (r ListAiRequestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListApiKeysResponse ¶
type ListApiKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ApiKeyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListApiKeysResponse ¶
func ParseListApiKeysResponse(rsp *http.Response) (*ListApiKeysResponse, error)
ParseListApiKeysResponse parses an HTTP response from a ListApiKeysWithResponse call
func (ListApiKeysResponse) ContentType ¶
func (r ListApiKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListApiKeysResponse) GetBody ¶
func (r ListApiKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListApiKeysResponse) GetJSON4XX ¶
func (r ListApiKeysResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListApiKeysResponse) GetJSON5XX ¶
func (r ListApiKeysResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListApiKeysResponse) GetJSON200 ¶
func (r ListApiKeysResponse) GetJSON200() *[]ApiKeyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListApiKeysResponse) Status ¶
func (r ListApiKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListApiKeysResponse) StatusCode ¶
func (r ListApiKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConnectionStringsResponse ¶
type ListConnectionStringsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ConnectionStringOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListConnectionStringsResponse ¶
func ParseListConnectionStringsResponse(rsp *http.Response) (*ListConnectionStringsResponse, error)
ParseListConnectionStringsResponse parses an HTTP response from a ListConnectionStringsWithResponse call
func (ListConnectionStringsResponse) ContentType ¶
func (r ListConnectionStringsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListConnectionStringsResponse) GetBody ¶
func (r ListConnectionStringsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListConnectionStringsResponse) GetJSON4XX ¶
func (r ListConnectionStringsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListConnectionStringsResponse) GetJSON5XX ¶
func (r ListConnectionStringsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListConnectionStringsResponse) GetJSON200 ¶
func (r ListConnectionStringsResponse) GetJSON200() *[]ConnectionStringOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListConnectionStringsResponse) Status ¶
func (r ListConnectionStringsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConnectionStringsResponse) StatusCode ¶
func (r ListConnectionStringsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConnectionsResponse ¶
type ListConnectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ConnectionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListConnectionsResponse ¶
func ParseListConnectionsResponse(rsp *http.Response) (*ListConnectionsResponse, error)
ParseListConnectionsResponse parses an HTTP response from a ListConnectionsWithResponse call
func (ListConnectionsResponse) ContentType ¶
func (r ListConnectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListConnectionsResponse) GetBody ¶
func (r ListConnectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListConnectionsResponse) GetJSON4XX ¶
func (r ListConnectionsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListConnectionsResponse) GetJSON5XX ¶
func (r ListConnectionsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListConnectionsResponse) GetJSON200 ¶
func (r ListConnectionsResponse) GetJSON200() *[]ConnectionOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListConnectionsResponse) Status ¶
func (r ListConnectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConnectionsResponse) StatusCode ¶
func (r ListConnectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDataLocationsResponse ¶
type ListDataLocationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]DataLocationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListDataLocationsResponse ¶
func ParseListDataLocationsResponse(rsp *http.Response) (*ListDataLocationsResponse, error)
ParseListDataLocationsResponse parses an HTTP response from a ListDataLocationsWithResponse call
func (ListDataLocationsResponse) ContentType ¶
func (r ListDataLocationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDataLocationsResponse) GetBody ¶
func (r ListDataLocationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDataLocationsResponse) GetJSON4XX ¶
func (r ListDataLocationsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListDataLocationsResponse) GetJSON5XX ¶
func (r ListDataLocationsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListDataLocationsResponse) GetJSON200 ¶
func (r ListDataLocationsResponse) GetJSON200() *[]DataLocationOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDataLocationsResponse) Status ¶
func (r ListDataLocationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDataLocationsResponse) StatusCode ¶
func (r ListDataLocationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseBackupsParams ¶
type ListDatabaseBackupsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListDatabaseBackupsParams defines parameters for ListDatabaseBackups.
type ListDatabaseBackupsResponse ¶
type ListDatabaseBackupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]BackupOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListDatabaseBackupsResponse ¶
func ParseListDatabaseBackupsResponse(rsp *http.Response) (*ListDatabaseBackupsResponse, error)
ParseListDatabaseBackupsResponse parses an HTTP response from a ListDatabaseBackupsWithResponse call
func (ListDatabaseBackupsResponse) ContentType ¶
func (r ListDatabaseBackupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDatabaseBackupsResponse) GetBody ¶
func (r ListDatabaseBackupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDatabaseBackupsResponse) GetJSON4XX ¶
func (r ListDatabaseBackupsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListDatabaseBackupsResponse) GetJSON5XX ¶
func (r ListDatabaseBackupsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListDatabaseBackupsResponse) GetJSON200 ¶
func (r ListDatabaseBackupsResponse) GetJSON200() *[]BackupOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDatabaseBackupsResponse) Status ¶
func (r ListDatabaseBackupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseBackupsResponse) StatusCode ¶
func (r ListDatabaseBackupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseTablesResponse ¶
type ListDatabaseTablesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TablesOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListDatabaseTablesResponse ¶
func ParseListDatabaseTablesResponse(rsp *http.Response) (*ListDatabaseTablesResponse, error)
ParseListDatabaseTablesResponse parses an HTTP response from a ListDatabaseTablesWithResponse call
func (ListDatabaseTablesResponse) ContentType ¶
func (r ListDatabaseTablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDatabaseTablesResponse) GetBody ¶
func (r ListDatabaseTablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDatabaseTablesResponse) GetJSON4XX ¶
func (r ListDatabaseTablesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListDatabaseTablesResponse) GetJSON5XX ¶
func (r ListDatabaseTablesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListDatabaseTablesResponse) GetJSON200 ¶
func (r ListDatabaseTablesResponse) GetJSON200() *TablesOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDatabaseTablesResponse) Status ¶
func (r ListDatabaseTablesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseTablesResponse) StatusCode ¶
func (r ListDatabaseTablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDomainsResponse ¶
type ListDomainsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]DomainOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListDomainsResponse ¶
func ParseListDomainsResponse(rsp *http.Response) (*ListDomainsResponse, error)
ParseListDomainsResponse parses an HTTP response from a ListDomainsWithResponse call
func (ListDomainsResponse) ContentType ¶
func (r ListDomainsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDomainsResponse) GetBody ¶
func (r ListDomainsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDomainsResponse) GetJSON4XX ¶
func (r ListDomainsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListDomainsResponse) GetJSON5XX ¶
func (r ListDomainsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListDomainsResponse) GetJSON200 ¶
func (r ListDomainsResponse) GetJSON200() *[]DomainOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDomainsResponse) Status ¶
func (r ListDomainsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDomainsResponse) StatusCode ¶
func (r ListDomainsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEnvResponse ¶
type ListEnvResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]EnvVarOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListEnvResponse ¶
func ParseListEnvResponse(rsp *http.Response) (*ListEnvResponse, error)
ParseListEnvResponse parses an HTTP response from a ListEnvWithResponse call
func (ListEnvResponse) ContentType ¶
func (r ListEnvResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListEnvResponse) GetBody ¶
func (r ListEnvResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListEnvResponse) GetJSON4XX ¶
func (r ListEnvResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListEnvResponse) GetJSON5XX ¶
func (r ListEnvResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListEnvResponse) GetJSON200 ¶
func (r ListEnvResponse) GetJSON200() *[]EnvVarOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListEnvResponse) Status ¶
func (r ListEnvResponse) Status() string
Status returns HTTPResponse.Status
func (ListEnvResponse) StatusCode ¶
func (r ListEnvResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEnvironmentChangesetsParams ¶
type ListEnvironmentChangesetsParams struct {
Status *ChangesetStatus `form:"status,omitempty" json:"status,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListEnvironmentChangesetsParams defines parameters for ListEnvironmentChangesets.
type ListEnvironmentChangesetsResponse ¶
type ListEnvironmentChangesetsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListEnvironmentChangesetsResponse ¶
func ParseListEnvironmentChangesetsResponse(rsp *http.Response) (*ListEnvironmentChangesetsResponse, error)
ParseListEnvironmentChangesetsResponse parses an HTTP response from a ListEnvironmentChangesetsWithResponse call
func (ListEnvironmentChangesetsResponse) ContentType ¶
func (r ListEnvironmentChangesetsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListEnvironmentChangesetsResponse) GetBody ¶
func (r ListEnvironmentChangesetsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListEnvironmentChangesetsResponse) GetJSON4XX ¶
func (r ListEnvironmentChangesetsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListEnvironmentChangesetsResponse) GetJSON5XX ¶
func (r ListEnvironmentChangesetsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListEnvironmentChangesetsResponse) GetJSON200 ¶
func (r ListEnvironmentChangesetsResponse) GetJSON200() *[]ChangesetOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListEnvironmentChangesetsResponse) Status ¶
func (r ListEnvironmentChangesetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEnvironmentChangesetsResponse) StatusCode ¶
func (r ListEnvironmentChangesetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]EnvironmentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListEnvironmentsResponse ¶
func ParseListEnvironmentsResponse(rsp *http.Response) (*ListEnvironmentsResponse, error)
ParseListEnvironmentsResponse parses an HTTP response from a ListEnvironmentsWithResponse call
func (ListEnvironmentsResponse) ContentType ¶
func (r ListEnvironmentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListEnvironmentsResponse) GetBody ¶
func (r ListEnvironmentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListEnvironmentsResponse) GetJSON4XX ¶
func (r ListEnvironmentsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListEnvironmentsResponse) GetJSON5XX ¶
func (r ListEnvironmentsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListEnvironmentsResponse) GetJSON200 ¶
func (r ListEnvironmentsResponse) GetJSON200() *[]EnvironmentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListEnvironmentsResponse) Status ¶
func (r ListEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEnvironmentsResponse) StatusCode ¶
func (r ListEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGatewayModelsResponse ¶
type ListGatewayModelsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OpenAiModelList
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListGatewayModelsResponse ¶
func ParseListGatewayModelsResponse(rsp *http.Response) (*ListGatewayModelsResponse, error)
ParseListGatewayModelsResponse parses an HTTP response from a ListGatewayModelsWithResponse call
func (ListGatewayModelsResponse) ContentType ¶
func (r ListGatewayModelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListGatewayModelsResponse) GetBody ¶
func (r ListGatewayModelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListGatewayModelsResponse) GetJSON4XX ¶
func (r ListGatewayModelsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListGatewayModelsResponse) GetJSON5XX ¶
func (r ListGatewayModelsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListGatewayModelsResponse) GetJSON200 ¶
func (r ListGatewayModelsResponse) GetJSON200() *OpenAiModelList
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListGatewayModelsResponse) Status ¶
func (r ListGatewayModelsResponse) Status() string
Status returns HTTPResponse.Status
func (ListGatewayModelsResponse) StatusCode ¶
func (r ListGatewayModelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGithubBranchesResponse ¶
type ListGithubBranchesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]BranchOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListGithubBranchesResponse ¶
func ParseListGithubBranchesResponse(rsp *http.Response) (*ListGithubBranchesResponse, error)
ParseListGithubBranchesResponse parses an HTTP response from a ListGithubBranchesWithResponse call
func (ListGithubBranchesResponse) ContentType ¶
func (r ListGithubBranchesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListGithubBranchesResponse) GetBody ¶
func (r ListGithubBranchesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListGithubBranchesResponse) GetJSON4XX ¶
func (r ListGithubBranchesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListGithubBranchesResponse) GetJSON5XX ¶
func (r ListGithubBranchesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListGithubBranchesResponse) GetJSON200 ¶
func (r ListGithubBranchesResponse) GetJSON200() *[]BranchOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListGithubBranchesResponse) Status ¶
func (r ListGithubBranchesResponse) Status() string
Status returns HTTPResponse.Status
func (ListGithubBranchesResponse) StatusCode ¶
func (r ListGithubBranchesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGithubInstallationsResponse ¶
type ListGithubInstallationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]InstallationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListGithubInstallationsResponse ¶
func ParseListGithubInstallationsResponse(rsp *http.Response) (*ListGithubInstallationsResponse, error)
ParseListGithubInstallationsResponse parses an HTTP response from a ListGithubInstallationsWithResponse call
func (ListGithubInstallationsResponse) ContentType ¶
func (r ListGithubInstallationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListGithubInstallationsResponse) GetBody ¶
func (r ListGithubInstallationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListGithubInstallationsResponse) GetJSON4XX ¶
func (r ListGithubInstallationsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListGithubInstallationsResponse) GetJSON5XX ¶
func (r ListGithubInstallationsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListGithubInstallationsResponse) GetJSON200 ¶
func (r ListGithubInstallationsResponse) GetJSON200() *[]InstallationOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListGithubInstallationsResponse) Status ¶
func (r ListGithubInstallationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListGithubInstallationsResponse) StatusCode ¶
func (r ListGithubInstallationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGithubReposResponse ¶
type ListGithubReposResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]RepoOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListGithubReposResponse ¶
func ParseListGithubReposResponse(rsp *http.Response) (*ListGithubReposResponse, error)
ParseListGithubReposResponse parses an HTTP response from a ListGithubReposWithResponse call
func (ListGithubReposResponse) ContentType ¶
func (r ListGithubReposResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListGithubReposResponse) GetBody ¶
func (r ListGithubReposResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListGithubReposResponse) GetJSON4XX ¶
func (r ListGithubReposResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListGithubReposResponse) GetJSON5XX ¶
func (r ListGithubReposResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListGithubReposResponse) GetJSON200 ¶
func (r ListGithubReposResponse) GetJSON200() *[]RepoOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListGithubReposResponse) Status ¶
func (r ListGithubReposResponse) Status() string
Status returns HTTPResponse.Status
func (ListGithubReposResponse) StatusCode ¶
func (r ListGithubReposResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGpuRequestsResponse ¶
type ListGpuRequestsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]CapacityRequestOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListGpuRequestsResponse ¶
func ParseListGpuRequestsResponse(rsp *http.Response) (*ListGpuRequestsResponse, error)
ParseListGpuRequestsResponse parses an HTTP response from a ListGpuRequestsWithResponse call
func (ListGpuRequestsResponse) ContentType ¶
func (r ListGpuRequestsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListGpuRequestsResponse) GetBody ¶
func (r ListGpuRequestsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListGpuRequestsResponse) GetJSON4XX ¶
func (r ListGpuRequestsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListGpuRequestsResponse) GetJSON5XX ¶
func (r ListGpuRequestsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListGpuRequestsResponse) GetJSON200 ¶
func (r ListGpuRequestsResponse) GetJSON200() *[]CapacityRequestOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListGpuRequestsResponse) Status ¶
func (r ListGpuRequestsResponse) Status() string
Status returns HTTPResponse.Status
func (ListGpuRequestsResponse) StatusCode ¶
func (r ListGpuRequestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInferenceEndpointsResponse ¶
type ListInferenceEndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]InferenceEndpointOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListInferenceEndpointsResponse ¶
func ParseListInferenceEndpointsResponse(rsp *http.Response) (*ListInferenceEndpointsResponse, error)
ParseListInferenceEndpointsResponse parses an HTTP response from a ListInferenceEndpointsWithResponse call
func (ListInferenceEndpointsResponse) ContentType ¶
func (r ListInferenceEndpointsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListInferenceEndpointsResponse) GetBody ¶
func (r ListInferenceEndpointsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListInferenceEndpointsResponse) GetJSON4XX ¶
func (r ListInferenceEndpointsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListInferenceEndpointsResponse) GetJSON5XX ¶
func (r ListInferenceEndpointsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListInferenceEndpointsResponse) GetJSON200 ¶
func (r ListInferenceEndpointsResponse) GetJSON200() *[]InferenceEndpointOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListInferenceEndpointsResponse) Status ¶
func (r ListInferenceEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInferenceEndpointsResponse) StatusCode ¶
func (r ListInferenceEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInvoicesParams ¶
type ListInvoicesParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListInvoicesParams defines parameters for ListInvoices.
type ListInvoicesResponse ¶
type ListInvoicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvoicePage
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListInvoicesResponse ¶
func ParseListInvoicesResponse(rsp *http.Response) (*ListInvoicesResponse, error)
ParseListInvoicesResponse parses an HTTP response from a ListInvoicesWithResponse call
func (ListInvoicesResponse) ContentType ¶
func (r ListInvoicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListInvoicesResponse) GetBody ¶
func (r ListInvoicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListInvoicesResponse) GetJSON4XX ¶
func (r ListInvoicesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListInvoicesResponse) GetJSON5XX ¶
func (r ListInvoicesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListInvoicesResponse) GetJSON200 ¶
func (r ListInvoicesResponse) GetJSON200() *InvoicePage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListInvoicesResponse) Status ¶
func (r ListInvoicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListInvoicesResponse) StatusCode ¶
func (r ListInvoicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListJobRunsParams ¶
type ListJobRunsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListJobRunsParams defines parameters for ListJobRuns.
type ListJobRunsResponse ¶
type ListJobRunsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]JobRunOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListJobRunsResponse ¶
func ParseListJobRunsResponse(rsp *http.Response) (*ListJobRunsResponse, error)
ParseListJobRunsResponse parses an HTTP response from a ListJobRunsWithResponse call
func (ListJobRunsResponse) ContentType ¶
func (r ListJobRunsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListJobRunsResponse) GetBody ¶
func (r ListJobRunsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListJobRunsResponse) GetJSON4XX ¶
func (r ListJobRunsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListJobRunsResponse) GetJSON5XX ¶
func (r ListJobRunsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListJobRunsResponse) GetJSON200 ¶
func (r ListJobRunsResponse) GetJSON200() *[]JobRunOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListJobRunsResponse) Status ¶
func (r ListJobRunsResponse) Status() string
Status returns HTTPResponse.Status
func (ListJobRunsResponse) StatusCode ¶
func (r ListJobRunsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMembersResponse ¶
type ListMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]MemberOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListMembersResponse ¶
func ParseListMembersResponse(rsp *http.Response) (*ListMembersResponse, error)
ParseListMembersResponse parses an HTTP response from a ListMembersWithResponse call
func (ListMembersResponse) ContentType ¶
func (r ListMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMembersResponse) GetBody ¶
func (r ListMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMembersResponse) GetJSON4XX ¶
func (r ListMembersResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListMembersResponse) GetJSON5XX ¶
func (r ListMembersResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListMembersResponse) GetJSON200 ¶
func (r ListMembersResponse) GetJSON200() *[]MemberOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMembersResponse) Status ¶
func (r ListMembersResponse) Status() string
Status returns HTTPResponse.Status
func (ListMembersResponse) StatusCode ¶
func (r ListMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMyPasskeysResponse ¶
type ListMyPasskeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]PasskeyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListMyPasskeysResponse ¶
func ParseListMyPasskeysResponse(rsp *http.Response) (*ListMyPasskeysResponse, error)
ParseListMyPasskeysResponse parses an HTTP response from a ListMyPasskeysWithResponse call
func (ListMyPasskeysResponse) ContentType ¶
func (r ListMyPasskeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMyPasskeysResponse) GetBody ¶
func (r ListMyPasskeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMyPasskeysResponse) GetJSON4XX ¶
func (r ListMyPasskeysResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListMyPasskeysResponse) GetJSON5XX ¶
func (r ListMyPasskeysResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListMyPasskeysResponse) GetJSON200 ¶
func (r ListMyPasskeysResponse) GetJSON200() *[]PasskeyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMyPasskeysResponse) Status ¶
func (r ListMyPasskeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListMyPasskeysResponse) StatusCode ¶
func (r ListMyPasskeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMySessionsResponse ¶
type ListMySessionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]SessionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListMySessionsResponse ¶
func ParseListMySessionsResponse(rsp *http.Response) (*ListMySessionsResponse, error)
ParseListMySessionsResponse parses an HTTP response from a ListMySessionsWithResponse call
func (ListMySessionsResponse) ContentType ¶
func (r ListMySessionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMySessionsResponse) GetBody ¶
func (r ListMySessionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMySessionsResponse) GetJSON4XX ¶
func (r ListMySessionsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListMySessionsResponse) GetJSON5XX ¶
func (r ListMySessionsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListMySessionsResponse) GetJSON200 ¶
func (r ListMySessionsResponse) GetJSON200() *[]SessionOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMySessionsResponse) Status ¶
func (r ListMySessionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListMySessionsResponse) StatusCode ¶
func (r ListMySessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOrgActivityParams ¶
type ListOrgActivityParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListOrgActivityParams defines parameters for ListOrgActivity.
type ListOrgActivityResponse ¶
type ListOrgActivityResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ActivityPage
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListOrgActivityResponse ¶
func ParseListOrgActivityResponse(rsp *http.Response) (*ListOrgActivityResponse, error)
ParseListOrgActivityResponse parses an HTTP response from a ListOrgActivityWithResponse call
func (ListOrgActivityResponse) ContentType ¶
func (r ListOrgActivityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOrgActivityResponse) GetBody ¶
func (r ListOrgActivityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOrgActivityResponse) GetJSON4XX ¶
func (r ListOrgActivityResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListOrgActivityResponse) GetJSON5XX ¶
func (r ListOrgActivityResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListOrgActivityResponse) GetJSON200 ¶
func (r ListOrgActivityResponse) GetJSON200() *ActivityPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOrgActivityResponse) Status ¶
func (r ListOrgActivityResponse) Status() string
Status returns HTTPResponse.Status
func (ListOrgActivityResponse) StatusCode ¶
func (r ListOrgActivityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOrgInvitationsResponse ¶
type ListOrgInvitationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]InvitationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListOrgInvitationsResponse ¶
func ParseListOrgInvitationsResponse(rsp *http.Response) (*ListOrgInvitationsResponse, error)
ParseListOrgInvitationsResponse parses an HTTP response from a ListOrgInvitationsWithResponse call
func (ListOrgInvitationsResponse) ContentType ¶
func (r ListOrgInvitationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOrgInvitationsResponse) GetBody ¶
func (r ListOrgInvitationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOrgInvitationsResponse) GetJSON4XX ¶
func (r ListOrgInvitationsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListOrgInvitationsResponse) GetJSON5XX ¶
func (r ListOrgInvitationsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListOrgInvitationsResponse) GetJSON200 ¶
func (r ListOrgInvitationsResponse) GetJSON200() *[]InvitationOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOrgInvitationsResponse) Status ¶
func (r ListOrgInvitationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListOrgInvitationsResponse) StatusCode ¶
func (r ListOrgInvitationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPaymentMethodsResponse ¶
type ListPaymentMethodsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]PaymentMethodOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListPaymentMethodsResponse ¶
func ParseListPaymentMethodsResponse(rsp *http.Response) (*ListPaymentMethodsResponse, error)
ParseListPaymentMethodsResponse parses an HTTP response from a ListPaymentMethodsWithResponse call
func (ListPaymentMethodsResponse) ContentType ¶
func (r ListPaymentMethodsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPaymentMethodsResponse) GetBody ¶
func (r ListPaymentMethodsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPaymentMethodsResponse) GetJSON4XX ¶
func (r ListPaymentMethodsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListPaymentMethodsResponse) GetJSON5XX ¶
func (r ListPaymentMethodsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListPaymentMethodsResponse) GetJSON200 ¶
func (r ListPaymentMethodsResponse) GetJSON200() *[]PaymentMethodOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPaymentMethodsResponse) Status ¶
func (r ListPaymentMethodsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPaymentMethodsResponse) StatusCode ¶
func (r ListPaymentMethodsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPlansResponse ¶
type ListPlansResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]PlanOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListPlansResponse ¶
func ParseListPlansResponse(rsp *http.Response) (*ListPlansResponse, error)
ParseListPlansResponse parses an HTTP response from a ListPlansWithResponse call
func (ListPlansResponse) ContentType ¶
func (r ListPlansResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPlansResponse) GetBody ¶
func (r ListPlansResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPlansResponse) GetJSON4XX ¶
func (r ListPlansResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListPlansResponse) GetJSON5XX ¶
func (r ListPlansResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListPlansResponse) GetJSON200 ¶
func (r ListPlansResponse) GetJSON200() *[]PlanOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPlansResponse) Status ¶
func (r ListPlansResponse) Status() string
Status returns HTTPResponse.Status
func (ListPlansResponse) StatusCode ¶
func (r ListPlansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPreviewsResponse ¶
type ListPreviewsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]PreviewOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListPreviewsResponse ¶
func ParseListPreviewsResponse(rsp *http.Response) (*ListPreviewsResponse, error)
ParseListPreviewsResponse parses an HTTP response from a ListPreviewsWithResponse call
func (ListPreviewsResponse) ContentType ¶
func (r ListPreviewsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPreviewsResponse) GetBody ¶
func (r ListPreviewsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPreviewsResponse) GetJSON4XX ¶
func (r ListPreviewsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListPreviewsResponse) GetJSON5XX ¶
func (r ListPreviewsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListPreviewsResponse) GetJSON200 ¶
func (r ListPreviewsResponse) GetJSON200() *[]PreviewOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPreviewsResponse) Status ¶
func (r ListPreviewsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPreviewsResponse) StatusCode ¶
func (r ListPreviewsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPricesResponse ¶
type ListPricesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PriceCatalogue
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListPricesResponse ¶
func ParseListPricesResponse(rsp *http.Response) (*ListPricesResponse, error)
ParseListPricesResponse parses an HTTP response from a ListPricesWithResponse call
func (ListPricesResponse) ContentType ¶
func (r ListPricesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPricesResponse) GetBody ¶
func (r ListPricesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPricesResponse) GetJSON4XX ¶
func (r ListPricesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListPricesResponse) GetJSON5XX ¶
func (r ListPricesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListPricesResponse) GetJSON200 ¶
func (r ListPricesResponse) GetJSON200() *PriceCatalogue
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPricesResponse) Status ¶
func (r ListPricesResponse) Status() string
Status returns HTTPResponse.Status
func (ListPricesResponse) StatusCode ¶
func (r ListPricesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectDeploymentsParams ¶
type ListProjectDeploymentsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListProjectDeploymentsParams defines parameters for ListProjectDeployments.
type ListProjectDeploymentsResponse ¶
type ListProjectDeploymentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]DeploymentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListProjectDeploymentsResponse ¶
func ParseListProjectDeploymentsResponse(rsp *http.Response) (*ListProjectDeploymentsResponse, error)
ParseListProjectDeploymentsResponse parses an HTTP response from a ListProjectDeploymentsWithResponse call
func (ListProjectDeploymentsResponse) ContentType ¶
func (r ListProjectDeploymentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProjectDeploymentsResponse) GetBody ¶
func (r ListProjectDeploymentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProjectDeploymentsResponse) GetJSON4XX ¶
func (r ListProjectDeploymentsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListProjectDeploymentsResponse) GetJSON5XX ¶
func (r ListProjectDeploymentsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListProjectDeploymentsResponse) GetJSON200 ¶
func (r ListProjectDeploymentsResponse) GetJSON200() *[]DeploymentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProjectDeploymentsResponse) Status ¶
func (r ListProjectDeploymentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectDeploymentsResponse) StatusCode ¶
func (r ListProjectDeploymentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectOperationsParams ¶
type ListProjectOperationsParams struct {
Active *bool `form:"active,omitempty" json:"active,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListProjectOperationsParams defines parameters for ListProjectOperations.
type ListProjectOperationsResponse ¶
type ListProjectOperationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]OperationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListProjectOperationsResponse ¶
func ParseListProjectOperationsResponse(rsp *http.Response) (*ListProjectOperationsResponse, error)
ParseListProjectOperationsResponse parses an HTTP response from a ListProjectOperationsWithResponse call
func (ListProjectOperationsResponse) ContentType ¶
func (r ListProjectOperationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProjectOperationsResponse) GetBody ¶
func (r ListProjectOperationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProjectOperationsResponse) GetJSON4XX ¶
func (r ListProjectOperationsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListProjectOperationsResponse) GetJSON5XX ¶
func (r ListProjectOperationsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListProjectOperationsResponse) GetJSON200 ¶
func (r ListProjectOperationsResponse) GetJSON200() *[]OperationOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProjectOperationsResponse) Status ¶
func (r ListProjectOperationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectOperationsResponse) StatusCode ¶
func (r ListProjectOperationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectTokensResponse ¶
type ListProjectTokensResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ApiKeyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListProjectTokensResponse ¶
func ParseListProjectTokensResponse(rsp *http.Response) (*ListProjectTokensResponse, error)
ParseListProjectTokensResponse parses an HTTP response from a ListProjectTokensWithResponse call
func (ListProjectTokensResponse) ContentType ¶
func (r ListProjectTokensResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProjectTokensResponse) GetBody ¶
func (r ListProjectTokensResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProjectTokensResponse) GetJSON4XX ¶
func (r ListProjectTokensResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListProjectTokensResponse) GetJSON5XX ¶
func (r ListProjectTokensResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListProjectTokensResponse) GetJSON200 ¶
func (r ListProjectTokensResponse) GetJSON200() *[]ApiKeyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProjectTokensResponse) Status ¶
func (r ListProjectTokensResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectTokensResponse) StatusCode ¶
func (r ListProjectTokensResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectWebhooksResponse ¶
type ListProjectWebhooksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]WebhookOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListProjectWebhooksResponse ¶
func ParseListProjectWebhooksResponse(rsp *http.Response) (*ListProjectWebhooksResponse, error)
ParseListProjectWebhooksResponse parses an HTTP response from a ListProjectWebhooksWithResponse call
func (ListProjectWebhooksResponse) ContentType ¶
func (r ListProjectWebhooksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProjectWebhooksResponse) GetBody ¶
func (r ListProjectWebhooksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProjectWebhooksResponse) GetJSON4XX ¶
func (r ListProjectWebhooksResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListProjectWebhooksResponse) GetJSON5XX ¶
func (r ListProjectWebhooksResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListProjectWebhooksResponse) GetJSON200 ¶
func (r ListProjectWebhooksResponse) GetJSON200() *[]WebhookOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProjectWebhooksResponse) Status ¶
func (r ListProjectWebhooksResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectWebhooksResponse) StatusCode ¶
func (r ListProjectWebhooksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectsResponse ¶
type ListProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ProjectOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListProjectsResponse ¶
func ParseListProjectsResponse(rsp *http.Response) (*ListProjectsResponse, error)
ParseListProjectsResponse parses an HTTP response from a ListProjectsWithResponse call
func (ListProjectsResponse) ContentType ¶
func (r ListProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProjectsResponse) GetBody ¶
func (r ListProjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProjectsResponse) GetJSON4XX ¶
func (r ListProjectsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListProjectsResponse) GetJSON5XX ¶
func (r ListProjectsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListProjectsResponse) GetJSON200 ¶
func (r ListProjectsResponse) GetJSON200() *[]ProjectOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProjectsResponse) Status ¶
func (r ListProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectsResponse) StatusCode ¶
func (r ListProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProviderKeysResponse ¶
type ListProviderKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ProviderKeyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListProviderKeysResponse ¶
func ParseListProviderKeysResponse(rsp *http.Response) (*ListProviderKeysResponse, error)
ParseListProviderKeysResponse parses an HTTP response from a ListProviderKeysWithResponse call
func (ListProviderKeysResponse) ContentType ¶
func (r ListProviderKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProviderKeysResponse) GetBody ¶
func (r ListProviderKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProviderKeysResponse) GetJSON4XX ¶
func (r ListProviderKeysResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListProviderKeysResponse) GetJSON5XX ¶
func (r ListProviderKeysResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListProviderKeysResponse) GetJSON200 ¶
func (r ListProviderKeysResponse) GetJSON200() *[]ProviderKeyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProviderKeysResponse) Status ¶
func (r ListProviderKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListProviderKeysResponse) StatusCode ¶
func (r ListProviderKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRedisKeysParams ¶
type ListRedisKeysParams struct {
Pattern *string `form:"pattern,omitempty" json:"pattern,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Count *int `form:"count,omitempty" json:"count,omitempty"`
}
ListRedisKeysParams defines parameters for ListRedisKeys.
type ListRedisKeysResponse ¶
type ListRedisKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RedisKeysOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListRedisKeysResponse ¶
func ParseListRedisKeysResponse(rsp *http.Response) (*ListRedisKeysResponse, error)
ParseListRedisKeysResponse parses an HTTP response from a ListRedisKeysWithResponse call
func (ListRedisKeysResponse) ContentType ¶
func (r ListRedisKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRedisKeysResponse) GetBody ¶
func (r ListRedisKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRedisKeysResponse) GetJSON4XX ¶
func (r ListRedisKeysResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListRedisKeysResponse) GetJSON5XX ¶
func (r ListRedisKeysResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListRedisKeysResponse) GetJSON200 ¶
func (r ListRedisKeysResponse) GetJSON200() *RedisKeysOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRedisKeysResponse) Status ¶
func (r ListRedisKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListRedisKeysResponse) StatusCode ¶
func (r ListRedisKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRegionsResponse ¶
type ListRegionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]RegionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListRegionsResponse ¶
func ParseListRegionsResponse(rsp *http.Response) (*ListRegionsResponse, error)
ParseListRegionsResponse parses an HTTP response from a ListRegionsWithResponse call
func (ListRegionsResponse) ContentType ¶
func (r ListRegionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRegionsResponse) GetBody ¶
func (r ListRegionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRegionsResponse) GetJSON4XX ¶
func (r ListRegionsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListRegionsResponse) GetJSON5XX ¶
func (r ListRegionsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListRegionsResponse) GetJSON200 ¶
func (r ListRegionsResponse) GetJSON200() *[]RegionOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRegionsResponse) Status ¶
func (r ListRegionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListRegionsResponse) StatusCode ¶
func (r ListRegionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRegistryCredentialsResponse ¶
type ListRegistryCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]RegistryCredentialOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListRegistryCredentialsResponse ¶
func ParseListRegistryCredentialsResponse(rsp *http.Response) (*ListRegistryCredentialsResponse, error)
ParseListRegistryCredentialsResponse parses an HTTP response from a ListRegistryCredentialsWithResponse call
func (ListRegistryCredentialsResponse) ContentType ¶
func (r ListRegistryCredentialsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRegistryCredentialsResponse) GetBody ¶
func (r ListRegistryCredentialsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRegistryCredentialsResponse) GetJSON4XX ¶
func (r ListRegistryCredentialsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListRegistryCredentialsResponse) GetJSON5XX ¶
func (r ListRegistryCredentialsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListRegistryCredentialsResponse) GetJSON200 ¶
func (r ListRegistryCredentialsResponse) GetJSON200() *[]RegistryCredentialOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRegistryCredentialsResponse) Status ¶
func (r ListRegistryCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (ListRegistryCredentialsResponse) StatusCode ¶
func (r ListRegistryCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListResourceDeploymentsParams ¶
type ListResourceDeploymentsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListResourceDeploymentsParams defines parameters for ListResourceDeployments.
type ListResourceDeploymentsResponse ¶
type ListResourceDeploymentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]DeploymentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListResourceDeploymentsResponse ¶
func ParseListResourceDeploymentsResponse(rsp *http.Response) (*ListResourceDeploymentsResponse, error)
ParseListResourceDeploymentsResponse parses an HTTP response from a ListResourceDeploymentsWithResponse call
func (ListResourceDeploymentsResponse) ContentType ¶
func (r ListResourceDeploymentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListResourceDeploymentsResponse) GetBody ¶
func (r ListResourceDeploymentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListResourceDeploymentsResponse) GetJSON4XX ¶
func (r ListResourceDeploymentsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListResourceDeploymentsResponse) GetJSON5XX ¶
func (r ListResourceDeploymentsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListResourceDeploymentsResponse) GetJSON200 ¶
func (r ListResourceDeploymentsResponse) GetJSON200() *[]DeploymentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListResourceDeploymentsResponse) Status ¶
func (r ListResourceDeploymentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListResourceDeploymentsResponse) StatusCode ¶
func (r ListResourceDeploymentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListResourcesParams ¶
type ListResourcesParams struct {
EnvironmentId *openapi_types.UUID `form:"environment_id,omitempty" json:"environment_id,omitempty"`
}
ListResourcesParams defines parameters for ListResources.
type ListResourcesResponse ¶
type ListResourcesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ResourceOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListResourcesResponse ¶
func ParseListResourcesResponse(rsp *http.Response) (*ListResourcesResponse, error)
ParseListResourcesResponse parses an HTTP response from a ListResourcesWithResponse call
func (ListResourcesResponse) ContentType ¶
func (r ListResourcesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListResourcesResponse) GetBody ¶
func (r ListResourcesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListResourcesResponse) GetJSON4XX ¶
func (r ListResourcesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListResourcesResponse) GetJSON5XX ¶
func (r ListResourcesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListResourcesResponse) GetJSON200 ¶
func (r ListResourcesResponse) GetJSON200() *[]ResourceOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListResourcesResponse) Status ¶
func (r ListResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (ListResourcesResponse) StatusCode ¶
func (r ListResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServerSnapshotsResponse ¶
type ListServerSnapshotsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SnapshotsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListServerSnapshotsResponse ¶
func ParseListServerSnapshotsResponse(rsp *http.Response) (*ListServerSnapshotsResponse, error)
ParseListServerSnapshotsResponse parses an HTTP response from a ListServerSnapshotsWithResponse call
func (ListServerSnapshotsResponse) ContentType ¶
func (r ListServerSnapshotsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListServerSnapshotsResponse) GetBody ¶
func (r ListServerSnapshotsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListServerSnapshotsResponse) GetJSON4XX ¶
func (r ListServerSnapshotsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListServerSnapshotsResponse) GetJSON5XX ¶
func (r ListServerSnapshotsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListServerSnapshotsResponse) GetJSON200 ¶
func (r ListServerSnapshotsResponse) GetJSON200() *SnapshotsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListServerSnapshotsResponse) Status ¶
func (r ListServerSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (ListServerSnapshotsResponse) StatusCode ¶
func (r ListServerSnapshotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServersResponse ¶
type ListServersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ServerOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListServersResponse ¶
func ParseListServersResponse(rsp *http.Response) (*ListServersResponse, error)
ParseListServersResponse parses an HTTP response from a ListServersWithResponse call
func (ListServersResponse) ContentType ¶
func (r ListServersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListServersResponse) GetBody ¶
func (r ListServersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListServersResponse) GetJSON4XX ¶
func (r ListServersResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListServersResponse) GetJSON5XX ¶
func (r ListServersResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListServersResponse) GetJSON200 ¶
func (r ListServersResponse) GetJSON200() *[]ServerOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListServersResponse) Status ¶
func (r ListServersResponse) Status() string
Status returns HTTPResponse.Status
func (ListServersResponse) StatusCode ¶
func (r ListServersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSharedVariablesResponse ¶
type ListSharedVariablesResponse struct {
JSON200 *[]SharedVariableOut
JSON4XX *ErrorEnvelope
JSON5XX *ErrorEnvelope
}
func ParseListSharedVariablesResponse ¶
func ParseListSharedVariablesResponse(rsp *http.Response) (*ListSharedVariablesResponse, error)
ParseListSharedVariablesResponse parses an HTTP response from a ListSharedVariablesWithResponse call
func (ListSharedVariablesResponse) ContentType ¶
func (r ListSharedVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSharedVariablesResponse) GetBody ¶
func (r ListSharedVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSharedVariablesResponse) GetJSON4XX ¶
func (r ListSharedVariablesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListSharedVariablesResponse) GetJSON5XX ¶
func (r ListSharedVariablesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListSharedVariablesResponse) GetJSON200 ¶
func (r ListSharedVariablesResponse) GetJSON200() *[]SharedVariableOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSharedVariablesResponse) Status ¶
func (r ListSharedVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSharedVariablesResponse) StatusCode ¶
func (r ListSharedVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSshKeysResponse ¶
type ListSshKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]SshKeyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListSshKeysResponse ¶
func ParseListSshKeysResponse(rsp *http.Response) (*ListSshKeysResponse, error)
ParseListSshKeysResponse parses an HTTP response from a ListSshKeysWithResponse call
func (ListSshKeysResponse) ContentType ¶
func (r ListSshKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSshKeysResponse) GetBody ¶
func (r ListSshKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSshKeysResponse) GetJSON4XX ¶
func (r ListSshKeysResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListSshKeysResponse) GetJSON5XX ¶
func (r ListSshKeysResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListSshKeysResponse) GetJSON200 ¶
func (r ListSshKeysResponse) GetJSON200() *[]SshKeyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSshKeysResponse) Status ¶
func (r ListSshKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListSshKeysResponse) StatusCode ¶
func (r ListSshKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSupportTicketsResponse ¶
type ListSupportTicketsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]MyTicket
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListSupportTicketsResponse ¶
func ParseListSupportTicketsResponse(rsp *http.Response) (*ListSupportTicketsResponse, error)
ParseListSupportTicketsResponse parses an HTTP response from a ListSupportTicketsWithResponse call
func (ListSupportTicketsResponse) ContentType ¶
func (r ListSupportTicketsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSupportTicketsResponse) GetBody ¶
func (r ListSupportTicketsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSupportTicketsResponse) GetJSON4XX ¶
func (r ListSupportTicketsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListSupportTicketsResponse) GetJSON5XX ¶
func (r ListSupportTicketsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListSupportTicketsResponse) GetJSON200 ¶
func (r ListSupportTicketsResponse) GetJSON200() *[]MyTicket
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSupportTicketsResponse) Status ¶
func (r ListSupportTicketsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSupportTicketsResponse) StatusCode ¶
func (r ListSupportTicketsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTemplatesParams ¶
type ListTemplatesParams struct {
Category *string `form:"category,omitempty" json:"category,omitempty"`
}
ListTemplatesParams defines parameters for ListTemplates.
type ListTemplatesResponse ¶
type ListTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]TemplateSummary
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListTemplatesResponse ¶
func ParseListTemplatesResponse(rsp *http.Response) (*ListTemplatesResponse, error)
ParseListTemplatesResponse parses an HTTP response from a ListTemplatesWithResponse call
func (ListTemplatesResponse) ContentType ¶
func (r ListTemplatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTemplatesResponse) GetBody ¶
func (r ListTemplatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTemplatesResponse) GetJSON4XX ¶
func (r ListTemplatesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListTemplatesResponse) GetJSON5XX ¶
func (r ListTemplatesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListTemplatesResponse) GetJSON200 ¶
func (r ListTemplatesResponse) GetJSON200() *[]TemplateSummary
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTemplatesResponse) Status ¶
func (r ListTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListTemplatesResponse) StatusCode ¶
func (r ListTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUsageRecordsParams ¶
type ListUsageRecordsParams struct {
Meter *Meter `form:"meter,omitempty" json:"meter,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListUsageRecordsParams defines parameters for ListUsageRecords.
type ListUsageRecordsResponse ¶
type ListUsageRecordsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]UsageRecordOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListUsageRecordsResponse ¶
func ParseListUsageRecordsResponse(rsp *http.Response) (*ListUsageRecordsResponse, error)
ParseListUsageRecordsResponse parses an HTTP response from a ListUsageRecordsWithResponse call
func (ListUsageRecordsResponse) ContentType ¶
func (r ListUsageRecordsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListUsageRecordsResponse) GetBody ¶
func (r ListUsageRecordsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListUsageRecordsResponse) GetJSON4XX ¶
func (r ListUsageRecordsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListUsageRecordsResponse) GetJSON5XX ¶
func (r ListUsageRecordsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListUsageRecordsResponse) GetJSON200 ¶
func (r ListUsageRecordsResponse) GetJSON200() *[]UsageRecordOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListUsageRecordsResponse) Status ¶
func (r ListUsageRecordsResponse) Status() string
Status returns HTTPResponse.Status
func (ListUsageRecordsResponse) StatusCode ¶
func (r ListUsageRecordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVolumeBackupsParams ¶
type ListVolumeBackupsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVolumeBackupsParams defines parameters for ListVolumeBackups.
type ListVolumeBackupsResponse ¶
type ListVolumeBackupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]BackupOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListVolumeBackupsResponse ¶
func ParseListVolumeBackupsResponse(rsp *http.Response) (*ListVolumeBackupsResponse, error)
ParseListVolumeBackupsResponse parses an HTTP response from a ListVolumeBackupsWithResponse call
func (ListVolumeBackupsResponse) ContentType ¶
func (r ListVolumeBackupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVolumeBackupsResponse) GetBody ¶
func (r ListVolumeBackupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVolumeBackupsResponse) GetJSON4XX ¶
func (r ListVolumeBackupsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListVolumeBackupsResponse) GetJSON5XX ¶
func (r ListVolumeBackupsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListVolumeBackupsResponse) GetJSON200 ¶
func (r ListVolumeBackupsResponse) GetJSON200() *[]BackupOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVolumeBackupsResponse) Status ¶
func (r ListVolumeBackupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVolumeBackupsResponse) StatusCode ¶
func (r ListVolumeBackupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWebhookDeliveriesParams ¶
type ListWebhookDeliveriesParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListWebhookDeliveriesParams defines parameters for ListWebhookDeliveries.
type ListWebhookDeliveriesResponse ¶
type ListWebhookDeliveriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]DeliveryOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseListWebhookDeliveriesResponse ¶
func ParseListWebhookDeliveriesResponse(rsp *http.Response) (*ListWebhookDeliveriesResponse, error)
ParseListWebhookDeliveriesResponse parses an HTTP response from a ListWebhookDeliveriesWithResponse call
func (ListWebhookDeliveriesResponse) ContentType ¶
func (r ListWebhookDeliveriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWebhookDeliveriesResponse) GetBody ¶
func (r ListWebhookDeliveriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWebhookDeliveriesResponse) GetJSON4XX ¶
func (r ListWebhookDeliveriesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ListWebhookDeliveriesResponse) GetJSON5XX ¶
func (r ListWebhookDeliveriesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ListWebhookDeliveriesResponse) GetJSON200 ¶
func (r ListWebhookDeliveriesResponse) GetJSON200() *[]DeliveryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListWebhookDeliveriesResponse) Status ¶
func (r ListWebhookDeliveriesResponse) Status() string
Status returns HTTPResponse.Status
func (ListWebhookDeliveriesResponse) StatusCode ¶
func (r ListWebhookDeliveriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogLineOut ¶
type LogLineOut struct {
Line string `json:"line"`
Seq int `json:"seq"`
Stream string `json:"stream"`
Ts time.Time `json:"ts"`
}
LogLineOut defines model for LogLineOut.
type LogPage ¶
type LogPage struct {
Lines []LogLineOut `json:"lines"`
NextAfter int `json:"next_after"`
}
LogPage defines model for LogPage.
type LogSearchLine ¶
type LogSearchLine struct {
EnvironmentId openapi_types.UUID `json:"environment_id"`
Line string `json:"line"`
ResourceId openapi_types.UUID `json:"resource_id"`
ResourceName string `json:"resource_name"`
Seq int `json:"seq"`
Source LogSearchLineSource `json:"source"`
// SourceId The deployment or job run the line belongs to
SourceId openapi_types.UUID `json:"source_id"`
// Stream build, deploy or runtime (job runs write runtime)
Stream string `json:"stream"`
Ts time.Time `json:"ts"`
}
LogSearchLine defines model for LogSearchLine.
type LogSearchLineSource ¶
type LogSearchLineSource string
LogSearchLineSource defines model for LogSearchLine.Source.
const ( Deployment LogSearchLineSource = "deployment" JobRun LogSearchLineSource = "job_run" )
Defines values for LogSearchLineSource.
func (LogSearchLineSource) Valid ¶
func (e LogSearchLineSource) Valid() bool
Valid indicates whether the value is a known member of the LogSearchLineSource enum.
type LogSearchPage ¶
type LogSearchPage struct {
Lines []LogSearchLine `json:"lines"`
// NextCursor Pass back as `cursor` for older lines; null when there are none
NextCursor *string `json:"next_cursor"`
}
LogSearchPage defines model for LogSearchPage.
type LogoutResponse ¶
type LogoutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Accepted
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseLogoutResponse ¶
func ParseLogoutResponse(rsp *http.Response) (*LogoutResponse, error)
ParseLogoutResponse parses an HTTP response from a LogoutWithResponse call
func (LogoutResponse) ContentType ¶
func (r LogoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LogoutResponse) GetBody ¶
func (r LogoutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LogoutResponse) GetJSON4XX ¶
func (r LogoutResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (LogoutResponse) GetJSON5XX ¶
func (r LogoutResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (LogoutResponse) GetJSON200 ¶
func (r LogoutResponse) GetJSON200() *Accepted
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LogoutResponse) Status ¶
func (r LogoutResponse) Status() string
Status returns HTTPResponse.Status
func (LogoutResponse) StatusCode ¶
func (r LogoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MagicLinkResult ¶
MagicLinkResult defines model for MagicLinkResult.
type MeOrganization ¶
type MeOrganization struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Role Role `json:"role"`
Slug string `json:"slug"`
}
MeOrganization defines model for MeOrganization.
type MeResponse ¶
type MeResponse struct {
Engine EngineInfo `json:"engine"`
Features Features `json:"features"`
HasPasskey bool `json:"has_passkey"`
Organizations []MeOrganization `json:"organizations"`
SignInMethods []MeResponseSignInMethods `json:"sign_in_methods"`
Terms TermsStatus `json:"terms"`
User UserOut `json:"user"`
}
MeResponse defines model for MeResponse.
type MeResponseSignInMethods ¶
type MeResponseSignInMethods string
MeResponseSignInMethods defines model for MeResponse.SignInMethods.
const ( MeResponseSignInMethodsEmail MeResponseSignInMethods = "email" MeResponseSignInMethodsGithub MeResponseSignInMethods = "github" MeResponseSignInMethodsGoogle MeResponseSignInMethods = "google" MeResponseSignInMethodsPasskey MeResponseSignInMethods = "passkey" )
Defines values for MeResponseSignInMethods.
func (MeResponseSignInMethods) Valid ¶
func (e MeResponseSignInMethods) Valid() bool
Valid indicates whether the value is a known member of the MeResponseSignInMethods enum.
type MemberOut ¶
type MemberOut struct {
AvatarUrl *string `json:"avatar_url"`
Email string `json:"email"`
JoinedAt time.Time `json:"joined_at"`
Name string `json:"name"`
Role Role `json:"role"`
UserId openapi_types.UUID `json:"user_id"`
}
MemberOut defines model for MemberOut.
type MessageIn ¶
type MessageIn struct {
Body string `json:"body"`
}
MessageIn defines model for MessageIn.
type Meter ¶
type Meter string
Meter defines model for Meter.
const ( AiTokens Meter = "ai_tokens" BuildMinutes Meter = "build_minutes" ComputeHours Meter = "compute_hours" EgressGb Meter = "egress_gb" RedisGbHours Meter = "redis_gb_hours" ServerTrafficGb Meter = "server_traffic_gb" StorageGb Meter = "storage_gb" VolumeGbHours Meter = "volume_gb_hours" )
Defines values for Meter.
type MeterUsageOut ¶
type MeterUsageOut struct {
EstimatedChargeMinor int `json:"estimated_charge_minor"`
// Included Included each period, or null when the meter is billed in full
Included *string `json:"included"`
Meter string `json:"meter"`
OverageAllowed bool `json:"overage_allowed"`
Quantity string `json:"quantity"`
Remaining *string `json:"remaining"`
Unit string `json:"unit"`
UnitPriceMinor string `json:"unit_price_minor"`
}
MeterUsageOut defines model for MeterUsageOut.
type MeteredChargeOut ¶
type MeteredChargeOut struct {
// Description What is metered, from when, and at what price, in a sentence
Description string `json:"description"`
Key string `json:"key"`
Label string `json:"label"`
Per int `json:"per"`
Unit string `json:"unit"`
// UnitPrice The price of `per` units
UnitPrice string `json:"unit_price"`
}
MeteredChargeOut defines model for MeteredChargeOut.
type MetricPointOut ¶
MetricPointOut defines model for MetricPointOut.
type MetricSeriesOut ¶
type MetricSeriesOut struct {
Name string `json:"name"`
Points []MetricPointOut `json:"points"`
Unit string `json:"unit"`
}
MetricSeriesOut defines model for MetricSeriesOut.
type MetricsOut ¶
type MetricsOut struct {
EngineKind string `json:"engine_kind"`
ResourceId openapi_types.UUID `json:"resource_id"`
// Series cpu_percent, memory_mib, network_in_bytes, network_out_bytes (bytes per step), disk_mib, requests_per_minute and p95_latency_ms
Series []MetricSeriesOut `json:"series"`
Simulated bool `json:"simulated"`
// StepSeconds Seconds between points: 60, 300, 900 or 3600 for the four windows
StepSeconds *int `json:"step_seconds"`
Window MetricsOutWindow `json:"window"`
}
MetricsOut defines model for MetricsOut.
type MetricsOutWindow ¶
type MetricsOutWindow string
MetricsOutWindow defines model for MetricsOut.Window.
const ( MetricsOutWindowN1h MetricsOutWindow = "1h" MetricsOutWindowN24h MetricsOutWindow = "24h" MetricsOutWindowN6h MetricsOutWindow = "6h" MetricsOutWindowN7d MetricsOutWindow = "7d" )
Defines values for MetricsOutWindow.
func (MetricsOutWindow) Valid ¶
func (e MetricsOutWindow) Valid() bool
Valid indicates whether the value is a known member of the MetricsOutWindow enum.
type MetricsRow ¶
type MetricsRow struct {
CostUsd *string `json:"cost_usd,omitempty"`
// Errors Requests that failed or were refused.
Errors *int `json:"errors,omitempty"`
InputTokens *int `json:"input_tokens,omitempty"`
OutputTokens *int `json:"output_tokens,omitempty"`
Requests *int `json:"requests,omitempty"`
}
MetricsRow defines model for MetricsRow.
type ModelMetrics ¶
type ModelMetrics struct {
CostUsd *string `json:"cost_usd,omitempty"`
// Errors Requests that failed or were refused.
Errors *int `json:"errors,omitempty"`
InputTokens *int `json:"input_tokens,omitempty"`
Model string `json:"model"`
OutputTokens *int `json:"output_tokens,omitempty"`
Requests *int `json:"requests,omitempty"`
}
ModelMetrics defines model for ModelMetrics.
type MyMessage ¶
type MyMessage struct {
Body string `json:"body"`
CreatedAt time.Time `json:"created_at"`
FromStaff bool `json:"from_staff"`
Id openapi_types.UUID `json:"id"`
}
MyMessage defines model for MyMessage.
type MyTicket ¶
type MyTicket struct {
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
LastFromStaff bool `json:"last_from_staff"`
LastMessageAt time.Time `json:"last_message_at"`
Number int `json:"number"`
Status TicketStatus `json:"status"`
Subject string `json:"subject"`
}
MyTicket defines model for MyTicket.
type MyTicketDetail ¶
type MyTicketDetail struct {
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
LastFromStaff bool `json:"last_from_staff"`
LastMessageAt time.Time `json:"last_message_at"`
Number int `json:"number"`
Status TicketStatus `json:"status"`
Subject string `json:"subject"`
Thread []MyMessage `json:"thread"`
}
MyTicketDetail defines model for MyTicketDetail.
type NodePosition ¶
NodePosition defines model for NodePosition.
type NormalizedBlueprint ¶
type NormalizedBlueprint struct {
Connections []BlueprintConnectionOut `json:"connections"`
Description *string `json:"description"`
Inputs *[]TemplateInputOut `json:"inputs,omitempty"`
Metadata *TemplateMetadataOut `json:"metadata,omitempty"`
Name *string `json:"name"`
Resources []BlueprintResourceOut `json:"resources"`
// Variables Shared variable names
Variables []string `json:"variables"`
}
NormalizedBlueprint defines model for NormalizedBlueprint.
type NotificationPreferences ¶
type NotificationPreferences struct {
// DeployFailed Email when a deployment you started fails, or any deployment fails in an organization where you are an owner or admin
DeployFailed bool `json:"deploy_failed"`
// UsageAlerts Email when an organization where you are an owner or admin passes a usage alert or reaches its spend limit
UsageAlerts bool `json:"usage_alerts"`
}
NotificationPreferences defines model for NotificationPreferences.
type ObjectStoragePrices ¶
type ObjectStoragePrices struct {
Bands []StorageBand `json:"bands"`
EgressGb string `json:"egress_gb"`
IngressGb string `json:"ingress_gb"`
MonthlyMinimum string `json:"monthly_minimum"`
ReadsPer100k string `json:"reads_per_100k"`
WritesPer100k string `json:"writes_per_100k"`
}
ObjectStoragePrices defines model for ObjectStoragePrices.
type ObjectStorageSpec ¶
type ObjectStorageSpec struct {
// Public Public buckets are not available yet.
Public *ObjectStorageSpecPublic `json:"public,omitempty"`
}
ObjectStorageSpec defines model for ObjectStorageSpec.
type ObjectStorageSpecPublic ¶
type ObjectStorageSpecPublic bool
ObjectStorageSpecPublic Public buckets are not available yet.
const (
False ObjectStorageSpecPublic = false
)
Defines values for ObjectStorageSpecPublic.
func (ObjectStorageSpecPublic) Valid ¶
func (e ObjectStorageSpecPublic) Valid() bool
Valid indicates whether the value is a known member of the ObjectStorageSpecPublic enum.
type ObservedOut ¶
type ObservedOut struct {
Endpoints []EndpointOut `json:"endpoints"`
EngineKind string `json:"engine_kind"`
Generation int `json:"generation"`
Health *AppDomainsResourcesSchemasHealthOut `json:"health"`
ObservedAt time.Time `json:"observed_at"`
Status string `json:"status"`
}
ObservedOut defines model for ObservedOut.
type OpenAiModel ¶
type OpenAiModel struct {
Created int `json:"created"`
Id string `json:"id"`
Object *OpenAiModelObject `json:"object,omitempty"`
OwnedBy string `json:"owned_by"`
}
OpenAiModel defines model for OpenAiModel.
type OpenAiModelList ¶
type OpenAiModelList struct {
Data []OpenAiModel `json:"data"`
Object *OpenAiModelListObject `json:"object,omitempty"`
}
OpenAiModelList defines model for OpenAiModelList.
type OpenAiModelListObject ¶
type OpenAiModelListObject string
OpenAiModelListObject defines model for OpenAiModelList.Object.
const (
List OpenAiModelListObject = "list"
)
Defines values for OpenAiModelListObject.
func (OpenAiModelListObject) Valid ¶
func (e OpenAiModelListObject) Valid() bool
Valid indicates whether the value is a known member of the OpenAiModelListObject enum.
type OpenAiModelObject ¶
type OpenAiModelObject string
OpenAiModelObject defines model for OpenAiModel.Object.
const (
Model OpenAiModelObject = "model"
)
Defines values for OpenAiModelObject.
func (OpenAiModelObject) Valid ¶
func (e OpenAiModelObject) Valid() bool
Valid indicates whether the value is a known member of the OpenAiModelObject enum.
type OpenSupportTicketJSONRequestBody ¶
type OpenSupportTicketJSONRequestBody = TicketIn
OpenSupportTicketJSONRequestBody defines body for OpenSupportTicket for application/json ContentType.
type OpenSupportTicketResponse ¶
type OpenSupportTicketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *MyTicketDetail
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseOpenSupportTicketResponse ¶
func ParseOpenSupportTicketResponse(rsp *http.Response) (*OpenSupportTicketResponse, error)
ParseOpenSupportTicketResponse parses an HTTP response from a OpenSupportTicketWithResponse call
func (OpenSupportTicketResponse) ContentType ¶
func (r OpenSupportTicketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OpenSupportTicketResponse) GetBody ¶
func (r OpenSupportTicketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OpenSupportTicketResponse) GetJSON4XX ¶
func (r OpenSupportTicketResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (OpenSupportTicketResponse) GetJSON5XX ¶
func (r OpenSupportTicketResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (OpenSupportTicketResponse) GetJSON201 ¶
func (r OpenSupportTicketResponse) GetJSON201() *MyTicketDetail
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (OpenSupportTicketResponse) Status ¶
func (r OpenSupportTicketResponse) Status() string
Status returns HTTPResponse.Status
func (OpenSupportTicketResponse) StatusCode ¶
func (r OpenSupportTicketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OperationErrorOut ¶
OperationErrorOut defines model for OperationErrorOut.
type OperationOut ¶
type OperationOut struct {
Attempts int `json:"attempts"`
CompletedAt *time.Time `json:"completed_at"`
ConnectionId *openapi_types.UUID `json:"connection_id"`
CreatedAt time.Time `json:"created_at"`
DeploymentId *openapi_types.UUID `json:"deployment_id"`
Error *OperationErrorOut `json:"error"`
Id openapi_types.UUID `json:"id"`
Phase *string `json:"phase"`
Progress float32 `json:"progress"`
ProjectId *openapi_types.UUID `json:"project_id"`
RequestId *string `json:"request_id"`
ResourceId *openapi_types.UUID `json:"resource_id"`
State string `json:"state"`
Type string `json:"type"`
UpdatedAt time.Time `json:"updated_at"`
}
OperationOut defines model for OperationOut.
type OperationSummary ¶
type OperationSummary struct {
CreatedAt time.Time `json:"created_at"`
Error *string `json:"error"`
Id openapi_types.UUID `json:"id"`
ProjectId *openapi_types.UUID `json:"project_id"`
ResourceId *openapi_types.UUID `json:"resource_id"`
ResourceName *string `json:"resource_name"`
State string `json:"state"`
Type string `json:"type"`
}
OperationSummary defines model for OperationSummary.
type OrgOut ¶
type OrgOut struct {
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Personal bool `json:"personal"`
Role Role `json:"role"`
Slug string `json:"slug"`
}
OrgOut defines model for OrgOut.
type OverviewCounts ¶
type OverviewCounts struct {
Applications *int `json:"applications,omitempty"`
Buckets *int `json:"buckets,omitempty"`
Databases *int `json:"databases,omitempty"`
Failed *int `json:"failed,omitempty"`
Projects *int `json:"projects,omitempty"`
Resources *int `json:"resources,omitempty"`
Running *int `json:"running,omitempty"`
}
OverviewCounts defines model for OverviewCounts.
type OverviewOut ¶
type OverviewOut struct {
Counts OverviewCounts `json:"counts"`
FailedOperations []OperationSummary `json:"failed_operations"`
RecentDeployments []DeploymentSummary `json:"recent_deployments"`
Subscription SubscriptionOut `json:"subscription"`
}
OverviewOut defines model for OverviewOut.
type PasskeyAssertion ¶
type PasskeyAssertion struct {
Credential map[string]interface{} `json:"credential"`
}
PasskeyAssertion defines model for PasskeyAssertion.
type PasskeyOptionsRequest ¶
type PasskeyOptionsRequest struct {
Email *openapi_types.Email `json:"email,omitempty"`
}
PasskeyOptionsRequest defines model for PasskeyOptionsRequest.
type PasskeyOut ¶
type PasskeyOut struct {
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
LastUsedAt *time.Time `json:"last_used_at"`
Name string `json:"name"`
Transports []string `json:"transports"`
}
PasskeyOut defines model for PasskeyOut.
type PasskeyRegistration ¶
type PasskeyRegistration struct {
Credential map[string]interface{} `json:"credential"`
Name *string `json:"name,omitempty"`
}
PasskeyRegistration defines model for PasskeyRegistration.
type PasskeyRegistrationOptionsResponse ¶
type PasskeyRegistrationOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePasskeyRegistrationOptionsResponse ¶
func ParsePasskeyRegistrationOptionsResponse(rsp *http.Response) (*PasskeyRegistrationOptionsResponse, error)
ParsePasskeyRegistrationOptionsResponse parses an HTTP response from a PasskeyRegistrationOptionsWithResponse call
func (PasskeyRegistrationOptionsResponse) ContentType ¶
func (r PasskeyRegistrationOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PasskeyRegistrationOptionsResponse) GetBody ¶
func (r PasskeyRegistrationOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PasskeyRegistrationOptionsResponse) GetJSON4XX ¶
func (r PasskeyRegistrationOptionsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PasskeyRegistrationOptionsResponse) GetJSON5XX ¶
func (r PasskeyRegistrationOptionsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PasskeyRegistrationOptionsResponse) GetJSON200 ¶
func (r PasskeyRegistrationOptionsResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PasskeyRegistrationOptionsResponse) Status ¶
func (r PasskeyRegistrationOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyRegistrationOptionsResponse) StatusCode ¶
func (r PasskeyRegistrationOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeySignInJSONRequestBody ¶
type PasskeySignInJSONRequestBody = PasskeyAssertion
PasskeySignInJSONRequestBody defines body for PasskeySignIn for application/json ContentType.
type PasskeySignInOptionsJSONRequestBody ¶
type PasskeySignInOptionsJSONRequestBody = PasskeyOptionsRequest
PasskeySignInOptionsJSONRequestBody defines body for PasskeySignInOptions for application/json ContentType.
type PasskeySignInOptionsResponse ¶
type PasskeySignInOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePasskeySignInOptionsResponse ¶
func ParsePasskeySignInOptionsResponse(rsp *http.Response) (*PasskeySignInOptionsResponse, error)
ParsePasskeySignInOptionsResponse parses an HTTP response from a PasskeySignInOptionsWithResponse call
func (PasskeySignInOptionsResponse) ContentType ¶
func (r PasskeySignInOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PasskeySignInOptionsResponse) GetBody ¶
func (r PasskeySignInOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PasskeySignInOptionsResponse) GetJSON4XX ¶
func (r PasskeySignInOptionsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PasskeySignInOptionsResponse) GetJSON5XX ¶
func (r PasskeySignInOptionsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PasskeySignInOptionsResponse) GetJSON200 ¶
func (r PasskeySignInOptionsResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PasskeySignInOptionsResponse) Status ¶
func (r PasskeySignInOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeySignInOptionsResponse) StatusCode ¶
func (r PasskeySignInOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeySignInResponse ¶
type PasskeySignInResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AuthResponse
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePasskeySignInResponse ¶
func ParsePasskeySignInResponse(rsp *http.Response) (*PasskeySignInResponse, error)
ParsePasskeySignInResponse parses an HTTP response from a PasskeySignInWithResponse call
func (PasskeySignInResponse) ContentType ¶
func (r PasskeySignInResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PasskeySignInResponse) GetBody ¶
func (r PasskeySignInResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PasskeySignInResponse) GetJSON4XX ¶
func (r PasskeySignInResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PasskeySignInResponse) GetJSON5XX ¶
func (r PasskeySignInResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PasskeySignInResponse) GetJSON200 ¶
func (r PasskeySignInResponse) GetJSON200() *AuthResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PasskeySignInResponse) Status ¶
func (r PasskeySignInResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeySignInResponse) StatusCode ¶
func (r PasskeySignInResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PathCount ¶
type PathCount struct {
Pageviews int `json:"pageviews"`
Path string `json:"path"`
// Visitors Sum of each day's distinct visitors on this path
Visitors int `json:"visitors"`
}
PathCount defines model for PathCount.
type PaymentMethodOut ¶
type PaymentMethodOut struct {
AccountName *string `json:"account_name"`
Bank *string `json:"bank"`
// Brand visa, mastercard, verve, or the mobile money network such as mtn
Brand *string `json:"brand"`
// Channel card, mobile_money, bank or other
Channel string `json:"channel"`
CreatedAt time.Time `json:"created_at"`
ExpMonth *int `json:"exp_month"`
ExpYear *int `json:"exp_year"`
Id openapi_types.UUID `json:"id"`
IsDefault bool `json:"is_default"`
Last4 *string `json:"last4"`
Provider string `json:"provider"`
Reusable bool `json:"reusable"`
}
PaymentMethodOut defines model for PaymentMethodOut.
type PaystackCheckoutCallbackParams ¶
type PaystackCheckoutCallbackParams struct {
Reference *string `form:"reference,omitempty" json:"reference,omitempty"`
Trxref *string `form:"trxref,omitempty" json:"trxref,omitempty"`
}
PaystackCheckoutCallbackParams defines parameters for PaystackCheckoutCallback.
type PaystackCheckoutCallbackResponse ¶
type PaystackCheckoutCallbackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePaystackCheckoutCallbackResponse ¶
func ParsePaystackCheckoutCallbackResponse(rsp *http.Response) (*PaystackCheckoutCallbackResponse, error)
ParsePaystackCheckoutCallbackResponse parses an HTTP response from a PaystackCheckoutCallbackWithResponse call
func (PaystackCheckoutCallbackResponse) ContentType ¶
func (r PaystackCheckoutCallbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PaystackCheckoutCallbackResponse) GetBody ¶
func (r PaystackCheckoutCallbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PaystackCheckoutCallbackResponse) GetJSON4XX ¶
func (r PaystackCheckoutCallbackResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PaystackCheckoutCallbackResponse) GetJSON5XX ¶
func (r PaystackCheckoutCallbackResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PaystackCheckoutCallbackResponse) Status ¶
func (r PaystackCheckoutCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (PaystackCheckoutCallbackResponse) StatusCode ¶
func (r PaystackCheckoutCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PilotSector ¶
type PilotSector string
PilotSector The kind of product an applicant is building, which tells reviewers how sensitive its data is.
const ( DeveloperTools PilotSector = "developer_tools" Education PilotSector = "education" Finance PilotSector = "finance" Health PilotSector = "health" Legal PilotSector = "legal" Other PilotSector = "other" PublicSector PilotSector = "public_sector" )
Defines values for PilotSector.
func (PilotSector) Valid ¶
func (e PilotSector) Valid() bool
Valid indicates whether the value is a known member of the PilotSector enum.
type PlanBlueprintJSONRequestBody ¶
type PlanBlueprintJSONRequestBody = PlanBlueprintRequest
PlanBlueprintJSONRequestBody defines body for PlanBlueprint for application/json ContentType.
type PlanBlueprintRequest ¶
type PlanBlueprintRequest struct {
// Content The blueprint text, usually a dekka.yaml
Content string `json:"content"`
Format *PlanBlueprintRequestFormat `json:"format,omitempty"`
// Inputs Values for the blueprint's inputs, by key
Inputs *map[string]string `json:"inputs,omitempty"`
// Prune Also delete resources, variables, shared variables and connections the blueprint does not list
Prune *bool `json:"prune,omitempty"`
}
PlanBlueprintRequest defines model for PlanBlueprintRequest.
type PlanBlueprintRequestFormat ¶
type PlanBlueprintRequestFormat string
PlanBlueprintRequestFormat defines model for PlanBlueprintRequest.Format.
const ( PlanBlueprintRequestFormatJson PlanBlueprintRequestFormat = "json" PlanBlueprintRequestFormatToml PlanBlueprintRequestFormat = "toml" PlanBlueprintRequestFormatYaml PlanBlueprintRequestFormat = "yaml" )
Defines values for PlanBlueprintRequestFormat.
func (PlanBlueprintRequestFormat) Valid ¶
func (e PlanBlueprintRequestFormat) Valid() bool
Valid indicates whether the value is a known member of the PlanBlueprintRequestFormat enum.
type PlanBlueprintResponse ¶
type PlanBlueprintResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePlanBlueprintResponse ¶
func ParsePlanBlueprintResponse(rsp *http.Response) (*PlanBlueprintResponse, error)
ParsePlanBlueprintResponse parses an HTTP response from a PlanBlueprintWithResponse call
func (PlanBlueprintResponse) ContentType ¶
func (r PlanBlueprintResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlanBlueprintResponse) GetBody ¶
func (r PlanBlueprintResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlanBlueprintResponse) GetJSON4XX ¶
func (r PlanBlueprintResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PlanBlueprintResponse) GetJSON5XX ¶
func (r PlanBlueprintResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PlanBlueprintResponse) GetJSON201 ¶
func (r PlanBlueprintResponse) GetJSON201() *ChangesetOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PlanBlueprintResponse) Status ¶
func (r PlanBlueprintResponse) Status() string
Status returns HTTPResponse.Status
func (PlanBlueprintResponse) StatusCode ¶
func (r PlanBlueprintResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlanComposeJSONRequestBody ¶
type PlanComposeJSONRequestBody = ComposePlanRequest
PlanComposeJSONRequestBody defines body for PlanCompose for application/json ContentType.
type PlanComposeResponse ¶
type PlanComposeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePlanComposeResponse ¶
func ParsePlanComposeResponse(rsp *http.Response) (*PlanComposeResponse, error)
ParsePlanComposeResponse parses an HTTP response from a PlanComposeWithResponse call
func (PlanComposeResponse) ContentType ¶
func (r PlanComposeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlanComposeResponse) GetBody ¶
func (r PlanComposeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlanComposeResponse) GetJSON4XX ¶
func (r PlanComposeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PlanComposeResponse) GetJSON5XX ¶
func (r PlanComposeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PlanComposeResponse) GetJSON201 ¶
func (r PlanComposeResponse) GetJSON201() *ChangesetOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PlanComposeResponse) Status ¶
func (r PlanComposeResponse) Status() string
Status returns HTTPResponse.Status
func (PlanComposeResponse) StatusCode ¶
func (r PlanComposeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlanDeclaredServicesResponse ¶
type PlanDeclaredServicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePlanDeclaredServicesResponse ¶
func ParsePlanDeclaredServicesResponse(rsp *http.Response) (*PlanDeclaredServicesResponse, error)
ParsePlanDeclaredServicesResponse parses an HTTP response from a PlanDeclaredServicesWithResponse call
func (PlanDeclaredServicesResponse) ContentType ¶
func (r PlanDeclaredServicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlanDeclaredServicesResponse) GetBody ¶
func (r PlanDeclaredServicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlanDeclaredServicesResponse) GetJSON4XX ¶
func (r PlanDeclaredServicesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PlanDeclaredServicesResponse) GetJSON5XX ¶
func (r PlanDeclaredServicesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PlanDeclaredServicesResponse) GetJSON201 ¶
func (r PlanDeclaredServicesResponse) GetJSON201() *ChangesetOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PlanDeclaredServicesResponse) Status ¶
func (r PlanDeclaredServicesResponse) Status() string
Status returns HTTPResponse.Status
func (PlanDeclaredServicesResponse) StatusCode ¶
func (r PlanDeclaredServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlanOut ¶
type PlanOut struct {
Currency string `json:"currency"`
Description *string `json:"description"`
Entitlements Entitlements `json:"entitlements"`
Id string `json:"id"`
IsHypothesis bool `json:"is_hypothesis"`
MonthlyPrice string `json:"monthly_price"`
Name string `json:"name"`
PlanVersionId openapi_types.UUID `json:"plan_version_id"`
Version int `json:"version"`
}
PlanOut defines model for PlanOut.
type PlanTemplateJSONBody ¶
type PlanTemplateJSONBody = PlanTemplateRequest
PlanTemplateJSONBody defines parameters for PlanTemplate.
type PlanTemplateJSONRequestBody ¶
type PlanTemplateJSONRequestBody = PlanTemplateJSONBody
PlanTemplateJSONRequestBody defines body for PlanTemplate for application/json ContentType.
type PlanTemplateRequest ¶
type PlanTemplateRequest struct {
// Inputs A value for each of the template's inputs, by key; required ones must be set
Inputs *map[string]string `json:"inputs,omitempty"`
}
PlanTemplateRequest defines model for PlanTemplateRequest.
type PlanTemplateResponse ¶
type PlanTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ChangesetOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePlanTemplateResponse ¶
func ParsePlanTemplateResponse(rsp *http.Response) (*PlanTemplateResponse, error)
ParsePlanTemplateResponse parses an HTTP response from a PlanTemplateWithResponse call
func (PlanTemplateResponse) ContentType ¶
func (r PlanTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlanTemplateResponse) GetBody ¶
func (r PlanTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlanTemplateResponse) GetJSON4XX ¶
func (r PlanTemplateResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PlanTemplateResponse) GetJSON5XX ¶
func (r PlanTemplateResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PlanTemplateResponse) GetJSON201 ¶
func (r PlanTemplateResponse) GetJSON201() *ChangesetOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PlanTemplateResponse) Status ¶
func (r PlanTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (PlanTemplateResponse) StatusCode ¶
func (r PlanTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostgresPrices ¶
type PostgresPrices struct {
Tiers []DataTier `json:"tiers"`
}
PostgresPrices defines model for PostgresPrices.
type PostgresSpec ¶
type PostgresSpec struct {
Backups *BackupSettings `json:"backups,omitempty"`
MemoryMib *int `json:"memory_mib,omitempty"`
// Sku A tier id from GET /v1/catalog/prices, such as postgres-seed-v1. The tier sets memory_mib and storage_mib, so leave them out or give the tier's values. Without one, the sizes given are used as they are.
Sku *string `json:"sku,omitempty"`
// StorageMib Can grow but not shrink
StorageMib *int `json:"storage_mib,omitempty"`
// TcpProxy Expose a public host and port that forwards TCP
TcpProxy *bool `json:"tcp_proxy,omitempty"`
// Version The major version, fixed once created
Version *PostgresSpecVersion `json:"version,omitempty"`
}
PostgresSpec defines model for PostgresSpec.
type PostgresSpecVersion ¶
type PostgresSpecVersion string
PostgresSpecVersion The major version, fixed once created
const ( N16 PostgresSpecVersion = "16" N17 PostgresSpecVersion = "17" )
Defines values for PostgresSpecVersion.
func (PostgresSpecVersion) Valid ¶
func (e PostgresSpecVersion) Valid() bool
Valid indicates whether the value is a known member of the PostgresSpecVersion enum.
type PreviewAiPrivacyJSONRequestBody ¶
type PreviewAiPrivacyJSONRequestBody = PrivacyPreviewIn
PreviewAiPrivacyJSONRequestBody defines body for PreviewAiPrivacy for application/json ContentType.
type PreviewAiPrivacyResponse ¶
type PreviewAiPrivacyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PrivacyPreviewOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePreviewAiPrivacyResponse ¶
func ParsePreviewAiPrivacyResponse(rsp *http.Response) (*PreviewAiPrivacyResponse, error)
ParsePreviewAiPrivacyResponse parses an HTTP response from a PreviewAiPrivacyWithResponse call
func (PreviewAiPrivacyResponse) ContentType ¶
func (r PreviewAiPrivacyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreviewAiPrivacyResponse) GetBody ¶
func (r PreviewAiPrivacyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PreviewAiPrivacyResponse) GetJSON4XX ¶
func (r PreviewAiPrivacyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PreviewAiPrivacyResponse) GetJSON5XX ¶
func (r PreviewAiPrivacyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PreviewAiPrivacyResponse) GetJSON200 ¶
func (r PreviewAiPrivacyResponse) GetJSON200() *PrivacyPreviewOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PreviewAiPrivacyResponse) Status ¶
func (r PreviewAiPrivacyResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewAiPrivacyResponse) StatusCode ¶
func (r PreviewAiPrivacyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreviewDecision ¶
type PreviewDecision struct {
Action string `json:"action"`
End int `json:"end"`
EntityType string `json:"entity_type"`
OffsetUnit *PreviewDecisionOffsetUnit `json:"offset_unit,omitempty"`
Start int `json:"start"`
}
PreviewDecision defines model for PreviewDecision.
type PreviewDecisionOffsetUnit ¶
type PreviewDecisionOffsetUnit string
PreviewDecisionOffsetUnit defines model for PreviewDecision.OffsetUnit.
const (
Utf8Byte PreviewDecisionOffsetUnit = "utf8_byte"
)
Defines values for PreviewDecisionOffsetUnit.
func (PreviewDecisionOffsetUnit) Valid ¶
func (e PreviewDecisionOffsetUnit) Valid() bool
Valid indicates whether the value is a known member of the PreviewDecisionOffsetUnit enum.
type PreviewInvitationResponse ¶
type PreviewInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvitationPreview
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePreviewInvitationResponse ¶
func ParsePreviewInvitationResponse(rsp *http.Response) (*PreviewInvitationResponse, error)
ParsePreviewInvitationResponse parses an HTTP response from a PreviewInvitationWithResponse call
func (PreviewInvitationResponse) ContentType ¶
func (r PreviewInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreviewInvitationResponse) GetBody ¶
func (r PreviewInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PreviewInvitationResponse) GetJSON4XX ¶
func (r PreviewInvitationResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PreviewInvitationResponse) GetJSON5XX ¶
func (r PreviewInvitationResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PreviewInvitationResponse) GetJSON200 ¶
func (r PreviewInvitationResponse) GetJSON200() *InvitationPreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PreviewInvitationResponse) Status ¶
func (r PreviewInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewInvitationResponse) StatusCode ¶
func (r PreviewInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreviewOut ¶
type PreviewOut struct {
BaseBranch string `json:"base_branch"`
ClosedAt *time.Time `json:"closed_at"`
CreatedAt time.Time `json:"created_at"`
// EnvironmentId Null when creating it failed or once it is closed
EnvironmentId *openapi_types.UUID `json:"environment_id"`
Error *string `json:"error"`
HeadBranch string `json:"head_branch"`
HeadSha string `json:"head_sha"`
Id openapi_types.UUID `json:"id"`
PrNumber int `json:"pr_number"`
ProjectId openapi_types.UUID `json:"project_id"`
RepoFullName string `json:"repo_full_name"`
Status PreviewStatus `json:"status"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updated_at"`
// Url The previewed application's generated domain
Url *string `json:"url"`
}
PreviewOut defines model for PreviewOut.
type PreviewStatus ¶
type PreviewStatus string
PreviewStatus defines model for PreviewStatus.
const ( PreviewStatusActive PreviewStatus = "active" PreviewStatusClosed PreviewStatus = "closed" PreviewStatusClosing PreviewStatus = "closing" PreviewStatusCreating PreviewStatus = "creating" PreviewStatusFailed PreviewStatus = "failed" )
Defines values for PreviewStatus.
func (PreviewStatus) Valid ¶
func (e PreviewStatus) Valid() bool
Valid indicates whether the value is a known member of the PreviewStatus enum.
type PriceCatalogue ¶
type PriceCatalogue struct {
Currency string `json:"currency"`
HoursPerMonth int `json:"hours_per_month"`
Hypothesis bool `json:"hypothesis"`
ObjectStorage ObjectStoragePrices `json:"object_storage"`
Postgres PostgresPrices `json:"postgres"`
Redis RedisPrices `json:"redis"`
WhileStopped map[string]StoppedRule `json:"while_stopped"`
}
PriceCatalogue defines model for PriceCatalogue.
type PrivacyOverrideIn ¶
type PrivacyOverrideIn struct {
CustomYaml *string `json:"custom_yaml,omitempty"`
Enforcement *PrivacyOverrideInEnforcement `json:"enforcement,omitempty"`
Preset *string `json:"preset,omitempty"`
}
PrivacyOverrideIn A provider's own policy: a preset or custom YAML, and optionally its own enforcement.
type PrivacyOverrideInEnforcement ¶
type PrivacyOverrideInEnforcement string
PrivacyOverrideInEnforcement defines model for PrivacyOverrideIn.Enforcement.
const ( PrivacyOverrideInEnforcementClosed PrivacyOverrideInEnforcement = "closed" PrivacyOverrideInEnforcementOpen PrivacyOverrideInEnforcement = "open" )
Defines values for PrivacyOverrideInEnforcement.
func (PrivacyOverrideInEnforcement) Valid ¶
func (e PrivacyOverrideInEnforcement) Valid() bool
Valid indicates whether the value is a known member of the PrivacyOverrideInEnforcement enum.
type PrivacyPolicyIn ¶
type PrivacyPolicyIn struct {
// CustomYaml A Veil policy in YAML. Takes the place of the preset.
CustomYaml *string `json:"custom_yaml,omitempty"`
// Enforcement closed refuses requests Veil can't scan; open sends them unscanned with a warning.
Enforcement *PrivacyPolicyInEnforcement `json:"enforcement,omitempty"`
// InspectResponses Scan replies too, reporting findings in the log.
InspectResponses *bool `json:"inspect_responses,omitempty"`
// MediaRule Veil reads text only: refuse images and audio, or allow them with a warning.
MediaRule *PrivacyPolicyInMediaRule `json:"media_rule,omitempty"`
// Mode off leaves text alone; detect reports what Veil finds; protect applies the policy before the text leaves.
Mode *PrivacyPolicyInMode `json:"mode,omitempty"`
// Preset A built-in Veil policy.
Preset *string `json:"preset,omitempty"`
ProviderOverrides *map[string]PrivacyOverrideIn `json:"provider_overrides,omitempty"`
// RestoreInResponses Put tokenised values back into the model's reply, in memory for that request only.
RestoreInResponses *bool `json:"restore_in_responses,omitempty"`
}
PrivacyPolicyIn defines model for PrivacyPolicyIn.
type PrivacyPolicyInEnforcement ¶
type PrivacyPolicyInEnforcement string
PrivacyPolicyInEnforcement closed refuses requests Veil can't scan; open sends them unscanned with a warning.
const ( PrivacyPolicyInEnforcementClosed PrivacyPolicyInEnforcement = "closed" PrivacyPolicyInEnforcementOpen PrivacyPolicyInEnforcement = "open" )
Defines values for PrivacyPolicyInEnforcement.
func (PrivacyPolicyInEnforcement) Valid ¶
func (e PrivacyPolicyInEnforcement) Valid() bool
Valid indicates whether the value is a known member of the PrivacyPolicyInEnforcement enum.
type PrivacyPolicyInMediaRule ¶
type PrivacyPolicyInMediaRule string
PrivacyPolicyInMediaRule Veil reads text only: refuse images and audio, or allow them with a warning.
const ( PrivacyPolicyInMediaRuleAllowWithWarning PrivacyPolicyInMediaRule = "allow_with_warning" PrivacyPolicyInMediaRuleBlock PrivacyPolicyInMediaRule = "block" )
Defines values for PrivacyPolicyInMediaRule.
func (PrivacyPolicyInMediaRule) Valid ¶
func (e PrivacyPolicyInMediaRule) Valid() bool
Valid indicates whether the value is a known member of the PrivacyPolicyInMediaRule enum.
type PrivacyPolicyInMode ¶
type PrivacyPolicyInMode string
PrivacyPolicyInMode off leaves text alone; detect reports what Veil finds; protect applies the policy before the text leaves.
const ( PrivacyPolicyInModeDetect PrivacyPolicyInMode = "detect" PrivacyPolicyInModeOff PrivacyPolicyInMode = "off" PrivacyPolicyInModeProtect PrivacyPolicyInMode = "protect" )
Defines values for PrivacyPolicyInMode.
func (PrivacyPolicyInMode) Valid ¶
func (e PrivacyPolicyInMode) Valid() bool
Valid indicates whether the value is a known member of the PrivacyPolicyInMode enum.
type PrivacyPolicyOut ¶
type PrivacyPolicyOut struct {
// CustomYaml A Veil policy in YAML. Takes the place of the preset.
CustomYaml *string `json:"custom_yaml,omitempty"`
// Enforcement closed refuses requests Veil can't scan; open sends them unscanned with a warning.
Enforcement *PrivacyPolicyOutEnforcement `json:"enforcement,omitempty"`
// InspectResponses Scan replies too, reporting findings in the log.
InspectResponses *bool `json:"inspect_responses,omitempty"`
// MediaRule Veil reads text only: refuse images and audio, or allow them with a warning.
MediaRule *PrivacyPolicyOutMediaRule `json:"media_rule,omitempty"`
// Mode off leaves text alone; detect reports what Veil finds; protect applies the policy before the text leaves.
Mode *PrivacyPolicyOutMode `json:"mode,omitempty"`
// Preset A built-in Veil policy.
Preset *string `json:"preset,omitempty"`
ProviderOverrides *map[string]PrivacyOverrideIn `json:"provider_overrides,omitempty"`
// RestoreInResponses Put tokenised values back into the model's reply, in memory for that request only.
RestoreInResponses *bool `json:"restore_in_responses,omitempty"`
// UpdatedAt Null while Veil is off and was never configured.
UpdatedAt *time.Time `json:"updated_at"`
}
PrivacyPolicyOut defines model for PrivacyPolicyOut.
type PrivacyPolicyOutEnforcement ¶
type PrivacyPolicyOutEnforcement string
PrivacyPolicyOutEnforcement closed refuses requests Veil can't scan; open sends them unscanned with a warning.
const ( PrivacyPolicyOutEnforcementClosed PrivacyPolicyOutEnforcement = "closed" PrivacyPolicyOutEnforcementOpen PrivacyPolicyOutEnforcement = "open" )
Defines values for PrivacyPolicyOutEnforcement.
func (PrivacyPolicyOutEnforcement) Valid ¶
func (e PrivacyPolicyOutEnforcement) Valid() bool
Valid indicates whether the value is a known member of the PrivacyPolicyOutEnforcement enum.
type PrivacyPolicyOutMediaRule ¶
type PrivacyPolicyOutMediaRule string
PrivacyPolicyOutMediaRule Veil reads text only: refuse images and audio, or allow them with a warning.
const ( PrivacyPolicyOutMediaRuleAllowWithWarning PrivacyPolicyOutMediaRule = "allow_with_warning" PrivacyPolicyOutMediaRuleBlock PrivacyPolicyOutMediaRule = "block" )
Defines values for PrivacyPolicyOutMediaRule.
func (PrivacyPolicyOutMediaRule) Valid ¶
func (e PrivacyPolicyOutMediaRule) Valid() bool
Valid indicates whether the value is a known member of the PrivacyPolicyOutMediaRule enum.
type PrivacyPolicyOutMode ¶
type PrivacyPolicyOutMode string
PrivacyPolicyOutMode off leaves text alone; detect reports what Veil finds; protect applies the policy before the text leaves.
const ( PrivacyPolicyOutModeDetect PrivacyPolicyOutMode = "detect" PrivacyPolicyOutModeOff PrivacyPolicyOutMode = "off" PrivacyPolicyOutModeProtect PrivacyPolicyOutMode = "protect" )
Defines values for PrivacyPolicyOutMode.
func (PrivacyPolicyOutMode) Valid ¶
func (e PrivacyPolicyOutMode) Valid() bool
Valid indicates whether the value is a known member of the PrivacyPolicyOutMode enum.
type PrivacyPreviewIn ¶
type PrivacyPreviewIn struct {
// Policy Unsaved settings to try. Defaults to the saved ones.
Policy *PrivacyPolicyIn `json:"policy,omitempty"`
// Provider The destination to apply per-provider rules for.
Provider *PrivacyPreviewInProvider `json:"provider,omitempty"`
Text string `json:"text"`
}
PrivacyPreviewIn defines model for PrivacyPreviewIn.
type PrivacyPreviewInProvider ¶
type PrivacyPreviewInProvider string
PrivacyPreviewInProvider defines model for PrivacyPreviewIn.Provider.
const ( PrivacyPreviewInProviderAnthropic PrivacyPreviewInProvider = "anthropic" PrivacyPreviewInProviderDeepseek PrivacyPreviewInProvider = "deepseek" PrivacyPreviewInProviderGoogle PrivacyPreviewInProvider = "google" PrivacyPreviewInProviderMoonshot PrivacyPreviewInProvider = "moonshot" PrivacyPreviewInProviderOpenai PrivacyPreviewInProvider = "openai" PrivacyPreviewInProviderZai PrivacyPreviewInProvider = "zai" )
Defines values for PrivacyPreviewInProvider.
func (PrivacyPreviewInProvider) Valid ¶
func (e PrivacyPreviewInProvider) Valid() bool
Valid indicates whether the value is a known member of the PrivacyPreviewInProvider enum.
type PrivacyPreviewOut ¶
type PrivacyPreviewOut struct {
Blocked bool `json:"blocked"`
ByAction map[string]int `json:"by_action"`
ByEntity map[string]int `json:"by_entity"`
Decisions []PreviewDecision `json:"decisions"`
Findings int `json:"findings"`
Mode PrivacyPreviewOutMode `json:"mode"`
// Output The text as the provider would receive it; null when blocked.
Output *string `json:"output"`
Policy string `json:"policy"`
Warnings []string `json:"warnings"`
}
PrivacyPreviewOut defines model for PrivacyPreviewOut.
type PrivacyPreviewOutMode ¶
type PrivacyPreviewOutMode string
PrivacyPreviewOutMode defines model for PrivacyPreviewOut.Mode.
const ( PrivacyPreviewOutModeDetect PrivacyPreviewOutMode = "detect" PrivacyPreviewOutModeOff PrivacyPreviewOutMode = "off" PrivacyPreviewOutModeProtect PrivacyPreviewOutMode = "protect" )
Defines values for PrivacyPreviewOutMode.
func (PrivacyPreviewOutMode) Valid ¶
func (e PrivacyPreviewOutMode) Valid() bool
Valid indicates whether the value is a known member of the PrivacyPreviewOutMode enum.
type ProductInterest ¶
type ProductInterest string
ProductInterest defines model for ProductInterest.
const ( ProductInterestAi ProductInterest = "ai" ProductInterestCloud ProductInterest = "cloud" ProductInterestGpu ProductInterest = "gpu" ProductInterestVps ProductInterest = "vps" )
Defines values for ProductInterest.
func (ProductInterest) Valid ¶
func (e ProductInterest) Valid() bool
Valid indicates whether the value is a known member of the ProductInterest enum.
type ProjectOut ¶
type ProjectOut struct {
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description"`
Environments []EnvironmentOut `json:"environments"`
Id openapi_types.UUID `json:"id"`
LastDeployment *LastDeployment `json:"last_deployment"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organization_id"`
RegionId string `json:"region_id"`
ServiceCount int `json:"service_count"`
Slug string `json:"slug"`
Status ProjectOutStatus `json:"status"`
UpdatedAt time.Time `json:"updated_at"`
}
ProjectOut defines model for ProjectOut.
type ProjectOutStatus ¶
type ProjectOutStatus string
ProjectOutStatus defines model for ProjectOut.Status.
const ( ProjectOutStatusDegraded ProjectOutStatus = "degraded" ProjectOutStatusDeploying ProjectOutStatus = "deploying" ProjectOutStatusEmpty ProjectOutStatus = "empty" ProjectOutStatusFailed ProjectOutStatus = "failed" ProjectOutStatusRunning ProjectOutStatus = "running" ProjectOutStatusStopped ProjectOutStatus = "stopped" )
Defines values for ProjectOutStatus.
func (ProjectOutStatus) Valid ¶
func (e ProjectOutStatus) Valid() bool
Valid indicates whether the value is a known member of the ProjectOutStatus enum.
type ProviderKeyIn ¶
type ProviderKeyIn struct {
// Key Shown only to the provider. Dekka keeps the last 4.
Key string `json:"key"`
Name string `json:"name"`
Provider ProviderKeyInProvider `json:"provider"`
}
ProviderKeyIn defines model for ProviderKeyIn.
type ProviderKeyInProvider ¶
type ProviderKeyInProvider string
ProviderKeyInProvider defines model for ProviderKeyIn.Provider.
const ( ProviderKeyInProviderAnthropic ProviderKeyInProvider = "anthropic" ProviderKeyInProviderDeepseek ProviderKeyInProvider = "deepseek" ProviderKeyInProviderGoogle ProviderKeyInProvider = "google" ProviderKeyInProviderMoonshot ProviderKeyInProvider = "moonshot" ProviderKeyInProviderOpenai ProviderKeyInProvider = "openai" ProviderKeyInProviderZai ProviderKeyInProvider = "zai" )
Defines values for ProviderKeyInProvider.
func (ProviderKeyInProvider) Valid ¶
func (e ProviderKeyInProvider) Valid() bool
Valid indicates whether the value is a known member of the ProviderKeyInProvider enum.
type ProviderKeyOut ¶
type ProviderKeyOut struct {
CreatedAt time.Time `json:"created_at"`
CreatedByUserId *openapi_types.UUID `json:"created_by_user_id"`
Id openapi_types.UUID `json:"id"`
Last4 string `json:"last4"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organization_id"`
Provider AiProvider `json:"provider"`
RevokedAt *time.Time `json:"revoked_at"`
}
ProviderKeyOut defines model for ProviderKeyOut.
type ProviderOut ¶
type ProviderOut struct {
Id string `json:"id"`
Name string `json:"name"`
Notes *string `json:"notes"`
Verified bool `json:"verified"`
VerifiedAt *time.Time `json:"verified_at"`
}
ProviderOut defines model for ProviderOut.
type PutAiPolicyJSONRequestBody ¶
type PutAiPolicyJSONRequestBody = RoutingPolicyIn
PutAiPolicyJSONRequestBody defines body for PutAiPolicy for application/json ContentType.
type PutAiPolicyResponse ¶
type PutAiPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoutingPolicyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePutAiPolicyResponse ¶
func ParsePutAiPolicyResponse(rsp *http.Response) (*PutAiPolicyResponse, error)
ParsePutAiPolicyResponse parses an HTTP response from a PutAiPolicyWithResponse call
func (PutAiPolicyResponse) ContentType ¶
func (r PutAiPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutAiPolicyResponse) GetBody ¶
func (r PutAiPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutAiPolicyResponse) GetJSON4XX ¶
func (r PutAiPolicyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutAiPolicyResponse) GetJSON5XX ¶
func (r PutAiPolicyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutAiPolicyResponse) GetJSON200 ¶
func (r PutAiPolicyResponse) GetJSON200() *RoutingPolicyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutAiPolicyResponse) Status ¶
func (r PutAiPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (PutAiPolicyResponse) StatusCode ¶
func (r PutAiPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutAiPrivacyJSONRequestBody ¶
type PutAiPrivacyJSONRequestBody = PrivacyPolicyIn
PutAiPrivacyJSONRequestBody defines body for PutAiPrivacy for application/json ContentType.
type PutAiPrivacyResponse ¶
type PutAiPrivacyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PrivacyPolicyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePutAiPrivacyResponse ¶
func ParsePutAiPrivacyResponse(rsp *http.Response) (*PutAiPrivacyResponse, error)
ParsePutAiPrivacyResponse parses an HTTP response from a PutAiPrivacyWithResponse call
func (PutAiPrivacyResponse) ContentType ¶
func (r PutAiPrivacyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutAiPrivacyResponse) GetBody ¶
func (r PutAiPrivacyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutAiPrivacyResponse) GetJSON4XX ¶
func (r PutAiPrivacyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutAiPrivacyResponse) GetJSON5XX ¶
func (r PutAiPrivacyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutAiPrivacyResponse) GetJSON200 ¶
func (r PutAiPrivacyResponse) GetJSON200() *PrivacyPolicyOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutAiPrivacyResponse) Status ¶
func (r PutAiPrivacyResponse) Status() string
Status returns HTTPResponse.Status
func (PutAiPrivacyResponse) StatusCode ¶
func (r PutAiPrivacyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutBillingDetailsJSONRequestBody ¶
type PutBillingDetailsJSONRequestBody = BillingDetailsIn
PutBillingDetailsJSONRequestBody defines body for PutBillingDetails for application/json ContentType.
type PutBillingDetailsResponse ¶
type PutBillingDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BillingDetailsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePutBillingDetailsResponse ¶
func ParsePutBillingDetailsResponse(rsp *http.Response) (*PutBillingDetailsResponse, error)
ParsePutBillingDetailsResponse parses an HTTP response from a PutBillingDetailsWithResponse call
func (PutBillingDetailsResponse) ContentType ¶
func (r PutBillingDetailsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutBillingDetailsResponse) GetBody ¶
func (r PutBillingDetailsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutBillingDetailsResponse) GetJSON4XX ¶
func (r PutBillingDetailsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutBillingDetailsResponse) GetJSON5XX ¶
func (r PutBillingDetailsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutBillingDetailsResponse) GetJSON200 ¶
func (r PutBillingDetailsResponse) GetJSON200() *BillingDetailsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutBillingDetailsResponse) Status ¶
func (r PutBillingDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (PutBillingDetailsResponse) StatusCode ¶
func (r PutBillingDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutCanvasJSONRequestBody ¶
type PutCanvasJSONRequestBody = CanvasIn
PutCanvasJSONRequestBody defines body for PutCanvas for application/json ContentType.
type PutCanvasParams ¶
type PutCanvasParams struct {
EnvironmentId *openapi_types.UUID `form:"environment_id,omitempty" json:"environment_id,omitempty"`
}
PutCanvasParams defines parameters for PutCanvas.
type PutCanvasResponse ¶
type PutCanvasResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CanvasOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePutCanvasResponse ¶
func ParsePutCanvasResponse(rsp *http.Response) (*PutCanvasResponse, error)
ParsePutCanvasResponse parses an HTTP response from a PutCanvasWithResponse call
func (PutCanvasResponse) ContentType ¶
func (r PutCanvasResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutCanvasResponse) GetBody ¶
func (r PutCanvasResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutCanvasResponse) GetJSON4XX ¶
func (r PutCanvasResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutCanvasResponse) GetJSON5XX ¶
func (r PutCanvasResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutCanvasResponse) GetJSON200 ¶
func (r PutCanvasResponse) GetJSON200() *CanvasOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutCanvasResponse) Status ¶
func (r PutCanvasResponse) Status() string
Status returns HTTPResponse.Status
func (PutCanvasResponse) StatusCode ¶
func (r PutCanvasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutEnvJSONRequestBody ¶
type PutEnvJSONRequestBody = PutEnvRequest
PutEnvJSONRequestBody defines body for PutEnv for application/json ContentType.
type PutEnvRequest ¶
type PutEnvRequest struct {
Vars []EnvVarIn `json:"vars"`
}
PutEnvRequest defines model for PutEnvRequest.
type PutEnvResponse ¶
type PutEnvResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]EnvVarOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePutEnvResponse ¶
func ParsePutEnvResponse(rsp *http.Response) (*PutEnvResponse, error)
ParsePutEnvResponse parses an HTTP response from a PutEnvWithResponse call
func (PutEnvResponse) ContentType ¶
func (r PutEnvResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutEnvResponse) GetBody ¶
func (r PutEnvResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutEnvResponse) GetJSON4XX ¶
func (r PutEnvResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutEnvResponse) GetJSON5XX ¶
func (r PutEnvResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutEnvResponse) GetJSON200 ¶
func (r PutEnvResponse) GetJSON200() *[]EnvVarOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutEnvResponse) Status ¶
func (r PutEnvResponse) Status() string
Status returns HTTPResponse.Status
func (PutEnvResponse) StatusCode ¶
func (r PutEnvResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNotificationPreferencesJSONRequestBody ¶
type PutNotificationPreferencesJSONRequestBody = NotificationPreferences
PutNotificationPreferencesJSONRequestBody defines body for PutNotificationPreferences for application/json ContentType.
type PutNotificationPreferencesResponse ¶
type PutNotificationPreferencesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationPreferences
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePutNotificationPreferencesResponse ¶
func ParsePutNotificationPreferencesResponse(rsp *http.Response) (*PutNotificationPreferencesResponse, error)
ParsePutNotificationPreferencesResponse parses an HTTP response from a PutNotificationPreferencesWithResponse call
func (PutNotificationPreferencesResponse) ContentType ¶
func (r PutNotificationPreferencesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutNotificationPreferencesResponse) GetBody ¶
func (r PutNotificationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutNotificationPreferencesResponse) GetJSON4XX ¶
func (r PutNotificationPreferencesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutNotificationPreferencesResponse) GetJSON5XX ¶
func (r PutNotificationPreferencesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutNotificationPreferencesResponse) GetJSON200 ¶
func (r PutNotificationPreferencesResponse) GetJSON200() *NotificationPreferences
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutNotificationPreferencesResponse) Status ¶
func (r PutNotificationPreferencesResponse) Status() string
Status returns HTTPResponse.Status
func (PutNotificationPreferencesResponse) StatusCode ¶
func (r PutNotificationPreferencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutRawEnvJSONRequestBody ¶
type PutRawEnvJSONRequestBody = PutRawEnvRequest
PutRawEnvJSONRequestBody defines body for PutRawEnv for application/json ContentType.
type PutRawEnvRequest ¶
type PutRawEnvRequest struct {
// Content Dotenv text: comments, quotes and `export` are accepted
Content string `json:"content"`
// Replace Also delete user variables missing from the text. Connection-managed and sealed ones are kept.
Replace *bool `json:"replace,omitempty"`
}
PutRawEnvRequest defines model for PutRawEnvRequest.
type PutRawEnvResponse ¶
type PutRawEnvResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]EnvVarOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePutRawEnvResponse ¶
func ParsePutRawEnvResponse(rsp *http.Response) (*PutRawEnvResponse, error)
ParsePutRawEnvResponse parses an HTTP response from a PutRawEnvWithResponse call
func (PutRawEnvResponse) ContentType ¶
func (r PutRawEnvResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutRawEnvResponse) GetBody ¶
func (r PutRawEnvResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutRawEnvResponse) GetJSON4XX ¶
func (r PutRawEnvResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutRawEnvResponse) GetJSON5XX ¶
func (r PutRawEnvResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutRawEnvResponse) GetJSON200 ¶
func (r PutRawEnvResponse) GetJSON200() *[]EnvVarOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutRawEnvResponse) Status ¶
func (r PutRawEnvResponse) Status() string
Status returns HTTPResponse.Status
func (PutRawEnvResponse) StatusCode ¶
func (r PutRawEnvResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutRawSharedVariablesJSONRequestBody ¶
type PutRawSharedVariablesJSONRequestBody = PutRawEnvRequest
PutRawSharedVariablesJSONRequestBody defines body for PutRawSharedVariables for application/json ContentType.
type PutRawSharedVariablesResponse ¶
type PutRawSharedVariablesResponse struct {
JSON200 *[]SharedVariableOut
JSON4XX *ErrorEnvelope
JSON5XX *ErrorEnvelope
}
func ParsePutRawSharedVariablesResponse ¶
func ParsePutRawSharedVariablesResponse(rsp *http.Response) (*PutRawSharedVariablesResponse, error)
ParsePutRawSharedVariablesResponse parses an HTTP response from a PutRawSharedVariablesWithResponse call
func (PutRawSharedVariablesResponse) ContentType ¶
func (r PutRawSharedVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutRawSharedVariablesResponse) GetBody ¶
func (r PutRawSharedVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutRawSharedVariablesResponse) GetJSON4XX ¶
func (r PutRawSharedVariablesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutRawSharedVariablesResponse) GetJSON5XX ¶
func (r PutRawSharedVariablesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutRawSharedVariablesResponse) GetJSON200 ¶
func (r PutRawSharedVariablesResponse) GetJSON200() *[]SharedVariableOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutRawSharedVariablesResponse) Status ¶
func (r PutRawSharedVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (PutRawSharedVariablesResponse) StatusCode ¶
func (r PutRawSharedVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutSharedVariablesJSONRequestBody ¶
type PutSharedVariablesJSONRequestBody = PutSharedVariablesRequest
PutSharedVariablesJSONRequestBody defines body for PutSharedVariables for application/json ContentType.
type PutSharedVariablesRequest ¶
type PutSharedVariablesRequest struct {
}
PutSharedVariablesRequest defines model for PutSharedVariablesRequest.
type PutSharedVariablesResponse ¶
type PutSharedVariablesResponse struct {
JSON200 *[]SharedVariableOut
JSON4XX *ErrorEnvelope
JSON5XX *ErrorEnvelope
}
func ParsePutSharedVariablesResponse ¶
func ParsePutSharedVariablesResponse(rsp *http.Response) (*PutSharedVariablesResponse, error)
ParsePutSharedVariablesResponse parses an HTTP response from a PutSharedVariablesWithResponse call
func (PutSharedVariablesResponse) ContentType ¶
func (r PutSharedVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutSharedVariablesResponse) GetBody ¶
func (r PutSharedVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutSharedVariablesResponse) GetJSON4XX ¶
func (r PutSharedVariablesResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutSharedVariablesResponse) GetJSON5XX ¶
func (r PutSharedVariablesResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutSharedVariablesResponse) GetJSON200 ¶
func (r PutSharedVariablesResponse) GetJSON200() *[]SharedVariableOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutSharedVariablesResponse) Status ¶
func (r PutSharedVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (PutSharedVariablesResponse) StatusCode ¶
func (r PutSharedVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutSpendLimitJSONRequestBody ¶
type PutSpendLimitJSONRequestBody = SpendLimitIn
PutSpendLimitJSONRequestBody defines body for PutSpendLimit for application/json ContentType.
type PutSpendLimitResponse ¶
type PutSpendLimitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SpendLimitOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParsePutSpendLimitResponse ¶
func ParsePutSpendLimitResponse(rsp *http.Response) (*PutSpendLimitResponse, error)
ParsePutSpendLimitResponse parses an HTTP response from a PutSpendLimitWithResponse call
func (PutSpendLimitResponse) ContentType ¶
func (r PutSpendLimitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutSpendLimitResponse) GetBody ¶
func (r PutSpendLimitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutSpendLimitResponse) GetJSON4XX ¶
func (r PutSpendLimitResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (PutSpendLimitResponse) GetJSON5XX ¶
func (r PutSpendLimitResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (PutSpendLimitResponse) GetJSON200 ¶
func (r PutSpendLimitResponse) GetJSON200() *SpendLimitOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutSpendLimitResponse) Status ¶
func (r PutSpendLimitResponse) Status() string
Status returns HTTPResponse.Status
func (PutSpendLimitResponse) StatusCode ¶
func (r PutSpendLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QueryColumnOut ¶
QueryColumnOut defines model for QueryColumnOut.
type QueryIn ¶
type QueryIn struct {
MaxRows *int `json:"max_rows,omitempty"`
// Sql One read-only statement
Sql string `json:"sql"`
TimeoutMs *int `json:"timeout_ms,omitempty"`
}
QueryIn defines model for QueryIn.
type QueryOut ¶
type QueryOut struct {
Columns []QueryColumnOut `json:"columns"`
ElapsedMs float32 `json:"elapsed_ms"`
EngineKind string `json:"engine_kind"`
RowCount int `json:"row_count"`
Rows [][]interface{} `json:"rows"`
Simulated bool `json:"simulated"`
// Truncated True when the statement produced more than max_rows rows
Truncated bool `json:"truncated"`
}
QueryOut defines model for QueryOut.
type QueueSpec ¶
type QueueSpec struct {
// DeadLetterAfter Move a message to the queue's dead-letter queue after this many receives. Null keeps it.
DeadLetterAfter *int `json:"dead_letter_after,omitempty"`
// MaxMessageBytes The largest message accepted
MaxMessageBytes *int `json:"max_message_bytes,omitempty"`
// RetentionSeconds How long a message is kept before it is deleted unread. The default is four days.
RetentionSeconds *int `json:"retention_seconds,omitempty"`
// VisibilityTimeoutSeconds How long a received message stays hidden from other consumers before it can be received again
VisibilityTimeoutSeconds *int `json:"visibility_timeout_seconds,omitempty"`
}
QueueSpec A managed message queue. Connected services reach it at QUEUE_URL.
type RawEnvOut ¶
type RawEnvOut struct {
// Content Dotenv text. Secret, sealed and connection-managed values are left out with a comment line
Content string `json:"content"`
}
RawEnvOut defines model for RawEnvOut.
type ReadComposeJSONRequestBody ¶
type ReadComposeJSONRequestBody = ComposeReadRequest
ReadComposeJSONRequestBody defines body for ReadCompose for application/json ContentType.
type ReadComposeResponse ¶
type ReadComposeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ComposeFileTranslation
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseReadComposeResponse ¶
func ParseReadComposeResponse(rsp *http.Response) (*ReadComposeResponse, error)
ParseReadComposeResponse parses an HTTP response from a ReadComposeWithResponse call
func (ReadComposeResponse) ContentType ¶
func (r ReadComposeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReadComposeResponse) GetBody ¶
func (r ReadComposeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReadComposeResponse) GetJSON4XX ¶
func (r ReadComposeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ReadComposeResponse) GetJSON5XX ¶
func (r ReadComposeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ReadComposeResponse) GetJSON200 ¶
func (r ReadComposeResponse) GetJSON200() *ComposeFileTranslation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReadComposeResponse) Status ¶
func (r ReadComposeResponse) Status() string
Status returns HTTPResponse.Status
func (ReadComposeResponse) StatusCode ¶
func (r ReadComposeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadyzResponse ¶
type ReadyzResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppDomainsHealthRouterHealthOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *AppDomainsHealthRouterHealthOut
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseReadyzResponse ¶
func ParseReadyzResponse(rsp *http.Response) (*ReadyzResponse, error)
ParseReadyzResponse parses an HTTP response from a ReadyzWithResponse call
func (ReadyzResponse) ContentType ¶
func (r ReadyzResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReadyzResponse) GetBody ¶
func (r ReadyzResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReadyzResponse) GetJSON4XX ¶
func (r ReadyzResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ReadyzResponse) GetJSON5XX ¶
func (r ReadyzResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ReadyzResponse) GetJSON200 ¶
func (r ReadyzResponse) GetJSON200() *AppDomainsHealthRouterHealthOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReadyzResponse) GetJSON503 ¶
func (r ReadyzResponse) GetJSON503() *AppDomainsHealthRouterHealthOut
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ReadyzResponse) Status ¶
func (r ReadyzResponse) Status() string
Status returns HTTPResponse.Status
func (ReadyzResponse) StatusCode ¶
func (r ReadyzResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RebuildServerJSONRequestBody ¶
type RebuildServerJSONRequestBody = RebuildServerRequest
RebuildServerJSONRequestBody defines body for RebuildServer for application/json ContentType.
type RebuildServerRequest ¶
type RebuildServerRequest struct {
// Confirm The server's name. Rebuilding wipes the disk.
Confirm string `json:"confirm"`
ImageId string `json:"image_id"`
}
RebuildServerRequest defines model for RebuildServerRequest.
type RebuildServerResponse ¶
type RebuildServerResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ServerOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRebuildServerResponse ¶
func ParseRebuildServerResponse(rsp *http.Response) (*RebuildServerResponse, error)
ParseRebuildServerResponse parses an HTTP response from a RebuildServerWithResponse call
func (RebuildServerResponse) ContentType ¶
func (r RebuildServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RebuildServerResponse) GetBody ¶
func (r RebuildServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RebuildServerResponse) GetJSON4XX ¶
func (r RebuildServerResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RebuildServerResponse) GetJSON5XX ¶
func (r RebuildServerResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RebuildServerResponse) GetJSON202 ¶
func (r RebuildServerResponse) GetJSON202() *ServerOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RebuildServerResponse) Status ¶
func (r RebuildServerResponse) Status() string
Status returns HTTPResponse.Status
func (RebuildServerResponse) StatusCode ¶
func (r RebuildServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReceiveGithubWebhookResponse ¶
type ReceiveGithubWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookResult
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseReceiveGithubWebhookResponse ¶
func ParseReceiveGithubWebhookResponse(rsp *http.Response) (*ReceiveGithubWebhookResponse, error)
ParseReceiveGithubWebhookResponse parses an HTTP response from a ReceiveGithubWebhookWithResponse call
func (ReceiveGithubWebhookResponse) ContentType ¶
func (r ReceiveGithubWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReceiveGithubWebhookResponse) GetBody ¶
func (r ReceiveGithubWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReceiveGithubWebhookResponse) GetJSON4XX ¶
func (r ReceiveGithubWebhookResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ReceiveGithubWebhookResponse) GetJSON5XX ¶
func (r ReceiveGithubWebhookResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ReceiveGithubWebhookResponse) GetJSON200 ¶
func (r ReceiveGithubWebhookResponse) GetJSON200() *WebhookResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReceiveGithubWebhookResponse) Status ¶
func (r ReceiveGithubWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (ReceiveGithubWebhookResponse) StatusCode ¶
func (r ReceiveGithubWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReceivePaystackWebhookResponse ¶
type ReceivePaystackWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookAck
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseReceivePaystackWebhookResponse ¶
func ParseReceivePaystackWebhookResponse(rsp *http.Response) (*ReceivePaystackWebhookResponse, error)
ParseReceivePaystackWebhookResponse parses an HTTP response from a ReceivePaystackWebhookWithResponse call
func (ReceivePaystackWebhookResponse) ContentType ¶
func (r ReceivePaystackWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReceivePaystackWebhookResponse) GetBody ¶
func (r ReceivePaystackWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReceivePaystackWebhookResponse) GetJSON4XX ¶
func (r ReceivePaystackWebhookResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ReceivePaystackWebhookResponse) GetJSON5XX ¶
func (r ReceivePaystackWebhookResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ReceivePaystackWebhookResponse) GetJSON200 ¶
func (r ReceivePaystackWebhookResponse) GetJSON200() *WebhookAck
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReceivePaystackWebhookResponse) Status ¶
func (r ReceivePaystackWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (ReceivePaystackWebhookResponse) StatusCode ¶
func (r ReceivePaystackWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RecordAnalyticsEventJSONBody ¶
type RecordAnalyticsEventJSONBody struct {
Name RecordAnalyticsEventJSONBodyName `json:"name"`
// Path The page path. Query strings and fragments are dropped.
Path string `json:"path"`
// Props Up to 20 flat properties, with strings up to 200 characters
Props *map[string]RecordAnalyticsEventJSONBody_Props_AdditionalProperties `json:"props,omitempty"`
// Referrer The referring host name, such as news.ycombinator.com
Referrer *string `json:"referrer,omitempty"`
}
RecordAnalyticsEventJSONBody defines parameters for RecordAnalyticsEvent.
type RecordAnalyticsEventJSONBodyName ¶
type RecordAnalyticsEventJSONBodyName string
RecordAnalyticsEventJSONBodyName defines parameters for RecordAnalyticsEvent.
const ( RecordAnalyticsEventJSONBodyNamePageview RecordAnalyticsEventJSONBodyName = "pageview" RecordAnalyticsEventJSONBodyNamePilotApplication RecordAnalyticsEventJSONBodyName = "pilot_application" )
Defines values for RecordAnalyticsEventJSONBodyName.
func (RecordAnalyticsEventJSONBodyName) Valid ¶
func (e RecordAnalyticsEventJSONBodyName) Valid() bool
Valid indicates whether the value is a known member of the RecordAnalyticsEventJSONBodyName enum.
type RecordAnalyticsEventJSONBodyProps0 ¶
type RecordAnalyticsEventJSONBodyProps0 = string
RecordAnalyticsEventJSONBodyProps0 defines parameters for RecordAnalyticsEvent.
type RecordAnalyticsEventJSONBodyProps1 ¶
type RecordAnalyticsEventJSONBodyProps1 = int
RecordAnalyticsEventJSONBodyProps1 defines parameters for RecordAnalyticsEvent.
type RecordAnalyticsEventJSONBodyProps2 ¶
type RecordAnalyticsEventJSONBodyProps2 = float32
RecordAnalyticsEventJSONBodyProps2 defines parameters for RecordAnalyticsEvent.
type RecordAnalyticsEventJSONBodyProps3 ¶
type RecordAnalyticsEventJSONBodyProps3 = bool
RecordAnalyticsEventJSONBodyProps3 defines parameters for RecordAnalyticsEvent.
type RecordAnalyticsEventJSONBody_Props_AdditionalProperties ¶
type RecordAnalyticsEventJSONBody_Props_AdditionalProperties struct {
// contains filtered or unexported fields
}
RecordAnalyticsEventJSONBody_Props_AdditionalProperties defines parameters for RecordAnalyticsEvent.
func (RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps0 ¶
func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps0() (RecordAnalyticsEventJSONBodyProps0, error)
AsRecordAnalyticsEventJSONBodyProps0 returns the union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties as a RecordAnalyticsEventJSONBodyProps0
func (RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps1 ¶
func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps1() (RecordAnalyticsEventJSONBodyProps1, error)
AsRecordAnalyticsEventJSONBodyProps1 returns the union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties as a RecordAnalyticsEventJSONBodyProps1
func (RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps2 ¶
func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps2() (RecordAnalyticsEventJSONBodyProps2, error)
AsRecordAnalyticsEventJSONBodyProps2 returns the union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties as a RecordAnalyticsEventJSONBodyProps2
func (RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps3 ¶
func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) AsRecordAnalyticsEventJSONBodyProps3() (RecordAnalyticsEventJSONBodyProps3, error)
AsRecordAnalyticsEventJSONBodyProps3 returns the union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties as a RecordAnalyticsEventJSONBodyProps3
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps0 ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps0(v RecordAnalyticsEventJSONBodyProps0) error
FromRecordAnalyticsEventJSONBodyProps0 overwrites any union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties as the provided RecordAnalyticsEventJSONBodyProps0
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps1 ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps1(v RecordAnalyticsEventJSONBodyProps1) error
FromRecordAnalyticsEventJSONBodyProps1 overwrites any union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties as the provided RecordAnalyticsEventJSONBodyProps1
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps2 ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps2(v RecordAnalyticsEventJSONBodyProps2) error
FromRecordAnalyticsEventJSONBodyProps2 overwrites any union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties as the provided RecordAnalyticsEventJSONBodyProps2
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps3 ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) FromRecordAnalyticsEventJSONBodyProps3(v RecordAnalyticsEventJSONBodyProps3) error
FromRecordAnalyticsEventJSONBodyProps3 overwrites any union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties as the provided RecordAnalyticsEventJSONBodyProps3
func (RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MarshalJSON ¶
func (t RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MarshalJSON() ([]byte, error)
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps0 ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps0(v RecordAnalyticsEventJSONBodyProps0) error
MergeRecordAnalyticsEventJSONBodyProps0 performs a merge with any union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties, using the provided RecordAnalyticsEventJSONBodyProps0
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps1 ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps1(v RecordAnalyticsEventJSONBodyProps1) error
MergeRecordAnalyticsEventJSONBodyProps1 performs a merge with any union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties, using the provided RecordAnalyticsEventJSONBodyProps1
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps2 ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps2(v RecordAnalyticsEventJSONBodyProps2) error
MergeRecordAnalyticsEventJSONBodyProps2 performs a merge with any union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties, using the provided RecordAnalyticsEventJSONBodyProps2
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps3 ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) MergeRecordAnalyticsEventJSONBodyProps3(v RecordAnalyticsEventJSONBodyProps3) error
MergeRecordAnalyticsEventJSONBodyProps3 performs a merge with any union data inside the RecordAnalyticsEventJSONBody_Props_AdditionalProperties, using the provided RecordAnalyticsEventJSONBodyProps3
func (*RecordAnalyticsEventJSONBody_Props_AdditionalProperties) UnmarshalJSON ¶
func (t *RecordAnalyticsEventJSONBody_Props_AdditionalProperties) UnmarshalJSON(b []byte) error
type RecordAnalyticsEventJSONRequestBody ¶
type RecordAnalyticsEventJSONRequestBody RecordAnalyticsEventJSONBody
RecordAnalyticsEventJSONRequestBody defines body for RecordAnalyticsEvent for application/json ContentType.
type RecordAnalyticsEventResponse ¶
type RecordAnalyticsEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRecordAnalyticsEventResponse ¶
func ParseRecordAnalyticsEventResponse(rsp *http.Response) (*RecordAnalyticsEventResponse, error)
ParseRecordAnalyticsEventResponse parses an HTTP response from a RecordAnalyticsEventWithResponse call
func (RecordAnalyticsEventResponse) ContentType ¶
func (r RecordAnalyticsEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RecordAnalyticsEventResponse) GetBody ¶
func (r RecordAnalyticsEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RecordAnalyticsEventResponse) GetJSON4XX ¶
func (r RecordAnalyticsEventResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RecordAnalyticsEventResponse) GetJSON5XX ¶
func (r RecordAnalyticsEventResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RecordAnalyticsEventResponse) Status ¶
func (r RecordAnalyticsEventResponse) Status() string
Status returns HTTPResponse.Status
func (RecordAnalyticsEventResponse) StatusCode ¶
func (r RecordAnalyticsEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RedeliverWebhookDeliveryResponse ¶
type RedeliverWebhookDeliveryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeliveryOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRedeliverWebhookDeliveryResponse ¶
func ParseRedeliverWebhookDeliveryResponse(rsp *http.Response) (*RedeliverWebhookDeliveryResponse, error)
ParseRedeliverWebhookDeliveryResponse parses an HTTP response from a RedeliverWebhookDeliveryWithResponse call
func (RedeliverWebhookDeliveryResponse) ContentType ¶
func (r RedeliverWebhookDeliveryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RedeliverWebhookDeliveryResponse) GetBody ¶
func (r RedeliverWebhookDeliveryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RedeliverWebhookDeliveryResponse) GetJSON4XX ¶
func (r RedeliverWebhookDeliveryResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RedeliverWebhookDeliveryResponse) GetJSON5XX ¶
func (r RedeliverWebhookDeliveryResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RedeliverWebhookDeliveryResponse) GetJSON200 ¶
func (r RedeliverWebhookDeliveryResponse) GetJSON200() *DeliveryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RedeliverWebhookDeliveryResponse) Status ¶
func (r RedeliverWebhookDeliveryResponse) Status() string
Status returns HTTPResponse.Status
func (RedeliverWebhookDeliveryResponse) StatusCode ¶
func (r RedeliverWebhookDeliveryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RedisKeyOut ¶
type RedisKeyOut struct {
Key string `json:"key"`
// Preview The start of the value
Preview string `json:"preview"`
SizeBytes int `json:"size_bytes"`
// TtlSeconds Null when the key does not expire
TtlSeconds *int `json:"ttl_seconds"`
// Type string, list, set, zset, hash or stream
Type string `json:"type"`
}
RedisKeyOut defines model for RedisKeyOut.
type RedisKeysOut ¶
type RedisKeysOut struct {
// Cursor Pass back as `cursor` for the next page. "0" means the scan is complete.
Cursor string `json:"cursor"`
EngineKind string `json:"engine_kind"`
Keys []RedisKeyOut `json:"keys"`
Simulated bool `json:"simulated"`
}
RedisKeysOut defines model for RedisKeysOut.
type RedisPrices ¶
type RedisPrices struct {
Tiers []DataTier `json:"tiers"`
}
RedisPrices defines model for RedisPrices.
type RedisSpec ¶
type RedisSpec struct {
EvictionPolicy *RedisSpecEvictionPolicy `json:"eviction_policy,omitempty"`
// MemoryMib maxmemory, counted against redis_mib, or redis_mib_max on plans with overage. It can shrink.
MemoryMib *int `json:"memory_mib,omitempty"`
// Persistence Append-only file persistence
Persistence *bool `json:"persistence,omitempty"`
// Sku A tier id from GET /v1/catalog/prices, such as redis-seed-v1. The tier sets memory_mib, so leave it out or give the tier's values. Without one, the sizes given are used as they are.
Sku *string `json:"sku,omitempty"`
// TcpProxy Expose a public host and port that forwards TCP
TcpProxy *bool `json:"tcp_proxy,omitempty"`
Version *RedisSpecVersion `json:"version,omitempty"`
}
RedisSpec defines model for RedisSpec.
type RedisSpecEvictionPolicy ¶
type RedisSpecEvictionPolicy string
RedisSpecEvictionPolicy defines model for RedisSpec.EvictionPolicy.
const ( AllkeysLfu RedisSpecEvictionPolicy = "allkeys-lfu" AllkeysLru RedisSpecEvictionPolicy = "allkeys-lru" AllkeysRandom RedisSpecEvictionPolicy = "allkeys-random" Noeviction RedisSpecEvictionPolicy = "noeviction" VolatileLfu RedisSpecEvictionPolicy = "volatile-lfu" VolatileLru RedisSpecEvictionPolicy = "volatile-lru" VolatileRandom RedisSpecEvictionPolicy = "volatile-random" VolatileTtl RedisSpecEvictionPolicy = "volatile-ttl" )
Defines values for RedisSpecEvictionPolicy.
func (RedisSpecEvictionPolicy) Valid ¶
func (e RedisSpecEvictionPolicy) Valid() bool
Valid indicates whether the value is a known member of the RedisSpecEvictionPolicy enum.
type RedisSpecVersion ¶
type RedisSpecVersion string
RedisSpecVersion defines model for RedisSpec.Version.
const ( N74 RedisSpecVersion = "7.4" N80 RedisSpecVersion = "8.0" )
Defines values for RedisSpecVersion.
func (RedisSpecVersion) Valid ¶
func (e RedisSpecVersion) Valid() bool
Valid indicates whether the value is a known member of the RedisSpecVersion enum.
type ReferenceTarget ¶
type ReferenceTarget struct {
// Connected For a database, cache, bucket or queue: whether this service is connected to it. Referencing one it is not connected to connects it on save.
Connected *bool `json:"connected,omitempty"`
Keys []string `json:"keys"`
Kind string `json:"kind"`
// Name The service or resource name to write in ${{name.KEY}}
Name string `json:"name"`
}
ReferenceTarget Something a variable can reference, with the names it offers; never values.
type ReferenceTargetsOut ¶
type ReferenceTargetsOut struct {
Services []ReferenceTarget `json:"services"`
}
ReferenceTargetsOut defines model for ReferenceTargetsOut.
type ReferrerCount ¶
ReferrerCount defines model for ReferrerCount.
type RegionOut ¶
type RegionOut struct {
CountryCode string `json:"country_code"`
Id string `json:"id"`
Name string `json:"name"`
Providers []ProviderOut `json:"providers"`
Status RegionStatus `json:"status"`
}
RegionOut defines model for RegionOut.
type RegionStatus ¶
type RegionStatus string
RegionStatus defines model for RegionStatus.
const ( RegionStatusAvailable RegionStatus = "available" RegionStatusPreview RegionStatus = "preview" )
Defines values for RegionStatus.
func (RegionStatus) Valid ¶
func (e RegionStatus) Valid() bool
Valid indicates whether the value is a known member of the RegionStatus enum.
type RegisterPasskeyJSONRequestBody ¶
type RegisterPasskeyJSONRequestBody = PasskeyRegistration
RegisterPasskeyJSONRequestBody defines body for RegisterPasskey for application/json ContentType.
type RegisterPasskeyResponse ¶
type RegisterPasskeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PasskeyOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRegisterPasskeyResponse ¶
func ParseRegisterPasskeyResponse(rsp *http.Response) (*RegisterPasskeyResponse, error)
ParseRegisterPasskeyResponse parses an HTTP response from a RegisterPasskeyWithResponse call
func (RegisterPasskeyResponse) ContentType ¶
func (r RegisterPasskeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RegisterPasskeyResponse) GetBody ¶
func (r RegisterPasskeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RegisterPasskeyResponse) GetJSON4XX ¶
func (r RegisterPasskeyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RegisterPasskeyResponse) GetJSON5XX ¶
func (r RegisterPasskeyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RegisterPasskeyResponse) GetJSON201 ¶
func (r RegisterPasskeyResponse) GetJSON201() *PasskeyOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (RegisterPasskeyResponse) Status ¶
func (r RegisterPasskeyResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterPasskeyResponse) StatusCode ¶
func (r RegisterPasskeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegistryCredentialOut ¶
type RegistryCredentialOut struct {
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
// Last4 The last four characters of the password or token
Last4 string `json:"last4"`
Name string `json:"name"`
Registry string `json:"registry"`
UpdatedAt time.Time `json:"updated_at"`
Username string `json:"username"`
}
RegistryCredentialOut defines model for RegistryCredentialOut.
type RemoveDeploymentResponse ¶
type RemoveDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DeploymentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRemoveDeploymentResponse ¶
func ParseRemoveDeploymentResponse(rsp *http.Response) (*RemoveDeploymentResponse, error)
ParseRemoveDeploymentResponse parses an HTTP response from a RemoveDeploymentWithResponse call
func (RemoveDeploymentResponse) ContentType ¶
func (r RemoveDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveDeploymentResponse) GetBody ¶
func (r RemoveDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveDeploymentResponse) GetJSON4XX ¶
func (r RemoveDeploymentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RemoveDeploymentResponse) GetJSON5XX ¶
func (r RemoveDeploymentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RemoveDeploymentResponse) GetJSON202 ¶
func (r RemoveDeploymentResponse) GetJSON202() *DeploymentOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RemoveDeploymentResponse) Status ¶
func (r RemoveDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveDeploymentResponse) StatusCode ¶
func (r RemoveDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveOrgMemberResponse ¶
type RemoveOrgMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRemoveOrgMemberResponse ¶
func ParseRemoveOrgMemberResponse(rsp *http.Response) (*RemoveOrgMemberResponse, error)
ParseRemoveOrgMemberResponse parses an HTTP response from a RemoveOrgMemberWithResponse call
func (RemoveOrgMemberResponse) ContentType ¶
func (r RemoveOrgMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveOrgMemberResponse) GetBody ¶
func (r RemoveOrgMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveOrgMemberResponse) GetJSON4XX ¶
func (r RemoveOrgMemberResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RemoveOrgMemberResponse) GetJSON5XX ¶
func (r RemoveOrgMemberResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RemoveOrgMemberResponse) Status ¶
func (r RemoveOrgMemberResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveOrgMemberResponse) StatusCode ¶
func (r RemoveOrgMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemovePaymentMethodResponse ¶
type RemovePaymentMethodResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRemovePaymentMethodResponse ¶
func ParseRemovePaymentMethodResponse(rsp *http.Response) (*RemovePaymentMethodResponse, error)
ParseRemovePaymentMethodResponse parses an HTTP response from a RemovePaymentMethodWithResponse call
func (RemovePaymentMethodResponse) ContentType ¶
func (r RemovePaymentMethodResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemovePaymentMethodResponse) GetBody ¶
func (r RemovePaymentMethodResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemovePaymentMethodResponse) GetJSON4XX ¶
func (r RemovePaymentMethodResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RemovePaymentMethodResponse) GetJSON5XX ¶
func (r RemovePaymentMethodResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RemovePaymentMethodResponse) Status ¶
func (r RemovePaymentMethodResponse) Status() string
Status returns HTTPResponse.Status
func (RemovePaymentMethodResponse) StatusCode ¶
func (r RemovePaymentMethodResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplaceEnvironmentFirewallJSONRequestBody ¶
type ReplaceEnvironmentFirewallJSONRequestBody = ReplaceFirewallRequest
ReplaceEnvironmentFirewallJSONRequestBody defines body for ReplaceEnvironmentFirewall for application/json ContentType.
type ReplaceEnvironmentFirewallResponse ¶
type ReplaceEnvironmentFirewallResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FirewallOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseReplaceEnvironmentFirewallResponse ¶
func ParseReplaceEnvironmentFirewallResponse(rsp *http.Response) (*ReplaceEnvironmentFirewallResponse, error)
ParseReplaceEnvironmentFirewallResponse parses an HTTP response from a ReplaceEnvironmentFirewallWithResponse call
func (ReplaceEnvironmentFirewallResponse) ContentType ¶
func (r ReplaceEnvironmentFirewallResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReplaceEnvironmentFirewallResponse) GetBody ¶
func (r ReplaceEnvironmentFirewallResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReplaceEnvironmentFirewallResponse) GetJSON4XX ¶
func (r ReplaceEnvironmentFirewallResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ReplaceEnvironmentFirewallResponse) GetJSON5XX ¶
func (r ReplaceEnvironmentFirewallResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ReplaceEnvironmentFirewallResponse) GetJSON200 ¶
func (r ReplaceEnvironmentFirewallResponse) GetJSON200() *FirewallOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReplaceEnvironmentFirewallResponse) Status ¶
func (r ReplaceEnvironmentFirewallResponse) Status() string
Status returns HTTPResponse.Status
func (ReplaceEnvironmentFirewallResponse) StatusCode ¶
func (r ReplaceEnvironmentFirewallResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplaceFirewallRequest ¶
type ReplaceFirewallRequest struct {
Rules []FirewallRule `json:"rules"`
}
ReplaceFirewallRequest defines model for ReplaceFirewallRequest.
type ReplySupportTicketJSONRequestBody ¶
type ReplySupportTicketJSONRequestBody = MessageIn
ReplySupportTicketJSONRequestBody defines body for ReplySupportTicket for application/json ContentType.
type ReplySupportTicketResponse ¶
type ReplySupportTicketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MyTicketDetail
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseReplySupportTicketResponse ¶
func ParseReplySupportTicketResponse(rsp *http.Response) (*ReplySupportTicketResponse, error)
ParseReplySupportTicketResponse parses an HTTP response from a ReplySupportTicketWithResponse call
func (ReplySupportTicketResponse) ContentType ¶
func (r ReplySupportTicketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReplySupportTicketResponse) GetBody ¶
func (r ReplySupportTicketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReplySupportTicketResponse) GetJSON4XX ¶
func (r ReplySupportTicketResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ReplySupportTicketResponse) GetJSON5XX ¶
func (r ReplySupportTicketResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ReplySupportTicketResponse) GetJSON200 ¶
func (r ReplySupportTicketResponse) GetJSON200() *MyTicketDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReplySupportTicketResponse) Status ¶
func (r ReplySupportTicketResponse) Status() string
Status returns HTTPResponse.Status
func (ReplySupportTicketResponse) StatusCode ¶
func (r ReplySupportTicketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RepoOut ¶
type RepoOut struct {
DefaultBranch string `json:"default_branch"`
Description *string `json:"description"`
FullName string `json:"full_name"`
HtmlUrl string `json:"html_url"`
Id int `json:"id"`
Language *string `json:"language"`
Name string `json:"name"`
Private bool `json:"private"`
}
RepoOut defines model for RepoOut.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestMagicLinkJSONRequestBody
deprecated
type RequestMagicLinkJSONRequestBody = EmailSignInRequest
RequestMagicLinkJSONRequestBody defines body for RequestMagicLink for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type RequestMagicLinkResponse ¶
type RequestMagicLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *EmailSent
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRequestMagicLinkResponse ¶
func ParseRequestMagicLinkResponse(rsp *http.Response) (*RequestMagicLinkResponse, error)
ParseRequestMagicLinkResponse parses an HTTP response from a RequestMagicLinkWithResponse call
func (RequestMagicLinkResponse) ContentType ¶
func (r RequestMagicLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RequestMagicLinkResponse) GetBody ¶
func (r RequestMagicLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RequestMagicLinkResponse) GetJSON4XX ¶
func (r RequestMagicLinkResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RequestMagicLinkResponse) GetJSON5XX ¶
func (r RequestMagicLinkResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RequestMagicLinkResponse) GetJSON202 ¶
func (r RequestMagicLinkResponse) GetJSON202() *EmailSent
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RequestMagicLinkResponse) Status ¶
func (r RequestMagicLinkResponse) Status() string
Status returns HTTPResponse.Status
func (RequestMagicLinkResponse) StatusCode ¶
func (r RequestMagicLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeEstimateIn ¶
type ResizeEstimateIn struct {
ResourceId openapi_types.UUID `json:"resource_id"`
// Spec The proposed settings, laid over the current spec. Nested settings such as runtime are merged, and a new sku replaces the sizes the old one set.
Spec map[string]interface{} `json:"spec"`
Type ResizeEstimateInType `json:"type"`
}
ResizeEstimateIn defines model for ResizeEstimateIn.
type ResizeEstimateInType ¶
type ResizeEstimateInType string
ResizeEstimateInType defines model for ResizeEstimateIn.Type.
const (
Resize ResizeEstimateInType = "resize"
)
Defines values for ResizeEstimateInType.
func (ResizeEstimateInType) Valid ¶
func (e ResizeEstimateInType) Valid() bool
Valid indicates whether the value is a known member of the ResizeEstimateInType enum.
type ResizeServerJSONRequestBody ¶
type ResizeServerJSONRequestBody = ResizeServerRequest
ResizeServerJSONRequestBody defines body for ResizeServer for application/json ContentType.
type ResizeServerRequest ¶
type ResizeServerRequest struct {
// SizeId A size whose disk is at least as large
SizeId string `json:"size_id"`
}
ResizeServerRequest defines model for ResizeServerRequest.
type ResizeServerResponse ¶
type ResizeServerResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ServerOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseResizeServerResponse ¶
func ParseResizeServerResponse(rsp *http.Response) (*ResizeServerResponse, error)
ParseResizeServerResponse parses an HTTP response from a ResizeServerWithResponse call
func (ResizeServerResponse) ContentType ¶
func (r ResizeServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResizeServerResponse) GetBody ¶
func (r ResizeServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResizeServerResponse) GetJSON4XX ¶
func (r ResizeServerResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ResizeServerResponse) GetJSON5XX ¶
func (r ResizeServerResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ResizeServerResponse) GetJSON202 ¶
func (r ResizeServerResponse) GetJSON202() *ServerOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ResizeServerResponse) Status ¶
func (r ResizeServerResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeServerResponse) StatusCode ¶
func (r ResizeServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeVolumeJSONRequestBody ¶
type ResizeVolumeJSONRequestBody = ResizeVolumeRequest
ResizeVolumeJSONRequestBody defines body for ResizeVolume for application/json ContentType.
type ResizeVolumeRequest ¶
type ResizeVolumeRequest struct {
// SizeGb Larger than the current size; volumes only grow
SizeGb int `json:"size_gb"`
}
ResizeVolumeRequest defines model for ResizeVolumeRequest.
type ResizeVolumeResponse ¶
type ResizeVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *AppDomainsVolumesSchemasVolumeOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseResizeVolumeResponse ¶
func ParseResizeVolumeResponse(rsp *http.Response) (*ResizeVolumeResponse, error)
ParseResizeVolumeResponse parses an HTTP response from a ResizeVolumeWithResponse call
func (ResizeVolumeResponse) ContentType ¶
func (r ResizeVolumeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResizeVolumeResponse) GetBody ¶
func (r ResizeVolumeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResizeVolumeResponse) GetJSON4XX ¶
func (r ResizeVolumeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ResizeVolumeResponse) GetJSON5XX ¶
func (r ResizeVolumeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ResizeVolumeResponse) GetJSON202 ¶
func (r ResizeVolumeResponse) GetJSON202() *AppDomainsVolumesSchemasVolumeOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ResizeVolumeResponse) Status ¶
func (r ResizeVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeVolumeResponse) StatusCode ¶
func (r ResizeVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResourceEstimateIn ¶
type ResourceEstimateIn struct {
// Kind The brief's resource kinds (section 25.2), plus Redis and queues.
Kind ResourceKind `json:"kind"`
Name *string `json:"name,omitempty"`
// OrganizationId The same, when there is no project yet
OrganizationId *openapi_types.UUID `json:"organization_id,omitempty"`
// ProjectId Prices against the project's organization's plan and what it already uses
ProjectId *openapi_types.UUID `json:"project_id,omitempty"`
// Spec The spec as it would be sent to create it
Spec *map[string]interface{} `json:"spec,omitempty"`
Type ResourceEstimateInType `json:"type"`
// VolumeGb A volume created with it
VolumeGb *int `json:"volume_gb,omitempty"`
}
ResourceEstimateIn defines model for ResourceEstimateIn.
type ResourceEstimateInType ¶
type ResourceEstimateInType string
ResourceEstimateInType defines model for ResourceEstimateIn.Type.
const (
ResourceEstimateInTypeResource ResourceEstimateInType = "resource"
)
Defines values for ResourceEstimateInType.
func (ResourceEstimateInType) Valid ¶
func (e ResourceEstimateInType) Valid() bool
Valid indicates whether the value is a known member of the ResourceEstimateInType enum.
type ResourceKind ¶
type ResourceKind string
ResourceKind The brief's resource kinds (section 25.2), plus Redis and queues.
const ( AiGatewayBinding ResourceKind = "ai_gateway_binding" Application ResourceKind = "application" GpuRuntime ResourceKind = "gpu_runtime" ObjectStorage ResourceKind = "object_storage" Postgres ResourceKind = "postgres" Queue ResourceKind = "queue" Redis ResourceKind = "redis" ScheduledJob ResourceKind = "scheduled_job" VirtualMachine ResourceKind = "virtual_machine" Worker ResourceKind = "worker" )
Defines values for ResourceKind.
func (ResourceKind) Valid ¶
func (e ResourceKind) Valid() bool
Valid indicates whether the value is a known member of the ResourceKind enum.
type ResourceOut ¶
type ResourceOut struct {
ActiveOperation *ActiveOperation `json:"active_operation"`
CreatedAt time.Time `json:"created_at"`
EnvironmentId openapi_types.UUID `json:"environment_id"`
Generation int `json:"generation"`
// Hostname The first public hostname: the generated domain when it is on
Hostname *string `json:"hostname"`
Id openapi_types.UUID `json:"id"`
// Kind The brief's resource kinds (section 25.2), plus Redis and queues.
Kind ResourceKind `json:"kind"`
Name string `json:"name"`
// NextRuns Scheduled jobs: the next five run times, in UTC
NextRuns *[]time.Time `json:"next_runs"`
Observed *ObservedOut `json:"observed"`
// PendingSettings Spec fields that are on but whose effect the engine has not reported, while no operation is in flight, such as tcp_proxy without a tcp_proxy endpoint. Sending the same spec again applies them again
PendingSettings *[]string `json:"pending_settings,omitempty"`
// PrivateHostname <slug>.internal.<region>.dekka.cloud, the name services in the same environment reach this resource by. The engine's reported internal hostname when it has one
PrivateHostname *string `json:"private_hostname"`
ProjectId openapi_types.UUID `json:"project_id"`
// PublicDomain The service's <subdomain>.apps.dekka.cloud domain, when it is on. The subdomain is the chosen one, or the slug when none was chosen
PublicDomain *string `json:"public_domain"`
RegionId string `json:"region_id"`
Slug string `json:"slug"`
Spec ResourceOut_Spec `json:"spec"`
SpecVersion int `json:"spec_version"`
Status ResourceStatus `json:"status"`
StatusReason *string `json:"status_reason"`
// Subdomain Applications: the first part of the apps.dekka.cloud address, chosen or the slug. Null for other kinds
Subdomain *string `json:"subdomain"`
// TcpProxy The public host and port that forward TCP to this database, when its spec has tcp_proxy on and the engine reports the endpoint; null otherwise
TcpProxy *TcpProxyOut `json:"tcp_proxy,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
}
ResourceOut defines model for ResourceOut.
type ResourceOut_Spec ¶
type ResourceOut_Spec struct {
// contains filtered or unexported fields
}
ResourceOut_Spec defines model for ResourceOut.Spec.
func (ResourceOut_Spec) AsAiGatewayBindingSpec ¶
func (t ResourceOut_Spec) AsAiGatewayBindingSpec() (AiGatewayBindingSpec, error)
AsAiGatewayBindingSpec returns the union data inside the ResourceOut_Spec as a AiGatewayBindingSpec
func (ResourceOut_Spec) AsApplicationSpec ¶
func (t ResourceOut_Spec) AsApplicationSpec() (ApplicationSpec, error)
AsApplicationSpec returns the union data inside the ResourceOut_Spec as a ApplicationSpec
func (ResourceOut_Spec) AsGpuRuntimeSpec ¶
func (t ResourceOut_Spec) AsGpuRuntimeSpec() (GpuRuntimeSpec, error)
AsGpuRuntimeSpec returns the union data inside the ResourceOut_Spec as a GpuRuntimeSpec
func (ResourceOut_Spec) AsObjectStorageSpec ¶
func (t ResourceOut_Spec) AsObjectStorageSpec() (ObjectStorageSpec, error)
AsObjectStorageSpec returns the union data inside the ResourceOut_Spec as a ObjectStorageSpec
func (ResourceOut_Spec) AsPostgresSpec ¶
func (t ResourceOut_Spec) AsPostgresSpec() (PostgresSpec, error)
AsPostgresSpec returns the union data inside the ResourceOut_Spec as a PostgresSpec
func (ResourceOut_Spec) AsQueueSpec ¶
func (t ResourceOut_Spec) AsQueueSpec() (QueueSpec, error)
AsQueueSpec returns the union data inside the ResourceOut_Spec as a QueueSpec
func (ResourceOut_Spec) AsRedisSpec ¶
func (t ResourceOut_Spec) AsRedisSpec() (RedisSpec, error)
AsRedisSpec returns the union data inside the ResourceOut_Spec as a RedisSpec
func (ResourceOut_Spec) AsScheduledJobSpec ¶
func (t ResourceOut_Spec) AsScheduledJobSpec() (ScheduledJobSpec, error)
AsScheduledJobSpec returns the union data inside the ResourceOut_Spec as a ScheduledJobSpec
func (ResourceOut_Spec) AsVirtualMachineSpec ¶
func (t ResourceOut_Spec) AsVirtualMachineSpec() (VirtualMachineSpec, error)
AsVirtualMachineSpec returns the union data inside the ResourceOut_Spec as a VirtualMachineSpec
func (ResourceOut_Spec) AsWorkerSpec ¶
func (t ResourceOut_Spec) AsWorkerSpec() (WorkerSpec, error)
AsWorkerSpec returns the union data inside the ResourceOut_Spec as a WorkerSpec
func (*ResourceOut_Spec) FromAiGatewayBindingSpec ¶
func (t *ResourceOut_Spec) FromAiGatewayBindingSpec(v AiGatewayBindingSpec) error
FromAiGatewayBindingSpec overwrites any union data inside the ResourceOut_Spec as the provided AiGatewayBindingSpec
func (*ResourceOut_Spec) FromApplicationSpec ¶
func (t *ResourceOut_Spec) FromApplicationSpec(v ApplicationSpec) error
FromApplicationSpec overwrites any union data inside the ResourceOut_Spec as the provided ApplicationSpec
func (*ResourceOut_Spec) FromGpuRuntimeSpec ¶
func (t *ResourceOut_Spec) FromGpuRuntimeSpec(v GpuRuntimeSpec) error
FromGpuRuntimeSpec overwrites any union data inside the ResourceOut_Spec as the provided GpuRuntimeSpec
func (*ResourceOut_Spec) FromObjectStorageSpec ¶
func (t *ResourceOut_Spec) FromObjectStorageSpec(v ObjectStorageSpec) error
FromObjectStorageSpec overwrites any union data inside the ResourceOut_Spec as the provided ObjectStorageSpec
func (*ResourceOut_Spec) FromPostgresSpec ¶
func (t *ResourceOut_Spec) FromPostgresSpec(v PostgresSpec) error
FromPostgresSpec overwrites any union data inside the ResourceOut_Spec as the provided PostgresSpec
func (*ResourceOut_Spec) FromQueueSpec ¶
func (t *ResourceOut_Spec) FromQueueSpec(v QueueSpec) error
FromQueueSpec overwrites any union data inside the ResourceOut_Spec as the provided QueueSpec
func (*ResourceOut_Spec) FromRedisSpec ¶
func (t *ResourceOut_Spec) FromRedisSpec(v RedisSpec) error
FromRedisSpec overwrites any union data inside the ResourceOut_Spec as the provided RedisSpec
func (*ResourceOut_Spec) FromScheduledJobSpec ¶
func (t *ResourceOut_Spec) FromScheduledJobSpec(v ScheduledJobSpec) error
FromScheduledJobSpec overwrites any union data inside the ResourceOut_Spec as the provided ScheduledJobSpec
func (*ResourceOut_Spec) FromVirtualMachineSpec ¶
func (t *ResourceOut_Spec) FromVirtualMachineSpec(v VirtualMachineSpec) error
FromVirtualMachineSpec overwrites any union data inside the ResourceOut_Spec as the provided VirtualMachineSpec
func (*ResourceOut_Spec) FromWorkerSpec ¶
func (t *ResourceOut_Spec) FromWorkerSpec(v WorkerSpec) error
FromWorkerSpec overwrites any union data inside the ResourceOut_Spec as the provided WorkerSpec
func (ResourceOut_Spec) MarshalJSON ¶
func (t ResourceOut_Spec) MarshalJSON() ([]byte, error)
func (*ResourceOut_Spec) MergeAiGatewayBindingSpec ¶
func (t *ResourceOut_Spec) MergeAiGatewayBindingSpec(v AiGatewayBindingSpec) error
MergeAiGatewayBindingSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided AiGatewayBindingSpec
func (*ResourceOut_Spec) MergeApplicationSpec ¶
func (t *ResourceOut_Spec) MergeApplicationSpec(v ApplicationSpec) error
MergeApplicationSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided ApplicationSpec
func (*ResourceOut_Spec) MergeGpuRuntimeSpec ¶
func (t *ResourceOut_Spec) MergeGpuRuntimeSpec(v GpuRuntimeSpec) error
MergeGpuRuntimeSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided GpuRuntimeSpec
func (*ResourceOut_Spec) MergeObjectStorageSpec ¶
func (t *ResourceOut_Spec) MergeObjectStorageSpec(v ObjectStorageSpec) error
MergeObjectStorageSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided ObjectStorageSpec
func (*ResourceOut_Spec) MergePostgresSpec ¶
func (t *ResourceOut_Spec) MergePostgresSpec(v PostgresSpec) error
MergePostgresSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided PostgresSpec
func (*ResourceOut_Spec) MergeQueueSpec ¶
func (t *ResourceOut_Spec) MergeQueueSpec(v QueueSpec) error
MergeQueueSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided QueueSpec
func (*ResourceOut_Spec) MergeRedisSpec ¶
func (t *ResourceOut_Spec) MergeRedisSpec(v RedisSpec) error
MergeRedisSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided RedisSpec
func (*ResourceOut_Spec) MergeScheduledJobSpec ¶
func (t *ResourceOut_Spec) MergeScheduledJobSpec(v ScheduledJobSpec) error
MergeScheduledJobSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided ScheduledJobSpec
func (*ResourceOut_Spec) MergeVirtualMachineSpec ¶
func (t *ResourceOut_Spec) MergeVirtualMachineSpec(v VirtualMachineSpec) error
MergeVirtualMachineSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided VirtualMachineSpec
func (*ResourceOut_Spec) MergeWorkerSpec ¶
func (t *ResourceOut_Spec) MergeWorkerSpec(v WorkerSpec) error
MergeWorkerSpec performs a merge with any union data inside the ResourceOut_Spec, using the provided WorkerSpec
func (*ResourceOut_Spec) UnmarshalJSON ¶
func (t *ResourceOut_Spec) UnmarshalJSON(b []byte) error
type ResourceReferenceTargetsResponse ¶
type ResourceReferenceTargetsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReferenceTargetsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseResourceReferenceTargetsResponse ¶
func ParseResourceReferenceTargetsResponse(rsp *http.Response) (*ResourceReferenceTargetsResponse, error)
ParseResourceReferenceTargetsResponse parses an HTTP response from a ResourceReferenceTargetsWithResponse call
func (ResourceReferenceTargetsResponse) ContentType ¶
func (r ResourceReferenceTargetsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResourceReferenceTargetsResponse) GetBody ¶
func (r ResourceReferenceTargetsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResourceReferenceTargetsResponse) GetJSON4XX ¶
func (r ResourceReferenceTargetsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ResourceReferenceTargetsResponse) GetJSON5XX ¶
func (r ResourceReferenceTargetsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ResourceReferenceTargetsResponse) GetJSON200 ¶
func (r ResourceReferenceTargetsResponse) GetJSON200() *ReferenceTargetsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResourceReferenceTargetsResponse) Status ¶
func (r ResourceReferenceTargetsResponse) Status() string
Status returns HTTPResponse.Status
func (ResourceReferenceTargetsResponse) StatusCode ¶
func (r ResourceReferenceTargetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResourceStatus ¶
type ResourceStatus string
ResourceStatus defines model for ResourceStatus.
const ( ResourceStatusBuilding ResourceStatus = "building" ResourceStatusDegraded ResourceStatus = "degraded" ResourceStatusDeleting ResourceStatus = "deleting" ResourceStatusDeploying ResourceStatus = "deploying" ResourceStatusFailed ResourceStatus = "failed" ResourceStatusPending ResourceStatus = "pending" ResourceStatusProvisioning ResourceStatus = "provisioning" ResourceStatusRunning ResourceStatus = "running" ResourceStatusStopped ResourceStatus = "stopped" )
Defines values for ResourceStatus.
func (ResourceStatus) Valid ¶
func (e ResourceStatus) Valid() bool
Valid indicates whether the value is a known member of the ResourceStatus enum.
type RestoreBackupJSONRequestBody ¶
type RestoreBackupJSONRequestBody = RestoreRequest
RestoreBackupJSONRequestBody defines body for RestoreBackup for application/json ContentType.
type RestoreBackupResponse ¶
type RestoreBackupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRestoreBackupResponse ¶
func ParseRestoreBackupResponse(rsp *http.Response) (*RestoreBackupResponse, error)
ParseRestoreBackupResponse parses an HTTP response from a RestoreBackupWithResponse call
func (RestoreBackupResponse) ContentType ¶
func (r RestoreBackupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreBackupResponse) GetBody ¶
func (r RestoreBackupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreBackupResponse) GetJSON4XX ¶
func (r RestoreBackupResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RestoreBackupResponse) GetJSON5XX ¶
func (r RestoreBackupResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RestoreBackupResponse) GetJSON202 ¶
func (r RestoreBackupResponse) GetJSON202() *OperationOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RestoreBackupResponse) Status ¶
func (r RestoreBackupResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreBackupResponse) StatusCode ¶
func (r RestoreBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreDatabaseJSONRequestBody ¶
type RestoreDatabaseJSONRequestBody = RestoreRequest
RestoreDatabaseJSONRequestBody defines body for RestoreDatabase for application/json ContentType.
type RestoreDatabaseResponse ¶
type RestoreDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRestoreDatabaseResponse ¶
func ParseRestoreDatabaseResponse(rsp *http.Response) (*RestoreDatabaseResponse, error)
ParseRestoreDatabaseResponse parses an HTTP response from a RestoreDatabaseWithResponse call
func (RestoreDatabaseResponse) ContentType ¶
func (r RestoreDatabaseResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreDatabaseResponse) GetBody ¶
func (r RestoreDatabaseResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreDatabaseResponse) GetJSON4XX ¶
func (r RestoreDatabaseResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RestoreDatabaseResponse) GetJSON5XX ¶
func (r RestoreDatabaseResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RestoreDatabaseResponse) GetJSON202 ¶
func (r RestoreDatabaseResponse) GetJSON202() *OperationOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RestoreDatabaseResponse) Status ¶
func (r RestoreDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreDatabaseResponse) StatusCode ¶
func (r RestoreDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreRequest ¶
type RestoreRequest struct {
// Confirm The database's (or the volume's service's) name
Confirm string `json:"confirm"`
// TargetTime For a database, the moment to recover to. It must fall within the days the database's backups.retention_days keeps, and after the backup being restored was taken. Left out, the backup is restored as it was taken.
TargetTime *time.Time `json:"target_time,omitempty"`
}
RestoreRequest defines model for RestoreRequest.
type ResumeSubscriptionResponse ¶
type ResumeSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubscriptionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseResumeSubscriptionResponse ¶
func ParseResumeSubscriptionResponse(rsp *http.Response) (*ResumeSubscriptionResponse, error)
ParseResumeSubscriptionResponse parses an HTTP response from a ResumeSubscriptionWithResponse call
func (ResumeSubscriptionResponse) ContentType ¶
func (r ResumeSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResumeSubscriptionResponse) GetBody ¶
func (r ResumeSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResumeSubscriptionResponse) GetJSON4XX ¶
func (r ResumeSubscriptionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ResumeSubscriptionResponse) GetJSON5XX ¶
func (r ResumeSubscriptionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ResumeSubscriptionResponse) GetJSON200 ¶
func (r ResumeSubscriptionResponse) GetJSON200() *SubscriptionOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResumeSubscriptionResponse) Status ¶
func (r ResumeSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeSubscriptionResponse) StatusCode ¶
func (r ResumeSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetryConnectionResponse ¶
type RetryConnectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ConnectionOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRetryConnectionResponse ¶
func ParseRetryConnectionResponse(rsp *http.Response) (*RetryConnectionResponse, error)
ParseRetryConnectionResponse parses an HTTP response from a RetryConnectionWithResponse call
func (RetryConnectionResponse) ContentType ¶
func (r RetryConnectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RetryConnectionResponse) GetBody ¶
func (r RetryConnectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RetryConnectionResponse) GetJSON4XX ¶
func (r RetryConnectionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RetryConnectionResponse) GetJSON5XX ¶
func (r RetryConnectionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RetryConnectionResponse) GetJSON202 ¶
func (r RetryConnectionResponse) GetJSON202() *ConnectionOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RetryConnectionResponse) Status ¶
func (r RetryConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (RetryConnectionResponse) StatusCode ¶
func (r RetryConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevealEnvVarResponse ¶
type RevealEnvVarResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RevealedEnvVar
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRevealEnvVarResponse ¶
func ParseRevealEnvVarResponse(rsp *http.Response) (*RevealEnvVarResponse, error)
ParseRevealEnvVarResponse parses an HTTP response from a RevealEnvVarWithResponse call
func (RevealEnvVarResponse) ContentType ¶
func (r RevealEnvVarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevealEnvVarResponse) GetBody ¶
func (r RevealEnvVarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevealEnvVarResponse) GetJSON4XX ¶
func (r RevealEnvVarResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RevealEnvVarResponse) GetJSON5XX ¶
func (r RevealEnvVarResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RevealEnvVarResponse) GetJSON200 ¶
func (r RevealEnvVarResponse) GetJSON200() *RevealedEnvVar
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RevealEnvVarResponse) Status ¶
func (r RevealEnvVarResponse) Status() string
Status returns HTTPResponse.Status
func (RevealEnvVarResponse) StatusCode ¶
func (r RevealEnvVarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevealSharedVariableResponse ¶
type RevealSharedVariableResponse struct {
JSON200 *RevealedEnvVar
JSON4XX *ErrorEnvelope
JSON5XX *ErrorEnvelope
}
func ParseRevealSharedVariableResponse ¶
func ParseRevealSharedVariableResponse(rsp *http.Response) (*RevealSharedVariableResponse, error)
ParseRevealSharedVariableResponse parses an HTTP response from a RevealSharedVariableWithResponse call
func (RevealSharedVariableResponse) ContentType ¶
func (r RevealSharedVariableResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevealSharedVariableResponse) GetBody ¶
func (r RevealSharedVariableResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevealSharedVariableResponse) GetJSON4XX ¶
func (r RevealSharedVariableResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RevealSharedVariableResponse) GetJSON5XX ¶
func (r RevealSharedVariableResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RevealSharedVariableResponse) GetJSON200 ¶
func (r RevealSharedVariableResponse) GetJSON200() *RevealedEnvVar
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RevealSharedVariableResponse) Status ¶
func (r RevealSharedVariableResponse) Status() string
Status returns HTTPResponse.Status
func (RevealSharedVariableResponse) StatusCode ¶
func (r RevealSharedVariableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevealedEnvVar ¶
RevealedEnvVar defines model for RevealedEnvVar.
type RevertServerSnapshotJSONRequestBody ¶
type RevertServerSnapshotJSONRequestBody = RevertSnapshotRequest
RevertServerSnapshotJSONRequestBody defines body for RevertServerSnapshot for application/json ContentType.
type RevertServerSnapshotResponse ¶
type RevertServerSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *SnapshotsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRevertServerSnapshotResponse ¶
func ParseRevertServerSnapshotResponse(rsp *http.Response) (*RevertServerSnapshotResponse, error)
ParseRevertServerSnapshotResponse parses an HTTP response from a RevertServerSnapshotWithResponse call
func (RevertServerSnapshotResponse) ContentType ¶
func (r RevertServerSnapshotResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevertServerSnapshotResponse) GetBody ¶
func (r RevertServerSnapshotResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevertServerSnapshotResponse) GetJSON4XX ¶
func (r RevertServerSnapshotResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RevertServerSnapshotResponse) GetJSON5XX ¶
func (r RevertServerSnapshotResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RevertServerSnapshotResponse) GetJSON202 ¶
func (r RevertServerSnapshotResponse) GetJSON202() *SnapshotsOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RevertServerSnapshotResponse) Status ¶
func (r RevertServerSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (RevertServerSnapshotResponse) StatusCode ¶
func (r RevertServerSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevertSnapshotRequest ¶
type RevertSnapshotRequest struct {
// Confirm The server's name, since what was written after the snapshot is lost
Confirm string `json:"confirm"`
}
RevertSnapshotRequest defines model for RevertSnapshotRequest.
type RevokeApiKeyResponse ¶
type RevokeApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRevokeApiKeyResponse ¶
func ParseRevokeApiKeyResponse(rsp *http.Response) (*RevokeApiKeyResponse, error)
ParseRevokeApiKeyResponse parses an HTTP response from a RevokeApiKeyWithResponse call
func (RevokeApiKeyResponse) ContentType ¶
func (r RevokeApiKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeApiKeyResponse) GetBody ¶
func (r RevokeApiKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeApiKeyResponse) GetJSON4XX ¶
func (r RevokeApiKeyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RevokeApiKeyResponse) GetJSON5XX ¶
func (r RevokeApiKeyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RevokeApiKeyResponse) Status ¶
func (r RevokeApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeApiKeyResponse) StatusCode ¶
func (r RevokeApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeInvitationResponse ¶
type RevokeInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRevokeInvitationResponse ¶
func ParseRevokeInvitationResponse(rsp *http.Response) (*RevokeInvitationResponse, error)
ParseRevokeInvitationResponse parses an HTTP response from a RevokeInvitationWithResponse call
func (RevokeInvitationResponse) ContentType ¶
func (r RevokeInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeInvitationResponse) GetBody ¶
func (r RevokeInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeInvitationResponse) GetJSON4XX ¶
func (r RevokeInvitationResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RevokeInvitationResponse) GetJSON5XX ¶
func (r RevokeInvitationResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RevokeInvitationResponse) Status ¶
func (r RevokeInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeInvitationResponse) StatusCode ¶
func (r RevokeInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeMySessionResponse ¶
type RevokeMySessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRevokeMySessionResponse ¶
func ParseRevokeMySessionResponse(rsp *http.Response) (*RevokeMySessionResponse, error)
ParseRevokeMySessionResponse parses an HTTP response from a RevokeMySessionWithResponse call
func (RevokeMySessionResponse) ContentType ¶
func (r RevokeMySessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeMySessionResponse) GetBody ¶
func (r RevokeMySessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeMySessionResponse) GetJSON4XX ¶
func (r RevokeMySessionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RevokeMySessionResponse) GetJSON5XX ¶
func (r RevokeMySessionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RevokeMySessionResponse) Status ¶
func (r RevokeMySessionResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeMySessionResponse) StatusCode ¶
func (r RevokeMySessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeProjectTokenResponse ¶
type RevokeProjectTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRevokeProjectTokenResponse ¶
func ParseRevokeProjectTokenResponse(rsp *http.Response) (*RevokeProjectTokenResponse, error)
ParseRevokeProjectTokenResponse parses an HTTP response from a RevokeProjectTokenWithResponse call
func (RevokeProjectTokenResponse) ContentType ¶
func (r RevokeProjectTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeProjectTokenResponse) GetBody ¶
func (r RevokeProjectTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeProjectTokenResponse) GetJSON4XX ¶
func (r RevokeProjectTokenResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RevokeProjectTokenResponse) GetJSON5XX ¶
func (r RevokeProjectTokenResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RevokeProjectTokenResponse) Status ¶
func (r RevokeProjectTokenResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeProjectTokenResponse) StatusCode ¶
func (r RevokeProjectTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeProviderKeyResponse ¶
type RevokeProviderKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRevokeProviderKeyResponse ¶
func ParseRevokeProviderKeyResponse(rsp *http.Response) (*RevokeProviderKeyResponse, error)
ParseRevokeProviderKeyResponse parses an HTTP response from a RevokeProviderKeyWithResponse call
func (RevokeProviderKeyResponse) ContentType ¶
func (r RevokeProviderKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeProviderKeyResponse) GetBody ¶
func (r RevokeProviderKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeProviderKeyResponse) GetJSON4XX ¶
func (r RevokeProviderKeyResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RevokeProviderKeyResponse) GetJSON5XX ¶
func (r RevokeProviderKeyResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RevokeProviderKeyResponse) Status ¶
func (r RevokeProviderKeyResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeProviderKeyResponse) StatusCode ¶
func (r RevokeProviderKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Role ¶
type Role string
Role defines model for Role.
type RollbackDeploymentJSONBody ¶
type RollbackDeploymentJSONBody = RollbackRequest
RollbackDeploymentJSONBody defines parameters for RollbackDeployment.
type RollbackDeploymentJSONRequestBody ¶
type RollbackDeploymentJSONRequestBody = RollbackDeploymentJSONBody
RollbackDeploymentJSONRequestBody defines body for RollbackDeployment for application/json ContentType.
type RollbackDeploymentResponse ¶
type RollbackDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DeploymentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRollbackDeploymentResponse ¶
func ParseRollbackDeploymentResponse(rsp *http.Response) (*RollbackDeploymentResponse, error)
ParseRollbackDeploymentResponse parses an HTTP response from a RollbackDeploymentWithResponse call
func (RollbackDeploymentResponse) ContentType ¶
func (r RollbackDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RollbackDeploymentResponse) GetBody ¶
func (r RollbackDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RollbackDeploymentResponse) GetJSON4XX ¶
func (r RollbackDeploymentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RollbackDeploymentResponse) GetJSON5XX ¶
func (r RollbackDeploymentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RollbackDeploymentResponse) GetJSON201 ¶
func (r RollbackDeploymentResponse) GetJSON201() *DeploymentOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (RollbackDeploymentResponse) Status ¶
func (r RollbackDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (RollbackDeploymentResponse) StatusCode ¶
func (r RollbackDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RollbackRequest ¶
type RollbackRequest struct {
// KeepCurrentVariables Run the earlier image with the service's variables as they are now, instead of the variables that deployment ran with
KeepCurrentVariables *bool `json:"keep_current_variables,omitempty"`
}
RollbackRequest defines model for RollbackRequest.
type RootPasswordRequest ¶
type RootPasswordRequest struct {
// Password Root's new password. It is hashed before it leaves the API and is never stored.
Password string `json:"password"`
}
RootPasswordRequest defines model for RootPasswordRequest.
type RotateDatabaseCredentialsResponse ¶
type RotateDatabaseCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *RotateOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRotateDatabaseCredentialsResponse ¶
func ParseRotateDatabaseCredentialsResponse(rsp *http.Response) (*RotateDatabaseCredentialsResponse, error)
ParseRotateDatabaseCredentialsResponse parses an HTTP response from a RotateDatabaseCredentialsWithResponse call
func (RotateDatabaseCredentialsResponse) ContentType ¶
func (r RotateDatabaseCredentialsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RotateDatabaseCredentialsResponse) GetBody ¶
func (r RotateDatabaseCredentialsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RotateDatabaseCredentialsResponse) GetJSON4XX ¶
func (r RotateDatabaseCredentialsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RotateDatabaseCredentialsResponse) GetJSON5XX ¶
func (r RotateDatabaseCredentialsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RotateDatabaseCredentialsResponse) GetJSON202 ¶
func (r RotateDatabaseCredentialsResponse) GetJSON202() *RotateOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RotateDatabaseCredentialsResponse) Status ¶
func (r RotateDatabaseCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (RotateDatabaseCredentialsResponse) StatusCode ¶
func (r RotateDatabaseCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateOut ¶
type RotateOut struct {
Connections []ConnectionOut `json:"connections"`
OperationIds []openapi_types.UUID `json:"operation_ids"`
}
RotateOut defines model for RotateOut.
type RotateWebhookSecretResponse ¶
type RotateWebhookSecretResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookCreated
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRotateWebhookSecretResponse ¶
func ParseRotateWebhookSecretResponse(rsp *http.Response) (*RotateWebhookSecretResponse, error)
ParseRotateWebhookSecretResponse parses an HTTP response from a RotateWebhookSecretWithResponse call
func (RotateWebhookSecretResponse) ContentType ¶
func (r RotateWebhookSecretResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RotateWebhookSecretResponse) GetBody ¶
func (r RotateWebhookSecretResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RotateWebhookSecretResponse) GetJSON4XX ¶
func (r RotateWebhookSecretResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RotateWebhookSecretResponse) GetJSON5XX ¶
func (r RotateWebhookSecretResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RotateWebhookSecretResponse) GetJSON200 ¶
func (r RotateWebhookSecretResponse) GetJSON200() *WebhookCreated
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RotateWebhookSecretResponse) Status ¶
func (r RotateWebhookSecretResponse) Status() string
Status returns HTTPResponse.Status
func (RotateWebhookSecretResponse) StatusCode ¶
func (r RotateWebhookSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RoutingPolicyIn ¶
type RoutingPolicyIn struct {
// AllowedModels Empty allows every model from the allowed providers.
AllowedModels *[]string `json:"allowed_models,omitempty"`
AllowedProviders []RoutingPolicyInAllowedProviders `json:"allowed_providers"`
FallbackOrder *[]string `json:"fallback_order,omitempty"`
MonthlySpendCapUsd *RoutingPolicyIn_MonthlySpendCapUsd `json:"monthly_spend_cap_usd,omitempty"`
// Privacy Veil settings. Leave out to keep the current ones.
Privacy *PrivacyPolicyIn `json:"privacy,omitempty"`
}
RoutingPolicyIn defines model for RoutingPolicyIn.
type RoutingPolicyInAllowedProviders ¶
type RoutingPolicyInAllowedProviders string
RoutingPolicyInAllowedProviders defines model for RoutingPolicyIn.AllowedProviders.
const ( RoutingPolicyInAllowedProvidersAnthropic RoutingPolicyInAllowedProviders = "anthropic" RoutingPolicyInAllowedProvidersDeepseek RoutingPolicyInAllowedProviders = "deepseek" RoutingPolicyInAllowedProvidersGoogle RoutingPolicyInAllowedProviders = "google" RoutingPolicyInAllowedProvidersMoonshot RoutingPolicyInAllowedProviders = "moonshot" RoutingPolicyInAllowedProvidersOpenai RoutingPolicyInAllowedProviders = "openai" RoutingPolicyInAllowedProvidersZai RoutingPolicyInAllowedProviders = "zai" )
Defines values for RoutingPolicyInAllowedProviders.
func (RoutingPolicyInAllowedProviders) Valid ¶
func (e RoutingPolicyInAllowedProviders) Valid() bool
Valid indicates whether the value is a known member of the RoutingPolicyInAllowedProviders enum.
type RoutingPolicyInMonthlySpendCapUsd0 ¶
type RoutingPolicyInMonthlySpendCapUsd0 = float32
RoutingPolicyInMonthlySpendCapUsd0 defines model for RoutingPolicyIn.MonthlySpendCapUsd.0.
type RoutingPolicyInMonthlySpendCapUsd1 ¶
type RoutingPolicyInMonthlySpendCapUsd1 = string
RoutingPolicyInMonthlySpendCapUsd1 defines model for RoutingPolicyIn.MonthlySpendCapUsd.1.
type RoutingPolicyIn_MonthlySpendCapUsd ¶
type RoutingPolicyIn_MonthlySpendCapUsd struct {
// contains filtered or unexported fields
}
RoutingPolicyIn_MonthlySpendCapUsd defines model for RoutingPolicyIn.MonthlySpendCapUsd.
func (RoutingPolicyIn_MonthlySpendCapUsd) AsRoutingPolicyInMonthlySpendCapUsd0 ¶
func (t RoutingPolicyIn_MonthlySpendCapUsd) AsRoutingPolicyInMonthlySpendCapUsd0() (RoutingPolicyInMonthlySpendCapUsd0, error)
AsRoutingPolicyInMonthlySpendCapUsd0 returns the union data inside the RoutingPolicyIn_MonthlySpendCapUsd as a RoutingPolicyInMonthlySpendCapUsd0
func (RoutingPolicyIn_MonthlySpendCapUsd) AsRoutingPolicyInMonthlySpendCapUsd1 ¶
func (t RoutingPolicyIn_MonthlySpendCapUsd) AsRoutingPolicyInMonthlySpendCapUsd1() (RoutingPolicyInMonthlySpendCapUsd1, error)
AsRoutingPolicyInMonthlySpendCapUsd1 returns the union data inside the RoutingPolicyIn_MonthlySpendCapUsd as a RoutingPolicyInMonthlySpendCapUsd1
func (*RoutingPolicyIn_MonthlySpendCapUsd) FromRoutingPolicyInMonthlySpendCapUsd0 ¶
func (t *RoutingPolicyIn_MonthlySpendCapUsd) FromRoutingPolicyInMonthlySpendCapUsd0(v RoutingPolicyInMonthlySpendCapUsd0) error
FromRoutingPolicyInMonthlySpendCapUsd0 overwrites any union data inside the RoutingPolicyIn_MonthlySpendCapUsd as the provided RoutingPolicyInMonthlySpendCapUsd0
func (*RoutingPolicyIn_MonthlySpendCapUsd) FromRoutingPolicyInMonthlySpendCapUsd1 ¶
func (t *RoutingPolicyIn_MonthlySpendCapUsd) FromRoutingPolicyInMonthlySpendCapUsd1(v RoutingPolicyInMonthlySpendCapUsd1) error
FromRoutingPolicyInMonthlySpendCapUsd1 overwrites any union data inside the RoutingPolicyIn_MonthlySpendCapUsd as the provided RoutingPolicyInMonthlySpendCapUsd1
func (RoutingPolicyIn_MonthlySpendCapUsd) MarshalJSON ¶
func (t RoutingPolicyIn_MonthlySpendCapUsd) MarshalJSON() ([]byte, error)
func (*RoutingPolicyIn_MonthlySpendCapUsd) MergeRoutingPolicyInMonthlySpendCapUsd0 ¶
func (t *RoutingPolicyIn_MonthlySpendCapUsd) MergeRoutingPolicyInMonthlySpendCapUsd0(v RoutingPolicyInMonthlySpendCapUsd0) error
MergeRoutingPolicyInMonthlySpendCapUsd0 performs a merge with any union data inside the RoutingPolicyIn_MonthlySpendCapUsd, using the provided RoutingPolicyInMonthlySpendCapUsd0
func (*RoutingPolicyIn_MonthlySpendCapUsd) MergeRoutingPolicyInMonthlySpendCapUsd1 ¶
func (t *RoutingPolicyIn_MonthlySpendCapUsd) MergeRoutingPolicyInMonthlySpendCapUsd1(v RoutingPolicyInMonthlySpendCapUsd1) error
MergeRoutingPolicyInMonthlySpendCapUsd1 performs a merge with any union data inside the RoutingPolicyIn_MonthlySpendCapUsd, using the provided RoutingPolicyInMonthlySpendCapUsd1
func (*RoutingPolicyIn_MonthlySpendCapUsd) UnmarshalJSON ¶
func (t *RoutingPolicyIn_MonthlySpendCapUsd) UnmarshalJSON(b []byte) error
type RoutingPolicyOut ¶
type RoutingPolicyOut struct {
AllowedModels []string `json:"allowed_models"`
AllowedProviders []string `json:"allowed_providers"`
FallbackOrder []string `json:"fallback_order"`
// MonthToDateUsd Spend at list price this calendar month (UTC).
MonthToDateUsd string `json:"month_to_date_usd"`
MonthlySpendCapUsd *string `json:"monthly_spend_cap_usd"`
Privacy PrivacyPolicyOut `json:"privacy"`
ProjectId openapi_types.UUID `json:"project_id"`
// UpdatedAt Null while the project uses the default rules.
UpdatedAt *time.Time `json:"updated_at"`
}
RoutingPolicyOut defines model for RoutingPolicyOut.
type RunDatabaseQueryJSONRequestBody ¶
type RunDatabaseQueryJSONRequestBody = QueryIn
RunDatabaseQueryJSONRequestBody defines body for RunDatabaseQuery for application/json ContentType.
type RunDatabaseQueryResponse ¶
type RunDatabaseQueryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *QueryOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRunDatabaseQueryResponse ¶
func ParseRunDatabaseQueryResponse(rsp *http.Response) (*RunDatabaseQueryResponse, error)
ParseRunDatabaseQueryResponse parses an HTTP response from a RunDatabaseQueryWithResponse call
func (RunDatabaseQueryResponse) ContentType ¶
func (r RunDatabaseQueryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RunDatabaseQueryResponse) GetBody ¶
func (r RunDatabaseQueryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RunDatabaseQueryResponse) GetJSON4XX ¶
func (r RunDatabaseQueryResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RunDatabaseQueryResponse) GetJSON5XX ¶
func (r RunDatabaseQueryResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RunDatabaseQueryResponse) GetJSON200 ¶
func (r RunDatabaseQueryResponse) GetJSON200() *QueryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RunDatabaseQueryResponse) Status ¶
func (r RunDatabaseQueryResponse) Status() string
Status returns HTTPResponse.Status
func (RunDatabaseQueryResponse) StatusCode ¶
func (r RunDatabaseQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RunResourceActionParamsAction ¶
type RunResourceActionParamsAction string
RunResourceActionParamsAction defines parameters for RunResourceAction.
const ( RunResourceActionParamsActionRedeploy RunResourceActionParamsAction = "redeploy" RunResourceActionParamsActionRestart RunResourceActionParamsAction = "restart" RunResourceActionParamsActionStart RunResourceActionParamsAction = "start" RunResourceActionParamsActionStop RunResourceActionParamsAction = "stop" )
Defines values for RunResourceActionParamsAction.
func (RunResourceActionParamsAction) Valid ¶
func (e RunResourceActionParamsAction) Valid() bool
Valid indicates whether the value is a known member of the RunResourceActionParamsAction enum.
type RunResourceActionResponse ¶
type RunResourceActionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ResourceOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRunResourceActionResponse ¶
func ParseRunResourceActionResponse(rsp *http.Response) (*RunResourceActionResponse, error)
ParseRunResourceActionResponse parses an HTTP response from a RunResourceActionWithResponse call
func (RunResourceActionResponse) ContentType ¶
func (r RunResourceActionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RunResourceActionResponse) GetBody ¶
func (r RunResourceActionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RunResourceActionResponse) GetJSON4XX ¶
func (r RunResourceActionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RunResourceActionResponse) GetJSON5XX ¶
func (r RunResourceActionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RunResourceActionResponse) GetJSON202 ¶
func (r RunResourceActionResponse) GetJSON202() *ResourceOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RunResourceActionResponse) Status ¶
func (r RunResourceActionResponse) Status() string
Status returns HTTPResponse.Status
func (RunResourceActionResponse) StatusCode ¶
func (r RunResourceActionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RunServerActionParamsAction ¶
type RunServerActionParamsAction string
RunServerActionParamsAction defines parameters for RunServerAction.
const ( RunServerActionParamsActionReboot RunServerActionParamsAction = "reboot" RunServerActionParamsActionStart RunServerActionParamsAction = "start" RunServerActionParamsActionStop RunServerActionParamsAction = "stop" )
Defines values for RunServerActionParamsAction.
func (RunServerActionParamsAction) Valid ¶
func (e RunServerActionParamsAction) Valid() bool
Valid indicates whether the value is a known member of the RunServerActionParamsAction enum.
type RunServerActionResponse ¶
type RunServerActionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ServerOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseRunServerActionResponse ¶
func ParseRunServerActionResponse(rsp *http.Response) (*RunServerActionResponse, error)
ParseRunServerActionResponse parses an HTTP response from a RunServerActionWithResponse call
func (RunServerActionResponse) ContentType ¶
func (r RunServerActionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RunServerActionResponse) GetBody ¶
func (r RunServerActionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RunServerActionResponse) GetJSON4XX ¶
func (r RunServerActionResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (RunServerActionResponse) GetJSON5XX ¶
func (r RunServerActionResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (RunServerActionResponse) GetJSON202 ¶
func (r RunServerActionResponse) GetJSON202() *ServerOut
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RunServerActionResponse) Status ¶
func (r RunServerActionResponse) Status() string
Status returns HTTPResponse.Status
func (RunServerActionResponse) StatusCode ¶
func (r RunServerActionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuntimeProfileOut ¶
type RuntimeProfileOut struct {
Id string `json:"id"`
// Isolation firecracker-kvm, gvisor-systrap or kvm
Isolation string `json:"isolation"`
NestedVirtualization bool `json:"nested_virtualization"`
// Offered Whether the engine advertises this profile right now. False when no host can run it, or when the engine could not be reached.
Offered bool `json:"offered"`
// ProductName What instances of this profile are called
ProductName string `json:"product_name"`
}
RuntimeProfileOut defines model for RuntimeProfileOut.
type ScheduledJobSpec ¶
type ScheduledJobSpec struct {
Autodeploy *bool `json:"autodeploy,omitempty"`
// Build How a GitHub service is built. Each builder reads its own fields and
// ignores the others, so switching builders keeps what was set for the old
// one. `auto`, the name earlier specs used, is read as `railpack`.
Build *ServiceBuild `json:"build,omitempty"`
Networking *ServiceNetworking `json:"networking,omitempty"`
// Previews GitHub services in a default environment: open a preview environment for each pull request against the tracked branch
Previews *bool `json:"previews,omitempty"`
Runtime *ServiceRuntime `json:"runtime,omitempty"`
Source ScheduledJobSpec_Source `json:"source"`
}
ScheduledJobSpec defines model for ScheduledJobSpec.
type ScheduledJobSpec_Source ¶
type ScheduledJobSpec_Source struct {
// contains filtered or unexported fields
}
ScheduledJobSpec_Source defines model for ScheduledJobSpec.Source.
func (ScheduledJobSpec_Source) AsGitHubSource ¶
func (t ScheduledJobSpec_Source) AsGitHubSource() (GitHubSource, error)
AsGitHubSource returns the union data inside the ScheduledJobSpec_Source as a GitHubSource
func (ScheduledJobSpec_Source) AsImageSource ¶
func (t ScheduledJobSpec_Source) AsImageSource() (ImageSource, error)
AsImageSource returns the union data inside the ScheduledJobSpec_Source as a ImageSource
func (*ScheduledJobSpec_Source) FromGitHubSource ¶
func (t *ScheduledJobSpec_Source) FromGitHubSource(v GitHubSource) error
FromGitHubSource overwrites any union data inside the ScheduledJobSpec_Source as the provided GitHubSource
func (*ScheduledJobSpec_Source) FromImageSource ¶
func (t *ScheduledJobSpec_Source) FromImageSource(v ImageSource) error
FromImageSource overwrites any union data inside the ScheduledJobSpec_Source as the provided ImageSource
func (ScheduledJobSpec_Source) MarshalJSON ¶
func (t ScheduledJobSpec_Source) MarshalJSON() ([]byte, error)
func (*ScheduledJobSpec_Source) MergeGitHubSource ¶
func (t *ScheduledJobSpec_Source) MergeGitHubSource(v GitHubSource) error
MergeGitHubSource performs a merge with any union data inside the ScheduledJobSpec_Source, using the provided GitHubSource
func (*ScheduledJobSpec_Source) MergeImageSource ¶
func (t *ScheduledJobSpec_Source) MergeImageSource(v ImageSource) error
MergeImageSource performs a merge with any union data inside the ScheduledJobSpec_Source, using the provided ImageSource
func (*ScheduledJobSpec_Source) UnmarshalJSON ¶
func (t *ScheduledJobSpec_Source) UnmarshalJSON(b []byte) error
type SearchLogsParams ¶
type SearchLogsParams struct {
// Q Case-insensitive substring
Q *string `form:"q,omitempty" json:"q,omitempty"`
ResourceId *openapi_types.UUID `form:"resource_id,omitempty" json:"resource_id,omitempty"`
EnvironmentId *openapi_types.UUID `form:"environment_id,omitempty" json:"environment_id,omitempty"`
Stream *SearchLogsParamsStream `form:"stream,omitempty" json:"stream,omitempty"`
Since *time.Time `form:"since,omitempty" json:"since,omitempty"`
Until *time.Time `form:"until,omitempty" json:"until,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
SearchLogsParams defines parameters for SearchLogs.
type SearchLogsParamsStream ¶
type SearchLogsParamsStream string
SearchLogsParamsStream defines parameters for SearchLogs.
const ( Build SearchLogsParamsStream = "build" Deploy SearchLogsParamsStream = "deploy" Runtime SearchLogsParamsStream = "runtime" )
Defines values for SearchLogsParamsStream.
func (SearchLogsParamsStream) Valid ¶
func (e SearchLogsParamsStream) Valid() bool
Valid indicates whether the value is a known member of the SearchLogsParamsStream enum.
type SearchLogsResponse ¶
type SearchLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LogSearchPage
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSearchLogsResponse ¶
func ParseSearchLogsResponse(rsp *http.Response) (*SearchLogsResponse, error)
ParseSearchLogsResponse parses an HTTP response from a SearchLogsWithResponse call
func (SearchLogsResponse) ContentType ¶
func (r SearchLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SearchLogsResponse) GetBody ¶
func (r SearchLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SearchLogsResponse) GetJSON4XX ¶
func (r SearchLogsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SearchLogsResponse) GetJSON5XX ¶
func (r SearchLogsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SearchLogsResponse) GetJSON200 ¶
func (r SearchLogsResponse) GetJSON200() *LogSearchPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SearchLogsResponse) Status ¶
func (r SearchLogsResponse) Status() string
Status returns HTTPResponse.Status
func (SearchLogsResponse) StatusCode ¶
func (r SearchLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerCatalogOut ¶
type ServerCatalogOut struct {
// CapacityKnown Whether the engine's capacity report was available. When it was not, no size is available.
CapacityKnown bool `json:"capacity_known"`
Currency string `json:"currency"`
Images []ServerImageOut `json:"images"`
// IsHypothesis True: prices still need validation against host costs
IsHypothesis bool `json:"is_hypothesis"`
RuntimeProfiles []RuntimeProfileOut `json:"runtime_profiles"`
Sizes []ServerSizeOut `json:"sizes"`
}
ServerCatalogOut defines model for ServerCatalogOut.
type ServerCatalogResponse ¶
type ServerCatalogResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerCatalogOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseServerCatalogResponse ¶
func ParseServerCatalogResponse(rsp *http.Response) (*ServerCatalogResponse, error)
ParseServerCatalogResponse parses an HTTP response from a ServerCatalogWithResponse call
func (ServerCatalogResponse) ContentType ¶
func (r ServerCatalogResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerCatalogResponse) GetBody ¶
func (r ServerCatalogResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerCatalogResponse) GetJSON4XX ¶
func (r ServerCatalogResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ServerCatalogResponse) GetJSON5XX ¶
func (r ServerCatalogResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ServerCatalogResponse) GetJSON200 ¶
func (r ServerCatalogResponse) GetJSON200() *ServerCatalogOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerCatalogResponse) Status ¶
func (r ServerCatalogResponse) Status() string
Status returns HTTPResponse.Status
func (ServerCatalogResponse) StatusCode ¶
func (r ServerCatalogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerImageOut ¶
type ServerImageOut struct {
Available bool `json:"available"`
Family string `json:"family"`
Id string `json:"id"`
Name string `json:"name"`
RuntimeProfile string `json:"runtime_profile"`
Version string `json:"version"`
}
ServerImageOut defines model for ServerImageOut.
type ServerOut ¶
type ServerOut struct {
ActiveOperation *ActiveOperation `json:"active_operation"`
BootedAt *time.Time `json:"booted_at"`
CreatedAt time.Time `json:"created_at"`
EnvironmentId openapi_types.UUID `json:"environment_id"`
Hostname string `json:"hostname"`
// HourlyPriceMinor Pesewas an hour, fractional (monthly price / 730). Billed while the server exists, including while it is stopped, because the host keeps its disk and capacity reserved.
HourlyPriceMinor float32 `json:"hourly_price_minor"`
// Id The resource id
Id openapi_types.UUID `json:"id"`
ImageId string `json:"image_id"`
Ipv4 *string `json:"ipv4"`
Ipv6 *string `json:"ipv6"`
// Isolation firecracker-kvm, gvisor-systrap or kvm
Isolation string `json:"isolation"`
Name string `json:"name"`
// PendingSizeId The size a resize in progress is moving to
PendingSizeId *string `json:"pending_size_id"`
// PrivateIpv4 The server's address on its environment's private network, when it has one
PrivateIpv4 *string `json:"private_ipv4,omitempty"`
ProjectId openapi_types.UUID `json:"project_id"`
RegionId string `json:"region_id"`
// RuntimeProfile Fixed when the server was created
RuntimeProfile string `json:"runtime_profile"`
// Shell Whether the server's shell is switched on
Shell bool `json:"shell"`
SizeId string `json:"size_id"`
SshKeyFingerprints []string `json:"ssh_key_fingerprints"`
State ServerState `json:"state"`
StatusReason *string `json:"status_reason"`
}
ServerOut defines model for ServerOut.
type ServerShellOut ¶
type ServerShellOut struct {
// Command What to run once as root on a server that was made without the shell, or that had it switched off and on again. A server made with the shell on needs nothing.
Command string `json:"command"`
}
ServerShellOut defines model for ServerShellOut.
type ServerSizeOut ¶
type ServerSizeOut struct {
// Available Whether a server of this size can be created right now: the size is offered and a ready host has room for it. False when the pool is full or the engine could not be reached.
Available bool `json:"available"`
Currency string `json:"currency"`
DiskGb int `json:"disk_gb"`
// HourlyPrice monthly_price / 730, billed for every hour the server exists
HourlyPrice string `json:"hourly_price"`
// Id An immutable SKU; a changed price or allocation is a new id
Id string `json:"id"`
MemoryMib int `json:"memory_mib"`
// MonthlyPrice In `currency`, a pricing hypothesis
MonthlyPrice string `json:"monthly_price"`
// Name The tier word, such as Forge
Name string `json:"name"`
// Offered Whether the size is still sold. One that is not stays in the catalogue because servers have it, and it can no longer be chosen for a new server or a resize.
Offered bool `json:"offered"`
RuntimeProfile string `json:"runtime_profile"`
// Tier Null for a size from before tiers existed
Tier *ServerSizeOutTier `json:"tier"`
Vcpu int `json:"vcpu"`
}
ServerSizeOut defines model for ServerSizeOut.
type ServerSizeOutTier ¶
type ServerSizeOutTier string
ServerSizeOutTier defines model for ServerSizeOut.Tier.
const ( Atlas ServerSizeOutTier = "atlas" Core ServerSizeOutTier = "core" Forge ServerSizeOutTier = "forge" Seed ServerSizeOutTier = "seed" Titan ServerSizeOutTier = "titan" )
Defines values for ServerSizeOutTier.
func (ServerSizeOutTier) Valid ¶
func (e ServerSizeOutTier) Valid() bool
Valid indicates whether the value is a known member of the ServerSizeOutTier enum.
type ServerState ¶
type ServerState string
ServerState defines model for ServerState.
const ( ServerStateDeleted ServerState = "deleted" ServerStateDeleting ServerState = "deleting" ServerStateFailed ServerState = "failed" ServerStateProvisioning ServerState = "provisioning" ServerStateRebooting ServerState = "rebooting" ServerStateRunning ServerState = "running" ServerStateStopped ServerState = "stopped" ServerStateStopping ServerState = "stopping" )
Defines values for ServerState.
func (ServerState) Valid ¶
func (e ServerState) Valid() bool
Valid indicates whether the value is a known member of the ServerState enum.
type ServiceBuild ¶
type ServiceBuild struct {
// BuildArgs dockerfile: --build-arg values. Variables are also available as build arguments.
BuildArgs *map[string]interface{} `json:"build_args,omitempty"`
BuildCommand *string `json:"build_command,omitempty"`
// BuildpacksBuilder buildpacks: the builder image that picks and runs the buildpacks
BuildpacksBuilder *ServiceBuildBuildpacksBuilder `json:"buildpacks_builder,omitempty"`
// DockerfileContext dockerfile: the build context, relative to the root directory
DockerfileContext *string `json:"dockerfile_context,omitempty"`
// DockerfilePath dockerfile: the Dockerfile, relative to the root directory
DockerfilePath *string `json:"dockerfile_path,omitempty"`
// DockerfileTarget dockerfile: a stage
DockerfileTarget *string `json:"dockerfile_target,omitempty"`
// PreDeployCommand Runs once before the new release starts, such as a migration
PreDeployCommand *string `json:"pre_deploy_command,omitempty"`
// SpaFallback static: answer unknown paths with index.html
SpaFallback *bool `json:"spa_fallback,omitempty"`
StartCommand *string `json:"start_command,omitempty"`
// StaticPublishDir static: the directory the build writes, served as the site
StaticPublishDir *string `json:"static_publish_dir,omitempty"`
// Strategy railpack detects the language and builds without a Dockerfile; dockerfile builds the repository's Dockerfile; static builds, then serves the publish directory; buildpacks builds with Cloud Native Buildpacks. auto is accepted and stored as railpack.
Strategy *ServiceBuildStrategy `json:"strategy,omitempty"`
// WatchPaths Globs such as `src/**`. A push deploys only when a changed file matches one; empty means any.
WatchPaths *[]string `json:"watch_paths,omitempty"`
}
ServiceBuild How a GitHub service is built. Each builder reads its own fields and ignores the others, so switching builders keeps what was set for the old one. `auto`, the name earlier specs used, is read as `railpack`.
type ServiceBuildBuildpacksBuilder ¶
type ServiceBuildBuildpacksBuilder string
ServiceBuildBuildpacksBuilder buildpacks: the builder image that picks and runs the buildpacks
const ( Herokubuilder24 ServiceBuildBuildpacksBuilder = "heroku/builder:24" PaketobuildpacksubuntuNobleBuilder ServiceBuildBuildpacksBuilder = "paketobuildpacks/ubuntu-noble-builder" )
Defines values for ServiceBuildBuildpacksBuilder.
func (ServiceBuildBuildpacksBuilder) Valid ¶
func (e ServiceBuildBuildpacksBuilder) Valid() bool
Valid indicates whether the value is a known member of the ServiceBuildBuildpacksBuilder enum.
type ServiceBuildStrategy ¶
type ServiceBuildStrategy string
ServiceBuildStrategy railpack detects the language and builds without a Dockerfile; dockerfile builds the repository's Dockerfile; static builds, then serves the publish directory; buildpacks builds with Cloud Native Buildpacks. auto is accepted and stored as railpack.
const ( ServiceBuildStrategyAuto ServiceBuildStrategy = "auto" ServiceBuildStrategyBuildpacks ServiceBuildStrategy = "buildpacks" ServiceBuildStrategyDockerfile ServiceBuildStrategy = "dockerfile" ServiceBuildStrategyRailpack ServiceBuildStrategy = "railpack" ServiceBuildStrategyStatic ServiceBuildStrategy = "static" )
Defines values for ServiceBuildStrategy.
func (ServiceBuildStrategy) Valid ¶
func (e ServiceBuildStrategy) Valid() bool
Valid indicates whether the value is a known member of the ServiceBuildStrategy enum.
type ServiceNetworking ¶
type ServiceNetworking struct {
// PublicDomain Serve the generated <slug>.apps.dekka.cloud domain. Applications only.
PublicDomain *bool `json:"public_domain,omitempty"`
}
ServiceNetworking defines model for ServiceNetworking.
type ServiceRuntime ¶
type ServiceRuntime struct {
// CronSchedule Five-field cron in UTC. Setting it makes the service a scheduled job.
CronSchedule *string `json:"cron_schedule,omitempty"`
HealthCheckPath *string `json:"health_check_path,omitempty"`
HealthCheckTimeoutSeconds *int `json:"health_check_timeout_seconds,omitempty"`
MemoryMib *int `json:"memory_mib,omitempty"`
// Port The target port. Null for workers and jobs.
Port *int `json:"port,omitempty"`
Replicas *int `json:"replicas,omitempty"`
// RestartMaxRetries Used with on_failure
RestartMaxRetries *int `json:"restart_max_retries,omitempty"`
RestartPolicy *ServiceRuntimeRestartPolicy `json:"restart_policy,omitempty"`
// SleepWhenIdle Stop the service when it has no traffic
SleepWhenIdle *bool `json:"sleep_when_idle,omitempty"`
Vcpu *float32 `json:"vcpu,omitempty"`
}
ServiceRuntime defines model for ServiceRuntime.
type ServiceRuntimeRestartPolicy ¶
type ServiceRuntimeRestartPolicy string
ServiceRuntimeRestartPolicy defines model for ServiceRuntime.RestartPolicy.
const ( Always ServiceRuntimeRestartPolicy = "always" Never ServiceRuntimeRestartPolicy = "never" OnFailure ServiceRuntimeRestartPolicy = "on_failure" )
Defines values for ServiceRuntimeRestartPolicy.
func (ServiceRuntimeRestartPolicy) Valid ¶
func (e ServiceRuntimeRestartPolicy) Valid() bool
Valid indicates whether the value is a known member of the ServiceRuntimeRestartPolicy enum.
type SessionOut ¶
type SessionOut struct {
CreatedAt time.Time `json:"created_at"`
Current bool `json:"current"`
Id openapi_types.UUID `json:"id"`
Ip *string `json:"ip"`
LastSeenAt time.Time `json:"last_seen_at"`
UserAgent *string `json:"user_agent"`
}
SessionOut defines model for SessionOut.
type SetDefaultPaymentMethodResponse ¶
type SetDefaultPaymentMethodResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaymentMethodOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSetDefaultPaymentMethodResponse ¶
func ParseSetDefaultPaymentMethodResponse(rsp *http.Response) (*SetDefaultPaymentMethodResponse, error)
ParseSetDefaultPaymentMethodResponse parses an HTTP response from a SetDefaultPaymentMethodWithResponse call
func (SetDefaultPaymentMethodResponse) ContentType ¶
func (r SetDefaultPaymentMethodResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetDefaultPaymentMethodResponse) GetBody ¶
func (r SetDefaultPaymentMethodResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetDefaultPaymentMethodResponse) GetJSON4XX ¶
func (r SetDefaultPaymentMethodResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SetDefaultPaymentMethodResponse) GetJSON5XX ¶
func (r SetDefaultPaymentMethodResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SetDefaultPaymentMethodResponse) GetJSON200 ¶
func (r SetDefaultPaymentMethodResponse) GetJSON200() *PaymentMethodOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetDefaultPaymentMethodResponse) Status ¶
func (r SetDefaultPaymentMethodResponse) Status() string
Status returns HTTPResponse.Status
func (SetDefaultPaymentMethodResponse) StatusCode ¶
func (r SetDefaultPaymentMethodResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetServerRootPasswordJSONRequestBody ¶
type SetServerRootPasswordJSONRequestBody = RootPasswordRequest
SetServerRootPasswordJSONRequestBody defines body for SetServerRootPassword for application/json ContentType.
type SetServerRootPasswordResponse ¶
type SetServerRootPasswordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSetServerRootPasswordResponse ¶
func ParseSetServerRootPasswordResponse(rsp *http.Response) (*SetServerRootPasswordResponse, error)
ParseSetServerRootPasswordResponse parses an HTTP response from a SetServerRootPasswordWithResponse call
func (SetServerRootPasswordResponse) ContentType ¶
func (r SetServerRootPasswordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetServerRootPasswordResponse) GetBody ¶
func (r SetServerRootPasswordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetServerRootPasswordResponse) GetJSON4XX ¶
func (r SetServerRootPasswordResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SetServerRootPasswordResponse) GetJSON5XX ¶
func (r SetServerRootPasswordResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SetServerRootPasswordResponse) Status ¶
func (r SetServerRootPasswordResponse) Status() string
Status returns HTTPResponse.Status
func (SetServerRootPasswordResponse) StatusCode ¶
func (r SetServerRootPasswordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetServerSnapshotScheduleJSONRequestBody ¶
type SetServerSnapshotScheduleJSONRequestBody = SnapshotScheduleRequest
SetServerSnapshotScheduleJSONRequestBody defines body for SetServerSnapshotSchedule for application/json ContentType.
type SetServerSnapshotScheduleResponse ¶
type SetServerSnapshotScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SnapshotsOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSetServerSnapshotScheduleResponse ¶
func ParseSetServerSnapshotScheduleResponse(rsp *http.Response) (*SetServerSnapshotScheduleResponse, error)
ParseSetServerSnapshotScheduleResponse parses an HTTP response from a SetServerSnapshotScheduleWithResponse call
func (SetServerSnapshotScheduleResponse) ContentType ¶
func (r SetServerSnapshotScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetServerSnapshotScheduleResponse) GetBody ¶
func (r SetServerSnapshotScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetServerSnapshotScheduleResponse) GetJSON4XX ¶
func (r SetServerSnapshotScheduleResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SetServerSnapshotScheduleResponse) GetJSON5XX ¶
func (r SetServerSnapshotScheduleResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SetServerSnapshotScheduleResponse) GetJSON200 ¶
func (r SetServerSnapshotScheduleResponse) GetJSON200() *SnapshotsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetServerSnapshotScheduleResponse) Status ¶
func (r SetServerSnapshotScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (SetServerSnapshotScheduleResponse) StatusCode ¶
func (r SetServerSnapshotScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SharedVariableIn ¶
type SharedVariableIn struct {
Value string `json:"value"`
}
SharedVariableIn defines model for SharedVariableIn.
type SharedVariableOut ¶
type SharedVariableOut struct {
Value *string `json:"value"`
}
SharedVariableOut defines model for SharedVariableOut.
type SimulateGithubPullRequestJSONRequestBody ¶
type SimulateGithubPullRequestJSONRequestBody = SimulatePullRequestRequest
SimulateGithubPullRequestJSONRequestBody defines body for SimulateGithubPullRequest for application/json ContentType.
type SimulateGithubPullRequestResponse ¶
type SimulateGithubPullRequestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookResult
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSimulateGithubPullRequestResponse ¶
func ParseSimulateGithubPullRequestResponse(rsp *http.Response) (*SimulateGithubPullRequestResponse, error)
ParseSimulateGithubPullRequestResponse parses an HTTP response from a SimulateGithubPullRequestWithResponse call
func (SimulateGithubPullRequestResponse) ContentType ¶
func (r SimulateGithubPullRequestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulateGithubPullRequestResponse) GetBody ¶
func (r SimulateGithubPullRequestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulateGithubPullRequestResponse) GetJSON4XX ¶
func (r SimulateGithubPullRequestResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SimulateGithubPullRequestResponse) GetJSON5XX ¶
func (r SimulateGithubPullRequestResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SimulateGithubPullRequestResponse) GetJSON200 ¶
func (r SimulateGithubPullRequestResponse) GetJSON200() *WebhookResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulateGithubPullRequestResponse) Status ¶
func (r SimulateGithubPullRequestResponse) Status() string
Status returns HTTPResponse.Status
func (SimulateGithubPullRequestResponse) StatusCode ¶
func (r SimulateGithubPullRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulateGithubPushJSONRequestBody ¶
type SimulateGithubPushJSONRequestBody = SimulatePushRequest
SimulateGithubPushJSONRequestBody defines body for SimulateGithubPush for application/json ContentType.
type SimulateGithubPushResponse ¶
type SimulateGithubPushResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookResult
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSimulateGithubPushResponse ¶
func ParseSimulateGithubPushResponse(rsp *http.Response) (*SimulateGithubPushResponse, error)
ParseSimulateGithubPushResponse parses an HTTP response from a SimulateGithubPushWithResponse call
func (SimulateGithubPushResponse) ContentType ¶
func (r SimulateGithubPushResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulateGithubPushResponse) GetBody ¶
func (r SimulateGithubPushResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulateGithubPushResponse) GetJSON4XX ¶
func (r SimulateGithubPushResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SimulateGithubPushResponse) GetJSON5XX ¶
func (r SimulateGithubPushResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SimulateGithubPushResponse) GetJSON200 ¶
func (r SimulateGithubPushResponse) GetJSON200() *WebhookResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulateGithubPushResponse) Status ¶
func (r SimulateGithubPushResponse) Status() string
Status returns HTTPResponse.Status
func (SimulateGithubPushResponse) StatusCode ¶
func (r SimulateGithubPushResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulatePullRequestRequest ¶
type SimulatePullRequestRequest struct {
Action *SimulatePullRequestRequestAction `json:"action,omitempty"`
BaseBranch *string `json:"base_branch,omitempty"`
FromFork *bool `json:"from_fork,omitempty"`
HeadBranch string `json:"head_branch"`
HeadSha *string `json:"head_sha,omitempty"`
InstallationId *int `json:"installation_id,omitempty"`
Number int `json:"number"`
RepoFullName *string `json:"repo_full_name,omitempty"`
RepoId *int `json:"repo_id,omitempty"`
Title *string `json:"title,omitempty"`
}
SimulatePullRequestRequest defines model for SimulatePullRequestRequest.
type SimulatePullRequestRequestAction ¶
type SimulatePullRequestRequestAction string
SimulatePullRequestRequestAction defines model for SimulatePullRequestRequest.Action.
const ( SimulatePullRequestRequestActionClosed SimulatePullRequestRequestAction = "closed" SimulatePullRequestRequestActionOpened SimulatePullRequestRequestAction = "opened" SimulatePullRequestRequestActionReopened SimulatePullRequestRequestAction = "reopened" SimulatePullRequestRequestActionSynchronize SimulatePullRequestRequestAction = "synchronize" )
Defines values for SimulatePullRequestRequestAction.
func (SimulatePullRequestRequestAction) Valid ¶
func (e SimulatePullRequestRequestAction) Valid() bool
Valid indicates whether the value is a known member of the SimulatePullRequestRequestAction enum.
type SimulatePushRequest ¶
type SimulatePushRequest struct {
Branch *string `json:"branch,omitempty"`
CommitSha *string `json:"commit_sha,omitempty"`
InstallationId *int `json:"installation_id,omitempty"`
Message *string `json:"message,omitempty"`
RepoFullName *string `json:"repo_full_name,omitempty"`
RepoId *int `json:"repo_id,omitempty"`
}
SimulatePushRequest defines model for SimulatePushRequest.
type SnapshotOut ¶
type SnapshotOut struct {
CreatedAt time.Time `json:"created_at"`
// Current True for the snapshot the disk was last taken from or put back to
Current bool `json:"current"`
Id int `json:"id"`
Name string `json:"name"`
// Nightly True for one the nightly schedule took
Nightly bool `json:"nightly"`
// SizeMib The size of the disk it holds
SizeMib int `json:"size_mib"`
}
SnapshotOut defines model for SnapshotOut.
type SnapshotScheduleRequest ¶
type SnapshotScheduleRequest struct {
Keep *int `json:"keep,omitempty"`
Nightly bool `json:"nightly"`
}
SnapshotScheduleRequest defines model for SnapshotScheduleRequest.
type SnapshotsOut ¶
type SnapshotsOut struct {
// Busy True while a snapshot is being taken, deleted or put back
Busy bool `json:"busy"`
// Keep How many nightly snapshots are kept
Keep int `json:"keep"`
// Nightly Whether a snapshot is taken each night
Nightly bool `json:"nightly"`
Snapshots []SnapshotOut `json:"snapshots"`
}
SnapshotsOut A server's disk snapshots, oldest first. A snapshot is kept on the same host as the disk, so it undoes a change and is not a backup.
type SpeechIn ¶
type SpeechIn struct {
Input string `json:"input"`
Instructions *string `json:"instructions,omitempty"`
Model string `json:"model"`
ResponseFormat *SpeechInResponseFormat `json:"response_format,omitempty"`
Speed *float32 `json:"speed,omitempty"`
Voice string `json:"voice"`
}
SpeechIn OpenAI's text-to-speech request. The reply is the audio itself.
type SpeechInResponseFormat ¶
type SpeechInResponseFormat string
SpeechInResponseFormat defines model for SpeechIn.ResponseFormat.
const ( Aac SpeechInResponseFormat = "aac" Flac SpeechInResponseFormat = "flac" Mp3 SpeechInResponseFormat = "mp3" Opus SpeechInResponseFormat = "opus" Pcm SpeechInResponseFormat = "pcm" Wav SpeechInResponseFormat = "wav" )
Defines values for SpeechInResponseFormat.
func (SpeechInResponseFormat) Valid ¶
func (e SpeechInResponseFormat) Valid() bool
Valid indicates whether the value is a known member of the SpeechInResponseFormat enum.
type SpendLimitIn ¶
type SpendLimitIn struct {
// AlertThresholdsMinor Amounts in minor units. Each one emails owners and admins once per period when the estimate reaches it.
AlertThresholdsMinor *[]int `json:"alert_thresholds_minor,omitempty"`
// HardLimitMinor Null for no limit. Reaching the limit refuses new resources, deployments, scaling up and metered use such as AI tokens and build minutes, with 403 spend_limit_reached. Services that are running are not stopped.
HardLimitMinor *int `json:"hard_limit_minor,omitempty"`
}
SpendLimitIn defines model for SpendLimitIn.
type SpendLimitOut ¶
type SpendLimitOut struct {
AlertThresholdsMinor []int `json:"alert_thresholds_minor"`
// AlertedThresholdsMinor Amounts already emailed this period, including the hard limit once it was reached
AlertedThresholdsMinor []int `json:"alerted_thresholds_minor"`
Currency string `json:"currency"`
// CurrentEstimateMinor Estimated usage charges this period beyond the plan's allowances, without the plan's own price. Catalogue prices are a hypothesis, so this is too.
CurrentEstimateMinor int `json:"current_estimate_minor"`
// HardLimitMinor Null when no limit is set. Reaching the limit refuses new resources, deployments, scaling up and metered use such as AI tokens and build minutes, with 403 spend_limit_reached. Services that are running are not stopped.
HardLimitMinor *int `json:"hard_limit_minor"`
IsHypothesis *bool `json:"is_hypothesis,omitempty"`
// LimitReached True when the estimate is at or over the hard limit. Reaching the limit refuses new resources, deployments, scaling up and metered use such as AI tokens and build minutes, with 403 spend_limit_reached. Services that are running are not stopped.
LimitReached bool `json:"limit_reached"`
PeriodEnd time.Time `json:"period_end"`
PeriodStart time.Time `json:"period_start"`
}
SpendLimitOut defines model for SpendLimitOut.
type SshKeyOut ¶
type SshKeyOut struct {
Comment *string `json:"comment"`
CreatedAt time.Time `json:"created_at"`
// Fingerprint SHA256:<base64>, as `ssh-keygen -l` prints it
Fingerprint string `json:"fingerprint"`
Id openapi_types.UUID `json:"id"`
KeyType string `json:"key_type"`
Name string `json:"name"`
// PublicKey The key on one line, as it goes into authorized_keys
PublicKey string `json:"public_key"`
}
SshKeyOut defines model for SshKeyOut.
type StageChangeJSONRequestBody ¶
type StageChangeJSONRequestBody = StageChangeRequest
StageChangeJSONRequestBody defines body for StageChange for application/json ContentType.
type StageChangeRequest ¶
type StageChangeRequest struct {
Action ChangeAction `json:"action"`
Confirm *string `json:"confirm,omitempty"`
ConnectionId *openapi_types.UUID `json:"connection_id,omitempty"`
FromResource *string `json:"from_resource,omitempty"`
Key *string `json:"key,omitempty"`
Kind *ResourceKind `json:"kind,omitempty"`
Name *string `json:"name,omitempty"`
RegionId *string `json:"region_id,omitempty"`
ResourceId *openapi_types.UUID `json:"resource_id,omitempty"`
ResourceName *string `json:"resource_name,omitempty"`
Sealed *bool `json:"sealed,omitempty"`
Secret *bool `json:"secret,omitempty"`
Spec *map[string]interface{} `json:"spec,omitempty"`
Target ChangeTarget `json:"target"`
ToResource *string `json:"to_resource,omitempty"`
// Value May contain references: ${{<service>.<KEY>}} for another service in this environment, or ${{shared.<KEY>}} for a shared variable
Value *string `json:"value,omitempty"`
}
StageChangeRequest One change to stage. Which fields apply depends on target and action:
- resource create: `name`, `kind`, `spec`, optional `region_id`
- resource update: `resource_id`, and `name` and/or `spec` (a full replacement, as PATCH takes)
- resource delete: `resource_id`, and `confirm` (the name) for databases
- variable create/update: `resource_id` (or `resource_name` for a service staged in this changeset), `key`, `value`, `secret`, `sealed`
- variable delete: `resource_id`, `key`
- shared_variable create/update: `key`, `value`, `secret`, `sealed`; delete: `key`
- connection create: `from_resource` and `to_resource` (resource names, existing or staged); delete: `connection_id`
type StageChangeResponse ¶
type StageChangeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ChangeOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseStageChangeResponse ¶
func ParseStageChangeResponse(rsp *http.Response) (*StageChangeResponse, error)
ParseStageChangeResponse parses an HTTP response from a StageChangeWithResponse call
func (StageChangeResponse) ContentType ¶
func (r StageChangeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StageChangeResponse) GetBody ¶
func (r StageChangeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StageChangeResponse) GetJSON4XX ¶
func (r StageChangeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (StageChangeResponse) GetJSON5XX ¶
func (r StageChangeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (StageChangeResponse) GetJSON201 ¶
func (r StageChangeResponse) GetJSON201() *ChangeOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (StageChangeResponse) Status ¶
func (r StageChangeResponse) Status() string
Status returns HTTPResponse.Status
func (StageChangeResponse) StatusCode ¶
func (r StageChangeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartBillingCheckoutJSONRequestBody ¶
type StartBillingCheckoutJSONRequestBody = StartCheckoutRequest
StartBillingCheckoutJSONRequestBody defines body for StartBillingCheckout for application/json ContentType.
type StartBillingCheckoutResponse ¶
type StartBillingCheckoutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CheckoutOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseStartBillingCheckoutResponse ¶
func ParseStartBillingCheckoutResponse(rsp *http.Response) (*StartBillingCheckoutResponse, error)
ParseStartBillingCheckoutResponse parses an HTTP response from a StartBillingCheckoutWithResponse call
func (StartBillingCheckoutResponse) ContentType ¶
func (r StartBillingCheckoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartBillingCheckoutResponse) GetBody ¶
func (r StartBillingCheckoutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StartBillingCheckoutResponse) GetJSON4XX ¶
func (r StartBillingCheckoutResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (StartBillingCheckoutResponse) GetJSON5XX ¶
func (r StartBillingCheckoutResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (StartBillingCheckoutResponse) GetJSON201 ¶
func (r StartBillingCheckoutResponse) GetJSON201() *CheckoutOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (StartBillingCheckoutResponse) Status ¶
func (r StartBillingCheckoutResponse) Status() string
Status returns HTTPResponse.Status
func (StartBillingCheckoutResponse) StatusCode ¶
func (r StartBillingCheckoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartCheckoutRequest ¶
type StartCheckoutRequest struct {
// Next Dashboard path to return to after checkout
Next *string `json:"next,omitempty"`
// PlanId starter or growth
PlanId string `json:"plan_id"`
}
StartCheckoutRequest defines model for StartCheckoutRequest.
type StartCliLoginJSONRequestBody ¶
type StartCliLoginJSONRequestBody = StartCliLoginRequest
StartCliLoginJSONRequestBody defines body for StartCliLogin for application/json ContentType.
type StartCliLoginRequest ¶
type StartCliLoginRequest struct {
// DeviceName What to call this machine on the approval page and in the key's name, usually its hostname
DeviceName *string `json:"device_name,omitempty"`
}
StartCliLoginRequest defines model for StartCliLoginRequest.
type StartCliLoginResponse ¶
type StartCliLoginResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CliLoginStarted
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseStartCliLoginResponse ¶
func ParseStartCliLoginResponse(rsp *http.Response) (*StartCliLoginResponse, error)
ParseStartCliLoginResponse parses an HTTP response from a StartCliLoginWithResponse call
func (StartCliLoginResponse) ContentType ¶
func (r StartCliLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartCliLoginResponse) GetBody ¶
func (r StartCliLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StartCliLoginResponse) GetJSON4XX ¶
func (r StartCliLoginResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (StartCliLoginResponse) GetJSON5XX ¶
func (r StartCliLoginResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (StartCliLoginResponse) GetJSON201 ¶
func (r StartCliLoginResponse) GetJSON201() *CliLoginStarted
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (StartCliLoginResponse) Status ¶
func (r StartCliLoginResponse) Status() string
Status returns HTTPResponse.Status
func (StartCliLoginResponse) StatusCode ¶
func (r StartCliLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartEmailSignInJSONRequestBody ¶
type StartEmailSignInJSONRequestBody = EmailSignInRequest
StartEmailSignInJSONRequestBody defines body for StartEmailSignIn for application/json ContentType.
type StartEmailSignInResponse ¶
type StartEmailSignInResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *EmailSent
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseStartEmailSignInResponse ¶
func ParseStartEmailSignInResponse(rsp *http.Response) (*StartEmailSignInResponse, error)
ParseStartEmailSignInResponse parses an HTTP response from a StartEmailSignInWithResponse call
func (StartEmailSignInResponse) ContentType ¶
func (r StartEmailSignInResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartEmailSignInResponse) GetBody ¶
func (r StartEmailSignInResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StartEmailSignInResponse) GetJSON4XX ¶
func (r StartEmailSignInResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (StartEmailSignInResponse) GetJSON5XX ¶
func (r StartEmailSignInResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (StartEmailSignInResponse) GetJSON202 ¶
func (r StartEmailSignInResponse) GetJSON202() *EmailSent
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (StartEmailSignInResponse) Status ¶
func (r StartEmailSignInResponse) Status() string
Status returns HTTPResponse.Status
func (StartEmailSignInResponse) StatusCode ¶
func (r StartEmailSignInResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StoppedRule ¶
StoppedRule defines model for StoppedRule.
type StorageBand ¶
type StorageBand struct {
GbMonth string `json:"gb_month"`
// UpToGb The band's upper bound in GB, or null for the last band
UpToGb *int `json:"up_to_gb"`
}
StorageBand defines model for StorageBand.
type StreamDeploymentLogsParams ¶
type StreamDeploymentLogsParams struct {
After *int `form:"after,omitempty" json:"after,omitempty"`
LastEventId *string `json:"last-event-id,omitempty"`
}
StreamDeploymentLogsParams defines parameters for StreamDeploymentLogs.
type StreamDeploymentLogsResponse ¶
type StreamDeploymentLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseStreamDeploymentLogsResponse ¶
func ParseStreamDeploymentLogsResponse(rsp *http.Response) (*StreamDeploymentLogsResponse, error)
ParseStreamDeploymentLogsResponse parses an HTTP response from a StreamDeploymentLogsWithResponse call
func (StreamDeploymentLogsResponse) ContentType ¶
func (r StreamDeploymentLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StreamDeploymentLogsResponse) GetBody ¶
func (r StreamDeploymentLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StreamDeploymentLogsResponse) GetJSON4XX ¶
func (r StreamDeploymentLogsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (StreamDeploymentLogsResponse) GetJSON5XX ¶
func (r StreamDeploymentLogsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (StreamDeploymentLogsResponse) Status ¶
func (r StreamDeploymentLogsResponse) Status() string
Status returns HTTPResponse.Status
func (StreamDeploymentLogsResponse) StatusCode ¶
func (r StreamDeploymentLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StreamOptions ¶
type StreamOptions struct {
IncludeUsage *bool `json:"include_usage,omitempty"`
}
StreamOptions defines model for StreamOptions.
type StreamProjectEventsResponse ¶
type StreamProjectEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseStreamProjectEventsResponse ¶
func ParseStreamProjectEventsResponse(rsp *http.Response) (*StreamProjectEventsResponse, error)
ParseStreamProjectEventsResponse parses an HTTP response from a StreamProjectEventsWithResponse call
func (StreamProjectEventsResponse) ContentType ¶
func (r StreamProjectEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StreamProjectEventsResponse) GetBody ¶
func (r StreamProjectEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StreamProjectEventsResponse) GetJSON4XX ¶
func (r StreamProjectEventsResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (StreamProjectEventsResponse) GetJSON5XX ¶
func (r StreamProjectEventsResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (StreamProjectEventsResponse) Status ¶
func (r StreamProjectEventsResponse) Status() string
Status returns HTTPResponse.Status
func (StreamProjectEventsResponse) StatusCode ¶
func (r StreamProjectEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubdomainAvailabilityOut ¶
type SubdomainAvailabilityOut struct {
Available bool `json:"available"`
// Hostname The full address the label would give, <subdomain>.apps.dekka.cloud
Hostname string `json:"hostname"`
// Message One sentence to show next to the field
Message string `json:"message"`
// Reason Why it can't be used: invalid breaks the label rules, reserved is Dekka's own, taken is another service's. Null when available
Reason *SubdomainAvailabilityOutReason `json:"reason"`
// Subdomain The label as checked: trimmed and lowercased
Subdomain string `json:"subdomain"`
}
SubdomainAvailabilityOut defines model for SubdomainAvailabilityOut.
type SubdomainAvailabilityOutReason ¶
type SubdomainAvailabilityOutReason string
SubdomainAvailabilityOutReason defines model for SubdomainAvailabilityOut.Reason.
const ( Invalid SubdomainAvailabilityOutReason = "invalid" Reserved SubdomainAvailabilityOutReason = "reserved" Taken SubdomainAvailabilityOutReason = "taken" )
Defines values for SubdomainAvailabilityOutReason.
func (SubdomainAvailabilityOutReason) Valid ¶
func (e SubdomainAvailabilityOutReason) Valid() bool
Valid indicates whether the value is a known member of the SubdomainAvailabilityOutReason enum.
type SubdomainAvailabilityParams ¶
type SubdomainAvailabilityParams struct {
// Subdomain The first part of an apps.dekka.cloud address
Subdomain string `form:"subdomain" json:"subdomain"`
}
SubdomainAvailabilityParams defines parameters for SubdomainAvailability.
type SubdomainAvailabilityResponse ¶
type SubdomainAvailabilityResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubdomainAvailabilityOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSubdomainAvailabilityResponse ¶
func ParseSubdomainAvailabilityResponse(rsp *http.Response) (*SubdomainAvailabilityResponse, error)
ParseSubdomainAvailabilityResponse parses an HTTP response from a SubdomainAvailabilityWithResponse call
func (SubdomainAvailabilityResponse) ContentType ¶
func (r SubdomainAvailabilityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SubdomainAvailabilityResponse) GetBody ¶
func (r SubdomainAvailabilityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SubdomainAvailabilityResponse) GetJSON4XX ¶
func (r SubdomainAvailabilityResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SubdomainAvailabilityResponse) GetJSON5XX ¶
func (r SubdomainAvailabilityResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SubdomainAvailabilityResponse) GetJSON200 ¶
func (r SubdomainAvailabilityResponse) GetJSON200() *SubdomainAvailabilityOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SubdomainAvailabilityResponse) Status ¶
func (r SubdomainAvailabilityResponse) Status() string
Status returns HTTPResponse.Status
func (SubdomainAvailabilityResponse) StatusCode ¶
func (r SubdomainAvailabilityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscriptionOut ¶
type SubscriptionOut struct {
// BillingEnabled False in production when no payment provider is configured
BillingEnabled bool `json:"billing_enabled"`
// BillingExempt True when Dekka has set this plan for testing, so nothing is invoiced or charged
BillingExempt *bool `json:"billing_exempt,omitempty"`
CancelAtPeriodEnd bool `json:"cancel_at_period_end"`
CurrentPeriodEnd time.Time `json:"current_period_end"`
CurrentPeriodStart time.Time `json:"current_period_start"`
// LimitsWaived True when Dekka has lifted this plan's limits for testing
LimitsWaived *bool `json:"limits_waived,omitempty"`
PastDueSince *time.Time `json:"past_due_since"`
// PendingPlan The plan that takes over when the period ends, after a downgrade
PendingPlan *PlanOut `json:"pending_plan"`
Plan PlanOut `json:"plan"`
// Provider Who charges this subscription: paystack, fake, or null for Free
Provider *string `json:"provider"`
StartedAt time.Time `json:"started_at"`
Status SubscriptionStatus `json:"status"`
TrialEndsAt *time.Time `json:"trial_ends_at"`
Usage Usage `json:"usage"`
}
SubscriptionOut defines model for SubscriptionOut.
type SubscriptionStatus ¶
type SubscriptionStatus string
SubscriptionStatus defines model for SubscriptionStatus.
const ( SubscriptionStatusActive SubscriptionStatus = "active" SubscriptionStatusCancelled SubscriptionStatus = "cancelled" SubscriptionStatusPastDue SubscriptionStatus = "past_due" SubscriptionStatusTrialing SubscriptionStatus = "trialing" )
Defines values for SubscriptionStatus.
func (SubscriptionStatus) Valid ¶
func (e SubscriptionStatus) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionStatus enum.
type SwitchServerShellOffResponse ¶
type SwitchServerShellOffResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSwitchServerShellOffResponse ¶
func ParseSwitchServerShellOffResponse(rsp *http.Response) (*SwitchServerShellOffResponse, error)
ParseSwitchServerShellOffResponse parses an HTTP response from a SwitchServerShellOffWithResponse call
func (SwitchServerShellOffResponse) ContentType ¶
func (r SwitchServerShellOffResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SwitchServerShellOffResponse) GetBody ¶
func (r SwitchServerShellOffResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SwitchServerShellOffResponse) GetJSON4XX ¶
func (r SwitchServerShellOffResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SwitchServerShellOffResponse) GetJSON5XX ¶
func (r SwitchServerShellOffResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SwitchServerShellOffResponse) Status ¶
func (r SwitchServerShellOffResponse) Status() string
Status returns HTTPResponse.Status
func (SwitchServerShellOffResponse) StatusCode ¶
func (r SwitchServerShellOffResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SwitchServerShellOnResponse ¶
type SwitchServerShellOnResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerShellOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseSwitchServerShellOnResponse ¶
func ParseSwitchServerShellOnResponse(rsp *http.Response) (*SwitchServerShellOnResponse, error)
ParseSwitchServerShellOnResponse parses an HTTP response from a SwitchServerShellOnWithResponse call
func (SwitchServerShellOnResponse) ContentType ¶
func (r SwitchServerShellOnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SwitchServerShellOnResponse) GetBody ¶
func (r SwitchServerShellOnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SwitchServerShellOnResponse) GetJSON4XX ¶
func (r SwitchServerShellOnResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (SwitchServerShellOnResponse) GetJSON5XX ¶
func (r SwitchServerShellOnResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (SwitchServerShellOnResponse) GetJSON200 ¶
func (r SwitchServerShellOnResponse) GetJSON200() *ServerShellOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SwitchServerShellOnResponse) Status ¶
func (r SwitchServerShellOnResponse) Status() string
Status returns HTTPResponse.Status
func (SwitchServerShellOnResponse) StatusCode ¶
func (r SwitchServerShellOnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TableOut ¶
type TableOut struct {
Name string `json:"name"`
// RowEstimate The planner's estimate, which can lag behind the real count
RowEstimate int `json:"row_estimate"`
// SchemaName The Postgres schema, such as public
SchemaName string `json:"schema_name"`
SizeBytes int `json:"size_bytes"`
}
TableOut defines model for TableOut.
type TablesOut ¶
type TablesOut struct {
EngineKind string `json:"engine_kind"`
Simulated bool `json:"simulated"`
Tables []TableOut `json:"tables"`
}
TablesOut defines model for TablesOut.
type TcpProxyOut ¶
TcpProxyOut defines model for TcpProxyOut.
type TemplateInputOut ¶
type TemplateInputOut struct {
Default *string `json:"default,omitempty"`
Description *string `json:"description,omitempty"`
Key string `json:"key"`
Label string `json:"label"`
Placeholder *string `json:"placeholder,omitempty"`
Required *bool `json:"required,omitempty"`
Secret *bool `json:"secret,omitempty"`
}
TemplateInputOut defines model for TemplateInputOut.
type TemplateMetadataOut ¶
type TemplateMetadataOut struct {
Category string `json:"category"`
DocsSlug *string `json:"docs_slug,omitempty"`
Featured *bool `json:"featured,omitempty"`
License *string `json:"license,omitempty"`
Logo *string `json:"logo,omitempty"`
Maintainer *TemplateMetadataOutMaintainer `json:"maintainer,omitempty"`
Notes *string `json:"notes,omitempty"`
SourceUrl *string `json:"source_url,omitempty"`
Summary string `json:"summary"`
Tags *[]string `json:"tags,omitempty"`
Website *string `json:"website,omitempty"`
}
TemplateMetadataOut defines model for TemplateMetadataOut.
type TemplateMetadataOutMaintainer ¶
type TemplateMetadataOutMaintainer string
TemplateMetadataOutMaintainer defines model for TemplateMetadataOut.Maintainer.
const ( Community TemplateMetadataOutMaintainer = "community" Dekka TemplateMetadataOutMaintainer = "dekka" )
Defines values for TemplateMetadataOutMaintainer.
func (TemplateMetadataOutMaintainer) Valid ¶
func (e TemplateMetadataOutMaintainer) Valid() bool
Valid indicates whether the value is a known member of the TemplateMetadataOutMaintainer enum.
type TemplateOut ¶
type TemplateOut struct {
Blueprint NormalizedBlueprint `json:"blueprint"`
// Content The template's dekka.yaml
Content string `json:"content"`
Description *string `json:"description"`
// GeneratedSecrets Variables Dekka fills with a random value when the template is planned
GeneratedSecrets *[]string `json:"generated_secrets,omitempty"`
Id string `json:"id"`
// Inputs Values to supply when planning
Inputs *[]TemplateInputOut `json:"inputs,omitempty"`
Metadata *TemplateMetadataOut `json:"metadata,omitempty"`
Name string `json:"name"`
Resources []TemplateResourceOut `json:"resources"`
}
TemplateOut defines model for TemplateOut.
type TemplateResourceOut ¶
type TemplateResourceOut struct {
// Image The image a service runs, when it runs one
Image *string `json:"image,omitempty"`
Kind string `json:"kind"`
MemoryMib *int `json:"memory_mib,omitempty"`
Name string `json:"name"`
Volume *AppDomainsBlueprintsSchemasVolumeOut `json:"volume,omitempty"`
}
TemplateResourceOut defines model for TemplateResourceOut.
type TemplateSummary ¶
type TemplateSummary struct {
Description *string `json:"description"`
// GeneratedSecrets Variables Dekka fills with a random value when the template is planned
GeneratedSecrets *[]string `json:"generated_secrets,omitempty"`
Id string `json:"id"`
// Inputs Values to supply when planning
Inputs *[]TemplateInputOut `json:"inputs,omitempty"`
Metadata *TemplateMetadataOut `json:"metadata,omitempty"`
Name string `json:"name"`
Resources []TemplateResourceOut `json:"resources"`
}
TemplateSummary defines model for TemplateSummary.
type TermsStatus ¶
type TermsStatus struct {
// AcceptedAt When this account accepted that version, or null
AcceptedAt *time.Time `json:"accepted_at"`
// Enforced Whether an account that has not accepted is refused anything that changes state
Enforced bool `json:"enforced"`
// Version The current terms, named by the day they last changed
Version string `json:"version"`
}
TermsStatus defines model for TermsStatus.
type TestWebhookResponse ¶
type TestWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeliveryOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseTestWebhookResponse ¶
func ParseTestWebhookResponse(rsp *http.Response) (*TestWebhookResponse, error)
ParseTestWebhookResponse parses an HTTP response from a TestWebhookWithResponse call
func (TestWebhookResponse) ContentType ¶
func (r TestWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestWebhookResponse) GetBody ¶
func (r TestWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TestWebhookResponse) GetJSON4XX ¶
func (r TestWebhookResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (TestWebhookResponse) GetJSON5XX ¶
func (r TestWebhookResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (TestWebhookResponse) GetJSON200 ¶
func (r TestWebhookResponse) GetJSON200() *DeliveryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TestWebhookResponse) Status ¶
func (r TestWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (TestWebhookResponse) StatusCode ¶
func (r TestWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TicketIn ¶
type TicketIn struct {
Body string `json:"body"`
OrganizationId *openapi_types.UUID `json:"organization_id,omitempty"`
Subject string `json:"subject"`
}
TicketIn defines model for TicketIn.
type TicketStatus ¶
type TicketStatus string
TicketStatus defines model for TicketStatus.
const ( TicketStatusClosed TicketStatus = "closed" TicketStatusOpen TicketStatus = "open" TicketStatusWaiting TicketStatus = "waiting" )
Defines values for TicketStatus.
func (TicketStatus) Valid ¶
func (e TicketStatus) Valid() bool
Valid indicates whether the value is a known member of the TicketStatus enum.
type TranslateComposeJSONRequestBody ¶
type TranslateComposeJSONRequestBody = ComposeIn
TranslateComposeJSONRequestBody defines body for TranslateCompose for application/json ContentType.
type TranslateComposeResponse ¶
type TranslateComposeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ComposeTranslation
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseTranslateComposeResponse ¶
func ParseTranslateComposeResponse(rsp *http.Response) (*TranslateComposeResponse, error)
ParseTranslateComposeResponse parses an HTTP response from a TranslateComposeWithResponse call
func (TranslateComposeResponse) ContentType ¶
func (r TranslateComposeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TranslateComposeResponse) GetBody ¶
func (r TranslateComposeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TranslateComposeResponse) GetJSON4XX ¶
func (r TranslateComposeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (TranslateComposeResponse) GetJSON5XX ¶
func (r TranslateComposeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (TranslateComposeResponse) GetJSON200 ¶
func (r TranslateComposeResponse) GetJSON200() *ComposeTranslation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TranslateComposeResponse) Status ¶
func (r TranslateComposeResponse) Status() string
Status returns HTTPResponse.Status
func (TranslateComposeResponse) StatusCode ¶
func (r TranslateComposeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEnvironmentJSONRequestBody ¶
type UpdateEnvironmentJSONRequestBody = UpdateEnvironmentRequest
UpdateEnvironmentJSONRequestBody defines body for UpdateEnvironment for application/json ContentType.
type UpdateEnvironmentRequest ¶
type UpdateEnvironmentRequest struct {
// Name Lowercase letters, digits and dashes
Name string `json:"name"`
}
UpdateEnvironmentRequest defines model for UpdateEnvironmentRequest.
type UpdateEnvironmentResponse ¶
type UpdateEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EnvironmentOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseUpdateEnvironmentResponse ¶
func ParseUpdateEnvironmentResponse(rsp *http.Response) (*UpdateEnvironmentResponse, error)
ParseUpdateEnvironmentResponse parses an HTTP response from a UpdateEnvironmentWithResponse call
func (UpdateEnvironmentResponse) ContentType ¶
func (r UpdateEnvironmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateEnvironmentResponse) GetBody ¶
func (r UpdateEnvironmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateEnvironmentResponse) GetJSON4XX ¶
func (r UpdateEnvironmentResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (UpdateEnvironmentResponse) GetJSON5XX ¶
func (r UpdateEnvironmentResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (UpdateEnvironmentResponse) GetJSON200 ¶
func (r UpdateEnvironmentResponse) GetJSON200() *EnvironmentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateEnvironmentResponse) Status ¶
func (r UpdateEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEnvironmentResponse) StatusCode ¶
func (r UpdateEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateInferenceEndpointJSONRequestBody ¶
type UpdateInferenceEndpointJSONRequestBody = InferenceEndpointPatch
UpdateInferenceEndpointJSONRequestBody defines body for UpdateInferenceEndpoint for application/json ContentType.
type UpdateInferenceEndpointResponse ¶
type UpdateInferenceEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InferenceEndpointOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseUpdateInferenceEndpointResponse ¶
func ParseUpdateInferenceEndpointResponse(rsp *http.Response) (*UpdateInferenceEndpointResponse, error)
ParseUpdateInferenceEndpointResponse parses an HTTP response from a UpdateInferenceEndpointWithResponse call
func (UpdateInferenceEndpointResponse) ContentType ¶
func (r UpdateInferenceEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateInferenceEndpointResponse) GetBody ¶
func (r UpdateInferenceEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateInferenceEndpointResponse) GetJSON4XX ¶
func (r UpdateInferenceEndpointResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (UpdateInferenceEndpointResponse) GetJSON5XX ¶
func (r UpdateInferenceEndpointResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (UpdateInferenceEndpointResponse) GetJSON200 ¶
func (r UpdateInferenceEndpointResponse) GetJSON200() *InferenceEndpointOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateInferenceEndpointResponse) Status ¶
func (r UpdateInferenceEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateInferenceEndpointResponse) StatusCode ¶
func (r UpdateInferenceEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMeJSONRequestBody ¶
type UpdateMeJSONRequestBody = UpdateMeRequest
UpdateMeJSONRequestBody defines body for UpdateMe for application/json ContentType.
type UpdateMeRequest ¶
type UpdateMeRequest struct {
AvatarUrl *string `json:"avatar_url,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateMeRequest defines model for UpdateMeRequest.
type UpdateMeResponse ¶
type UpdateMeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UserOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseUpdateMeResponse ¶
func ParseUpdateMeResponse(rsp *http.Response) (*UpdateMeResponse, error)
ParseUpdateMeResponse parses an HTTP response from a UpdateMeWithResponse call
func (UpdateMeResponse) ContentType ¶
func (r UpdateMeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMeResponse) GetBody ¶
func (r UpdateMeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMeResponse) GetJSON4XX ¶
func (r UpdateMeResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (UpdateMeResponse) GetJSON5XX ¶
func (r UpdateMeResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (UpdateMeResponse) GetJSON200 ¶
func (r UpdateMeResponse) GetJSON200() *UserOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateMeResponse) Status ¶
func (r UpdateMeResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMeResponse) StatusCode ¶
func (r UpdateMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMemberRequest ¶
type UpdateMemberRequest struct {
Role Role `json:"role"`
}
UpdateMemberRequest defines model for UpdateMemberRequest.
type UpdateOrgJSONRequestBody ¶
type UpdateOrgJSONRequestBody = UpdateOrgRequest
UpdateOrgJSONRequestBody defines body for UpdateOrg for application/json ContentType.
type UpdateOrgMemberJSONRequestBody ¶
type UpdateOrgMemberJSONRequestBody = UpdateMemberRequest
UpdateOrgMemberJSONRequestBody defines body for UpdateOrgMember for application/json ContentType.
type UpdateOrgMemberResponse ¶
type UpdateOrgMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MemberOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseUpdateOrgMemberResponse ¶
func ParseUpdateOrgMemberResponse(rsp *http.Response) (*UpdateOrgMemberResponse, error)
ParseUpdateOrgMemberResponse parses an HTTP response from a UpdateOrgMemberWithResponse call
func (UpdateOrgMemberResponse) ContentType ¶
func (r UpdateOrgMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrgMemberResponse) GetBody ¶
func (r UpdateOrgMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrgMemberResponse) GetJSON4XX ¶
func (r UpdateOrgMemberResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (UpdateOrgMemberResponse) GetJSON5XX ¶
func (r UpdateOrgMemberResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (UpdateOrgMemberResponse) GetJSON200 ¶
func (r UpdateOrgMemberResponse) GetJSON200() *MemberOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateOrgMemberResponse) Status ¶
func (r UpdateOrgMemberResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrgMemberResponse) StatusCode ¶
func (r UpdateOrgMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrgRequest ¶
type UpdateOrgRequest struct {
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
}
UpdateOrgRequest defines model for UpdateOrgRequest.
type UpdateOrgResponse ¶
type UpdateOrgResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseUpdateOrgResponse ¶
func ParseUpdateOrgResponse(rsp *http.Response) (*UpdateOrgResponse, error)
ParseUpdateOrgResponse parses an HTTP response from a UpdateOrgWithResponse call
func (UpdateOrgResponse) ContentType ¶
func (r UpdateOrgResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrgResponse) GetBody ¶
func (r UpdateOrgResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrgResponse) GetJSON4XX ¶
func (r UpdateOrgResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (UpdateOrgResponse) GetJSON5XX ¶
func (r UpdateOrgResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (UpdateOrgResponse) GetJSON200 ¶
func (r UpdateOrgResponse) GetJSON200() *OrgOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateOrgResponse) Status ¶
func (r UpdateOrgResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrgResponse) StatusCode ¶
func (r UpdateOrgResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProjectJSONRequestBody ¶
type UpdateProjectJSONRequestBody = UpdateProjectRequest
UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.
type UpdateProjectRequest ¶
type UpdateProjectRequest struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateProjectRequest defines model for UpdateProjectRequest.
type UpdateProjectResponse ¶
type UpdateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseUpdateProjectResponse ¶
func ParseUpdateProjectResponse(rsp *http.Response) (*UpdateProjectResponse, error)
ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call
func (UpdateProjectResponse) ContentType ¶
func (r UpdateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateProjectResponse) GetBody ¶
func (r UpdateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateProjectResponse) GetJSON4XX ¶
func (r UpdateProjectResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (UpdateProjectResponse) GetJSON5XX ¶
func (r UpdateProjectResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (UpdateProjectResponse) GetJSON200 ¶
func (r UpdateProjectResponse) GetJSON200() *ProjectOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateProjectResponse) Status ¶
func (r UpdateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectResponse) StatusCode ¶
func (r UpdateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateResourceJSONRequestBody ¶
type UpdateResourceJSONRequestBody = UpdateResourceRequest
UpdateResourceJSONRequestBody defines body for UpdateResource for application/json ContentType.
type UpdateResourceRequest ¶
type UpdateResourceRequest struct {
Name *string `json:"name,omitempty"`
// RegionId Services only. The service moves on its next deploy, and status_reason says so until then.
RegionId *string `json:"region_id,omitempty"`
// Spec A full replacement spec. For services, setting runtime.cron_schedule makes it a scheduled_job and clearing it makes it an application (with a port) or a worker (without one).
Spec *map[string]interface{} `json:"spec,omitempty"`
// Subdomain Applications only. A new first part for the apps.dekka.cloud address, with the same rules as on creation. The service's slug restores the generated address. A running service is re-routed at once.
Subdomain *string `json:"subdomain,omitempty"`
}
UpdateResourceRequest defines model for UpdateResourceRequest.
type UpdateResourceResponse ¶
type UpdateResourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ResourceOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseUpdateResourceResponse ¶
func ParseUpdateResourceResponse(rsp *http.Response) (*UpdateResourceResponse, error)
ParseUpdateResourceResponse parses an HTTP response from a UpdateResourceWithResponse call
func (UpdateResourceResponse) ContentType ¶
func (r UpdateResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateResourceResponse) GetBody ¶
func (r UpdateResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateResourceResponse) GetJSON4XX ¶
func (r UpdateResourceResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (UpdateResourceResponse) GetJSON5XX ¶
func (r UpdateResourceResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (UpdateResourceResponse) GetJSON200 ¶
func (r UpdateResourceResponse) GetJSON200() *ResourceOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateResourceResponse) Status ¶
func (r UpdateResourceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateResourceResponse) StatusCode ¶
func (r UpdateResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWebhookJSONRequestBody ¶
type UpdateWebhookJSONRequestBody = UpdateWebhookRequest
UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.
type UpdateWebhookRequest ¶
type UpdateWebhookRequest struct {
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Events *[]WebhookEvent `json:"events,omitempty"`
Url *string `json:"url,omitempty"`
}
UpdateWebhookRequest defines model for UpdateWebhookRequest.
type UpdateWebhookResponse ¶
type UpdateWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseUpdateWebhookResponse ¶
func ParseUpdateWebhookResponse(rsp *http.Response) (*UpdateWebhookResponse, error)
ParseUpdateWebhookResponse parses an HTTP response from a UpdateWebhookWithResponse call
func (UpdateWebhookResponse) ContentType ¶
func (r UpdateWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateWebhookResponse) GetBody ¶
func (r UpdateWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateWebhookResponse) GetJSON4XX ¶
func (r UpdateWebhookResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (UpdateWebhookResponse) GetJSON5XX ¶
func (r UpdateWebhookResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (UpdateWebhookResponse) GetJSON200 ¶
func (r UpdateWebhookResponse) GetJSON200() *WebhookOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateWebhookResponse) Status ¶
func (r UpdateWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWebhookResponse) StatusCode ¶
func (r UpdateWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Usage ¶
type Usage struct {
// ActiveServices Applications, workers and scheduled jobs that are not deleted or stopped
ActiveServices *int `json:"active_services,omitempty"`
BuildMinutes *int `json:"build_minutes,omitempty"`
MemoryPerAppMib *int `json:"memory_per_app_mib,omitempty"`
PostgresMib *int `json:"postgres_mib,omitempty"`
Projects *int `json:"projects,omitempty"`
Queues *int `json:"queues,omitempty"`
RedisMib *int `json:"redis_mib,omitempty"`
Servers *int `json:"servers,omitempty"`
StorageMib *int `json:"storage_mib,omitempty"`
VolumeGb *int `json:"volume_gb,omitempty"`
}
Usage defines model for Usage.
type UsageRecordOut ¶
type UsageRecordOut struct {
Description *string `json:"description"`
Id openapi_types.UUID `json:"id"`
Meter string `json:"meter"`
OccurredAt time.Time `json:"occurred_at"`
ProjectId *openapi_types.UUID `json:"project_id"`
Quantity string `json:"quantity"`
ResourceId *openapi_types.UUID `json:"resource_id"`
Source string `json:"source"`
UnitPriceMinor *string `json:"unit_price_minor"`
}
UsageRecordOut defines model for UsageRecordOut.
type UsageSummaryOut ¶
type UsageSummaryOut struct {
Currency string `json:"currency"`
EstimatedTotalMinor int `json:"estimated_total_minor"`
// IsHypothesis Meter prices are part of the pricing hypothesis
IsHypothesis bool `json:"is_hypothesis"`
Meters []MeterUsageOut `json:"meters"`
PeriodEnd time.Time `json:"period_end"`
PeriodStart time.Time `json:"period_start"`
}
UsageSummaryOut defines model for UsageSummaryOut.
type UserOut ¶
type UserOut struct {
AvatarUrl *string `json:"avatar_url"`
Email string `json:"email"`
EmailVerified bool `json:"email_verified"`
GithubLogin *string `json:"github_login"`
Id openapi_types.UUID `json:"id"`
IsStaff *bool `json:"is_staff,omitempty"`
Name string `json:"name"`
}
UserOut defines model for UserOut.
type ValidateBlueprintJSONRequestBody ¶
type ValidateBlueprintJSONRequestBody = BlueprintIn
ValidateBlueprintJSONRequestBody defines body for ValidateBlueprint for application/json ContentType.
type ValidateBlueprintResponse ¶
type ValidateBlueprintResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BlueprintValidation
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseValidateBlueprintResponse ¶
func ParseValidateBlueprintResponse(rsp *http.Response) (*ValidateBlueprintResponse, error)
ParseValidateBlueprintResponse parses an HTTP response from a ValidateBlueprintWithResponse call
func (ValidateBlueprintResponse) ContentType ¶
func (r ValidateBlueprintResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValidateBlueprintResponse) GetBody ¶
func (r ValidateBlueprintResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValidateBlueprintResponse) GetJSON4XX ¶
func (r ValidateBlueprintResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (ValidateBlueprintResponse) GetJSON5XX ¶
func (r ValidateBlueprintResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (ValidateBlueprintResponse) GetJSON200 ¶
func (r ValidateBlueprintResponse) GetJSON200() *BlueprintValidation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ValidateBlueprintResponse) Status ¶
func (r ValidateBlueprintResponse) Status() string
Status returns HTTPResponse.Status
func (ValidateBlueprintResponse) StatusCode ¶
func (r ValidateBlueprintResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyBillingCheckoutResponse ¶
type VerifyBillingCheckoutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckoutOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseVerifyBillingCheckoutResponse ¶
func ParseVerifyBillingCheckoutResponse(rsp *http.Response) (*VerifyBillingCheckoutResponse, error)
ParseVerifyBillingCheckoutResponse parses an HTTP response from a VerifyBillingCheckoutWithResponse call
func (VerifyBillingCheckoutResponse) ContentType ¶
func (r VerifyBillingCheckoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyBillingCheckoutResponse) GetBody ¶
func (r VerifyBillingCheckoutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VerifyBillingCheckoutResponse) GetJSON4XX ¶
func (r VerifyBillingCheckoutResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (VerifyBillingCheckoutResponse) GetJSON5XX ¶
func (r VerifyBillingCheckoutResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (VerifyBillingCheckoutResponse) GetJSON200 ¶
func (r VerifyBillingCheckoutResponse) GetJSON200() *CheckoutOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VerifyBillingCheckoutResponse) Status ¶
func (r VerifyBillingCheckoutResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyBillingCheckoutResponse) StatusCode ¶
func (r VerifyBillingCheckoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyDomainResponse ¶
type VerifyDomainResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainOut
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseVerifyDomainResponse ¶
func ParseVerifyDomainResponse(rsp *http.Response) (*VerifyDomainResponse, error)
ParseVerifyDomainResponse parses an HTTP response from a VerifyDomainWithResponse call
func (VerifyDomainResponse) ContentType ¶
func (r VerifyDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyDomainResponse) GetBody ¶
func (r VerifyDomainResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VerifyDomainResponse) GetJSON4XX ¶
func (r VerifyDomainResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (VerifyDomainResponse) GetJSON5XX ¶
func (r VerifyDomainResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (VerifyDomainResponse) GetJSON200 ¶
func (r VerifyDomainResponse) GetJSON200() *DomainOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VerifyDomainResponse) Status ¶
func (r VerifyDomainResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyDomainResponse) StatusCode ¶
func (r VerifyDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Viewport ¶
type Viewport struct {
X *float32 `json:"x,omitempty"`
Y *float32 `json:"y,omitempty"`
Zoom *float32 `json:"zoom,omitempty"`
}
Viewport defines model for Viewport.
type VirtualMachineSpec ¶
type VirtualMachineSpec struct {
// Hostname Defaults to the name
Hostname *string `json:"hostname,omitempty"`
// ImageId An image from GET /v1/catalog/servers
ImageId string `json:"image_id"`
// RuntimeProfile The runtime profile the server runs under, fixed after creation. Left out when a server is created, it is the size's own profile. GET /v1/catalog/servers lists the profiles on offer, and the size and image must belong to it.
RuntimeProfile *VirtualMachineSpecRuntimeProfile `json:"runtime_profile,omitempty"`
// Shell Whether the server opens as a terminal from its page, signed in as root. Only a kvm-linux-v1 server has one, and it can be switched on and off afterwards.
Shell *bool `json:"shell,omitempty"`
// SizeId A size from GET /v1/catalog/servers
SizeId string `json:"size_id"`
// SshKeyIds The organization's SSH keys to install for root
SshKeyIds []openapi_types.UUID `json:"ssh_key_ids"`
// UserData First-boot user data, up to 32 KiB, on create only. Stored encrypted.
UserData *string `json:"user_data,omitempty"`
}
VirtualMachineSpec A virtual server. Change its size with POST /v1/servers/{id}/resize and its image with POST /v1/servers/{id}/rebuild; the spec itself does not change after creation, and neither does the runtime profile.
type VirtualMachineSpecRuntimeProfile ¶
type VirtualMachineSpecRuntimeProfile string
VirtualMachineSpecRuntimeProfile The runtime profile the server runs under, fixed after creation. Left out when a server is created, it is the size's own profile. GET /v1/catalog/servers lists the profiles on offer, and the size and image must belong to it.
const ( VirtualMachineSpecRuntimeProfileFirecrackerLinuxV1 VirtualMachineSpecRuntimeProfile = "firecracker-linux-v1" VirtualMachineSpecRuntimeProfileGvisorSystemLinuxV1 VirtualMachineSpecRuntimeProfile = "gvisor-system-linux-v1" VirtualMachineSpecRuntimeProfileKvmLinuxV1 VirtualMachineSpecRuntimeProfile = "kvm-linux-v1" )
Defines values for VirtualMachineSpecRuntimeProfile.
func (VirtualMachineSpecRuntimeProfile) Valid ¶
func (e VirtualMachineSpecRuntimeProfile) Valid() bool
Valid indicates whether the value is a known member of the VirtualMachineSpecRuntimeProfile enum.
type VolumeStatus ¶
type VolumeStatus string
VolumeStatus defines model for VolumeStatus.
const ( VolumeStatusAttached VolumeStatus = "attached" VolumeStatusDeleting VolumeStatus = "deleting" VolumeStatusFailed VolumeStatus = "failed" VolumeStatusPending VolumeStatus = "pending" VolumeStatusProvisioning VolumeStatus = "provisioning" VolumeStatusResizing VolumeStatus = "resizing" )
Defines values for VolumeStatus.
func (VolumeStatus) Valid ¶
func (e VolumeStatus) Valid() bool
Valid indicates whether the value is a known member of the VolumeStatus enum.
type WebhookAck ¶
type WebhookAck struct {
Event *string `json:"event"`
// Status processed, duplicate or ignored
Status string `json:"status"`
}
WebhookAck defines model for WebhookAck.
type WebhookCreated ¶
type WebhookCreated struct {
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description"`
Enabled bool `json:"enabled"`
Events []string `json:"events"`
Id openapi_types.UUID `json:"id"`
ProjectId openapi_types.UUID `json:"project_id"`
// Secret The signing secret. It is shown only in this response. Each delivery carries `X-Dekka-Signature: t=<unix>,v1=<hex>`, where v1 is HMAC-SHA256 with this secret over "<t>." followed by the raw body.
Secret string `json:"secret"`
UpdatedAt time.Time `json:"updated_at"`
Url string `json:"url"`
}
WebhookCreated defines model for WebhookCreated.
type WebhookEvent ¶
type WebhookEvent string
WebhookEvent defines model for WebhookEvent.
const ( DeploymentCrashed WebhookEvent = "deployment.crashed" DeploymentFailed WebhookEvent = "deployment.failed" DeploymentStarted WebhookEvent = "deployment.started" DeploymentSucceeded WebhookEvent = "deployment.succeeded" )
Defines values for WebhookEvent.
func (WebhookEvent) Valid ¶
func (e WebhookEvent) Valid() bool
Valid indicates whether the value is a known member of the WebhookEvent enum.
type WebhookOut ¶
type WebhookOut struct {
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description"`
Enabled bool `json:"enabled"`
Events []string `json:"events"`
Id openapi_types.UUID `json:"id"`
ProjectId openapi_types.UUID `json:"project_id"`
UpdatedAt time.Time `json:"updated_at"`
Url string `json:"url"`
}
WebhookOut defines model for WebhookOut.
type WebhookResult ¶
type WebhookResult struct {
Deployments *[]openapi_types.UUID `json:"deployments,omitempty"`
Event string `json:"event"`
// Previews Preview environments a pull_request touched
Previews *[]openapi_types.UUID `json:"previews,omitempty"`
Status WebhookResultStatus `json:"status"`
}
WebhookResult defines model for WebhookResult.
type WebhookResultStatus ¶
type WebhookResultStatus string
WebhookResultStatus defines model for WebhookResult.Status.
const ( Duplicate WebhookResultStatus = "duplicate" Ignored WebhookResultStatus = "ignored" Processed WebhookResultStatus = "processed" )
Defines values for WebhookResultStatus.
func (WebhookResultStatus) Valid ¶
func (e WebhookResultStatus) Valid() bool
Valid indicates whether the value is a known member of the WebhookResultStatus enum.
type WithdrawGpuRequestResponse ¶
type WithdrawGpuRequestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON4XX the response for an HTTP 4XX `application/json` response
JSON4XX *ErrorEnvelope
// JSON5XX the response for an HTTP 5XX `application/json` response
JSON5XX *ErrorEnvelope
}
func ParseWithdrawGpuRequestResponse ¶
func ParseWithdrawGpuRequestResponse(rsp *http.Response) (*WithdrawGpuRequestResponse, error)
ParseWithdrawGpuRequestResponse parses an HTTP response from a WithdrawGpuRequestWithResponse call
func (WithdrawGpuRequestResponse) ContentType ¶
func (r WithdrawGpuRequestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WithdrawGpuRequestResponse) GetBody ¶
func (r WithdrawGpuRequestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WithdrawGpuRequestResponse) GetJSON4XX ¶
func (r WithdrawGpuRequestResponse) GetJSON4XX() *ErrorEnvelope
GetJSON4XX returns the response for an HTTP 4XX `application/json` response
func (WithdrawGpuRequestResponse) GetJSON5XX ¶
func (r WithdrawGpuRequestResponse) GetJSON5XX() *ErrorEnvelope
GetJSON5XX returns the response for an HTTP 5XX `application/json` response
func (WithdrawGpuRequestResponse) Status ¶
func (r WithdrawGpuRequestResponse) Status() string
Status returns HTTPResponse.Status
func (WithdrawGpuRequestResponse) StatusCode ¶
func (r WithdrawGpuRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkerSpec ¶
type WorkerSpec struct {
Autodeploy *bool `json:"autodeploy,omitempty"`
// Build How a GitHub service is built. Each builder reads its own fields and
// ignores the others, so switching builders keeps what was set for the old
// one. `auto`, the name earlier specs used, is read as `railpack`.
Build *ServiceBuild `json:"build,omitempty"`
Networking *ServiceNetworking `json:"networking,omitempty"`
// Previews GitHub services in a default environment: open a preview environment for each pull request against the tracked branch
Previews *bool `json:"previews,omitempty"`
Runtime *ServiceRuntime `json:"runtime,omitempty"`
Source WorkerSpec_Source `json:"source"`
}
WorkerSpec defines model for WorkerSpec.
type WorkerSpec_Source ¶
type WorkerSpec_Source struct {
// contains filtered or unexported fields
}
WorkerSpec_Source defines model for WorkerSpec.Source.
func (WorkerSpec_Source) AsGitHubSource ¶
func (t WorkerSpec_Source) AsGitHubSource() (GitHubSource, error)
AsGitHubSource returns the union data inside the WorkerSpec_Source as a GitHubSource
func (WorkerSpec_Source) AsImageSource ¶
func (t WorkerSpec_Source) AsImageSource() (ImageSource, error)
AsImageSource returns the union data inside the WorkerSpec_Source as a ImageSource
func (*WorkerSpec_Source) FromGitHubSource ¶
func (t *WorkerSpec_Source) FromGitHubSource(v GitHubSource) error
FromGitHubSource overwrites any union data inside the WorkerSpec_Source as the provided GitHubSource
func (*WorkerSpec_Source) FromImageSource ¶
func (t *WorkerSpec_Source) FromImageSource(v ImageSource) error
FromImageSource overwrites any union data inside the WorkerSpec_Source as the provided ImageSource
func (WorkerSpec_Source) MarshalJSON ¶
func (t WorkerSpec_Source) MarshalJSON() ([]byte, error)
func (*WorkerSpec_Source) MergeGitHubSource ¶
func (t *WorkerSpec_Source) MergeGitHubSource(v GitHubSource) error
MergeGitHubSource performs a merge with any union data inside the WorkerSpec_Source, using the provided GitHubSource
func (*WorkerSpec_Source) MergeImageSource ¶
func (t *WorkerSpec_Source) MergeImageSource(v ImageSource) error
MergeImageSource performs a merge with any union data inside the WorkerSpec_Source, using the provided ImageSource
func (*WorkerSpec_Source) UnmarshalJSON ¶
func (t *WorkerSpec_Source) UnmarshalJSON(b []byte) error